Inicio  |  Emisión  |  Conector-txt v6.0 / CFDI 4.0  |  Conector Comercio Exterior 2.0
La LCO fue actualizada por última vez el 21/feb/2025

Conector TXT Complemento Comercio Exterior 2.0 (Foreign trade)

The Tax Administration System (SAT) released the documentation for the new version of the complemento de Comercio Exterior 2.0 (Foreign trade´s complement), which is mandatory as of January 18, 2024.

The complement must be used by taxpayers that export goods definitively with the customs declaration code “A1”, in accordance with rule 2.7.1.22. of the Resolución Miscelánea Fiscal in force, in connection with the Reglas Generales de Comercio Exterior (Foreign Trade Rules) 3.1.35. and 3.1.36., also in force.

It will also serve to incorporate information on the type of operation, tax identification data of the issuer, receiver or recipient of the merchandise and the description of the exported merchandise.

Solución Factible® is preparing the necessary scenarios to make the transition to this new version easier for you.

Fields version 2.0

The new version of the plugin incorporates a group of additional functionalities, including:

  • A) A node to be used in the case of definitive export operations of definitive type A-1 merchandise, in cases in which these merchandise are not subject to alienation, or if they are, it is free of charge, that is, without receiving payment in exchange or without being a sale.
  • B) Update of the validation regarding the identification of the product or products to various tariff fractions.
  • C) Update to the Catalog of tariff items.
  • D) Incorporation of addresses for sender and receiver.

Definition

As in the Connector-txt v6.0 file, the complemento de Comercio Exterior 2.0 (Foreign Trade) plugin is divided into lines and each line represents a group of data from the plugin.

The complement contains identifiers at the beginning of each line that indicate the type of information that is included in said section, the order of the sections is sequential downwards and is based on the order that the nodes have in the technical definition of the XSD published by the SAT, however this can be adjusted to your needs.

The fields belonging to each section (identifier) are separated by the “pipe” character (|, ASCII 124) and are extracted in that order; however these can be adjusted to your needs.

As we mentioned before, the order of the information is sequential downwards, the line break (line break, EOL or newline) can be any of those handled in most current systems: CR, LF or CR+LF.

See the documentation for the new connector v6.0 Here

Configuration chain

This is the configuration chain for the complemento de comercio exterior (foreign trade complement).

Complemento|ComercioE|Version|MotivoTraslado|TipoOperacion|ClaveDePedimento|CertificadoOrigen|NumCertificadoOrigen|NumeroExportadorConfiable|
Incoterm|Subdivision|Observaciones|TipoCambioUSD|TotalUSD|
EmisorComExt|Curp|Calle|NumeroExterior|NumeroInterior|Colonia|Localidad|Referencia|Municipio|Estado|Pais|CodigoPostal|
PropietarioComercioE|NumRegIdTrib|ResidenciaFiscal|
ReceptorComercioE|NumRegIdTrib|Calle|NumeroExterior|NumeroInterior|Colonia|Localidad|Referencia|Municipio|Estado|Pais|CodigoPostal|
DestinatarioComercioE|NumRegIdTrib|Nombre|
DestinatarioDomicilioComercioE|Calle|NumeroExterior|NumeroInterior|Colonia|Localidad|Referencia|Municipio|Estado|Pais|CodigoPostal|
MercanciaComercioE|NoIdentificacion|FraccionArancelaria|CantidadAduana|UnidadAduana|ValorUnitarioAduana|ValorDolares|
DescripcionesEspecificasComercioE|Marca|Modelo|SubModelo|NumeroSerie|

External links

SAT's documentation link

Example

SFERP|6.0|
Comprobante|151573|OAS33|true|||02
Generales|08012024 00:00:00|99|NA|PPD||||||
Divisa|Pesos|MXN|1|
Receptor|Jorge Delgado Flores|XEXX010101000|||USA|987654231|G01|
DireccionFiscal|USA|AL|120|0913|PERIFERICO SUR No 1823|||0913|45236|
Concepto|A|VENTA DE PLASTICO|Kg|4964.1|2||9928.20||||11141600|E48|01|
Concepto|B|VENTA DE PLASTICO|Kg|4964.1|2||9928.20||||11141600|E48|05|
Complemento|ComercioE|2.0||2|A1|1|2368845||CFR|0|a|21.2633|310.36|
EmisorComExt|AESO900522HJCSVM04|Autopista Monterrey-Cadereyta|km. 20||1907|22||031|NLE|MEX|67250
PropietarioComercioE|2.0||2|A1|1|2368845||CFR|0|a|21.2633|310.36|
ReceptorComercioE|987654231|Highland Drive 444 AC||||KOHLER|||WI|USA|76801|
DestinatarioComercioE|987654231|WARREN TONY|
DestinatarioDomicilioComercioE|4601 Hwy 377 South||||Brownwood|||TX|USA|76801|
MercanciaComercioE|A||1.000000|99|307.560000|307.560000|
MercanciaComercioE|B||20.000000|99|0.140000|2.800000|
Connector example:

