fatalEN 16931EN 16931 business ruleCIIUBLBT-106
An Invoice shall have the Sum of Invoice line net amount (BT-106).
The Sum of invoice line net amounts (BT-106) is missing.
Add BT-106 = the sum of every line's BT-131. UBL: LegalMonetaryTotal/cbc:LineExtensionAmount. It is mandatory even on a one-line invoice, and even when it equals the total.
CII — context $Document_totals
(ram:LineTotalAmount)
UBL — context $Document_totals
exists(cbc:LineExtensionAmount)