/ubl:Invoice/cac:InvoiceLine/cac:DocumentReference/cbc:ID

Line Document Reference ID

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

Description

An identifier for a document that the invoice line referes to.

Child elements
Usage Element Description Cardinality
O @schemeID Invoice Line Document Reference Scheme ID

The identification of the identification scheme.

0..1
Details

Example: ES_B2G_Correction_invoice.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:InvoiceLine>
    <!-- ... omitted for readability -->
    <cac:DocumentReference>
      <cbc:ID schemeID="AAK">DeliveryNoteN</cbc:ID>
      <!-- ... omitted for readability -->
    </cac:DocumentReference>
    <!-- ... omitted for readability -->
  </cac:InvoiceLine>
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-ES-B2G-92 The allowed maximum number of characters for the Line Document Reference ID is 30.