Skip to main content

The Spanish version is the authoritative reference. View in Spanish

πŸ‡²πŸ‡½ Mexico

DTE/GUF reference examples for submission to the SAT (Tax Administration Service) through the PAC. Organized by CFDI type.

Reference examples β€” generic data

The XMLs in this section are reference examples with fictitious data. The values for tax identifier (RUC/RUT/NIT/CUIT/CNPJ/RFC), company name, address and email address do not correspond to real issuers or recipients.

These files are a complement to the GAP Analysis reports carried out during the onboarding process. To obtain examples configured with your company's actual information, contact the Implementation Consultant assigned to your project.

Supported document types​

CodeTypeWhen to use
ICFDI Ingreso β€” Electronic InvoiceFor any income: B2B/B2C sale, professional fees, lease. The most common CFDI type.
ECFDI Egreso β€” Credit NoteFor returns, discounts or bonuses. Equivalent to a credit note. Requires reference to the source income CFDI.
PCFDI Pago β€” Payment ComplementPayment Receipt Complement. To settle credit invoices; does not replace the original invoice.

DTE/GUF examples​

DTE/GUF β€” MΓ©xico
<?xml version='1.0' encoding='ISO-8859-1'?>
<DTE>
<Documento>
	<Encabezado>
		<IdDoc>
			<Version>4.0</Version>
			<TipoEmision>01</TipoEmision>
			<Tipo>E</Tipo>
			<Serie>NC</Serie>
			<Numero>NC000000001</Numero>
			<NumeroInterno>NC000000001</NumeroInterno>
			<FechaEmis>2025-02-03T02:54:58</FechaEmis>
			<TipoServicio>G03</TipoServicio>
			<FormaPago>99</FormaPago>
			<MedioPago>PPD</MedioPago>
			<FechaVenc>2025-03-02</FechaVenc>
			<OtrosDocumentos>
				<Relacion>04</Relacion>
				<Documentos>
					<Documento>
						<IdDocumento>39A56286-F3C0-44CC-AC54-05FA973EBB81</IdDocumento>
					</Documento>
				</Documentos>
			</OtrosDocumentos>
		</IdDoc>
		<Emisor>
			<RegimenContable>601</RegimenContable>
			<IDEmisor>EMP000000AA0</IDEmisor>
			<NmbEmisor>EMPRESA EMISORA DE PRUEBA S.A.</NmbEmisor>
			<LugarExped>
				<CodigoPostal>28239</CodigoPostal>
			</LugarExped>
		</Emisor>
		<Receptor>
			<RegimenContableR>601</RegimenContableR>
			<DocRecep>
				<NroDocRecep>CLI000000BB1</NroDocRecep>
			</DocRecep>
			<NmbRecep>EMPRESA RECEPTORA DE PRUEBA S.A.</NmbRecep>
			<DomFiscalRcp>
				<Calle>Calle Goya 561, Prados Providencia</Calle>
				<Municipio>Guadalajara</Municipio>
				<Pais>MEX</Pais>
				<CodigoPostal>44670</CodigoPostal>
			</DomFiscalRcp>
		</Receptor>
		<Totales>
			<Moneda>MXN</Moneda>
			<SubTotal>3779.25</SubTotal>
			<MntImp>604.68</MntImp>
			<VlrPagar>4383.93</VlrPagar>
		</Totales>
		<Impuestos>
			<TipoImp>Tasa</TipoImp>
			<CodTasaImp>002</CodTasaImp>
			<TasaImp>0.160000</TasaImp>
			<MontoBaseImp>3779.25</MontoBaseImp>
			<MontoImp>604.68</MontoImp>
		</Impuestos>
	</Encabezado>
	<Detalle>
		<NroLinDet>1</NroLinDet>
		<CdgItem>
			<TpoCodigo>CPS</TpoCodigo>
			<VlrCodigo>80101507</VlrCodigo>
		</CdgItem>
		<CdgItem>
			<TpoCodigo>CU</TpoCodigo>
			<VlrCodigo>E48</VlrCodigo>
		</CdgItem>
		<DscItem>PS # Consulting</DscItem>
		<QtyItem>3</QtyItem>
		<UnmdItem>EA</UnmdItem>
		<PrcNetoItem>1259.75</PrcNetoItem>
		<ImpuestosDet>
			<CodTasaImp>002</CodTasaImp>
			<TipoImp>Tasa</TipoImp>
			<TasaImp>0.160000</TasaImp>
			<MontoBaseImp>3779.25</MontoBaseImp>
			<MontoImp>604.68</MontoImp>
		</ImpuestosDet>
		<MontoNetoItem>3779.25</MontoNetoItem>
		<ExtraInfoDetalle name='ObjetoImp'>02</ExtraInfoDetalle>
	</Detalle>
</Documento>
</DTE>