Created on 2020-02-29.11:20:53 by pokoli, last changed 12 months ago by roundup-bot.
New changeset f21ac68b8048 by Sergi Almacellas Abellana in branch '5.4': Exclude refunds from cancelled invoices on ES VAT List https://hg.tryton.org/modules/account_es/rev/f21ac68b8048 New changeset 31e99858b795 by Sergi Almacellas Abellana in branch '5.2': Exclude refunds from cancelled invoices on ES VAT List https://hg.tryton.org/modules/account_es/rev/31e99858b795
New changeset ca657ec3bc79 by Sergi Almacellas Abellana in branch 'default': Exclude refunds from cancelled invoices on ES VAT List https://hg.tryton.org/tryton-env/rev/ca657ec3bc79
New changeset fef002013c63 by Sergi Almacellas Abellana in branch 'default': Exclude refunds from cancelled invoices on ES VAT List https://hg.tryton.org/modules/account_es/rev/fef002013c63 New changeset 3df94e4eb13e by Sergi Almacellas Abellana in branch 'default': Add test for reporting with cancelled invoices https://hg.tryton.org/modules/account_es/rev/3df94e4eb13e
Well, first I'm not an accountant but I'm gonna to try to help here without to put too noise to the issue. AFAIK there is only two ways to cancel an invoice in Spain: - Through a rectificative invoice - Through a refund invoice The first one must be used when the invoice is cancelled by a data error like: - VAT - Date - Taxes - and so on... The term refund is used when the invoice has to fix things like: - partial or total refund - partial or total cancel of some service invoiced - and so on... Both are implemented in the same way. No invoice is deleted and all of them must be taken into account to calculate taxes. In the case of this issue the mistake was not to take into account the cancelled invoice so the resultant amount was lesser than expected. I think that probably we are only against a naming problem/misunderstanding. Here a reference (in Spanish) with more detail about your question from a well known accounting and invoicing system used in Spain: https://anfix.com/blog/rectificar-una-factura-o-anularla-no-es-lo-mismo/
I'm a little bit astonished that in Spain it is allowed to use the cancellation of customer invoice.
Since changeset 22eabf722a91 when an invoice is refunded it is mark as cancel, which excludes it from the ES VAT LIST. As the refund is in paid state this is included on the VAT list making the real amount of the party less than the real one. Thanks to @josesalvador for explaining me the case.
keyword: - backport
|2020-04-06 13:07:03||roundup-bot||set||messages: + msg56919|
|2020-04-06 13:06:49||roundup-bot||set||status: testing -> resolved|
nosy: + roundup-bot
messages: + msg56918
|2020-04-06 13:01:53||pokoli||set||keyword: + backport|
|2020-03-21 19:27:20||reviewbot||set||messages: + msg56576|
|2020-03-06 13:33:59||josesalvador||set||messages: + msg56107|
messages: + msg56093
messages: + msg55645
|2020-02-29 11:26:56||pokoli||set||status: in-progress -> testing|
keyword: + review
Showing 10 items. Show all history (warning: this could be VERY long)