An Invoice shall contain the Buyer postal address (BG-8).
The ram:BuyerTradeParty is missing the ram:PostalTradeAddress element.
The postal address is a required invoice detail for identifying and locating the buyer by post.
The buyer’s postal address is missing from the invoice. Add the missing address element to complete the invoice details.
- Add
ram:PostalTradeAddressinsideram:BuyerTradeParty. - Generate the invoice again and validate it once more.
<ram:BuyerTradeParty/>
<ram:BuyerTradeParty> <ram:PostalTradeAddress/> </ram:BuyerTradeParty>
Technical details
The test checks whether a ram:BuyerTradeParty/ram:PostalTradeAddress exists anywhere in the document.
The rule applies in the invoice document rsm:CrossIndustryInvoice to the ram:BuyerTradeParty party.
rule/@context)assert/@test)