InvoiceGlass

Scheme identifier on another kind of document reference · UBL-CR-665

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

This CEN check associates the schemeID attribute on an additional document reference with document type code 130. Code 130 identifies the object being invoiced.

As of

Who can correct it?

The invoicing software provider can correct the export.

How to fix it

  1. Check the purpose of the reference in cac:AdditionalDocumentReference.
  2. For a supporting document or other reference without code 130, omit schemeID from cbc:ID. Use code 130 only when the reference actually identifies the invoiced object.

Rule text and source

Paraphrase · The test flags cbc:ID/@schemeID when the same additional document reference omits document type code 130 or contains a different code.

Message to the sender

Hello,

rule UBL-CR-665 was triggered when checking electronic invoice {invoiceNumber}. An additional document reference carries a scheme identifier, but the CEN check does not see the invoiced-object code on that reference. Could you check the export and send us a corrected file?

Kind regards

Example

A supporting document without a type code gives its identifier a schemeID. The corrected reference keeps the identifier and omits the attribute.

Rule versions

CEN · EN 16931 (KoSIT) 1.3.16

CEN · EN 16931 1.3.17

Validate a file