Rules / IBR-SR-23
Seller tax representative tax identifier must occur maximum once, if the Seller has a tax representative
Seller tax representative tax identifier (ibt-063) must occur maximum once, if the Seller has a tax representative.
Fails
<cac:TaxRepresentativeParty>
…<cbc:CompanyID>…</cbc:CompanyID>
…<cbc:CompanyID>…</cbc:CompanyID>
</cac:TaxRepresentativeParty>
Fix
Keep one cac:Party/cac:PartyTaxScheme/cbc:CompanyID in cac:TaxRepresentativeParty and delete the extras. If both values matter, one of them belongs in a different field.
Schematron
- Context
cac:TaxRepresentativeParty- Test
(count(cac:Party/cac:PartyTaxScheme/cbc:CompanyID) <= 1)
Official text: Seller tax representative tax identifier (ibt-063) MUST occur maximum once, if the Seller has a tax representative