/ubl:Invoice/cac:BillingReference

Preceding Invoice Reference

France | VRBL-Invoice-FR-CIUS-1p0
Context ID INV0167
Usage C
Usage Description

To be used in case:

  • a preceding invoice is corrected
  • preceding partial invoices are referred to from a final invoice
    -preceding pre-payment invoices are referred to from a final invoice

(BR-FR-CO-04)
If the invoice codetype (BT-3) is included in the following list:

Credit notes:

  • Self-invoiced credit note (261)
  • Credit note (381)
  • Invoiced credit note (396)
  • Self-invoiced and invoiced credit note (502) (*)
  • Credit note for deposit invoice (503) (*)

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)
If the invoice codetype (BT-3) is included in the following list:

  • Corrective invoice (384)
  • Self-invoiced corrective invoice (471) (*)
  • Factored corrective invoice (472) (*)
  • Self-invoiced and factored corrective invoice (473) (*)

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)
B2G - Only one reference to a previous invoice is permitted. BG-3 group must appear only once.

Format
Mandate Business Term Code BG-3
Final Format Path /Invoice/cac:BillingReference

Description

Group for references to one or more preceding invoices. A credit note or corrective invoice can refer to one or more original or preceding invoices. Also used for debit notes and other invoice-like messages that reference 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.