You are on page 1of 37

INTERFAZ_INTEGRACION_EC_LOT.

IN4
INTERFAZ_INTEGRACION_EC_LOT.IN4

Document title: INTERFAZ_INTEGRACION_EC_LOT.IN4


File name: INTEGRATION_LAYOUT_EC_LOT_141008.odt
Version: V01
Status: --
Date: 2021-09-17
Author:

INTERFAZ_INTEGRACION_EC_LOT.IN4 | | 2
INTERFAZ_INTEGRACION_EC_LOT.IN4

Content index
1. Standards and Recommendations......................................................................................................................................................................................................................................................... 4
2. Link File Proposal..................................................................................................................................................................................................................................................................................... 5
2.1. Header report..............................................................................................................................................................................................................................................................................................................................6
2.2. Tax totals....................................................................................................................................................................................................................................................................................................................................13
2.3. Compensation information.....................................................................................................................................................................................................................................................................................................15
2.4. Payment information...............................................................................................................................................................................................................................................................................................................16
2.5. Details information...................................................................................................................................................................................................................................................................................................................17
2.6. Detail taxes...............................................................................................................................................................................................................................................................................................................................19
2.7. ADIDET.......................................................................................................................................................................................................................................................................................................................................20
2.8. Refund information..................................................................................................................................................................................................................................................................................................................21
2.9. tax rebates.................................................................................................................................................................................................................................................................................................................................23
2.10. Compensation detail.............................................................................................................................................................................................................................................................................................................24
2.11. Withholding information........................................................................................................................................................................................................................................................................................................25
2.12. Substitution information.......................................................................................................................................................................................................................................................................................................26
2.13. Recipient information............................................................................................................................................................................................................................................................................................................27
2.14. Third party information.........................................................................................................................................................................................................................................................................................................28
2.15. Justification information.......................................................................................................................................................................................................................................................................................................29
2.16. Recipients................................................................................................................................................................................................................................................................................................................................30
2.17. Details......................................................................................................................................................................................................................................................................................................................................32
2.18. Aditional information.............................................................................................................................................................................................................................................................................................................33

3. Examples................................................................................................................................................................................................................................................................................................. 35
3.1. 821216471.TXT (Header report)...........................................................................................................................................................................................................................................................................................35

4. Supported partners................................................................................................................................................................................................................................................................................ 37

INTERFAZ_INTEGRACION_EC_LOT.IN4 | | 3
Standards and Recommendations INTERFAZ_INTEGRACION_EC_LOT.IN4

1. STANDARDS AND RECOMMENDATIONS


1. Records may be fixed format or fields with separators.
2. Numeric fields are justified to the right and filled in with zeros to the left, whereas alphanumeric fields are justified to the left and must be filled in with spaces until the total length of the field is completed. The record may
be truncated in one position if no more fields are going to be used (in other words, the last ones not used are not filled in with blanks in the case of fixed format, but the positions must be preserved by means of
separators in the case of records with separators).
3. Numeric fields which do not have to be filled in can be left blank or with zeros. It is recommendable to leave them blank, because otherwise it is impossible to send a 0 value explicitly.
4. We recommend including the largest amount of data. In this way, the document will be accepted by any trading partner. The fields in bold are the minimum data that must be filled in for the document to be accepted by
most partners. At least all the details that are sent on paper must be included.
5. The decimal sign may be indicated either with '.' or with ',' although it may also be indicated without any symbol (fixed number of decimals).
6. The positive sign may be indicated with '+', '0' or with a blank space.
7. The Link File Proposal section shows a different files to be generated. The Type column indicates whether the field is alphanumeric (X) or numeric (N). The Ini column indicates the position where the field begins and
the End column where the field ends. The Len column would indicate the total field length. In numeric fields, when 15,3 is indicated in the Len column it means that it is a field with 15 positions, of which there would be
one position for the sign, 10 for the whole part, one for the decimal symbol and 3 for the decimals. For example -1234567890.123 or 01234567890.123 or +1234567890.123
8. The record structure described here can be generated in multiple files or just one (in this case, the first field of each record is used as its identifier, with a tag or label).
9. If using several files, the order of the values used in the key fields (link fields) in the parent records must be respected in the child records.

INTERFAZ_INTEGRACION_EC_LOT.IN4 | 1.Standards and Recommendations | 4


Link File Proposal INTERFAZ_INTEGRACION_EC_LOT.IN4

2. LINK FILE PROPOSAL


Physical file name: *.TXT
2.1. Header report
CAB

2.2. Tax totals


2.3. Compensation information
TOTIMP COMPEN PAGOS DET REF RET SUSTIT RUBTER MOT DEST INFADI

2.4. Payment information


2.5. Details information
DETIMP ADIDET DETREF COMPENRE DESTINO DET

2.6. Detail taxes


2.7. ADIDET
2.8. Refund information
2.9. tax rebates
2.10. Compensation detail
2.11. Withholding information
2.12. Substitution information
2.13. Recipient information
2.14. Third party information
2.15. Justification information
2.16. Recipients
2.17. Details
2.18. Aditional information

INTERFAZ_INTEGRACION_EC_LOT.IN4 | 2.Link File Proposal | 5


Header report INTERFAZ_INTEGRACION_EC_LOT.IN4

2.1. Header report


Record name: CAB
Mandatory: Conditional
This section is repeatable with the following restrictions:
Minimum number of occurrences: 0
Maximum number of occurrences: 99999

Situation in the Situation in the Condition in the proprietary


