Issue 9520

Title
Add taxes date on invoice
Priority
feature
Status
resolved
Nosy list
Timitos, ced, reviewbot, roundup-bot
Assigned to
ced
Keywords
review

Created on 2020-08-04.09:57:18 by ced, last changed 1 month ago by roundup-bot.

Messages

New changeset 6cec3e4db32d by Cédric Krier in branch 'default':
Allow setting the tax date on taxable lines
https://hg.tryton.org/tryton-env/rev/6cec3e4db32d
New changeset 623395f86849 by Cédric Krier in branch 'default':
Allow setting the tax date on taxable lines
https://hg.tryton.org/modules/sale/rev/623395f86849
New changeset 8b8feaf064af by Cédric Krier in branch 'default':
Allow setting the tax date on taxable lines
https://hg.tryton.org/modules/purchase/rev/8b8feaf064af
New changeset d2a32b625e72 by Cédric Krier in branch 'default':
Allow setting the tax date on taxable lines
https://hg.tryton.org/modules/account_invoice/rev/d2a32b625e72
New changeset 0dc546d3cbff by Cédric Krier in branch 'default':
Allow setting the tax date on taxable lines
https://hg.tryton.org/modules/account/rev/0dc546d3cbff
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2020-08-04.11:47:12
Indeed reworking TaxableMixin permit to set the date on the taxable lines. This is probably more flexible.
Here is review323791002 which implements it.
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2020-08-04.10:24:45
It is not really doable with the design of TaxableMixin.
Also if you already have to split the lines, you can split the invoice for the same.
Author: [hidden] (Timitos) Tryton translator
Date: 2020-08-04.10:04:00
I would prefer to have this date on the invoice line as there are cases where a service needs to be split in two lines because of different taxation.

Think of a telecommunication service that has a service period from 2020-06-12 to 2020-07-11 and a vat rate change on 2020-07-01. The invoice to the customer should contain the complete service period from 2020-06-12 to 2020-07-11 but the  taxation of the service must be split in two periods from 2020-06-12 to 2020-06-30 and from 2020-07-01 to 2020-07-11.
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2020-08-04.09:57:17
A tax can have different rates depending on the date. Most of the time, the date corresponds to the accounting date because what is invoiced is related to this period or because the rate changes are not frequent.
But during a transition period where the rate is changing, it may happen that you have to post an invoice now but using the previous rate. For example, if you do a credit note for an invoice before the rate change or if you are invoicing services or goods that were done or delivered before the rate change.
So I think we should have a third optional date to define which tax rate applies.
History
Date User Action Args
2020-09-05 23:38:37roundup-botsetmessages: + msg59983
2020-09-05 23:38:34roundup-botsetmessages: + msg59982
2020-09-05 23:38:28roundup-botsetmessages: + msg59981
2020-09-05 23:38:22roundup-botsetmessages: + msg59980
2020-09-05 23:38:19roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg59979
2020-08-05 13:18:07cedsettitle: Add taxing date on invoice -> Add taxes date on invoice
2020-08-04 16:23:21reviewbotsetmessages: + msg59611
2020-08-04 12:25:42reviewbotsetnosy: + reviewbot
messages: + msg59609
2020-08-04 11:47:12cedsetstatus: in-progress -> testing
reviews: 323791002
messages: + msg59608
keyword: + review
2020-08-04 10:24:45cedsetmessages: + msg59607

Showing 10 items. Show all history (warning: this could be VERY long)