OdooWiki OCA HUB

Belgium MIS Builder - XML exports

l10n_be_mis_reports_xml folder_open OCA/l10n-belgium open_in_new
Reporting License: AGPL-3

This module allows to export Belgian VAT declaration as an XML file that follows the official definition and can be submitted to the administration's online services.

The XML domain definitions (XSD files) can be found on the administration website.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Export a Belgian VAT declaration from a MIS Builder report as an official XML file ready to upload to the tax administration portal. The Export XML button appears only on the Belgian VAT declaration report.

This module adds an XML export to the Belgian VAT declaration built with MIS Builder. On a MIS report instance that uses the Belgian VAT declaration template, an "Export XML" button appears next to the usual Excel export, both in the form and in the list view.

Clicking it opens a small wizard where you choose the period (month or quarter), and tick options such as "no customer listing" (nihil), "ask restitution" and "ask payment form". For a December monthly declaration you can also enter the amount for grid 91. The month or quarter number is derived automatically from the report start date, and the declarant's VAT number and phone are taken from the company and cleaned of non-numeric characters.

Pressing "Download XML" produces a file named after the report instance, following the official VATConsignment structure: declarant details (name, address, country, email, phone), period (month or quarter plus year), the grid amounts taken from the report, the client listing nihil flag and the restitution/payment requests. A declarant reference is generated automatically from a dedicated sequence.

If the company has no VAT number, the export is blocked with an error asking you to fill it in. The module extends mis.report.instance and adds the be.vat.declaration.wizard model.

Models and fields (2)
  • mis.report.instance · extends an existing model_is_be_vat_declaration
  • be.vat.declaration.wizard · new modelperiod, grid_91, ask_payment (Ask payment form), period_value, declarant_vat (Declarant Tax ID), mr_instance_id (Mis Report Instance), ask_restitution, declarant_phone, client_listing_nihil

Text generated by AI (DeepSeek) from reading the Odoo 18.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: 4 confirmed, 5 with no information of 9 versions.

Sources · Odoo 14.0

Confirmed on 2026-11-03 in branch 14.0 of OCA/l10n-belgium.

terminal Installation and usage

OCA documentation · Odoo 18.0

To use this module, you need to go to Accounting \> Reporting \> MIS Reports and use the buttons available on the previously configured reports such as preview, export, add to dashboard.

No verified information in OCA: Installation, Configuration.

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.