/ubl:Invoice/cac:InvoiceLine/cac:BillingReference/cac:InvoiceDocumentReference/cbc:ID

Invoice Line Invoice Document Reference ID

France | VRBL-Invoice-FR-CIUS-1p0
Context ID INV1648
Usage M
Usage Description

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

  • Self-billed credit note (261)
  • Credit note (381)
  • Factored credit note (396)
  • Factored self-billed credit note (502)
  • Down payment invoice credit note (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 invoice on line (EXT-FR-FE-136) MUST be present IN EACH line (BG-25), along with its date (EXT-FR-FE-138)

Format Reference (max. 35, max. 20 for B2G)
Mandate Business Term Code EXT-FR-FE-136
Final Format Path /Invoice/cac:InvoiceLine/cac:BillingReference/cac:InvoiceDocumentReference/cbc:ID

Description

An identifier for the referenced document.

Details

Example: FR-B2B-max.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:InvoiceLine>
    <!-- ... omitted for readability -->
    <cac:BillingReference>
      <cac:InvoiceDocumentReference>
        <cbc:ID>INV-PREV-001</cbc:ID>
        <!-- ... omitted for readability -->
      </cac:InvoiceDocumentReference>
      <!-- ... omitted for readability -->
    </cac:BillingReference>
    <!-- ... omitted for readability -->
  </cac:InvoiceLine>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-FR-CIUS-1p0-B2G-49 For B2G, the allowed maximum number of characters for the Invoice Line Invoice Document Reference ID is 20.
VRBL-INV-FR-CIUS-1p0-25 The Invoice Line Invoice Document Reference ID must have at most 35 characters and consist of only letters, numbers, plus, hyphens, underscores and slashes.