Rules / IBR-107
IBR-107 error
Deliver to information must occur maximum once
Deliver to information (ibg-13) must occur maximum once.
Fails
<Invoice>
<cac:Delivery>…</cac:Delivery>
<cac:Delivery>…</cac:Delivery>
</Invoice>
Fix
Keep a single cac:Delivery here and delete the duplicates. If both values matter, one of them belongs in a different field.
Schematron
- Context
/ubl:Invoice | /cn:CreditNote- Test
(count(cac:Delivery) <= 1)
Official text: Deliver to information (ibg-13) MUST occur maximum once.