BR-10
An Invoice shall contain the Buyer postal address (BG-8).
Why it fails
- The buyer party has no
cac:PostalAddress(ram:PostalTradeAddressin 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.
/ubl:Invoice | /cn:CreditNote
exists(cac:AccountingCustomerParty/cac:Party/cac:PostalAddress)
Checked with EN 16931 Invoice (UBL), EN 16931 Credit Note (UBL), Croatia eRačun Invoice (UBL), Croatia eRačun Credit Note (UBL)
/rsm:CrossIndustryInvoice
rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:PostalTradeAddress
Checked with EN 16931 Invoice (CII)
/rsm:CrossIndustryInvoice
//ram:BuyerTradeParty/ram:PostalTradeAddress
Checked with France Factur-X BASIC WL, Factur-X / ZUGFeRD BASIC WL