Rules / IBR-SR-55
IBR-SR-55 error
The Tax Representative Postal Address Line must occur maximum once
The Tax Representative Postal Address Line (ibt-164) must occur maximum once.
Fails
<cac:PostalAddress>
<cbc:Line>…</cbc:Line>
<cbc:Line>…</cbc:Line>
</cac:PostalAddress>
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:TaxRepresentativeParty/cac:PostalAddress- Test
(count(cac:AddressLine/cbc:Line) <= 1)
Official text: The Tax Representative Postal Address Line (ibt-164) MUST occur maximum once