fatalEN 16931EN 16931 business ruleCIIUBLBG-25BT-131
Each Invoice line (BG-25) shall have an Invoice line net amount (BT-131).
An invoice line has no line net amount (BT-131).
Add BT-131 (UBL InvoiceLine/cbc:LineExtensionAmount). It is the amount for the whole line AFTER line allowances and charges and EXCLUDING VAT - not the unit price.
CII — context $Invoice_Line
(ram:SpecifiedLineTradeSettlement/ram:SpecifiedTradeSettlementLineMonetarySummation/ram:LineTotalAmount)
UBL — context $Invoice_Line
exists(cbc:LineExtensionAmount)