/ubl:Invoice/cbc:ID

Invoice Number

Türkiye | VRBL-Invoice-TR-1p2
Context ID INV0139
Usage M
Format Identifier (XXXYYYY000000000)
Example Value GIB2009000000001
Final Format Path /Invoice/cbc:ID

Description

A unique identifier of the invoice.

For Turkey this is the invoice number, which consists of a three-digit alphanumeric unit code and a 13-digit sequential number, will be written in this element. The first four digits of the sequential number represent the year the invoice was issued, and the remaining nine digits represent the sequential number itself. The same invoice number cannot be used more than once within the issuing company.

Details

Example: TR_invoice_ihracat_export.xml

<ubl:Invoice schemaLocation="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2 file:///C:/Users/FA/Documents/e-invoicing-format/vrbl/maindoc/UBL-Invoice-2.4.xsd">
  <!-- ... omitted for readability -->
  <cbc:ID>BBB2025000000001</cbc:ID>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-TR-1p2-3 The Invoice Number must consist of a 3-character alphanumeric prefix, the year number and a 9-digit consecutive number, e.g. ABC2025123456789.