Rules / IBR-110
IBR-110 error
Invoice line period must occur maximum once
Invoice line period (ibg-26) must occur maximum once.
Fails
<cac:InvoiceLine>
<cac:InvoicePeriod>…</cac:InvoicePeriod>
<cac:InvoicePeriod>…</cac:InvoicePeriod>
</cac:InvoiceLine>
Fix
Keep a single cac:InvoicePeriod here and delete the duplicates. If both values matter, one of them belongs in a different field.
Schematron
- Context
cac:InvoiceLine | cac:CreditNoteLine- Test
(count(cac:InvoicePeriod) <= 1)
Official text: Invoice line period (ibg-26) MUST occur maximum once.