InvoiceGlass

Extra UBL field “Unit code list identifier (@unitCodeListID)” · UBL-CR-663

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

The CEN check flags the XML attribute @unitCodeListID in UBL invoices and credit notes. The check looks for unit code list identifier throughout the document.

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 //@unitCodeListID.
  2. Remove the unitCodeListID attribute from the export mapping and keep the field value.

Rule text and source

Paraphrase · The test reports a finding as soon as //@unitCodeListID returns at least one match.

Message to the sender

Hello,

rule UBL-CR-663 was triggered when checking electronic invoice {invoiceNumber}. The UBL export contains an extra unitCodeListID attribute under “anywhere in the document”. Could you check the export and send us a corrected file?

Kind regards

Example

The check flags unitCodeListID under “anywhere in the document”. In the corrected file the field keeps its value and the attribute is omitted.

Rule versions

CEN · EN 16931 (KoSIT) 1.3.16

CEN · EN 16931 1.3.17

Validate a file