Introduction
At Tryton Spain we would like to improve Tryton ERP system in order to get it working out of the box under the Spain laws.
To reach that there are some law requirements required that should be included into the foundation modules, by now they are into the foundation account_es and many other third modules.
It will be very good that other friends of Tryton take a quick look, may be some many countries have the same constraints, and we can work together in order to evict “localization modules”.
So here I’m gonna to divide them into two sections, those which are legally required and those which will be desirable to have included.
Legally required features
Renumber account moves
Renumber account moves ordered by date and number: Código de comercio
An existing implementation: https://bitbucket.org/trytonspain/trytond-account_move_renumber/src/default/
Ensure invoice date consecutive
Ensure that a new invoice has not previous date that the last one: Ley del Iva
An existing implementation: https://bitbucket.org/trytonspain/trytond-account_invoice_consecutive/src/default/
Accountability reports
Balance Sheet and Revenue and Loss: Modelos oficiales para las cuentas anuales
An existing implementation: https://bitbucket.org/trytonspain/trytond-account_financial_statement_es/src/default/
SII
A must procedure for the companies to communicate the invoices to government: SII (Suministro de Información Inmediata)
An existing implementation: https://bitbucket.org/trytonspain/trytond-aeat_sii/src/default/
Desirable features
Right pad accounts with zero digits
To pad account code with a defined number of digits.
An existing implementation: https://bitbucket.org/trytonspain/trytond-account_code_digits/src/default/
Prevent invoice duplication
To prevent user to post twice the same invoice.
An existing implementation: https://bitbucket.org/trytonspain/trytond-account_invoice_prevent_duplicates/src/default/
Include line invoice discount option
To add the option to do discount line by line in an invoice.
An existing implementation: https://bitbucket.org/trytonspain/trytond-account_invoice_discount/src/default/
Payment types
To reflect a prior agreement between parties on how invoices will be paid.
Related to this topic.
Existing implementations: