An Invoice shall contain the Seller postal address (BG-5).
The XML is missing ram:PostalTradeAddress under ram:SellerTradeParty. The seller postal address (BG-5) is therefore not present.
The postal address is a required detail that provides the seller’s address on the invoice.
The seller’s postal address is missing from the invoice. Add the address element to the XML.
- Add
ram:PostalTradeAddressinsideram:SellerTradeParty. - Generate the invoice again and validate it once more.
<ram:SellerTradeParty/>
<ram:SellerTradeParty> <ram:PostalTradeAddress/> </ram:SellerTradeParty>
Technical details
The test checks whether a ram:PostalTradeAddress is present under a ram:SellerTradeParty.
The rule applies to ram:PostalTradeAddress inside ram:SellerTradeParty.
rule/@context)assert/@test)