Data dictionary

Complemento Comercio Exterior 2.0 (Foreign trade)


Complement to incorporate the information in the case or Export of Goods in short.
ComercioExterior 
Type Fields Description
  "Complemento" fields Mandatory id
RComercioE Name of the complement.
RVersion Required attribute indicating the version of the complement (1.1 or 2.0).
CMotivoTrasladoConditional attribute that indicates the reason code for which, in the definitive export of goods with customs declaration code A1, these are not subject to alienation or is free of charge, from the sender's address to the receiver's or consignee's address. The reason code is in accordance with the c_MotivoTraslado catalog published in the SAT´s documentation.
RClaveDePedimentoRequired attribute that indicates the pedimento key that has been declared in accordance with the catalog c_ClavePedimento published on the SAT´s documentation.
RCertificadoOrigenAttribute required to indicate the exception of certificates of Origin from the Free Trade Agreements that Mexico has concluded with various countries. 0 = Does not serve as a certificate of origin 1 = Serves as a certificate of origin.
CNumCertificadoOrigen Conditional attribute to express the folio of the certificate of origin or the fiscal folio of the CFDI with which the issuance of the certificate of origin was paid.
CNumeroExportadorConfiable Conditional attribute that indicates the reliable exporter number, in accordance with article 22 of Annex 1 of the Free Trade Agreement with the European Association and the Decision of the European Community.
CIncoterm Conditional attribute that indicates the INCOTERM key applicable to the invoice, in accordance with the c_INCOTERM catalog published on the SAT´s documentation.
OObservaciones Optional attribute in case of entering some additional information, such as a legend that must be included in the CFDI.
RTipoCambioUSD Required attribute that indicates the number of Mexican pesos that are equivalent to one United States dollar, in accordance with article 20 of the Federal Tax Code.
RTotalUSD Required attribute that indicates the total amount of the receipt in United States dollars.
   
"EmisorComExt" fields
CCurp Conditional attribute to express the CURP of the CFDI issuer when it is a natural person.
RCalle Required attribute serves to specify the street on which the address of the issuer of the receipt is located.
ONumeroExterior Optional attribute that serves to express the street number where the address of the issuer of the receipt is located.
ONumeroInterior Optional attribute that serves to express the unit number, if any, where the address of the issuer of the receipt is located.
OColonia Optional attribute that serves to express the code of the neighborhood where the address of the issuer of the receipt is located, in accordance with the c_Colonia catalog published on the SAT´s documentation.
OLocalidad Optional attribute that serves to specify the code of the city, town, district or other analogue where the address of the issuer of the receipt is located, in accordance with the c_Localidad catalog published on the SAT´s documentation.
OReferencia Optional attribute to express an additional geographical reference that allows an easier or more precise location of the address of the issuer of the receipt, for example GPS coordinates.
OMunicipio Optional attribute that serves to specify the code of the municipality or delegation where the address of the issuer of the receipt is located, in accordance with the c_Municipio catalog published on the SAT´s documentation.
REstado Attribute required to indicate the code of the state where the address of the issuer of the receipt is located, in accordance with the c_State catalog published on the SAT´s documentation, which is based on the ISO 3166-2 specification.
RPais Required attribute that serves to specify the code of the country where the address of the issuer of the receipt is located, in accordance with the c_Pais catalog published on the SAT´s documentation, which is based on the ISO 3166-1 specification. It must have the MEX value.
RCodigoPostal Required attribute that serves to enter the postal code key where the address of the issuer of the receipt is located, in accordance with the catalog c_CodigoPostal published on the SAT´s documentation.
   
C"PropietarioComercioE" fieldsConditional identifier to capture the data of the owner(s) of the merchandise being transported and it is not subject to alienation or is free of charge, when the issuer of the CFDI is a third party.
RNumRegIdTrib Attribute required to incorporate the identification number or tax registration of the country of residence for tax purposes of the owner of the transferred merchandise.
RResidenciaFiscal Attribute required to register the key of the country of residence for tax purposes of the owner of the merchandise, in accordance with the c_Pais catalog published on the SAT´s documentation, which is based on the ISO 3166-1 specification.
   
