Spain B2G: Invoice Number

The Invoice Number is restricted to 20 characters.

If you do not specify the Invoice Serial Number, as explained in the Spain B2G: Invoice Serial Number topic, you can specify the value using the ID element.

Elements

ElementDescription
Invoice/IDSpecify the invoice number.

Restrictions

This value is restricted to 20 characters for Spanish B2G Documents.

Example

<ubl:Invoice>
    <!-- Code omitted for clarity -->
    <cbc:ID>INV0001</cbc:ID>
     <!-- Code omitted for clarity -->
</ubl:Invoice>