/ubl:Invoice/cac:BillingReference/cac:InvoiceDocumentReference
Invoice Document Reference Group
| Context ID | INV0168 |
| Cardinality | 0..1 |
| Usage | M |
Description
A reference to an invoice.
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
| Cardinality | Usage | Description | Element |
|---|---|---|---|
| 0..1 | - | Invoice Document Reference Extensions Group | cec:UBLExtensions |
| 1..1 | M |
Invoice Document Reference ID
An identifier for the referenced document. |
cbc:ID |
| 0..1 | M |
Invoice Document Reference UUID
A universally unique identifier for this document reference. |
cbc:UUID |
| 0..1 | M |
Invoice Document Reference Issue Date
The date, assigned by the sender of the referenced document, on which the document was issued. |
cbc:IssueDate |
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
``
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-PL-B2B-3-80 | When Invoice Document Reference ID holds a reference, the Invoice Type Code represents a final invoice or Invoice Subtype Code represents a final invoice correction, the Invoice Document Reference Issue Date must exist within the Invoice Document Reference Group. |