This module is a small module above the base_ubl module; it adds the generation of the PaymentMeans UBL block. I decided to make it a separate module because it depends on the module account_payment_unece which itself depend on account_banking_payment_export, and I didn't want to add these dependencies on the base_ubl module.
auto_awesome What this module does
AI-generated from the code · Odoo 16.0Adds payment information to UBL electronic invoices and credit notes, so exported XML files include how the invoice should be paid (bank transfer, IBAN, due date).
This hidden technical module extends the UBL (Universal Business Language) electronic document generation already provided by the base UBL module. It does not add any menu, screen or button for end users; it works in the background when Odoo builds a UBL XML file for an invoice or credit note.
What it adds to the generated file: - A PaymentMeans block with the payment method code taken from the UNECE standard, based on the payment method configured on the payment mode used by the invoice. - The payment due date, when available. - For bank-related payment codes (such as credit transfer, debit transfer, payment to bank account, etc.), the payee's bank account details: IBAN, BIC when known, and a payment identifier if one is provided.
Business rules and automatic behaviour: - If the payment method used by the payment mode has no UNECE code configured, the generation stops with an error asking the user to fill in the missing 'UNECE Payment Mean'. - If no payment mode is set on the invoice, the module falls back to code 31 (wire transfer) and writes a warning in the log. - When the payment mode is linked to a fixed bank journal and no partner bank is given, the bank account of that journal is used. - Payment identifiers are cleaned by removing '+' and '/' characters so they are valid in the UBL format.
It touches the abstract UBL model base.ubl and relies on the payment method configuration from account_payment_unece.
Depends on
Required by other modules
Text generated by AI (DeepSeek) from reading the Odoo 16.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: 4 confirmed, 5 with no information of 9 versions.
Sources · Odoo 16.0
Confirmed on 2026-11-03 in branch 16.0 of OCA/edi.
terminal Installation and usage
No verified informationInstallation 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.