/ubl:Invoice/cac:BillingReference
VRBL-Invoice-FR-CIUS-1p0 - Preceding Invoice Reference
| Context ID | INV0167 |
| Usage | C |
| Usage Description | To be used in case:
(BR-FR-CO-04) Credit notes:
Then AT LEAST one Reference to a previous invoice (BT-25) must be present along with its Date (BT-26) OR a Reference to a previous online invoice (EXT-FR-FE-136) must be present on each line (BG-25), along with its date (EXT-FR-FE-138)" (BR-FR-CO-05)
Then one and only one reference to a previous invoice (BT-25) must be present, along with its date (BT-26) (BR-FR-CPRO-20) |
| Format | |
| Mandate Business Term Code | BG-3 |
| Final Format Path | /Invoice/cac:BillingReference |
Description
A group of business terms providing information on one or more preceding Invoices. A credit note or an invoice correction can refer to one or more initial or preceding invoices. Also used for debit notes and other invoice like messages which make references to preceding invoices.
Also used to indicate preceding partial- or prepayed invoices in a final invoice.
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| M | cac:InvoiceDocumentReference |
Invoice Document Reference
A reference to an invoice. |
0..1 |
Details
Example: FR-B2B-max.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:BillingReference>
<cac:InvoiceDocumentReference>
<cbc:ID>INV-PREV-001</cbc:ID>
<cbc:IssueDate>2023-09-27</cbc:IssueDate>
<cbc:DocumentTypeCode>380</cbc:DocumentTypeCode>
</cac:InvoiceDocumentReference>
</cac:BillingReference>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-EN16931-M-132 | The Preceding Invoice Reference ID must exist within the Preceding Invoice Reference. |