InvoiceGlass

Extra UBL field “Code list identifier / Tax currency code” · UBL-CR-658

  • Severity · Warning
  • Applies to · UBL
  • Editorial review pending

The CEN check flags the XML attribute @listID in UBL invoices and credit notes. It checks for code list identifier under “tax currency code”.

As of

Who can correct it?

The invoicing software provider can correct the export.

How to fix it

  1. Find the entry in the UBL export at cbc:TaxCurrencyCode/@listID.
  2. Remove the listID attribute from the export mapping and keep the field value.

Rule text and source

Paraphrase · The test reports a finding as soon as cbc:TaxCurrencyCode/@listID returns at least one match.

Message to the sender

Hello,

rule UBL-CR-658 was triggered when checking electronic invoice {invoiceNumber}. The UBL export contains an extra listID attribute under “tax currency code”. Could you check the export and send us a corrected file?

Kind regards

Example

The check flags listID under “tax currency code”. In the corrected file the field keeps its value and the attribute is omitted.

UBL

cbc:TaxCurrencyCode/@listID

Fails the rule
<cbc:TaxCurrencyCode listID="EXAMPLE">USD</cbc:TaxCurrencyCode>

Corrected
<cbc:TaxCurrencyCode>USD</cbc:TaxCurrencyCode>

Rule versions

CEN · EN 16931 (KoSIT) 1.3.16

CEN · EN 16931 1.3.17

Validate a file