account_invoice_facturx
Enables Odoo to generate customer invoice and refund PDFs compliant with the Factur-X/ZUGFeRD e-invoicing standard by embedding the required XML payload.
Key Features
- account.move: Builds Factur-X compliant XML for customer invoices and refunds, covering parties, delivery terms, payment data, taxes, allowances, and validates it before embedding.
- account.move: Converts regular invoice PDFs into Factur-X documents by injecting the XML payload together with metadata and optional attachments when printing.
- ir.actions.report: Hooks invoice report rendering so each QWeb-generated invoice PDF automatically includes the Factur-X embedded XML unless explicitly skipped.
- res.company: Adds company-level options for Factur-X profile level, refund type, preferred XML embedding format, and computed logos for use on visible invoice sections.
- res.config.settings: Exposes the Factur-X level and refund type settings in the invoicing configuration panel, only when Factur-X embedding is selected.
- res.partner: Requires the country on partner addresses to guarantee Factur-X buyer and seller records always carry the mandatory country codes.
- setup: Post-init hook defaults companies lacking a PDF XML format to Factur-X so the module starts generating compliant documents immediately after installation.