fatalEN 16931EN 16931 business ruleCIIUBLBG-28BT-141
Each Invoice line charge (BG-28) shall have an Invoice line charge amount (BT-141).
An invoice line charge (BG-28) has no amount (BT-141).
Add BT-141 as a positive number on the line's AllowanceCharge with ChargeIndicator true.
CII — context $Invoice_line_charges
(../ram:ActualAmount)
UBL — context $Invoice_line_charges
exists(cbc:Amount)
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.