* 'Korbinian Preisler' via tryton: " Re: [tryton] RFC: Invoice sequences" (Thu, 7 Jan 2016 14:52:54 +0100):
> On 07.01.2016 12:53, Cédric Krier wrote: > > On 2016-01-07 12:28, Mathias Behrle wrote: > >> * Cédric Krier: " Re: [tryton] RFC: Invoice sequences" (Sat, 26 Dec 2015 > >> 15:10:15 +0100): > >> > >>> On 2015-12-25 22:26, Jordi Esteve (Zikzakmedia) wrote: > >>>> El 24/12/15 a les 15:06, Cédric Krier ha escrit: > >>>>> Hi, > >>>>> > >>>>> Following the previous discussions about the invoice sequence and the > >>>>> fiscal year, I have started a feature request to improve the situation > >>>>> and manage more cases. > >>>>> > >>>>> https://bugs.tryton.org/issue5205 > >>>>> > >>>>> Please comment if the proposal could be in conflict with your local > >>>>> usage. > >>>> The new proposal (a check when setting the number on an invoice to ensure > >>>> that the invoice date not before any invoice dates numbered with the same > >>>> sequence) fits well the Spanish law and practice. > >>>> > >>>> In fact, the Spanish team maintains a module [1] that implements this > >>>> idea with some restrictions because the sequence is not yet stored in > >>>> invoices. > >>>> > >>>> https://bitbucket.org/trytonspain/trytond-account_invoice_consecutive > >>> I see you also have a check for invoice_date == accounting_date for out > >>> invoices. I'm wondering if we should also include this constraint in the > >>> base. > >> According to our knowledge this constraint is definitely wrong for Germany: > >> > >> The accounting date has to be > >> - the date of the delivery for imputed taxation > > But I guess there are some constraint. You can not put a date that is on > > a closed fiscal year for example. Or I think it will be very strange to > > have an invoice with a date in year Y (with numbering of year Y) and the > > accounting date in Y-1. > Think of this case which is very common if the delivery and the > invoicing is done separately: > > 1. Delivery on 2015-12-30 -> accounting_date = 2015-12-30 > 2. Invoicing on 2016-01-04 -> invoice_date = 2015-01-04 This should be a minor typo? => 2. Invoicing on 2016-01-04 -> invoice_date = 2016-01-04 > In Germany the rules for invoice numbering are not very strict. I did a > quick research but did not find any rule that the invoice number cannot > be from the 2015 sequence in this case. But i would prefer to have it > from the 2016 sequence. So i would say that at least in Germany the > sequence should be selected depending on the invoice date. > -- Mathias Behrle MBSolutions Gilgenmatten 10 A D-79114 Freiburg Tel: +49(761)471023 Fax: +49(761)4770816 http://www.m9s.biz UStIdNr: DE 142009020 PGP/GnuPG key availabable from any keyserver, ID: 0x8405BBF6 -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/20160107150447.0fa17bee%40monsterix.mbehrle.de.
pgpM9ExOh8U92.pgp
Description: Digitale Signatur von OpenPGP
