Professional Documents
Culture Documents
IN4
INTERFAZ_INTEGRACION_EC_LOT.IN4
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
LIQ: Mandatory
2 tipoEmision X 1 Type of emission in which the invoice had
been created.
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
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
LIQ: Mandatory
7 claveAcceso X 49 Generated by Edicom.
LIQ: Conditional
8 codDoc X 2 Code to identify the type of document.
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)
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.
LIQ: Conditional
17 tipoIdentificacion X 2 Identification code for type of buyers.
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.
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)
LIQ: Conditional
40 IncoTermTotalSinImpu X 10 Terms of total amount of income without tax.
estos
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.
LIQ: Conditional
56 MaquinaFiscalModelo X 100 Model of the fiscal machine for vouchers issued
by this system.
LIQ: Conditional
57 MaquinaFiscalSerie X 30 Serial number of the fiscal machine for
vouchers issued by this system.
LIQ: Conditional
58 valorRetIva N 14.2 VAT retention value
59 valorRetRenta N 14.2 Rent retention value
LIQ: Mandatory
2 codigo X 1 Tax code
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
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
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])*
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
LIQ: Mandatory
2 Nombre X 300 Descriptor of the reported additional value
LIQ: Mandatory
3 Valor X 300 Additional value reported
LIQ: Mandatory
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}
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
LIQ: Mandatory
2 codigo X 1 Tax code.
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
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
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}
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
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
3. EXAMPLES
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