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