R "ReceptorComercioE" fields
CNumRegIdTrib Conditional attribute to incorporate the identification or tax registration number of the country of residence for tax purposes of the CFDI recipient.
RCalle Required attribute that serves to specify the street on which the address of the recipient of the receipt is located.
RNumeroExterior Required attribute that serves to express the exterior number where the address of the recipient of the receipt is located.
ONumeroInteriorOptional attribute serves to express the interior number, if any, where the address of the recipient of the receipt is located.
OColonia Optional attribute that serves to express the neighborhood or similar data where the address of the recipient of the receipt is located.
OLocalidad Optional attribute used to specify the city, town, district or other analogue where the address of the recipient of the receipt is located.
OReferencia Optional attribute to express an additional geographical reference that allows easier or more precise location of the address of the recipient of the receipt, for example GPS coordinates.
OMunicipio Optional attribute that serves to specify the municipality, delegation, county or other analogue where the address of the recipient of the receipt is located.
REstado Attribute required to indicate the state, entity, region, community or other similar figure where the address of the recipient of the receipt is located. The catalog is published on the SAT´s documentation and will comply with the ISO 3166-2 specification.
RPais Required attribute that serves to specify the code of the country where the address of the recipient of the receipt is located, in accordance with the c_Pais catalog published on the SAT´s documentation, which is based on the ISO 3166-1 specification.
RCodigoPostal Required attribute that serves to enter the postal code (PO, BOX) where the address of the recipient of the receipt is located.
   
O "DestinatarioComercioE" fields Optional identifier to capture the data of the recipient of the merchandise when this is different from the recipient of the CFDI.
ONumRegIdTrib Optional attribute to incorporate the identification or tax registration number of the country of residence for tax purposes of the recipient of the exported merchandise.
ONombre Optional attribute to express the full name, name or company name of the recipient of the exported merchandise.
   
R "DestinatarioDomicilioComercioE" fieldsIdentifier required to express the address of the recipient of the merchandise.
RCalle Required attribute serves to specify the street on which the address of the recipient of the merchandise is located.
ONumeroExteriorOptional attribute serves to express the exterior number where the address of the recipient of the merchandise is located.
ONumeroInteriorOptional attribute serves to express the interior number, if any, where the address of the recipient of the merchandise is located.
OColonia Optional attribute serves to express the neighborhood or similar data where the address of the recipient of the merchandise is located.
OLocalidad Optional attribute that serves to specify the city, town, district or other analogue where the address of the recipient of the merchandise is located.
OReferencia Optional attribute to express an additional geographical reference that allows easy or precise location of the address of the recipient of the merchandise, for example GPS coordinates.
OMunicipio Optional attribute that serves to specify the municipality, delegation, county or other analogue where the recipient of the merchandise is located.
REstado Attribute required to indicate the state, entity, region, community or other similar figure where the address of the recipient of the merchandise is located. The catalog is published on the SAT´s documentation and complies with the ISO 3166-2 specification.
RPais Required attribute that serves to specify the code of the country where the recipient of the merchandise is located, in accordance with the c_Pais catalog published on the SAT´s documentation, which is based on the ISO 3166-1 specification.
RCodigoPostal Required attribute that serves to register the postal code where the address of the recipient of the merchandise is located.
   
R "MercanciaComercioE" fieldsIdentifier required to capture the declaration information for each exported merchandise.
RNoIdentificacion Required attribute that serves to express the part number, the identification key assigned by the company or the serial number of the exported merchandise.
CFraccionArancelaria Conditional attribute that serves to express the key of the tariff fraction corresponding to the description of the exported merchandise. This data becomes required when it is available or is legally obliged to have it. It must be in accordance with the catalog c_FraccionArancelaria published in the SAT´s documentation.
OCantidadAduana

Optional attribute to specify the quantity of goods in customs according to the Customs Unit when commercial information has been registered in the nodo Comprobante:Conceptos:Concepto.

CUnidadAduana Conditional attribute to specify the code of the unit of measurement applicable to the quantity expressed in the merchandise at customs, in accordance with the catalog c_UnidadAduana published on the SAT´s documentation.
CValorUnitarioAduana Conditional attribute to specify the value or unit price of the merchandise in customs. It is expressed in United States dollars (USD), which can be recorded up to hundredths.
RValorDolares Required attribute indicating the total value in United States dollars (USD).
   
O "DescripcionesEspecificasComercioE" fieldsOptional identifier that indicates the list of specific descriptions of the merchandise. A product may have more than one specific description.
RMarca Required attribute that indicates the brand of the merchandise.
OModelo Optional attribute that indicates the model of the merchandise.
OSubModelo Optional attribute indicating the submodel of the merchandise.
ONumeroSerie Optional attribute that indicates the serial number of the merchandise.
   
  • R= Required
  • C= Conditional
  • O= Optional
Datos de contacto
comments powered by Disqus