Mexico (CFDI): Reference Relation Code

This shows the nature of the relationship between the current invoice and the referenced invoices.

NameDescriptionXPathCardinality
Reference Relation CodeRelationship type between documents./ubl:Invoice/cac:BillingReference/cec:UBLExtensions/cec:UBLExtension/cec:ExtensionContent/vrbl:BillingReferenceExtension/vrbl:ReferenceRelationCode1..1

These codes are allowed:

CodeDescription
VRBL:MX:01Credit note for related documents
VRBL:MX:02Debit note for related documents
VRBL:MX:03Return of goods related to previously issued invoices or transfer documents
VRBL:MX:04Replacement of previously issued CFDIs
VRBL:MX:05Transfer of goods previously invoiced
VRBL:MX:06Invoice generated from previous transfer documents
VRBL:MX:07CFDI issued for the application of an advance payment

Example:

<ubl:Invoice>
	<!-- Code omitted for clarity -->
	<cac:BillingReference>
		<cec:UBLExtensions>
			<cec:UBLExtension>
				<cec:ExtensionContent>
					<vrbl:BillingReferenceExtension>
						<vrbl:ReferenceRelationCode>VRBL:MX:01</vrbl:ReferenceRelationCode>
					</vrbl:BillingReferenceExtension>
				</cec:ExtensionContent>
			</cec:UBLExtension>
		</cec:UBLExtensions>
		<!-- Code omitted for clarity -->
	</cac:BillingReference>
	<!-- Code omitted for clarity -->
</ubl:Invoice>

Did this page help you?