From 1dec292c0b4b77919ae9d29b97eeb3b516d3a91c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 9 Jan 2026 14:33:46 +0100 Subject: [PATCH] Add UNECE code to Belgian taxes --- modules/account_be/CHANGELOG | 1 + modules/account_be/tax_be.xml | 82 +++++++++++++++++++++++++ modules/account_be/tax_be_fr.xml | 82 +++++++++++++++++++++++++ modules/account_be/tax_be_nl.xml | 82 +++++++++++++++++++++++++ modules/account_be/tests/test_module.py | 4 +- modules/account_be/tryton.cfg | 1 + 6 files changed, 251 insertions(+), 1 deletion(-) diff --git a/modules/account_be/CHANGELOG b/modules/account_be/CHANGELOG index a6120d839f..3b13ba24a6 100644 --- a/modules/account_be/CHANGELOG +++ b/modules/account_be/CHANGELOG @@ -1,3 +1,4 @@ +* Add UNECE code to taxes * Add support for Python 3.14 * Remove support for Python 3.9 diff --git a/modules/account_be/tax_be.xml b/modules/account_be/tax_be.xml index e6915c1f81..94ad541412 100644 --- a/modules/account_be/tax_be.xml +++ b/modules/account_be/tax_be.xml @@ -38,6 +38,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + AE @@ -51,6 +53,8 @@ this repository contains the full copyright notices and license terms. --> L + VAT + K @@ -63,6 +67,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + G @@ -75,6 +81,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + Z @@ -87,6 +95,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + S @@ -99,6 +109,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + S @@ -111,6 +123,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + S @@ -123,6 +137,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + AE @@ -136,6 +152,8 @@ this repository contains the full copyright notices and license terms. --> S + VAT + K @@ -148,6 +166,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + G @@ -160,6 +180,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + S @@ -172,6 +194,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + S @@ -184,6 +208,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + S @@ -196,6 +222,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + K @@ -205,6 +233,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + AE @@ -271,6 +301,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + AE @@ -307,6 +339,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + S @@ -316,6 +350,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + K @@ -349,6 +385,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + S @@ -382,6 +420,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + K @@ -415,6 +455,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + S @@ -448,6 +490,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + K @@ -484,6 +528,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + K @@ -493,6 +539,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + AE @@ -526,6 +574,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + AE @@ -559,6 +609,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + AE @@ -604,6 +656,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + K @@ -640,6 +694,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + S @@ -649,6 +705,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + K @@ -685,6 +743,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + S @@ -694,6 +754,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + K @@ -730,6 +792,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + K @@ -739,6 +803,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + AE @@ -772,6 +838,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + AE @@ -805,6 +873,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + AE @@ -841,6 +911,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + S @@ -850,6 +922,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + K @@ -886,6 +960,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + S @@ -895,6 +971,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + K @@ -931,6 +1009,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + S @@ -940,6 +1020,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + K diff --git a/modules/account_be/tax_be_fr.xml b/modules/account_be/tax_be_fr.xml index fac20da9d5..6c46b02a38 100644 --- a/modules/account_be/tax_be_fr.xml +++ b/modules/account_be/tax_be_fr.xml @@ -27,6 +27,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + AE T.V.A. Vente de biens intracommunautaires 0% @@ -38,6 +40,8 @@ this repository contains the full copyright notices and license terms. --> L + VAT + K T.V.A. Vente de biens hors communauté 0% @@ -48,6 +52,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + G T.V.A. Vente de biens 0% @@ -58,6 +64,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + Z T.V.A. Vente de biens 6% @@ -68,6 +76,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + S T.V.A. Vente de biens 12% @@ -78,6 +88,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + S T.V.A. Vente de biens 21% @@ -88,6 +100,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + S T.V.A. Vente de services co-contractants @@ -98,6 +112,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + AE T.V.A. Vente de services intracommunautaires 0% @@ -109,6 +125,8 @@ this repository contains the full copyright notices and license terms. --> S + VAT + K T.V.A. Vente de services hors communauté 0% @@ -119,6 +137,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + G T.V.A. Vente de services 6% @@ -129,6 +149,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + S T.V.A. Vente de services 12% @@ -139,6 +161,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + S T.V.A. Vente de services 21% @@ -149,6 +173,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + S T.V.A. Achat de marchandises intracommunautaires 0% @@ -159,6 +185,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + K T.V.A. Achat co-contractants de marchandises déductibles 6% @@ -166,6 +194,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + AE T.V.A. Achat co-contractants de marchandises déductibles 6% (1) @@ -220,6 +250,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + AE T.V.A. Achat co-contractants de marchandises déductibles 21% (1) @@ -250,6 +282,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + S T.V.A. Achat de marchandises intracommunautaires déductibles 6% @@ -257,6 +291,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + K T.V.A. Achat de marchandises intracommunautaires déductibles 6% (1) @@ -284,6 +320,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + S T.V.A. Achat de marchandises déductibles 12% (1) @@ -311,6 +349,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + K T.V.A. Achat de marchandises intracommunautaires déductibles 12% (1) @@ -338,6 +378,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + S T.V.A. Achat de marchandises déductibles 21% (1) @@ -365,6 +407,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + K T.V.A. Achat de marchandises intracommunautaires déductibles 21% (1) @@ -395,6 +439,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + K T.V.A. Achat co-contractants de services et biens divers déductibles 6% @@ -402,6 +448,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + AE T.V.A. Achat co-contractants de services et biens divers déductibles 6% (1) @@ -429,6 +477,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + AE T.V.A. Achat co-contractants de services et biens divers déductibles 12% (1) @@ -456,6 +506,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + AE T.V.A. Achat co-contractants de services et biens divers déductibles 21% (1) @@ -493,6 +545,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + K T.V.A. Achat de services et biens divers intracommunautaires 6% déductibles (1) @@ -523,6 +577,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + S T.V.A. Achat de services et biens divers intracommunautaires déductibles 12% @@ -530,6 +586,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + K T.V.A. Achat de services et biens divers intracommunautaires déductibles 12% (1) @@ -560,6 +618,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + S T.V.A. Achat de services et biens divers intracommunautaires déductibles 21% @@ -567,6 +627,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + K T.V.A. Achat de services et biens divers intracommunautaires déductibles 21% (1) @@ -597,6 +659,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + K T.V.A. Achat co-contractants de biens d'investissement déductibles 6% @@ -604,6 +668,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + AE T.V.A. Achat co-contractants de biens d'investissement déductibles 6% (1) @@ -631,6 +697,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + AE T.V.A. Achat co-contractants de biens d'investissement déductibles 12% (1) @@ -658,6 +726,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + AE T.V.A. Achat co-contractants de biens d'investissement déductibles 21% (1) @@ -688,6 +758,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + S T.V.A. Achat de biens d'investissement intracommunautaires déductibles 6% @@ -695,6 +767,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + K T.V.A. Achat de biens d'investissement intracommunautaires déductibles 6% (1) @@ -725,6 +799,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + S T.V.A. Achat de biens d'investissement intracommunautaires déductibles 12% @@ -732,6 +808,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + K T.V.A. Achat de biens d'investissement intracommunautaires déductibles 12% (1) @@ -762,6 +840,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + S T.V.A. Achat de biens d'investissement intracommunautaires déductibles 21% @@ -769,6 +849,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + K T.V.A. Achat de biens d'investissement intracommunautaires déductibles 21% (1) diff --git a/modules/account_be/tax_be_nl.xml b/modules/account_be/tax_be_nl.xml index b9cfdf20ae..4a89f822bc 100644 --- a/modules/account_be/tax_be_nl.xml +++ b/modules/account_be/tax_be_nl.xml @@ -27,6 +27,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + AE BTW 0% Intracommunautaire verkoop van goederen @@ -38,6 +40,8 @@ this repository contains the full copyright notices and license terms. --> L + VAT + K BTW 0% Extracommunautaire verkoop van goederen @@ -48,6 +52,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + G BTW 0% Bijzondere regeling @@ -58,6 +64,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + Z BTW 6% Verkoop van goederen @@ -68,6 +76,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + S BTW 12% Verkoop van goederen @@ -78,6 +88,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + S BTW 21% Verkoop van goederen @@ -88,6 +100,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + S BTW 0% Verkoop van diensten medecontractanten @@ -98,6 +112,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + AE BTW 0% Intracommunautaire verkoop van diensten @@ -109,6 +125,8 @@ this repository contains the full copyright notices and license terms. --> S + VAT + K BTW 0% Extracommunautaire verkoop van diensten @@ -119,6 +137,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + G BTW 6% Verkoop van diensten @@ -129,6 +149,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + S BTW 12% Verkoop van diensten @@ -139,6 +161,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + S BTW 21% Verkoop van diensten @@ -149,6 +173,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + S BTW 0% Intracommunautaire aankoop van handelsgoederen, grond- en hulpstoffen @@ -159,6 +185,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + K BTW 6% Aankoop van handelsgoederen, grond- en hulpstoffen medecontractanten @@ -166,6 +194,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + AE BTW 6% Aankoop van handelsgoederen, grond- en hulpstoffen medecontractanten (1) @@ -220,6 +250,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + AE BTW 21% Aankoop van handelsgoederen, grond- en hulpstoffen medecontractanten (1) @@ -250,6 +282,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + S BTW 6% Intracommunautaire aankoop van handelsgoederen, grond- en hulpstoffen @@ -257,6 +291,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + K BTW 6% Intracommunautaire aankoop van handelsgoederen, grond- en hulpstoffen (1) @@ -284,6 +320,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + S BTW 12% Aankoop van handelsgoederen, grond- en hulpstoffen (1) @@ -311,6 +349,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + K BTW 12% Intracommunautaire aankoop van handelsgoederen, grond- en hulpstoffen (1) @@ -338,6 +378,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + S BTW 21% Aankoop van handelsgoederen, grond- en hulpstoffen (1) @@ -365,6 +407,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + K BTW 21% Intracommunautaire aankoop van handelsgoederen, grond- en hulpstoffen (1) @@ -395,6 +439,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + K BTW 6% Aankoop van diverse goederen en diensten medecontractanten @@ -402,6 +448,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + AE BTW 6% Aankoop van diverse goederen en diensten medecontractanten (1) @@ -429,6 +477,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + AE BTW 12% Aankoop van diverse goederen en diensten medecontractanten (1) @@ -456,6 +506,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + AE BTW 21% Aankoop van diverse goederen en diensten medecontractanten (1) @@ -493,6 +545,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + K BTW 6% Intracommunautaire aankoop van diverse goederen en diensten (1) @@ -523,6 +577,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + S BTW 12% Intracommunautaire aankoop van diverse goederen en diensten @@ -530,6 +586,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + K BTW 12% Intracommunautaire aankoop van diverse goederen en diensten (1) @@ -560,6 +618,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + S BTW 21% Intracommunautaire aankoop van diverse goederen en diensten @@ -567,6 +627,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + K BTW 21% Intracommunautaire aankoop van diverse goederen en diensten (1) @@ -597,6 +659,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + K BTW 6% Aankoop van bedrijfsmiddelen medecontractanten @@ -604,6 +668,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + AE BTW 6% Aankoop van bedrijfsmiddelen medecontractanten (1) @@ -631,6 +697,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + AE BTW 12% Aankoop van bedrijfsmiddelen medecontractanten (1) @@ -658,6 +726,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + AE BTW 21% Aankoop van bedrijfsmiddelen medecontractanten (1) @@ -688,6 +758,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + S BTW 6% Intracommunautaire aankoop van bedrijfsmiddelen @@ -695,6 +767,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + K BTW 6% Intracommunautaire aankoop van bedrijfsmiddelen (1) @@ -725,6 +799,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + S BTW 12% Intracommunautaire aankoop van bedrijfsmiddelen @@ -732,6 +808,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + K BTW 12% Intracommunautaire aankoop van bedrijfsmiddelen (1) @@ -762,6 +840,8 @@ this repository contains the full copyright notices and license terms. --> + VAT + S BTW 21% Intracommunautaire aankoop van bedrijfsmiddelen @@ -769,6 +849,8 @@ this repository contains the full copyright notices and license terms. --> none + VAT + K BTW 21% Intracommunautaire aankoop van bedrijfsmiddelen (1) diff --git a/modules/account_be/tests/test_module.py b/modules/account_be/tests/test_module.py index a0aaeee63d..9a49df1f5d 100644 --- a/modules/account_be/tests/test_module.py +++ b/modules/account_be/tests/test_module.py @@ -9,7 +9,9 @@ from trytond.tests.test_tryton import ModuleTestCase, with_transaction class AccountBETestCase(ModuleTestCase): 'Test Account BE module' module = 'account_be' - extras = ['account_invoice', 'account_payment', 'account_statement_rule'] + extras = [ + 'account_invoice', 'account_payment', 'account_statement_rule', + 'edocument_unece'] language = 'fr' @with_transaction() diff --git a/modules/account_be/tryton.cfg b/modules/account_be/tryton.cfg index d98929fe69..be3991048a 100644 --- a/modules/account_be/tryton.cfg +++ b/modules/account_be/tryton.cfg @@ -10,6 +10,7 @@ extras_depend: account_invoice account_payment account_statement_rule + edocument_unece sale_advance_payment xml: account.xml