/ubl:Invoice/cac:OrderReference

Order Reference

Poland | VRBL-Invoice-PL-B2B-3p0
Context ID INV0162
Usage O

Description

A group of business terms providing information about the referenced order.

In Polish KSeF FA(3) invoices it is possible to provide multiple order numbers and their corresponding dates on document level, while the UBL format only allows for one element cac:OrderReference. In order to still be able to accommodate all additional related order numbers the repeatable Additional Document Reference (see cac:AdditionalDocumentReference) element can be used.

Child elements
Usage Element Description Cardinality
M cbc:ID Purchase Order Reference ID

An identifier for this order reference, assigned by the buyer.

1..1
O cbc:IssueDate Order Reference Issue Date

The date on which the referenced Order was issued.

0..1
Details

Example: VRBL_FA3_AP-invoice-KSeF-number.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:OrderReference>
    <cbc:ID>PO987654</cbc:ID>
    <cbc:IssueDate>2025-02-02</cbc:IssueDate>
  </cac:OrderReference>
  <!-- ... omitted for readability -->
</ubl:Invoice>