Commit Graph
5 Commits
Author SHA1 Message Date
Luis Torres bf201e9014 [IMP] l10n_mx: Complete fiscal regime catalog
To CFDI 3.3 the SAT provide the new catalog that need be used to
"RegimenFiscal" node used by the company that emit the documents.

Definition:
Atributo requerido para incorporar la clave del régimen del
contribuyente emisor al que aplicará el efecto fiscal de este
comprobante.

And the attribute need the code from the catalog, and validate that it exist.

In CFDI 3.2 the attribute was required but free. Then the code also
could be used in CFDI 3.2.

Like fiscal position have not field to save the code, is used the next
structure

`code - name`

And when is used this element in the XML generation take only the first
three characters.

`company_id.partner_id.property_account_position_id[:3]`
2017-05-29 13:25:08 +02:00
Luis Torres cdfc8cf6f3 [FIX] l10n_mx: Add fiscal position template_id and encoding for xml
data file
2017-02-14 16:25:56 +01:00
qdp-odoo 4c408d1d19 [FIX] l10n_mx: fiscal position are based on templates to scale in multi-companies 2017-02-02 16:31:34 +01:00
Luis Torres e54fd92282 [IMP] l10n_mx: Removed note description in data to fiscal position
This value is not required in Fiscal Regime, and if is present, this is
printed in the invoice report when is used like fiscal position on
invoice.
2017-01-25 09:59:06 +01:00
Nhomar Hernandez 7e54978589 [IMP] l10n_mx: add fiscal positions.
Courtesy of Vauxoo
2017-01-05 17:13:11 +01:00