From e32dc6e316eea3147ac8a4b600e8a4bc292b02f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 11 Aug 2026 12:10:58 +0200 Subject: [PATCH] Manage the sign on LineTotalAmount instead of BilledQuantity in UN/CEFACT 16B-CII Closes #15006 (grafted from 0697a96aaf6c42aeb8e3d81b2d33167eb85a974c) --HG-- branch : 7.0 --- .../template/16B-CII/CrossIndustryInvoice.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/edocument_uncefact/template/16B-CII/CrossIndustryInvoice.xml b/modules/edocument_uncefact/template/16B-CII/CrossIndustryInvoice.xml index 5364a7b6de..96ac741c2a 100644 --- a/modules/edocument_uncefact/template/16B-CII/CrossIndustryInvoice.xml +++ b/modules/edocument_uncefact/template/16B-CII/CrossIndustryInvoice.xml @@ -74,14 +74,14 @@ this repository contains the full copyright notices and license terms. --> - ${line.quantity * this.type_sign} + ${abs(line.quantity)} ${TradeTax(tax.tax)} - ${line.amount} + ${line.amount * this.type_sign}