OdooWiki OCA HUB

Adapt e-invoice generation to France VAT on payment

l10n_fr_account_vat_return_einvoice_generate folder_open OCA/l10n-france open_in_new
Accounting License: AGPL-3

This is a glue module between l10n_fr_account_vat_return and account_einvoice_generate.

When this module is installed, Odoo will set the UNECE Due Date Type Code for tax exigibility in the invoice's XML file from the boolean field out_vat_on_payment of the invoice (field added by the module l10n_fr_account_vat_return) instead of the native field tax_exigibility of the tax.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

This glue module makes French e-invoices use the invoice's VAT-on-payment setting to fill the UNECE due date type code in the generated XML, instead of the tax's own exigibility setting.

When you generate an electronic invoice XML for a customer invoice or credit note, Odoo must indicate when VAT becomes due. This module changes how that code is chosen for French companies that use VAT on payment.

  • For customer invoices and customer credit notes (out_invoice and out_refund), the code is now based on the invoice's "VAT on payment" flag added by the French VAT return module.
  • If that flag is set, the code reflects VAT due on payment; if not, it reflects VAT due on the invoice.
  • For all other document types, the standard behaviour is kept unchanged.

This module installs automatically and adds no new menu, screen, button or report. It only adjusts the value written into the e-invoice XML, so the tax authority receives the correct due date type code. It touches the account.move model and relies on the tax model's helper that converts a tax exigibility value into a UNECE code.

Models and fields (1)
  • account.move · extends an existing model

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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation 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/l10n-france.

terminal Installation and usage

No verified information

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.

info

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.