Rules / IBR-011
IBR-011 error
The Buyer postal address
The Buyer postal address (ibg-08) must contain a Buyer country code (ibt-055).
Fails
<cac:PostalAddress>
<!-- cbc:IdentificationCode is missing -->
</cac:PostalAddress>
Fix
Add cbc:IdentificationCode inside 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).