Rules / IBR-SR-28
IBR-SR-28 error
Mandate reference identifier must occur maximum once
Mandate reference identifier (ibt-089) must occur maximum once.
Fails
<cac:PaymentMeans>
<cbc:ID>…</cbc:ID>
<cbc:ID>…</cbc:ID>
</cac:PaymentMeans>
Fix
Keep a single cbc:ID here and delete the duplicates. If both values matter, one of them belongs in a different field.
Schematron
- Context
cac:PaymentMeans- Test
(count(cac:PaymentMandate/cbc:ID) <= 1)
Official text: Mandate reference identifier (ibt-089) MUST occur maximum once