Each Invoice line (BG-25) shall have an Invoice line identifier (BT-126).
The invoice line is missing ram:LineID, or the element has no value. As a result, the invoice line is not identified by a non-empty identifier.
BT-126 is the identifier of the invoice line. It associates the invoice data with a specifically identified invoice line.
An invoice line is missing an identifier, or its identifier is empty. You can add the identifier in the details for the associated document.
- Provide a non-empty
ram:LineIDfor the invoice line. - Check the value of
AssociatedDocument.LineID. - Generate the invoice again and validate it.
<ram:IncludedSupplyChainTradeLineItem> <ram:AssociatedDocumentLineDocument> <ram:LineID/> </ram:AssociatedDocumentLineDocument> </ram:IncludedSupplyChainTradeLineItem>
<ram:IncludedSupplyChainTradeLineItem> <ram:AssociatedDocumentLineDocument> <ram:LineID>1</ram:LineID> </ram:AssociatedDocumentLineDocument> </ram:IncludedSupplyChainTradeLineItem>
AssociatedDocument.LineID(BT-126)TradeLineItem.AssociatedDocument(BT-126)
Technical details
The test checks whether ram:AssociatedDocumentLineDocument/ram:LineID has a value other than the empty string.
Applies to each invoice line ram:IncludedSupplyChainTradeLineItem and its ram:AssociatedDocumentLineDocument.
rule/@context)assert/@test)