fatalEN 16931EN 16931 business ruleCIIUBLBG-25BT-129
Each Invoice line (BG-25) shall have an Invoiced quantity (BT-129).
An invoice line has no invoiced quantity (BT-129).
Add BT-129 (UBL cbc:InvoicedQuantity, CII BilledQuantity). A service line still needs one - use 1. Negative quantities are allowed on credit notes.
CII — context $Invoice_Line
(ram:SpecifiedLineTradeDelivery/ram:BilledQuantity)
UBL — context $Invoice_Line
exists(cbc:InvoicedQuantity) or exists(cbc:CreditedQuantity)