Extra UBL field “Scheme identifier / Tax registration › company identifier” · UBL-CR-652
- Severity · Warning
- Applies to · UBL
- Editorial review pending
The CEN check flags the XML attribute @schemeID in UBL invoices and credit notes. It checks for scheme identifier under “tax registration › company identifier”.
As of
Who can correct it?
The invoicing software provider can correct the export.
How to fix it
- Find the entry in the UBL export at //cac:PartyTaxScheme/cbc:CompanyID/@schemeID.
- Remove the schemeID attribute from the export mapping and keep the field value.
Rule text and source
Paraphrase · The test reports a finding as soon as //cac:PartyTaxScheme/cbc:CompanyID/@schemeID returns at least one match.
Message to the sender
Hello,
rule UBL-CR-652 was triggered when checking electronic invoice {invoiceNumber}. The UBL export contains an extra schemeID attribute under “tax registration › company identifier”. Could you check the export and send us a corrected file?
Kind regardsExample
The check flags schemeID under “tax registration › company identifier”. In the corrected file the field keeps its value and the attribute is omitted.
UBL
//cac:PartyTaxScheme/cbc:CompanyID/@schemeID
Fails the rule
<cbc:CompanyID schemeID="EXAMPLE">DE123456789</cbc:CompanyID>
Corrected
<cbc:CompanyID>DE123456789</cbc:CompanyID>Rule versions
CEN · EN 16931 (KoSIT) 1.3.16
CEN · EN 16931 1.3.17