fatalEN 16931EN 16931 business ruleCIIUBLBT-55
The Buyer postal address shall contain a Buyer country code (BT-55).
The Buyer postal address has no country code (BT-55).
Add the ISO 3166-1 alpha-2 country code under the buyer's PostalAddress/Country.
CII — context /rsm:CrossIndustryInvoice
normalize-space(rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:PostalTradeAddress/ram:CountryID) != ''
UBL — context cac:AccountingCustomerParty/cac:Party/cac:PostalAddress
normalize-space(cac:Country/cbc:IdentificationCode) != ''
Nothing is stored, and the whole invoice is checked, not just this rule. A PDF only works if it is Factur-X / ZUGFeRD — a PDF with the invoice XML inside it.