Rules / IBR-SR-59
IBR-SR-59 error
The Payee Postal Address Line must occur maximum once
The Payee Postal Address Line (ibt-174) must occur maximum once.
Fails
<cac:Address>
<cbc:Line>…</cbc:Line>
<cbc:Line>…</cbc:Line>
</cac:Address>
Fix
Keep a single cbc:Line here and delete the duplicates. If both values matter, one of them belongs in a different field.
Schematron
- Context
cac:PaymentMeans/cac:PayeeFinancialAccount/cac:FinancialInstitutionBranch/cac:Address- Test
(count(cac:AddressLine/cbc:Line) <= 1)
Official text: The Payee Postal Address Line (ibt-174) MUST occur maximum once