Rules / IBR-179-AE
IBR-179-AE error
Buyer VAT identifier must occur maximum once
Buyer VAT identifier (IBT-048) must occur maximum once.
Fails
<cac:Party>
<cbc:CompanyID>…</cbc:CompanyID>
<cbc:CompanyID>…</cbc:CompanyID>
</cac:Party>
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:AccountingCustomerParty/cac:Party- Test
count(cac:PartyTaxScheme/cbc:CompanyID) <=1
Official text: Buyer VAT identifier (IBT-048) MUST occur maximum once