Seller postal address is missing

Error BR-08 EN 16931

An Invoice shall contain the Seller postal address (BG-5).

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

The ram:PostalTradeAddress element is missing from ram:SellerTradeParty. As a result, the invoice contains no seller postal address (BG-5).

What the rule means

The postal address is part of the seller’s information and must be included in the invoice.

Affected fields BG-5
Please add the seller’s postal address

The invoice is missing the seller’s postal address. You can resolve this by adding the address to the seller information.

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

The XPath test looks for ram:PostalTradeAddress under ram:SellerTradeParty. The rule passes when that element is present.

Where the rule applies

The rule applies to the seller in the invoice and checks whether a ram:PostalTradeAddress is present there.

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