Buyer postal address is missing

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 XML is missing ram:PostalTradeAddress under ram:BuyerTradeParty. The buyer postal address (BG-8) is therefore not present.

What the rule means

The postal address is a required detail that provides the buyer’s address on the invoice.

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

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

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:PostalTradeAddress is present under a ram:BuyerTradeParty.

Where the rule applies

The rule applies to ram:PostalTradeAddress inside ram:BuyerTradeParty.

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