fatalEN 16931EN 16931 business ruleCIIUBLBT-109
An Invoice shall have the Invoice total amount without VAT (BT-109).
The Invoice total amount without VAT (BT-109) is missing.
Add BT-109 (UBL LegalMonetaryTotal/cbc:TaxExclusiveAmount) = BT-106 - BT-107 + BT-108.
CII — context $Document_totals
(ram:TaxBasisTotalAmount)
UBL — context $Document_totals
exists(cbc:TaxExclusiveAmount)
Nothing is stored, and the whole invoice is checked, not just this rule. A PDF only works if it is Factur-X / ZUGFeRD — a PDF with the invoice XML inside it.