Mexico foreign trade invoicing compliance
This module adds Mexican foreign trade (COMEX) compliance on top of CFDI invoicing.
Features
Pedimento management linked to inventory lots (import path)
Tariff code (fracción arancelaria) on products
Import details on invoice lines for Mexican companies
Pedimento numbers in CFDI concept InformacionAduanera / NumerosPedimento
Pedimento propagation from landed costs to lots
Complemento Comercio Exterior 2.0 on customer invoices: Exportacion=02 plus satcfdi cce20.ComercioExterior (Emisor/Receptor/ Destinatario domicilios, mercancías, TipoCambioUSD, TotalUSD)
Reuses the standard invoice Incoterm field (invoice_incoterm_id / account.incoterms) for SAT c_INCOTERM; no duplicate Incoterm field
PAC notes
Stamp / XML-issue PACs can stamp sealed CFDIs that include CCE.
Facturama Multiemisor cannot map CCE; l10n_mx_cfdi switches to FacturamaWeb when the complement is present.
Table of contents
Installation
Install the module from the Apps menu after its dependencies are installed (l10n_mx_cfdi_account, l10n_mx_catalogs_comex, and stock/sale stack).
Configuration
Install l10n_mx_catalogs_comex and l10n_mx_cfdi_account before this module.
Configure tariff codes on product templates and create pedimentos from Inventory > Operations > Pedimentos.
For CCE exports, keep partner addresses complete and use the standard invoice Incoterm field. Prefer Banxico USD rates for Tipo cambio USD.
SAT catalog imports for c_INCOTERM, c_ClavePedimento, and c_UnidadAduana are not shipped as full data tables yet; codes are entered as Char fields (Incoterm reuses account.incoterms.code). See ROADMAP.
Usage
Import pedimentos
Assign a pedimento to a landed cost before validation to copy it to the related lots. When invoicing products received with pedimentos, import details are appended to invoice lines and pedimento numbers are sent in the CFDI concepts (independent of CCE export).
Export — Comercio Exterior 2.0
Set the product Tariff Code (fracción arancelaria).
Ensure issuer and customer partners have street, ZIP, country, and state (SAT domicilio fields).
On the invoice Other Info tab, set Incoterm (standard Odoo field).
On the COMEX / CCE tab, enable Comercio Exterior (CCE) and fill:
Clave de pedimento (default A1)
Tipo cambio USD (MXN per 1 USD)
Optional certificado de origen / observaciones / destinatario
On invoice lines (optional columns), set Valor dólares and customs quantity / unit / unit value as needed.
Generate the CFDI as usual. The builder sets Exportacion=02 and attaches the CCE complement.
Known issues / Roadmap
Import full SAT catalogs for c_INCOTERM, c_ClavePedimento, c_UnidadAduana, and c_MotivoTraslado into l10n_mx_catalogs_comex (Many2one selectors instead of Char codes).
Auto-default TipoCambioUSD from Banxico / currency_rate_update_banxico when available.
Richer Destinatario / Propietario flows and DescripcionesEspecificas on mercancías.
Live PAC certification matrix for CCE on each provider.
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
Alexis López Zubieta <alexis.lopez@augetec.com>
Cristhiane Guadalupe Rangel Ferrusca <cristhiane.rangel@graymatterlogic.com>
Maintainers
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
This module is part of the OCA/l10n-mexico project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file odoo_addon_l10n_mx_cfdi_comex-19.0.1.1.0-py3-none-any.whl.
File metadata
- Download URL: odoo_addon_l10n_mx_cfdi_comex-19.0.1.1.0-py3-none-any.whl
- Upload date:
- Size: 108.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6d2bc9e34f7b7ba3a3ba4c2ccf580e21b78de5196ec5c00d5a03293965e7904
|
|
| MD5 |
c0cf0b55bb648ee7f10f975bfdce72f1
|
|
| BLAKE2b-256 |
e07dbf696e51c4799f2ed5d1cf032d6c4d2c0e8e588fc07449e0557c27522bc1
|