Mexico (CFDI): Original Invoice Document Type Code

Indicates the type of the original referenced invoice in the document.

NameDescriptionXPathCardinality
Original Invoice Document Type CodeA coded document type of the referenced invoice./Invoice/cac:BillingReference/cac:InvoiceDocumentReference/cbc:DocumentTypeCode1..1

These codes are allowed:

CodeUNCL 1001Description
VRBL:MX:I380 or 383Invoice (Ingreso)
VRBL:MX:E381Credit Note (Egreso)

Example:

<ubl:Invoice>
	<!-- Code omitted for clarity -->
	<cac:BillingReference>
		<cac:InvoiceDocumentReference>
			<!-- Code omitted for clarity -->
			<cbc:DocumentTypeCode>380</cbc:DocumentTypeCode>
		</cac:InvoiceDocumentReference>
	</cac:BillingReference>
	<!-- Code omitted for clarity -->
</ubl:Invoice>

Did this page help you?