fatalEN 16931EN 16931 business ruleCIIUBLBG-25BT-130
An Invoice line (BG-25) shall have an Invoiced quantity unit of measure code (BT-130).
An invoice line's quantity has no unit of measure code (BT-130).
Add the unitCode attribute to the quantity, using UN/ECE Recommendation 20 (with Rec 21 extensions). C62 = piece/unit, HUR = hour, DAY = day, KGM = kilogram, MTR = metre, LTR = litre, MTQ = cubic metre. When in doubt for a service, C62 is the safe default. 'PCS', 'St', 'kom' and 'h' are NOT valid codes.
CII — context $Invoice_Line
(ram:SpecifiedLineTradeDelivery/ram:BilledQuantity/@unitCode)
UBL — context $Invoice_Line
exists(cbc:InvoicedQuantity/@unitCode) or exists(cbc:CreditedQuantity/@unitCode)