An Invoice shall have at least one Invoice line (BG-25).
The invoice contains no ram:IncludedSupplyChainTradeLineItem. This means that it has no invoice line.
An invoice must contain at least one invoice line so that the goods or services being charged are specified.
No invoice line was found in the invoice. Add at least one so that the goods or services being charged are listed.
- Add at least one
ram:IncludedSupplyChainTradeLineItemto the invoice. - Generate the invoice again and validate it once more.
<rsm:CrossIndustryInvoice/>
<rsm:CrossIndustryInvoice> <ram:IncludedSupplyChainTradeLineItem/> </rsm:CrossIndustryInvoice>
Technical details
The test searches the document for at least one ram:IncludedSupplyChainTradeLineItem element.
The rule applies to the invoice as a whole and checks whether it contains at least one ram:IncludedSupplyChainTradeLineItem.
rule/@context)assert/@test)