Rules / IBR-011
The Buyer postal address must contain a Buyer country code
The Buyer postal address (ibg-08) must contain a Buyer country code (ibt-055).
Fails
<cac:PostalAddress>
<!-- no cac:Country/cbc:IdentificationCode -->
</cac:PostalAddress>
Fix
Add cac:Country/cbc:IdentificationCode to cac:AccountingCustomerParty/cac:Party/cac:PostalAddress.
Schematron
- Context
cac:AccountingCustomerParty/cac:Party/cac:PostalAddress- Test
normalize-space(cac:Country/cbc:IdentificationCode) != ''
Official text: The Buyer postal address (ibg-08) MUST contain a Buyer country code (ibt-055).