/ubl:Invoice/cac:BillingReference/cac:InvoiceDocumentReference/cbc:ID

Preceding Invoice Reference ID

Spain | VRBL-Invoice-ES-FacturaE-3p2
Context ID INV0196
Usage M

Description

The identification of an Invoice that was previously sent by the Seller.

Details

Example: ES_B2G_Correction_invoice.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:BillingReference>
    <cac:InvoiceDocumentReference>
      <!-- ... omitted for readability -->
      <cbc:ID>INV1234</cbc:ID>
      <!-- ... omitted for readability -->
    </cac:InvoiceDocumentReference>
  </cac:BillingReference>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-ES-B2G-44 The allowed maximum number of characters for the Preceding Invoice Reference ID is 20.