# Field Type Len. Description Condition in the standard
standard proprietary format format

1 ID X 9 Register identifier - Field value: CABFAC

LIQ: Mandatory
2 tipoEmision X 1 Type of emission in which the invoice had
been created.

Permitted values list:


1: normal emission
2: contingency

LIQ: Mandatory
3 ambiente X 1 Code that describes the destination
environment where the prior validation of
this electronic document will be processed .
Production Enviroment or Test Enviroment

Permitted values list:


1: Test
2: Production

LIQ: Mandatory
4 razonSocial X 300 Company or personal name identification.
Regular expression: [^\n]*

LIQ: Mandatory
5 nombreComercial X 300 Issuer tradename
Regular expression: [^\n]*

LIQ: Conditional

INTERFAZ_INTEGRACION_EC_LOT.IN4 | 2.Link File Proposal | 6


Header report INTERFAZ_INTEGRACION_EC_LOT.IN4

Situation in the Situation in the Condition in the proprietary


# Field Type Len. Description Condition in the standard
standard proprietary format format

6 RUC X 13 RUC code (TAX id).


Regular expression: [0-9]{10}001

LIQ: Mandatory
7 claveAcceso X 49 Generated by Edicom.

The complete invoice number is considered


according to the 49 numeric characters
constructed using the following fields for regular
issuance:

characters 1-8: Document issue date


(ddmmyyyy)
characters 9-10: codDoc
* characters 11-23: ruc
characters 24: environment
characters 25-30: serie (estab + ptoEmi)
characters 31-39: sequential
characters 40-47: numeric code (Random
number)
characters 48: Emission type
* character 49: control digit

Para emisión de contingencia:


characters 1 - 8: Document issue
date(ddmmyyyy)

caracteres 9-10: codDoc


* characters 11-23: ruc
character 24: environment
characters 25-47: numeric code(random
number previously obtained from SRI)
character 48: Emission type
* character 49: control digit

Check digit is calculated using algorithm


Module 11 with balanced factor.
Regular expression: [0-9]{49}

LIQ: Conditional
8 codDoc X 2 Code to identify the type of document.

Permitted values list:


01: Invoice
03: Liquidación
04: Credit Note
05: Debit Note

INTERFAZ_INTEGRACION_EC_LOT.IN4 | 2.Link File Proposal | 7


Header report INTERFAZ_INTEGRACION_EC_LOT.IN4

Situation in the Situation in the Condition in the proprietary


# Field Type Len. Description Condition in the standard
standard proprietary format format

06: Remission
07: Retention

LIQ: Mandatory
9 estab X 3 Local office identification (example: 001).
Regular expression: [0-9]{3}

LIQ: Mandatory
10 ptoEmi X 3 Point of sale identification within the local
office (example: 001).
Regular expression: [0-9]{3}

LIQ: Mandatory
11 secuencial X 9 Sequential number of the document. ( A
sequential number is assigned if It's not
completed)

Regular expression: [0-9]{9}

LIQ: Conditional
12 dirMatriz X 300 Address of the headquarter in Ecuador.
Regular expression: [^\n]*

LIQ: Mandatory
13 fechaEmision X 8 Date of emission. Format: ddmmyyyy

LIQ: Mandatory
14 dirEstablecimiento X 300 Address of the local office.
Regular expression: [^\n]*

LIQ: Conditional
15 contribuyenteEspecial X 13 Cod for special taxpayer (minimum 3
characters).
Regular expression: ([A-Za-z0-9])*

LIQ: Conditional
16 obligadoContabilidad X 2 Indicates whether the company is required to
maintain accounting records.

Permitted values list:


NO: No requerido
SI: Requerido

LIQ: Conditional
17 tipoIdentificacion X 2 Identification code for type of buyers.

INTERFAZ_INTEGRACION_EC_LOT.IN4 | 2.Link File Proposal | 8


Header report INTERFAZ_INTEGRACION_EC_LOT.IN4

Situation in the Situation in the Condition in the proprietary


# Field Type Len. Description Condition in the standard
standard proprietary format format

Permitted values list:


04: identified by RUC code
05: identified by card, "Cédula"
06: identified by passport
07: sold to final consumer
08: External identification
09: car registration

LIQ: Mandatory
18 guiaRemision X 25 ship notice , Format: "xxx-yyy-zzzzzzzzz"
Regular expression: [0-9]{3}-[0-9]{3}-[0-9]{9}
19 razonSocialCompra X 300 buyers' names. (oficial name)
dor Regular expression: [^\n]*

LIQ: Mandatory
20 identificacion X 20 Identification of the buyer (RUC, card or
passport), retained subject, carrier or
supplier.

If the buyer identification type (type Buyer


Identification) was set to '07' (sold to the
final consumer), the code in this field must
be '9999999999999' and the total invoice
amount must not exceed 200 USD.

LIQ: Mandatory
21 totalSinImpuestos N 15.2 Total Net Amount. Sum of the amount of the
items before global discounts and taxes

LIQ: Mandatory
22 totalDescuento N 15.2 Total discounts per invoice.

LIQ: Mandatory
23 propina N 15.2 tip
24 importeTotalFactura N 15.2 Total amount of the invoice.

LIQ: Mandatory
25 moneda X 15 Currency , Default value is dollar
Regular expression: [^\n]*

LIQ: Conditional
26 rise X 40 Rise (Régimen Impositivo Simplificado
Ecuatoriano)

INTERFAZ_INTEGRACION_EC_LOT.IN4 | 2.Link File Proposal | 9


