BR-10

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

error: the document is invalid Peppol documentation ↗

Why it fails

  • The buyer party has no cac:PostalAddress (ram:PostalTradeAddress in CII).

How to fix it

Add the buyer's postal address, with at least its country code (BR-11).

What the rule checks

As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.

Context
/rsm:CrossIndustryInvoice
Test
rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:PostalTradeAddress

Checked with EN 16931 Invoice (CII)

Context
/rsm:CrossIndustryInvoice
Test
//ram:BuyerTradeParty/ram:PostalTradeAddress

Checked with France Factur-X BASIC WL, Factur-X / ZUGFeRD BASIC WL