France (CII(AR)): Referenced Document Type Code

You can add a code to specify the type of document.

Element

XPathCardinalityDescription
Document Reference (ApplicationResponse/DocumentReference)1..1A group to define a reference to a document.
Document Type Code (ApplicationResponse/DocumentReference/DocumentTypeCode)1..1Specify the code that matches the type of documentation, for example, if it is an invoice or a credit note.

Restrictions

You must use codes from the UNCL 1001 list in the Document Type Code element. The code for an invoice is 380. You can also find this value in the InvoiceTypeCode element in a VRBL Document.

Example

<ubl:ApplicationResponse>
    <!-- code omitted for clarity -->
    <cac:DocumentResponse>
		<cac:DocumentReference>
            <!-- code omitted for clarity -->
            <cbc:DocumentTypeCode>380</cbc:DocumentTypeCode>
            <!-- code omitted for clarity -->
        </cac:DocumentReference>
        <!-- code omitted for clarity -->
    </cac:DocumentResponse>
</ubl:ApplicationResponse>