Header report INTERFAZ_INTEGRACION_EC_LOT.IN4

Situation in the Situation in the Condition in the proprietary


# Field Type Len. Description Condition in the standard
standard proprietary format format

It is a tax system created especially for a


specific group of taxpayers to simplify
payment(http://www.sri.gob.ec/web/10138/304).

27 codDocModificado X 2 Code of the type of document modified by this


Credit or Debit Note

Permitted values list:


01: Invoice
04: Credit Note
05: Debit Note
06: advice note.
28 numDocModificado X 17 Normally, the invoice number is affected by the
credit or debit note
Formatted as "XXX-YYY-ZZZZZZZZZ" where:
(numeric characters only
XXX = estab
YYY = ptoEmi
ZZZZZZZZZ = secuencial
Regular expression: [0-9]{3}-[0-9]{3}-[0-9]{9}
29 fechaEmisionDocSust X 8 Data of issuing of the support document.
ento Format: ddmmyyyy.
Regular expression: ([0][1-9]|[1-2][0-9]|[3][0-1])
([0][1-9]|[1][0-2])[1-2][0-9][0-9][0-9]
30 motivo X 300 Field to describe the justification for issuing this
Credit Note.
31 comercioExterior X 10 Default value : "EXPORTADOR".
32 incoTermFactura X 10 IncoTerm
33 lugarIncoTerm X 300 Place IncoTerm.
34 paisOrigen X 3 Origin country code (export invoices).
35 puertoEmbarque X 300 Boarding port
36 puertoDestino X 300 port of destination
37 paisDestino X 3 Destination country code (Export Invoices)
38 paisAdquisicion X 3 Code of the country of purchase. (Export
invoices)
39 dir X 300 address of the supplier / buyer

LIQ: Conditional
40 IncoTermTotalSinImpu X 10 Terms of total amount of income without tax.
estos

INTERFAZ_INTEGRACION_EC_LOT.IN4 | 2.Link File Proposal | 10


Header report INTERFAZ_INTEGRACION_EC_LOT.IN4

Situation in the Situation in the Condition in the proprietary


# Field Type Len. Description Condition in the standard
standard proprietary format format

41 fleteInternacional N 15.2 Amount of the international freight (Export


Invoices)
42 seguroInternacional N 15.2 Total discounts per invoice.
43 gastosaduaneros N 15.2 Customs fees (export invoices).
44 gastostransporteOtros N 15.2 Other transportation costs (export invoices).
45 CodDocReemb X 2 Document refund code. Only empty value or
value "41" is allowed.

LIQ: Conditional
46 TotalComprobantesR N 15.2 Total amount of the refund document.
eembolso
LIQ: Conditional
47 TotalBaseImponibleR N 15.2 Total taxable base on wich taxes will be
eembolso calculated . Refund Document

LIQ: Conditional
48 TotalImpuestoReemb N 15.2 Taxes applied to the refund document.
olso
LIQ: Conditional
49 TotalSubsidio N 16.2 Total subsidy
50 placa X 20 Transport Identification
Regular expression: [^\n]*
51 correo X 100 recipient's email address. (Only for electronic
invoice negotiation)

LIQ: Conditional
52 periodofiscal X 7 Data of emission of the support document.
Format: ddmmyyyy.
Regular expression: [0-9]{2}/[0-9]{4}
53 fechaIniTransporte X 8 the date of the start of transportation
54 fechaFinTransporte X 8 the date of the end of transportation
55 MaquinaFiscalMarca X 100 Mark of the fiscal machine for vouchers issued
by this system.

Mandatory for vouchers issued from a Fiscal


Machine.

LIQ: Conditional
56 MaquinaFiscalModelo X 100 Model of the fiscal machine for vouchers issued
by this system.

INTERFAZ_INTEGRACION_EC_LOT.IN4 | 2.Link File Proposal | 11


Header report INTERFAZ_INTEGRACION_EC_LOT.IN4

Situation in the Situation in the Condition in the proprietary


# Field Type Len. Description Condition in the standard
standard proprietary format format

Mandatory for vouchers issued from a Fiscal


Machine.

LIQ: Conditional
57 MaquinaFiscalSerie X 30 Serial number of the fiscal machine for
vouchers issued by this system.

Mandatory for vouchers issued from a Fiscal


Machine.

LIQ: Conditional
58 valorRetIva N 14.2 VAT retention value
59 valorRetRenta N 14.2 Rent retention value

INTERFAZ_INTEGRACION_EC_LOT.IN4 | 2.Link File Proposal | 12


Tax totals INTERFAZ_INTEGRACION_EC_LOT.IN4

2.2. Tax totals


Header report > Tax totals
Record name: TOTIMP
Mandatory: Conditional
This section is repeatable with the following restrictions:
Minimum number of occurrences: 0
Maximum number of occurrences: 99999

Situation in the Situation in the Condition in the proprietary


# Field Type Len. Description Condition in the standard
standard proprietary format format

1 ID X 9 Use "TOTIMP" as the label to identify this


type of record in the same txt file or the
corresponding code to relate records from
separated txt files.

LIQ: Mandatory
2 codigo X 1 Tax code

Permitted values list:


2: IVA
3: ICE
5: IRBPNR
3 codigoPorcentaje X 4 Percentage code.

For ICE, the codes and percentages of these


products with special taxes were calculated in
accordance with the SRI specification and
current regulations.

Permitted values list:


0: 0%
2: 12%
6: Sin impuestos
7: Exempt
4 baseImponible N 15.2 Taxable amount.
5 tarifa N 5.2 Rate
6 valor N 15.2 Total tax amount
7 descuentoAdicional N 15.2 additional discount

INTERFAZ_INTEGRACION_EC_LOT.IN4 | 2.Link File Proposal | 13


Tax totals INTERFAZ_INTEGRACION_EC_LOT.IN4

Situation in the Situation in the Condition in the proprietary


# Field Type Len. Description Condition in the standard
standard proprietary format format

8 valorDevolucionIva N 16.2 VAT refund value


9 codDocSustento X 2 Code of the type of the document modified

Permitted values list:


01: Invoice
04: Credit Note
05: Debit Note
06: advice note.
10 numDocSustento X 17 Support document. Formatted as "XXX-YYY-
ZZZZZZZZZ"
Regular expression: [0-9]{3}-[0-9]{3}-[0-9]{9}
11 fechaEmisionDocSust X 8 Data of issuing of the support document.
ento Format: ddmmyyyy.
Regular expression: [0-9]{2}/[0-9]{2}/[0-9]{4}

INTERFAZ_INTEGRACION_EC_LOT.IN4 | 2.Link File Proposal | 14


Compensation information INTERFAZ_INTEGRACION_EC_LOT.IN4

2.3. Compensation information


Header report > Compensation information
Record name: COMPEN
Mandatory: Conditional
This section is repeatable with the following restrictions:
Minimum number of occurrences: 0
Maximum number of occurrences: 99999

Situation in the Situation in the Condition in the proprietary


# Field Type Len. Description Condition in the standard
standard proprietary format format

1 ID X 9 Use "COMPEN" as the label to identify this


type of record in the same txt file or the
corresponding code to relate records from
separated txt files.
2 codigo X 15 Code
3 tarifa X 15 Rate.
4 valor X 15 Value

INTERFAZ_INTEGRACION_EC_LOT.IN4 | 2.Link File Proposal | 15


Payment information INTERFAZ_INTEGRACION_EC_LOT.IN4

2.4. Payment information


Header report > Payment information
Record name: PAGOS
Mandatory: Conditional
This section is repeatable with the following restrictions:
Minimum number of occurrences: 0
Maximum number of occurrences: 99999

Situation in the Situation in the Condition in the proprietary


# Field Type Len. Description Condition in the standard
standard proprietary format format

1 ID X 9 Use "PAGOS" as the label to identify this


type of record in the same txt file or the
corresponding code to relate records from
separated txt files.

LIQ: Mandatory
2 formaPago X 2 Payment method.

LIQ: Conditional
3 total N 15.2 Total amount of payment.

LIQ: Mandatory
4 plazo N 14 Deadline for payment.

LIQ: Mandatory
5 unidadTiempo X 10 Time unit of the payment term.

LIQ: Conditional

INTERFAZ_INTEGRACION_EC_LOT.IN4 | 2.Link File Proposal | 16


Details information INTERFAZ_INTEGRACION_EC_LOT.IN4

2.5. Details information


Header report > Details information
Record name: DET
Mandatory: Conditional
This section is repeatable with the following restrictions:
Minimum number of occurrences: 0
Maximum number of occurrences: 99999

Situation in the Situation in the Condition in the proprietary


# Field Type Len. Description Condition in the standard
standard proprietary format format

1 ID X 9 Use "DET" as the label to identify this type


of record in the same txt file or the
corresponding code to relate records from
separated txt files.

LIQ: Mandatory
2 codigoPrincipal X 25 Material or service number. SKU of the
product.

LIQ: Mandatory
3 codigoAuxiliar X 25 Secondary part number such as the seller or
buyer number

LIQ: Conditional
4 descripcion X 300 Description of the article
Regular expression: [^\n]*

LIQ: Mandatory
5 cantidad N 19.6 Invoiced quantity.

LIQ: Mandatory
6 precioUnitario N 19.6 Unit price.

LIQ: Mandatory
7 unidadMedida X 50 Unit of measurement.

LIQ: Conditional

INTERFAZ_INTEGRACION_EC_LOT.IN4 | 2.Link File Proposal | 17


Details information INTERFAZ_INTEGRACION_EC_LOT.IN4

Situation in the Situation in the Condition in the proprietary


# Field Type Len. Description Condition in the standard
standard proprietary format format

8 descuento N 15.2 Total amount of the discount.

LIQ: Mandatory
9 precioTotalSinImpue N 15.2 Total amount of the goods or services of the
sto present concept.

LIQ: Mandatory
10 precioSinSubsidio N 20 Price without subsidy.

LIQ: Conditional
11 nombre1 X 300 First extra field label.
Regular expression: ([A-Z]|[a-z]|[0-9]|ñ|Ñ)+([\
w]|[\s]|[\S])*
12 valor1 X 300 Value for first extra field.
Regular expression: ([A-Z]|[a-z]|[0-9]|ñ|Ñ)+([\
w]|[\s]|[\S])*
13 nombre2 X 300 Second extra field label.
Regular expression: ([A-Z]|[a-z]|[0-9]|ñ|Ñ)+([\
w]|[\s]|[\S])*
14 valor2 X 300 Value for second extra field.
Regular expression: ([A-Z]|[a-z]|[0-9]|ñ|Ñ)+([\
w]|[\s]|[\S])*
15 nombre3 X 300 Third extra field label.
Regular expression: ([A-Z]|[a-z]|[0-9]|ñ|Ñ)+([\
w]|[\s]|[\S])*
16 valor3 X 300 Value for third extra field.
Regular expression: ([A-Z]|[a-z]|[0-9]|ñ|Ñ)+([\
w]|[\s]|[\S])*

INTERFAZ_INTEGRACION_EC_LOT.IN4 | 2.Link File Proposal | 18


Detail taxes INTERFAZ_INTEGRACION_EC_LOT.IN4

2.6. Detail taxes


Header report > Details information > Detail taxes
Record name: DETIMP
Mandatory: Conditional
This section is repeatable with the following restrictions:
Minimum number of occurrences: 0
Maximum number of occurrences: 99999

Situation in the Situation in the Condition in the proprietary


# Field Type Len. Description Condition in the standard
standard proprietary format format

1 ID X 9 Use "DETIMP" as the label to identify this


type of record in the same txt file or the
corresponding code to relate records from
separated txt files.
2 codigo X 1 Tax code.

Permitted values list:


2: IVA
3: ICE
5: IRBPNR
3 codigoPorcentaje X 4 Percentage code.
Regular expression: [0-9]+
4 tarifa N 5.2 Rate
5 baseImponible N 15.2 Taxable base.
6 valor N 15.2 Total amount of tax for this item.

INTERFAZ_INTEGRACION_EC_LOT.IN4 | 2.Link File Proposal | 19


ADIDET INTERFAZ_INTEGRACION_EC_LOT.IN4

2.7. ADIDET
Header report > Details information > ADIDET
Record name: ADIDET
Description: Datos adicionales a nivel de detalle
Mandatory: Conditional
This section is repeatable with the following restrictions:
Minimum number of occurrences: 0
Maximum number of occurrences: 3

Situation in the Situation in the Condition in the proprietary


# Field Type Len. Description Condition in the standard
standard proprietary format format

1 ETIQUETA X 6 Use "ADIDET" as the label to identify this


type of record in the same txt file or the
corresponding code to relate records from
separated txt files.

LIQ: Mandatory
2 Nombre X 300 Descriptor of the reported additional value

LIQ: Mandatory
3 Valor X 300 Additional value reported

LIQ: Mandatory

INTERFAZ_INTEGRACION_EC_LOT.IN4 | 2.Link File Proposal | 20


Refund information INTERFAZ_INTEGRACION_EC_LOT.IN4

2.8. Refund information


Header report > Refund information
Record name: REF
Mandatory: Conditional
This section is repeatable with the following restrictions:
Minimum number of occurrences: 0
Maximum number of occurrences: 99999

Situation in the Situation in the Condition in the proprietary


# Field Type Len. Description Condition in the standard
standard proprietary format format

1 ID X 9 Use "REF" as the label to identify this type


of record in the same txt file or the
corresponding code to relate records from
separated txt files.

LIQ: Mandatory
2 tipoIdentificacionProv X 2 Refund provider identification type.
eedorReembolso Regular expression: [0][4-9]

LIQ: Conditional
3 identificacionProveed X 13 Refund provider identification.
orReembolso Regular expression: [^\n]*

LIQ: Conditional
4 codPaisPagoProveed X 3 Refund provider's payment country code.
orReembolso Regular expression: [0-9]{3}

LIQ: Conditional
5 tipoProveedorReemb X 2 Refund provider type.
olso Regular expression: [0][12]

LIQ: Conditional
6 codDocReembolso X 2 Document refund code.

LIQ: Conditional
7 estabDocReembolso X 3 Code of the place where the invoice to be
reimbursed is issued
Regular expression: [0-9]{3}

INTERFAZ_INTEGRACION_EC_LOT.IN4 | 2.Link File Proposal | 21


Refund information INTERFAZ_INTEGRACION_EC_LOT.IN4

Situation in the Situation in the Condition in the proprietary


# Field Type Len. Description Condition in the standard
standard proprietary format format

LIQ: Conditional
8 ptoEmiDocReembols X 3 Identification of the point of sale within the local
o office where the invoice to be reimbursed was
issued.
Regular expression: [0-9]{3}

LIQ: Conditional
9 secuencialDocReemb X 9 Sequential number of the invoice to be
olso reimbursed.
Regular expression: [0-9]{9}

LIQ: Conditional
10 fechaEmisionDocRee X 10 Issue date of the invoice to be reimbursed.
mbolso Regular expression: [0-9]{2}/[0-9]{2}/[0-9]{4}

LIQ: Conditional
11 numeroautorizacionD X 49 Authorization number of the invoice to be
ocReemb reimbursed.
Regular expression: [0-9]{10,37}

LIQ: Conditional

INTERFAZ_INTEGRACION_EC_LOT.IN4 | 2.Link File Proposal | 22


tax rebates INTERFAZ_INTEGRACION_EC_LOT.IN4

2.9. tax rebates


Header report > Refund information > tax rebates
Record name: DETREF
Mandatory: Conditional
This section is repeatable with the following restrictions:
Minimum number of occurrences: 0
Maximum number of occurrences: 99999

Situation in the Situation in the Condition in the proprietary


# Field Type Len. Description Condition in the standard
standard proprietary format format

1 ID X 9 Use "DETREF" as the label to identify this


type of record in the same txt file or the
corresponding code to relate records from
separated txt files.

LIQ: Mandatory
2 codigo X 1 Tax code.

Permitted values list:


2: IVA
3: ICE
5: IRBPNR

LIQ: Mandatory
3 codigoPorcentaje X 4 Percentage code.
Regular expression: [0-9]+

LIQ: Mandatory
4 tarifa N 5.2 Rate

LIQ: Conditional
5 baseImponible N 15.2 Taxable base.

LIQ: Mandatory
6 valor N 15.2 Total amount of tax for this item.

LIQ: Mandatory

INTERFAZ_INTEGRACION_EC_LOT.IN4 | 2.Link File Proposal | 23


Compensation detail INTERFAZ_INTEGRACION_EC_LOT.IN4

2.10. Compensation detail


Header report > Refund information > Compensation detail
Record name: COMPENRE
Mandatory: Conditional
This section is repeatable with the following restrictions:
Minimum number of occurrences: 0
Maximum number of occurrences: 99999

Situation in the Situation in the Condition in the proprietary


# Field Type Len. Description Condition in the standard
standard proprietary format format

1 ID X 9 Use "COMPENRE" as the label to identify


this type of record in the same txt file or the
corresponding code to relate records from
separated txt files.
2 codigo X 15 Code.
3 tarifa X 15 Rate
4 valor X 15 Value.

INTERFAZ_INTEGRACION_EC_LOT.IN4 | 2.Link File Proposal | 24


Withholding information INTERFAZ_INTEGRACION_EC_LOT.IN4

2.11. Withholding information


Header report > Withholding information
Record name: RET
Mandatory: Conditional
This section is repeatable with the following restrictions:
Minimum number of occurrences: 0
Maximum number of occurrences: 99999

Situation in the Situation in the Condition in the proprietary


# Field Type Len. Description Condition in the standard
standard proprietary format format

1 ID X 9 Use "RET" as the label to identify this type


of record in the same txt file or the
corresponding code to relate records from
separated txt files.
2 codigo N 1 Tax code.

Permitted values list:


4: PRESUMPCIÓN DE IVA Y VENTA
3 codigoPorcentaje X 4 Percentage code.
Regular expression: [0-9]{1,3}
4 tarifa N 5.2 Tax base.
5 valor N 15.2 Total amount of the tax.

INTERFAZ_INTEGRACION_EC_LOT.IN4 | 2.Link File Proposal | 25


Substitution information INTERFAZ_INTEGRACION_EC_LOT.IN4

2.12. Substitution information


Header report > Substitution information
Record name: SUSTIT
Mandatory: Conditional
This section is repeatable with the following restrictions:
Minimum number of occurrences: 0
Maximum number of occurrences: 99999

Situation in the Situation in the Condition in the proprietary


# Field Type Len. Description Condition in the standard
standard proprietary format format

1 ID X 9 Use "SUSTIT" as the label to identify this


type of record in the same txt file or the
corresponding code to relate records from
separated txt files.
2 dirPartida X 300 Initial departure Address
Regular expression: [^\n]*
3 dirDestinatario X 300 Receiver´s Address.
Regular expression: [^\n]*
4 fechaIniTransporte D 10 Departure date
Regular expression: (0[1-9]|[12][0-9]|3[01])/(0[1-
9]|1[012])/20[0-9][0-9]
5 fechaFinTransporte D 10 Arrival date
Regular expression: (0[1-9]|[12][0-9]|3[01])/(0[1-
9]|1[012])/20[0-9][0-9]
6 razonSocialTransporti X 300 Carrier name (official name).
sta Regular expression: [^\n]*
7 tipoIdentificacionTran N 2 Identification code for type of carrier
sportista Regular expression: [0][4-9]
8 rucTransportista N 13 Identification of carrier (TAX id).
Regular expression: [^\n]*
9 placa X 20 Transport Identification
Regular expression: [^\n]*

INTERFAZ_INTEGRACION_EC_LOT.IN4 | 2.Link File Proposal | 26


Recipient information INTERFAZ_INTEGRACION_EC_LOT.IN4

2.13. Recipient information


Header report > Substitution information > Recipient information
Record name: DESTINO
Mandatory: Conditional
This section is repeatable with the following restrictions:
Minimum number of occurrences: 0
Maximum number of occurrences: 99999

Situation in the Situation in the Condition in the proprietary


# Field Type Len. Description Condition in the standard
standard proprietary format format

1 ID X 9 Use "DESTINO" as the label to identify this


type of record in the same txt file or the
corresponding code to relate records from
separated txt files.
2 motivoTraslado X 300 Transport´s Reason
Regular expression: [^\n]*
3 docAduaneroUnico X 20 Identification of customs.
Regular expression: [^\n]*
4 codEstabDestino N 3 Property code.
Regular expression: [0-9]{3}
5 ruta X 300 Route of the transport.
Regular expression: [^\n]*

INTERFAZ_INTEGRACION_EC_LOT.IN4 | 2.Link File Proposal | 27


Third party information INTERFAZ_INTEGRACION_EC_LOT.IN4

2.14. Third party information


Header report > Third party information
Record name: RUBTER
Mandatory: Conditional
This section is repeatable with the following restrictions:
Minimum number of occurrences: 0
Maximum number of occurrences: 99999

Situation in the Situation in the Condition in the proprietary


# Field Type Len. Description Condition in the standard
standard proprietary format format

1 ID X 9 Use "RUBTER" as the label to identify this


type of record in the same txt file or the
corresponding code to relate records from
separated txt files.
2 concepto X 300 Concept category.
Regular expression: [^\n]*
3 total N 16.2 Total.

INTERFAZ_INTEGRACION_EC_LOT.IN4 | 2.Link File Proposal | 28


Justification information INTERFAZ_INTEGRACION_EC_LOT.IN4

2.15. Justification information


Header report > Justification information
Record name: MOT
Mandatory: Conditional
This section is repeatable with the following restrictions:
Minimum number of occurrences: 0
Maximum number of occurrences: 99999

Situation in the Situation in the Condition in the proprietary


# Field Type Len. Description Condition in the standard
standard proprietary format format

1 ID X 9 Use "MOT" as the label to identify this type


of record in the same txt file or the
corresponding code to relate records from
separated txt files.
2 razon X 300 Description
Regular expression: ([A-Z]|[a-z]|[0-9]|ñ|Ñ)+([\w]|
[\s]|[\S])*
3 valor N 15.2 Value.

INTERFAZ_INTEGRACION_EC_LOT.IN4 | 2.Link File Proposal | 29


Recipients INTERFAZ_INTEGRACION_EC_LOT.IN4

2.16. Recipients
Header report > Recipients
Record name: DEST
Mandatory: Conditional
This section is repeatable with the following restrictions:
Minimum number of occurrences: 0
Maximum number of occurrences: 99999

Situation in the Situation in the Condition in the proprietary


# Field Type Len. Description Condition in the standard
standard proprietary format format

1 ID X 9 Use "DEST" as the label to identify this type


of record in the same txt file or the
corresponding code to relate records from
separated txt files.
2 identificacionDestin X 20 Identification of receiver
atario Regular expression: [^\n]*
3 razonSocialDestinat X 300 Receiver name (official name).
ario Regular expression: [^\n]*
4 dirDestinatario X 300 Receiver´s Address.
Regular expression: [^\n]*
5 motivoTraslado X 300 Transport´s Reason
Regular expression: [^\n]*
6 docAduaneroUnico X 20 Identification of customs.
Regular expression: [^\n]*
7 codEstabDestino X 3 Property code.
Regular expression: [0-9]{3}
8 ruta X 300 Route of the transport.
Regular expression: [^\n]*
9 codDocSustento X 2 Code of the type of the document modified

Permitted values list:


01: Invoice
04: Credit Note
05: Debit Note
06: advice note.
10 numDocSustento X 17 Support document. Formatted as "XXX-YYY-

INTERFAZ_INTEGRACION_EC_LOT.IN4 | 2.Link File Proposal | 30


Recipients INTERFAZ_INTEGRACION_EC_LOT.IN4

Situation in the Situation in the Condition in the proprietary


# Field Type Len. Description Condition in the standard
standard proprietary format format

ZZZZZZZZZ"
Regular expression: [0-9]{3}-[0-9]{3}-[0-9]{9}
11 numAutDocSustento X 37 Typically is the invoice access key (49 digits)
affected by the Remission
Regular expression: [0-9]{10,37}
12 fechaEmisionDocSust X 8 Data of issuing of the support document.
ento Format: ddmmyyyy.
Regular expression: [0-9]{2}/[0-9]{2}/[0-9]{4}

INTERFAZ_INTEGRACION_EC_LOT.IN4 | 2.Link File Proposal | 31


Details INTERFAZ_INTEGRACION_EC_LOT.IN4

2.17. Details
Header report > Recipients > Details
Record name: DET
Mandatory: Conditional
This section is repeatable with the following restrictions:
Minimum number of occurrences: 0
Maximum number of occurrences: 99999

Situation in the Situation in the Condition in the proprietary


# Field Type Len. Description Condition in the standard
standard proprietary format format

1 ID X 9 Use "DET as the label to identify this type of


record in the same txt file or the
corresponding code to relate records from
separated txt files.
2 codigoInterno X 25 Material or service number. Product SKU.
Regular expression: [^\n]*
3 codigoAdicional X 25 Secondary part number like vendor or buyer
part number.
Regular expression: [^\n]*
4 descripcion X 300 Item description.
Regular expression: [^\n]*
5 cantidad N 19.6 Invoiced quantity.
6 nombre1 X 300 First extra field label.
Regular expression: [^\n]*
7 valor1 X 300 Value for first extra field.
Regular expression: [^\n]*
8 nombre2 X 300 Second extra field label.
Regular expression: [^\n]*
9 valor2 X 300 Value for second extra field.
Regular expression: [^\n]*
10 nombre3 X 300 Third extra field label.
Regular expression: [^\n]*
11 valor3 X 300 Value for third extra field.
Regular expression: [^\n]*

INTERFAZ_INTEGRACION_EC_LOT.IN4 | 2.Link File Proposal | 32


Aditional information INTERFAZ_INTEGRACION_EC_LOT.IN4

2.18. Aditional information


Header report > Aditional information
Record name: INFADI
Mandatory: Conditional
This section is repeatable with the following restrictions:
Minimum number of occurrences: 0
Maximum number of occurrences: 99999

Situation in the Situation in the Condition in the proprietary


# Field Type Len. Description Condition in the standard
standard proprietary format format

1 ID X 9 Use "INFADI" as the label to identify this


type of record in the same txt file or the
corresponding code to relate records from
separated txt files.

LIQ: Mandatory
2 nombre X 50 This fields allows the tax payer to include in the
XML of the invoice any information or free text
not included in the fields above. It's similar to
the Mexican addenda.
Regular expression: [^\n]*

LIQ: Conditional
3 valor X 300 This fields allows the tax payer to include in the
XML of the invoice any information or free text
not included in the fields above. It's similar to
the Mexican addenda.
Regular expression: [^\n]*

LIQ: Conditional

INTERFAZ_INTEGRACION_EC_LOT.IN4 | 2.Link File Proposal | 33


Aditional information INTERFAZ_INTEGRACION_EC_LOT.IN4

INTERFAZ_INTEGRACION_EC_LOT.IN4 | 2.Link File Proposal | 34


821216471.TXT (Header report) INTERFAZ_INTEGRACION_EC_LOT.IN4

3. EXAMPLES

3.1. 821216471.TXT (Header report)


ID|1|1|razonSocial|nombreComercial|4868452660001|2842530719643342738158288258647279838854730336735|06|258|843|840722654|=|fechaEmi|xY|G|NO|05|045-485-
629556888|a|identificacion|1.12 |2.12 |3.12 |4.12 |&/|rise|01|522-525-224353311|19111765|motivo|comercioEx|
incoTermFa|lugarIncoTerm|pai|puertoEmbarque|puertoDestino|pai|pai|dir|IncoTermTo|5.12 |6.12 |7.12 |8.12 |Co|9.12
|10.12 |11.12 |12.12 |dSa2F|correo|38/5091|fechaIni|fechaFin|MaquinaFiscalMarca|MaquinaFiscalModelo|MaquinaFiscalSerie|13.12
|14.12
ID|2|2|15.12 |1.12 |2.12 |3.12 |4.12 |04|230-386-506983409|84/76/16
ID|2|0|5.12 |6.12 |7.12 |8.12 |9.12 |01|253-967-635247246|29/08/46
ID|codigo|tarifa|valor
ID|codigo|tarifa|valor
ID|fo|10.12 | 11|unidadTiem
ID|fo|12.12 | 13|unidadTiem
ID|codigoPrincipal|codigoAuxiliar|H|14.123456 |15.123456 |unidadMedida|16.12 |17.12 | 18|
o^]^]^]x]v] ]E] ]K]^] ]5] ]^]N]4]|q^]8]|L2]^]^]q]^]4]1] ]h]^]1]J]^]7] ]|ñññ ]8] ]d]d]|r4|OÑrÑ ] ]^]3]K]^] ]8]N]^] ] ] ]v]w]w]0]k] ] ]E]4]
][]^]u]
ID|3|8|1.12 |2.12 |3.12
ID|5|7|4.12 |5.12 |6.12
ADIDET|Nombre|Valor
ADIDET|Nombre|Valor
ID|codigoPrincipal|codigoAuxiliar|B|7.123456 |8.123456 |unidadMedida|9.12 |10.12 | 11|
MñOs5 ]D]r]N] ] ] ] ]|L2 ]|Z[]^]8]K]^] ]^]E]^] ] ] ]|Ñ[]^]j]|ÑQ[] ]T]a]7]s]|BÑ^] ]L]j] ]F] ] ]Y] ]
ID|2|607|1.12 |2.12 |3.12
ID|2|6|4.12 |5.12 |6.12
ADIDET|Nombre|Valor
ADIDET|Nombre|Valor
ID|07|(|870|02|co|607|996|943917931|55/19/6222|2336393517
ID|2|06|7.12 |8.12 |9.12
ID|2|72|1.12 |2.12 |3.12
ID|codigo|tarifa|valor
ID|codigo|tarifa|valor
ID|04|identificacio|846|02|co|454|224|456811219|01/76/1723|7537626569
ID|5|8|4.12 |5.12 |6.12
ID|5|5|7.12 |8.12 |9.12
ID|codigo|tarifa|valor
ID|codigo|tarifa|valor
ID|4|51|1.12 |2.12
ID|4|3|3.12 |4.12
ID|dirPartida|dirDestinatario|01012013|02012013|razonSocialTransportista| 0| 5|y{
ID|motivoTraslado|docAduaneroUnico| 6|ruta
ID|Y|| 7|C
ID|dirPartida|i *|03012013|04012013|A| 0| 8|E
ID|motivoTraslado|k o| 9|i5
ID||5^q| 1|ruta
ID|x|2.12

INTERFAZ_INTEGRACION_EC_LOT.IN4 | 3.Examples | 35
821216471.TXT (Header report) INTERFAZ_INTEGRACION_EC_LOT.IN4

ID|#|3.12
ID|Ññ6R[]^]|4.12
ID|nu[]w]3]4]^]B]|5.12
ID|&|razonSocialDestinatario|Ve|-|docAduaneroUnico|353|ruta|01|570-812-586741516|94700871846|88/41/21
ID|U|>Blx| +0|6.123456 |nombre1|valor1|{;|b9|nombre3|valor3
ID|Y| M-|descripcion|7.123456 |nombre1|[|3|valor2|nombre3|valor3
ID|A|razonSocialDestinatario|rS|motivoTraslado|docAduaneroUnico|518|GY|05|653-121-281145643|394408176482461|14/72/38
ID| e nC|d{e|descripcion|8.123456 |M2EpA|valor1|[|valor2|nombre3|-
ID|codigoInterno|?|descripcion|9.123456 |l|valor1|nombre2|0|h|valor3
ID|nombre|C
ID|D|:

INTERFAZ_INTEGRACION_EC_LOT.IN4 | 3.Examples | 36
Supported partners INTERFAZ_INTEGRACION_EC_LOT.IN4

4. SUPPORTED PARTNERS
Supported partners

Name Status Remarks

LIQ New Liquidación

INTERFAZ_INTEGRACION_EC_LOT.IN4 | 4.Supported partners | 37

You might also like