Element 'ram:BilledQuantity' must occur exactly 1 times.
ram:BilledQuantity is missing from ram:SpecifiedLineTradeDelivery or occurs more than once. Exactly one ram:BilledQuantity is required.
ram:BilledQuantity states the quantity billed for the invoice line. The rule requires exactly one quantity entry.
The billed quantity is missing from the invoice line’s delivery details or is entered more than once. Add exactly one ram:BilledQuantity.
- Locate
ram:SpecifiedLineTradeDeliveryfor the affected invoice line. - Make sure it contains exactly one
ram:BilledQuantity. - Regenerate the invoice and validate it again.
<ram:SpecifiedLineTradeDelivery/>
<ram:SpecifiedLineTradeDelivery> <ram:BilledQuantity>1</ram:BilledQuantity> </ram:SpecifiedLineTradeDelivery>
Technical details
Within ram:SpecifiedLineTradeDelivery, the check is count(ram:BilledQuantity)=1.
The rule applies within ram:SpecifiedLineTradeDelivery of an invoice line.
rule/@context)assert/@test)