Buyer postal address required

Error BR-10 EN 16931

An Invoice shall contain the Buyer postal address (BG-8).

Mandatory rule: As long as it is violated, the invoice is invalid and will be rejected by validators.
What is wrong

The ram:BuyerTradeParty is missing the ram:PostalTradeAddress element.

What the rule means

The postal address is a required invoice detail for identifying and locating the buyer by post.

Affected fields BG-8
Please add the buyer’s postal address

The buyer’s postal address is missing from the invoice. Add the missing address element to complete the invoice details.

What to do
  1. Add ram:PostalTradeAddress inside ram:BuyerTradeParty.
  2. Generate the invoice again and validate it once more.
What it looks like
✗ Triggers the message
<ram:BuyerTradeParty/>
✓ Correct
<ram:BuyerTradeParty>
  <ram:PostalTradeAddress/>
</ram:BuyerTradeParty>
Technical details

The test checks whether a ram:BuyerTradeParty/ram:PostalTradeAddress exists anywhere in the document.

Where the rule applies

The rule applies in the invoice document rsm:CrossIndustryInvoice to the ram:BuyerTradeParty party.

Context (rule/@context)
/rsm:CrossIndustryInvoice
Test expression (assert/@test)
//ram:BuyerTradeParty/ram:PostalTradeAddress