Each Invoice line (BG-25) shall have an Invoiced quantity (BT-129).
The invoice line is missing the ram:BilledQuantity element. The invoiced quantity is therefore not provided.
BT-129 states the quantity invoiced for the invoice line. It describes the extent of the invoiced supply or service.
An invoice line does not have an invoiced quantity. You can add the quantity in the line’s delivery details.
- Provide the quantity in the invoice line’s
ram:BilledQuantityelement. - Check the value of
TradeLineItem.BilledQuantity. - Generate the invoice again and validate it.
<ram:IncludedSupplyChainTradeLineItem> <ram:SpecifiedLineTradeDelivery/> </ram:IncludedSupplyChainTradeLineItem>
<ram:IncludedSupplyChainTradeLineItem> <ram:SpecifiedLineTradeDelivery> <ram:BilledQuantity>1</ram:BilledQuantity> </ram:SpecifiedLineTradeDelivery> </ram:IncludedSupplyChainTradeLineItem>
TradeLineItem.BilledQuantity(BT-129)
Technical details
The test checks whether ram:SpecifiedLineTradeDelivery/ram:BilledQuantity is present.
Applies to each invoice line ram:IncludedSupplyChainTradeLineItem and its ram:SpecifiedLineTradeDelivery.
rule/@context)assert/@test)