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

Line Document Reference

Saudi Arabia | VRBL-Invoice-SA-1p2
Context ID INV1210
Usage O*

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:IssueDate Invoice Line Document Reference Issue Date

The date, assigned by the sender of the referenced document, on which the document was issued.

0..1
O cbc:IssueTime Invoice Line Document Reference Issue Time

The time, assigned by the sender of the referenced document, at which the document was issued.

0..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: SA_Invoice_388_Advance_Payment_Adjustments.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:InvoiceLine>
    <!-- ... omitted for readability -->
    <cac:DocumentReference>
      <cbc:ID>46531</cbc:ID>
      <cbc:UUID>a79760f7-2f48-4da9-85a5-40459a147c80</cbc:UUID>
      <cbc:IssueDate>2024-08-15</cbc:IssueDate>
      <cbc:IssueTime>12:28:17</cbc:IssueTime>
      <cbc:DocumentTypeCode>386</cbc:DocumentTypeCode>
    </cac:DocumentReference>
    <!-- ... omitted for readability -->
  </cac:InvoiceLine>
</ubl:Invoice>