Rules / IBR-057
Each Deliver to address must contain a Deliver to country code
Each Deliver to address (ibg-15) must contain a Deliver to country code (ibt-080).
Fails
<cac:Address>
<!-- no cac:Country/cbc:IdentificationCode -->
</cac:Address>
Fix
Add cac:Country/cbc:IdentificationCode to cac:Delivery/cac:DeliveryLocation/cac:Address.
Schematron
- Context
cac:Delivery/cac:DeliveryLocation/cac:Address- Test
exists(cac:Country/cbc:IdentificationCode)
Official text: Each Deliver to address (ibg-15) MUST contain a Deliver to country code (ibt-080).