This module integrates PMS (Property Management System) with the official Odoo TicketBAI EDI module (l10n_es_edi_tbai).
It ensures that invoices issued to the PMS anonymous/various partner (pms.various_pms_partner) are correctly identified as simplified invoices in the TicketBAI XML submission, so that no recipient data is included in the XML and the FacturaSimplificada flag is set to S.
Without this module, simplified invoices created from PMS would fail with TicketBAI error B4_2000012 ("Country code is mandatory when ID Type is not NIF-IVA"), because the system would try to include recipient data for a partner that has no VAT or country configured.
auto_awesome What this module does
AI-generated from the code · Odoo 16.0Automatically marks invoices issued to the PMS anonymous/various partner as simplified invoices for Spanish TicketBAI, so they are sent correctly without recipient data.
This module connects the Property Management System (PMS) with the Spanish TicketBAI electronic invoice system. When an invoice is created for the special PMS partner used for anonymous or various customers, the module automatically treats it as a simplified invoice.
In practice, this means that when such an invoice is sent to the Spanish tax authority through TicketBAI, the system will not try to include recipient details (like VAT number or country) that are missing for that anonymous partner. Instead, it marks the invoice as a simplified invoice (FacturaSimplificada flag set to S) and omits recipient data from the XML.
Without this module, these invoices would be rejected with error B4_2000012 because the system would demand a country code for a partner that has none. The module prevents that error by overriding the check that decides whether an invoice is simplified.
The change applies to all invoices (account.move) that use the PMS various partner. It works automatically in the background; there are no new menus, buttons, or reports. The module is installed automatically when both the PMS and TicketBAI modules are present.
Depends on
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: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 16.0
Confirmed on 2026-11-03 in branch 16.0 of OCA/pms.
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.