InvoiceGlass

Preceding invoice number is missing from the billing reference · UBL-SR-07

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

A cac:BillingReference block links the document to a preceding invoice. The check expects that invoice number in cac:InvoiceDocumentReference/cbc:ID.

As of

Who can correct it?

The sender can correct the invoice.

How to fix it

  1. Find the actual preceding invoice number and export it in cac:BillingReference/cac:InvoiceDocumentReference/cbc:ID.
  2. If the export created an accidental billing reference and there is no preceding invoice, correct the export mapping.

Rule text and source

Paraphrase · Each checked cac:BillingReference must have at least one cac:InvoiceDocumentReference/cbc:ID.

Message to the sender

Hello,

rule UBL-SR-07 was triggered when checking electronic invoice {invoiceNumber}. A reference to a preceding invoice is missing that invoice’s number. Could you check the export and send us a corrected file?

Kind regards

Example

A billing reference gives only the preceding invoice issue date. The corrected reference also supplies its invoice number.

Rule versions

CEN · EN 16931 (KoSIT) 1.3.16

CEN · EN 16931 1.3.17

Validate a file