Rules / IBR-SR-23
IBR-SR-23 error
Seller tax representative tax identifier must occur maximum once, if the Seller has a…
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 a single cbc:CompanyID here and delete the duplicates. 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