Le 10/12/15 12:43, Emmanuel Bassy a écrit : > Hello, > > Regarding this topic, I want to keep the same sequence over the years and I > cannot figure out how to this _automatically _in tryton. In France it is > mandatory to have a sequence with no holes over the years. > For instance: > F437 (last invoice of 2014) + F438 (first invoice of 2015) => best pratice > F2014-437 (last invoice of 2014) + F2015-438 (first invoice of 2015) => is > allowed > F2014-437 (last invoice of 2014) + F2015-001 (first invoice of 2015) => is > not allowed. > > Emmanuel Bassy > expertisevision.fr
This isn't quite right. The last remarque is actually just fine. Reference: http://bofip.impots.gouv.fr/bofip/140-PGP.html > 90 > > Il en résulte que, pour chaque série distincte de factures, les assujettis > peuvent utiliser un système de numérotation propre pour chaque série à > condition : > > - que la numérotation soit effectuée chronologiquement au fur et à mesure de > l'émission des factures ; > > - qu'elle soit continue ; > > - et que le dispositif retenu au sein de l'entreprise garantisse que deux > factures émises la même année ne puissent pas porter le même numéro. Il est > conseillé à cet égard d’utiliser pour chaque série de factures un préfixe de > numérotation distinct de façon à éviter toute possibilité de confusion. The last bullet says that the company must only garantee that two invoices emitted in *the same year* cannot have the same sequence number. It is therefore advised to use a *distinct* prefix for each sequence number in order to avoid any confusion. Using the year as a prefix is, and I believe always has been, perfectly fine. cheers, -- Richard PALO -- 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/566989B9.8040002%40netbsd.org.