/ubl:Invoice/cac:InvoiceLine/cac:DocumentReference

Line Document Reference

Spain | VRBL-Invoice-ES-PeppolBIS-3p0
Context ID INV1210
Usage O
Final Format Path /ubl:Invoice/cac:InvoiceLine/cac:DocumentReference

Description

An identifier for an object on which the invoice line is based, given by the Seller.

Child elements
Usage Element Description Cardinality
M cbc:ID Line Document Reference ID

An identifier for the referenced document.

1..1
O cbc:DocumentTypeCode Invoice Line Document Reference Document Type Code

The type of document being referenced, expressed as a code.

0..1
Details

Example: ES_invoice_380_full.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:InvoiceLine>
    <!-- ... omitted for readability -->
    <cac:DocumentReference>
      <cbc:ID schemeID="AAK">DESP987654</cbc:ID>
      <cbc:DocumentTypeCode>130</cbc:DocumentTypeCode>
    </cac:DocumentReference>
    <!-- ... omitted for readability -->
  </cac:InvoiceLine>
  <!-- ... omitted for readability -->
</ubl:Invoice>