Rules / IBR-SR-55
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 one cac:AddressLine/cbc:Line in cac:TaxRepresentativeParty/cac:PostalAddress and delete the extras. 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