Mexican Addendum For Invoices For MABE
This module adds the Mabe addenda for Mexican CFDI invoices and lets you generate the corresponding addenda XML when invoicing Mabe.
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Adds the MABE addendum to Mexican CFDI invoices, letting you fill in MABE-specific references and plant codes so the invoice XML includes the addendum MABE requires.
When a customer is configured with the addendum name "Addenda Mabe", invoices for that customer show an extra "Mabe Addenda" tab on the invoice form. There you can enter Reference 1, Reference 2 and the amount written out in words; the first two default to "NA" if left empty.
The customer record gains a "Mabe Plant Code" field, visible only for customers using the "Addenda Mabe" addendum. It offers a long list of MABE plant and warehouse codes (for example S001, R001, W002, Q100, D004, T102).
When the CFDI invoice is generated, the module builds the MABE addendum XML. It uses the invoice number, date, purchase order reference, the two references, the currency and the amount in words. It also includes the supplier code, the delivery plant code and the delivery address (street, exterior and interior numbers, postal code), plus one detail line per invoice line with product code, description, unit, quantity, unit price, subtotal and the same amounts with 16% VAT added. It then adds subtotal, 16% VAT transfer, zero withholding and total.
This module extends account.move and res.partner and depends on the Mexican CFDI accounting localization.
Depends on
Models and fields (2)
- res.partner · extends an existing modelmabe_plant_code
- account.move · extends an existing modelmabe_flag, mabe_ref1 (Mabe Reference 1), mabe_ref2 (Mabe Reference 2), mabe_amount_with_letter (Amount with letter)
Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 19.0
Confirmed on 2026-11-03 in branch 19.0 of OCA/l10n-mexico.
terminal Installation and usage
OCA documentation · Odoo 19.0Configuration
Source · Odoo 19.0Customer
- Go to Contacts.
- Open or create the Mabe partner with a complete Mexican address.
- In the CFDI tab, select Addenda Mabe as the addenda.
- Fill in the partner reference (AMS code) and set the Mabe plant code on the delivery address.
Usage
Source · Odoo 19.0- Go to Accounting > Customers > Invoices.
- Create an invoice for the Mabe partner.
- Set the customer reference (purchase order) if required.
- In the Mabe Addenda tab, fill in reference 1, reference 2 and the amount with letter.
When the CFDI is stamped, the Mabe addenda QWeb template is applied to the XML by the CFDI account addenda framework.
No verified information in OCA: Installation.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.