Context
FR
/ubl:Invoice/cac:InvoiceLine/cac:BillingReference/cac:InvoiceDocumentReference/cbc:ID
VRBL-Invoice-FR-CIUS-1p0 - Invoice Line Invoice Document Reference ID
France |
VRBL-Invoice-FR-CIUS-1p0
| Context ID | INV1648 |
| Usage | M |
| Usage Description | From BR-FR-CO-05:
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. |