/ubl:Invoice/cac:BillingReference/cac:InvoiceDocumentReference
VRBL-Invoice-PL-B2B-3p0 - Invoice Document Reference
| Context ID | INV0168 |
| Usage | M |
Description
A group of business terms providing information on the referenced invoice.
For Polish KSeF FA(3) Correction Invoices, cbc:InvoiceType = 384, it is required to provide both a reference to the original invoice and the KSeF Number (UUID) received from the portal after the original invoice's successful upload and acceptance.
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| O | cec:UBLExtensions |
Invoice Document Reference Extensions Group | 0..1 |
| M | cbc:ID |
Preceding Invoice Reference ID
An identifier for the referenced document. |
1..1 |
| M | cbc:UUID |
Invoice Document Reference UUID
A universally unique identifier for this document reference. |
0..1 |
| M | cbc:IssueDate |
Preceding Invoice Issue Date
The date, assigned by the sender of the referenced document, on which the document was issued. |
0..1 |
Details
vrbl-invoice-pl-b2b-3p0
Example showing the Invoice Document Reference group with
- Correction Data
- Referenced Invoice Number
- KSeF number of the referenced Invoice
```xml
``
Example: VRBL_FA3_collective-correction-invoice-no-item.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:BillingReference>
<cac:InvoiceDocumentReference>
<cbc:ID>FV2026/01/134</cbc:ID>
<cbc:UUID>9999999999-20230908-8BEF280C8D35-4D</cbc:UUID>
<cbc:IssueDate>2026-01-15</cbc:IssueDate>
</cac:InvoiceDocumentReference>
</cac:BillingReference>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-PL-B2B-3-80 | When Preceding Invoice Reference ID holds a reference, the Invoice Type Code represents a final invoice or Invoice Subtype Code represents a final invoice correction, the Preceding Invoice Issue Date must exist within the Invoice Document Reference. |