Rules / IBR-SR-59
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 one cac:AddressLine/cbc:Line in cac:PaymentMeans/cac:PayeeFinancialAccount/cac:FinancialInstitutionBranch/cac:Address and delete the extras. 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