Each Invoice line (BG-25) shall contain the Item net price (BT-146) if the "Subtype of invoice line item" (BT-X-8) has the value "Normal line item (standard case)" (DETAIL) or is not specified.
A normal invoice line is missing ram:ChargeAmount in ram:SpecifiedLineTradeAgreement/ram:NetPriceProductTradePrice. The item’s net price is therefore not stated.
The net price states the item price excluding VAT. It is required information for a normal invoice line.
The net price is missing from this normal invoice line. Add the item price excluding VAT.
- Determine the item’s net price.
- Set
TradeLineItem.NetUnitPrice. - Generate the invoice again and validate it.
<ram:SpecifiedLineTradeAgreement> <ram:NetPriceProductTradePrice/> </ram:SpecifiedLineTradeAgreement>
<ram:SpecifiedLineTradeAgreement> <ram:NetPriceProductTradePrice> <ram:ChargeAmount>50.00</ram:ChargeAmount> </ram:NetPriceProductTradePrice> </ram:SpecifiedLineTradeAgreement>
AssociatedDocument.LineStatusReasonCode(BT-X-8)LineStatusReasonCodes(BT-X-8)TradeLineItem.NetUnitPrice(BT-146)
Technical details
The test requires ram:ChargeAmount under ram:NetPriceProductTradePrice to exist. It applies only to ram:AssociatedDocumentLineDocument without ram:LineStatusReasonCode or with the value DETAIL.
The rule applies to ram:AssociatedDocumentLineDocument when ram:LineStatusReasonCode is absent or has the value DETAIL.
rule/@context)assert/@test)