globally networked customs utility blok indira …

49
GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA SYSTEM INFORMATION INTERCHANGE OF CUSTOMS RECORDS PROPOSED BY ARGENTINA IN REPRESENTATION OF MERCOSUR

Upload: others

Post on 30-Apr-2022

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GLOBALLY NETWORKED CUSTOMS UTILITY BLOK

INDIRA SYSTEM INFORMATION INTERCHANGE OF CUSTOMS

RECORDS

PROPOSED BY ARGENTINA IN REPRESENTATION OF MERCOSUR

Page 2: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 2

0. INTRODUCTION 0.1 Purpose Statements This document provides the first version of the Globally Networked Customs (GNC) Utility Block (UB) for the INDIRA SYSTEM. It has been built on the UB structure endorsed by the GNC Ad Hoc Group. 0.2 Utility Block Executive Summary Purpose To describe the process followed by the Customs

Administrations of Ecuador and Argentina to build the INDIRA SYSTEM, the interconnection with ECUAPASS SYSTEM and MALVINA SYSTEM, and the set up of information exchange related to import/export declarations between them. And also describe the same process between the Customs Administrations of Mexico and Argentina.

Advantage to Government Celerity and simplicity to obtain data from another’s country Customs declarations.

Improvement in control routines. Improvement in enforcement tasks.

Advantage to Business/Stakeholders

Although the system has been designed for Customs Administrations it benefits the private operators because it accelerates control tasks.

Legal Framework and Compliance

Legal Framework MERCOSUR LEGISLATION – Decision of the Council of

the Common Market Number 1/08 (CMC). COMALEP AGREEMENT "Multilateral Agreement of

Mutual Cooperation and Assistance between the Customs Administrations of Latin America, Spain and Portugal"

Bilateral Agreements Compliance The partners must ensure that the information

exchange among them will be in full accomplishment of the information protection laws.

Entities Layer Partner Administrations that agreed to interchange Customs Records through a bilateral agreement, or into the legal frame of a multilateral general agreement.

Business Rules Layer The data to be interchanged resides in operative databases.

It must be granted, at least, the accessibility to the last 5 years data.

Every partner is responsible of controlling the security of the access of its officers to the system.

Page 3: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 3

Data Cluster Layer INDIRA SYSTEM has a standard data set that comes from its origin as a MERCOSUR data interchange system. The Customs Administrations that join to the system must adequate to the data set. In the case that some data were not available for a Customs Administration, the corresponding field is completed with a specific code that indicates that the information is not available. The data set is a standard, but a suplementary version of the data set will be developed in the near future.

Trigger Layer The event that launches data interchange is the execution of one of the available transactions by a Customs Officer of one of the partners.

Interface Layer The connection between the parties is done through the interaction of Web Services consuming information from the databases of the partners.

Integration Layer Each partner must develop the Web Services with full access to its own databases, and the transactions to be used by its own officials. Also, each partner applies its own identification method to identify its officers when entering to the system and is responsible for the security these accesses.

Communication Layer Information Exchange is done using web services.

Each country develops its web services according to specifications defined in this document.

The web application connects with the web service of the requested answering country through the Internet using HTTPS protocol with a method for authentication and authorization called WSAA (Web Services of Authentication and Authorization).

Governance To be completed in next version. Capacity Building To be completed in next version. 0.3 Intended Readership The document is addressed to:

• The WCO function or entity which will be responsible for the deployment of GNC, to review and comment on the structure and content of the UB;

• The WCO SAFE working group and any other WCO groups as deemed necessary, to review and comment on the structure and content of the UB;

• Any person involved in the establishment of an international

Page 4: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 4

arrangement/agreement on Customs to Customs Data Exchange, to provide suggestions regarding the improvement of the material provided;

• Any person responsible for the implementation of INDIRA SYSTEM based information exchange between Customs Administrations, to deliver a concept for setting up such exchange of data.

0.4 Structure of this document The document is structured as follows: Chapter 1: This chapter explains the purpose of this document. Chapter 2: This chapter explains the advantages for the administrations that adopt

the system as well as for the business. Chapter 3: This chapter develops the legal framework and compliance required

when using INDIRA System. Chapter 4: This chapter explains the business process for the partners to exchange

data through INDIRA System. Chapter 5: This chapter explains the Information Technology process for data

interchange. Chapter 6: To be completed in next version. Chapter 7: To be completed in next version. Chapter 8: To be completed in next version. 0.4.1 Table of Contents 0. INTRODUCTION.………………………………………………………………………………… 2

0.1 Purpose Statement.………………………………………………………………………… 2 0.2 Utility Block Executive Summary.……………………………………………………. 2 0.3 Intended readership…………………………………………………………….…………. 3 0.4 Structure of this document……………………………………………………………… 4

0.4.1. Table of Contents………………………………………………………………………….. 4 0.4.2. List of Figures……………………………………………………………………………. 5 0.4.3 List of Tables……………………………………………………………………………... 5

0.5 Acronyms and abbreviations……………………………………………………………. 6 0.6 Reference Documents……..……………………………………………………………….. 6 0.7 Terminology……………………………………………………………………………………. 6 0.8 Implementation History…………………………………………………………………… 6

1. PURPOSE……………………………………………………………………………………………... 7 2. ADVANTAGES………………………………………………………………………………………. 8

2.1 Advantages for Government……………………………………………………………… 8 2.2 Advantages for Business…………………………………………………………………… 8

3. LEGAL FRAMEWORK AND COMPLIANCE………………………………………………. 10 3.1 Legal Framework……………………………………………………………………………… 10 3.2 Compliance………………………………………………………………………………………. 10

4. BUSINESS PROCESS………………………………………………………………………………. 11 4.1 Entities Layer……………………………………………………………………………………. 11 4.2 Business Rules Layer…………………………………………………………………………. 11

Page 5: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 5

4.2.1 General Rules…………………………………………………………………………………… 11 4.2.2 Specific Rules…………………………………………………………………………………… 11 4.2.3 Web Service Specifications……………………………………………………………….. 13 4.2.4 Structures………………………………………………………………………………………… 14 4.2.5 Errors (description), User authentication…………………………………………. 21 4.2.6 Class Diagram………………………………………………………………………………….. 22 4.2.7 Web Methods…………………………………………………………………………………… 25

4.2.7.1 consultadestinaciones…………………………………………………………… 25 4.2.7.2 consultadeclaracion……………………………………………………………… 27 4.2.7.3 consultaimportacionesasociadas…………………………………………… 32 4.2.7.4 consultaDestinacionesCertificado………………………………………….. 34 4.2.7.5 consultaCertificado……………………………………………………………….. 36

4.3 Data Cluster Layer……………………………………………………………………………… 37 4.4 Trigger Layer……………………………………………………………………………………... 45

5. IT PROCESS……………………………………………………………………………………………. 45 5.1 Interface…………………………………………………………………………………………….. 45 5.2 Communication………………………………………………………………………………….. 49

6. GOVERNANCE………………………………………………………………………………………… 49 7. INTEGRATION………………………………………………………………………………………… 49 8. CAPACITY BUILDING………………………………………………………………………………. 49 0.4.2 List of Figures Fig. 1 – INDIRA Service………………………………………………………………………………………. Fig. 2 – Imports associated to an export declaration…………………………………………….. Fig. 3 – Mercosur Service (CCPAC/CCROM)…………………………………………………………. Fig. 4 – Individual Declaration Data query…………………………………………………………… Fig. 5 – Individual Declaration Data query…………………………………………………………… Fig. 6 – Customs Declaration query (Type of declaration: import)………………………… Fig. 7 – Import declaration associated to an export declaration……………………………. Fig. 8 – Communication Diagram………………………………………………………………………… 0.4.3 List of Tables Table 1 – Web Service Specification…………………………………………………………………….. Table 2 – Structures……………………………………………………………………………………………. Table 3 – Errors………………………………………………………………………………………………….. Table 4 – consultadestinaciones Entry Parameters………………………………………………. Table 5 – consultadeclaracion Entry Parameters………………………………………………….. Table 6 – consultaimportacionesasociadas Entry Parameters……………………………….. Table 7 – consultaDestinacionesCertificado Entry Parameters……………………………… Table 8 – consultaCertificado Entry Parameters…………………………………………………… Table 9 – Data Set……………………………………………………………………………………………….. 0.5 Acronyms and abbreviations To be completed in next version.

Page 6: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 6

0.6 Reference Documents To be completed in next version. 0.7 Terminology To be completed in next version. 0.8 Implementation History To be completed in next version.

Page 7: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 7

1. PURPOSE In year 2005 Mercosur countries decided to create a platform to exchange information of Customs records. This decision was the result of several previous tests regarding data interchange that proved not successful. As a consequence of the experience acquired on these previous tests it was clear that the system to be developed must accomplish certain requirements:

1. It must not function as a periodic sending of records from one Customs Administration to the others, because it implied great data volumes that in most of the cases were not used by anybody.

2. To solve the previous problem, data should be interchanged when the requiring

Customs Administration need them.

3. Queries should run on operating databases.

4. There should be full access to the last 5 years records, because this is the time the law permits to take legal actions in Mercosur countries.

In year 2008 begun working the system and was called INDIRA which stands for Information Exchange of Customs Records, in Spanish. In year 2012 Mercosur decides to present INDIRA SYSTEM in the GNC program and designed Argentina as a representative to build the UB. Apart from Mercosur countries, Chile and Bolivia Customs Services had adopted the INDIRA SYSTEM to interchange data with Argentina, and between them. In November year 2012, with the purpose of building the UB, Argentina Customs Service asked Ecuador Customs Service to join the system. The proposal was accepted and the technical aspects of the connection took almost a year, being finished in November year

2013 by the time of 201st

/202nd

Sessions of the Permanent Technical Committee (PTC).

The purpose of this UB is to document the progress made by the Customs Administrations of Ecuador and Argentina, and also Mexico and Argentina in building INDIRA SYSTEM between them. As the INDIRA SYSTEM is an open system, meaning that there are no restrictions in its use, it can be adopted by other administrations different from Mercosur members, as the case of Chile and Bolivia Customs administrations which are beginning the data interchange between them.

Page 8: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 8

That is why this UB can also be guidance for any Customs administration interested in using INDIRA SYSTEM as one of their data interchange methods. Although the system has a defined data set, a complementary one is being developed to match the needs of some Customs Administrations. 2. ADVANTAGES This Section describes the advantages for all the involved participants and the indirect advantages for the business. 2.1 Advantages for Government The advantages for the Customs Administrations are:

a. In the first place, the celerity and simplicity to obtain data from another’s country Customs declarations. It is just simple as this: an official, with the proper authorization to access to the system launch a query and in response obtain the data required. All this without any bureaucratic procedure.

b. Improvement in control routines. This is as a consequence of the previous

statement. The control routines can be performed searching data from the other Customs Administration with no loss of time asking for bureaucratic authorizations. In this way its efficiency is greatly improved.

c. Improvement of risk assessment previous to the arrival of the merchandises.

d. Improvement in enforcement tasks. The enforcement tasks are accelerated and

become more precise because of the fast access to the data of the operations.

e. As the data obtained from a partner administration are "official", there is no need of any legal "confirmation" or "validation". So, the time to take legal actions in case of finding illicit operations is greatly reduced.

f. Discouraging of organized crime operations, under or overvaluation operations,

as well as corruption. 2.2 Advantages for the Business The system itself has been designed for the use of Customs Administrations, so from this point of view it has no advantages for the business that interact with Customs controls. Nevertheless, improving the action of Customs controls and Customs investigations, specially making them simpler and faster, bring as general result the improvement of the transparency of Customs action.

Page 9: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 9

Indirectly it benefits the business sector mainly shortening the times the controls or the investigations take. This is particularly important when the risk assessment areas use the system because it shortens considerably the time of release of the merchandises.

Page 10: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 10

3. Legal Framework and Compliance 3.1 Legal Framework Originally the legal framework for INDIRA SYSTEM was the Decision of the Council of the Common Market Number 1/08 (CMC) that enables the system among the Mercosur members. This legal instrument, due to Mercosur legal structure, has to be internalized in every country member. In Argentina, the legal instrument that internalized, meaning incorporate to Argentina’s legal system the previously named Mercosur Decision was the General Resolution AFIP Nº 2495, issued on September 16, 2008, by the Federal Administration of Public Revenues (AFIP). The other Mercosur countries have incorporated this Decision to its legal system. It is still pendent the internalization in Venezuela and Bolivia, because of its recent admission into the block. Outside from Mercosur area, among the countries belonging to COMALEP Agreement (Multilateral Agreement of Mutual Cooperation and Assistance between the Customs Administrations of Latin America, Spain and Portugal), the legal framework is given by COMALEP Agreement that enables the data interchange among its members. This is the case of Ecuador – Argentina and México – Argentina, as well as Chile – Bolivia and in the near future Colombia – Argentina and Peru – Argentina. For countries outside these regional agreements the legal framework for the use of the system can be establish via bilateral agreements. 3.2 Compliance All the Customs Administrations involved in the use of INDIRA SYSTEM must comply with the data protection laws of each partner. Also, each partner is responsible for establishing the maximums security levels available for the access of its officials to the system. In the same way, each partner must comply with the format and the consistency of the data. To ensure this last point, before the system is fully operative there is a period named "Pilot Proof", that last almost a year, during which the partners can ask one to the other for explanations or doubts about the meanings or format of the fields that are interchanged, as well as other technical issues, and solve them.

Page 11: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 11

4. Business Process 4.1 Entities Layer The term "partner" refers to Customs Administrations that through one of the following instruments is allowed to interchange Customs records:

Mercosur Agreement. Comprise all Mercosur members except Venezuela and Bolivia because them have recently joined to the Common Market and are still into the process of adapting their structures and systems.

COMALEP Agreement. Comprise all Latin American countries and Spain and

Portugal. This is the case of Chile, Ecuador and Mexico. Any Customs Administration belonging to a country that signs a Bilateral

Agreement accepting the terms and methods of INDIRA SYSTEM. For this particular work the entities layer will consist in the Customs Administrations of Ecuador, Mexico and Argentina. 4.2 Business Rules Layer 4.2.1 General Rules The partners must accomplish the following general rules:

1) Every Customs Administration will be responsible for the security aspects related to the accesses of its officials to the system and for the use given to the information obtained.

2) Interchanged data resides in operative databases. Queries must be executed on

them.

3) It must be granted, at least, the accessibility to the last 5 years data.

4) OPTIONAL/NON REGISTERED DATA CODIFICATION – When data are not available, the following codification must be used:

a. If the registration of the data is occasional, it will be sending the value 9

(“Optional”). b. If the registration of the data is not permitted, it will be sending the value

1 (“Not registered”). 4.2.2 Specific Rules

1) Transactions Data interchange is made through transactions that execute the following queries:

Page 12: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 12

Customs records related to Definitive Exports/Imports if they are Country of

Shipment or Country of Destination. The query is parameterized to search Customs Declarations, selected by Date,

Type of declaration,

Importer’s Tributary Identification Code,

Exporter’s Tributary Identification Code,

Country of Shipment, and

Country of Destination.

Individual declaration data.

Import declaration associated to an Export declaration.

2) Codified data

In the answer to a query, if data is codified, it is accompanied by its description, which makes it unnecessary exchanging tables.

3) Tariff tables

It is necessary to interchange tariff tables when the partners use different nomenclatures. In the case Ecuador and Argentina: o Argentina uses the NCM tariff nomenclature. o Ecuador uses the NANDINA tariff nomenclature. o Mexico uses the Arancelary Tariff.

4) RUE (Unique Consignment Register) In order to track the operations, (and being able of executing the Import declaration associated to an Export declaration query), the partners agreed to register in every import declaration of each country, the export declaration identification of the export country.

Page 13: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 13

4.2.3 Web Service Specifications Table 1 – Web Service Specification. Name ServicioIndira.asmx Name Space http://serviciosmercosur.indira Location Testing https://testdia.afip.gob.ar/DIA/WS/ServicioIndira/ServicioIndira.asmx WebMethods

consultadestinaciones

https://servicios1.afip.gob.ar/DIA/WS/ServicioIndira/ServicioIndira.asmx Description Declaration Consult Entry Parameters

Parameter Description Type autenticación Authentication Authentication desdeFecha Since Date String hastaFecha Until Date String tipoDeclaracion Type of Declaration String codigoPosicionArancelaria

Tariff Code String

identificacionImpExp Importer/Exporter ID

String

pac PAC Indicador String rom ROM Indicador String pais Country String ultimoNumeroDeclaracion

Declaration Last Name (pagination)

String

Exit Result Declaration Structure consultadeclaracion

Description Individual Declaration Data Consult Entry Parameters

Parameter Description Type autenticación Authentication Authentication numeroDeclaracion Declaration ID String tipoDeclaracion Type of Declaration String item Item Number String pac PAC Indicator String rom ROM Indicator String

Exit Result Declaration Structure

Description Declaration Consult

Parameter Description Type autenticación Authentication Authentication

Page 14: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 14

consultadeclaracion

Entry Parameters

numeroDeclaracion Declaration ID String tipoDeclaracion Type of Declaration String item Item Number String pac PAC Indicator String rom ROM Indicator String

Description Declaration Structure Description Individual Declaration Data Consult Entry Parameters

Parameter Description Type autenticación Authentication Authentication numeroDeclaracionExpo

Export Declaration ID

String

Exit Result Import declaration associated to an Export declaration Structure

consultaDestinacionesCertificado

Description Individual Declaration Data Consult Entry Parameters

Parameter Description Type autenticación Authentication Authentication desdeFecha Since Date String hastaFecha Until Date String tipoCertificado Type of Certificate String tipoDeclaracion Type of Declaration String codigoPosicionArancelaria

Tariff Code String

identificacionImpExp Importer/Exporter ID

String

pais Shipping/Destination Country

String

ultimoNumeroDeclaracion

Declaration Last Name (pagination)

String

Exit Result DestinacionesCertificado Structure consultaCertificado

Description Individual Declaration Data Consult certificadoPacRom Declaration ID String pais Shipping/Destinatio

n Country String

tipoDeclaracion Type of Declaration String Exit Result Certificate Structure

Page 15: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 15

4.2.4 Structures Table 2 – Structures

Name Autenticacion WebMethod Related. All Characteristic Description Type Token Token String () Sign Signature String ()

Name Destinaciones WebMethod Related consultadestinaciones Characteristic Description Type desdeFecha Since date (registration) String (8) hastaFecha Until date (registration) String (8) tipoDeclaracion Type of declaration (Impo/Expo) String (1) codigoPosicionArancelaria Tariff code String (10) identificacionImpExp Tax identification number of the

Importer/Exporter String (11)

Pac CCPAC Indicator (only Import) String (1) Rom CCROM Indicator (only Import) String (1) codigoError Error code Integer relacionDeclaraciones() Array declaracionImpExp

Name declaracionImpExp WebMethod Related consultadestinaciones Characteristic Description Type numeroDeclaracion Declaration I.D. String (16) tipoDeclaracion Type of declaration (Impo/Expo) String (1) nombreImpExp Name of the importer/exporter String (70) identificacionImpExp Tax identification number of the

Importer/exporter String (11)

fechaRegistro Registration date String (8) pac CCPAC Indicator String (1) rom CCROM Indicator String (1)

Name Declaracion WebMethod Related consultadeclaracion Characteristic Description Type numeroDeclaracion Declaration ID String(16) tipoDeclaracion Type of declaration

(Import/Export) String(1)

codigoAduanaRegistro Code of Customs jurisdiction String(3) codigoAduanaRegistroDescripcion

Description of the Customs jurisdiction

String(20)

codigoAduanaEntradaSalida Code of the Customs jurisdiction of entrance / exit

String(3)

codigoAduanaEntradaSalidaDescripcion

Customs jurisdiction of entrance / exit code description

String(20)

nombreAgente Name of the Importer / Exporter

String(60)

Page 16: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 16

identificacionAgente Tax Identification of Importer / Exporter

String(11)

paisDestino Code of the country of destination

String(3)

paisDestinoDescripcion Description of the country of destination

String(20)

paisProcedencia Code of the country of shippment

String(3)

paisProcedenciaDescripcion Description of the country of shippment

String(20)

viaTransporte Code of the transportation method

String(1)

viaTransporteDescripcion Description of the transportation method

String(20)

totalBultos Amount of packages Integer cantidadItems Amount of items Integer fechaRegistro Date of registration of the

Customs Declaration String (8)

codigoAduanaDestino Code of Destination Customs jurisdiction

String (3)

codigoAduanaDestinoDescripcion

Description of the Destination Customs jurisdiction

String (20)

numeroManifiesto Manifest ID String (16) valorFleteTotal Total freight value Double codigoMonedaFlete Currency code of the freight

value String(3)

codigoMonedaFleteDescripcion Description of the currency code of the freight value

String(20)

valorSeguroTotal Total insurance value Double codigoMonedaSeguro Insurance currency code String(3) codigoMonedaSeguroDescripcion

Insurance currency code description

String(20)

valorFobTotal Total FOB value Double codigoMonedaFobTotal Total FOB value currency code String(2) codigoMonedaFobTotalDescripcion

Total FOB value currency code description

String(20)

valorTotalCondicionVentaDolares

Total value in US dollars Double

codigoEmbalaje Package code String(4) codigoEmbalajeDescripcion Description of the package

code String(20)

pesoBrutoTotal Total bulk weight String(8) statusDeclaracion Code of the declaration status. String(2) statusDeclaracionDescripcion Description of the declaration

status (validated, cancelled, fulfilled, etc.).

String(8)

fechaStatus Status date of the declaration. String(1) codigoError Error Code String(7) fechaArribo Arrival date String(8) canalAsignado Channel code assigned to the

declaration String()

Page 17: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 17

canalAsignadoDescripcion Description of the channel code assigned to the declaration

String(7)

fechaRectificacion Rectification Date String(8) marcaRectificacion Rectification mark String() relacionItems Array Item relacionEmbarques Array Shipment relacionMarcasYNumeros Array MarcasYNumeros relacionLiquidaciones Array Payment

Name Item WebMethod Related consultadeclaracion Characteristic Description Type numeroItem Item number Integer destinacion Type of destination String(4) destinacionDescripcion Description of the type of

declaration String(55)

codigoPosicionArancelaria Tariff code String(10) pesoTotalLiquido Liquid total weight Double codigoUnidadMedidaPrecioOficial

Unit code (only for goods with official FOB value. Only for some Argentina’s Export Declarations).

String(2)

codigoUnidadMedidaPrecioOficialDescripcion

Unit code description (only for goods with official FOB value. Only for some Argentina’s Export Declarations).

String(20)

cantidadUnidadesPrecioOficial Quantity (according to the unit code defined for goods with oficial FOB value)

Double

codigoUnidadComercializada Unit code (comercial invoice unit)

String(2)

codigoUnidadComercializadaDescripcion

Unit code description String(20)

cantidadComercializada Quantity (according to comercial invoice)

Double

valorUnitarioComercializado Unit value (per item – expressed in the comercial invoice currency)

Double

unidadEstadistica Statistic unit code String(2) unidadEstadisticaDescripcion Statistic unit code description String(20) cantidadUnidadEstadistica Quantity of statistic units Double estadoMercaderia Goods status code (new, used,

etc.) String(1)

estadoMercaderiaDescripcion Description of the goods status code

String(20)

tipoPosicionNaladiNaladisa Type of nomenclature tariff (if an agreement is aplicable)

String(8)

posicionNaladiNaladisa Tariff code (Agreement) String(16) codigoAcuerdo Agreement code String(1) codigoAcuerdoDescripcion Description of the agreement

code String(16)

Page 18: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 18

descripcionMercaderia Goods description String(1000) valorMonedaNegociacion Value Double monedaNegociacion Operation currency code String(3) monedaNegociacionDescripcion Operation currency code

description String(20)

precioOficialUnitario Official unit value Double valorBaseDolares Value in dollars Double gravamenEspecifico Specific duty Double valorFobItem FOB value of the Item Double valorFobItemDolares FOB value of the Item in

dollars Double

paisOrigen Country of origin String(3) paisOrigenDescripcion Description of the country of

origin String(20)

paisFacturacion Invoice issuing country (import declarations) or invoice destination country (export declarations) code

String(3)

paisFacturacionDescripcion Description of the country of invoice

String(20)

paisProcedencia Shipment country String(3) paisProcedenciaDescripcion Description of the shipment

country String(20)

codigoCondicionVenta INCOTERM code String(4) codigoCondicionVentaDescripcion

Description of the INCOTERM code

String(20)

valorCondicionVentaDolares Value in US dollars according to the declared INCOTERM

Double

pac PAC indicator String(1) rom ROM indicator String(1) ccPacRom CCPAC / CCROM ID String(21) nombreCompradorVendedor Name of the buyer/seller String(50) valorAjusteIncluir Adjustment value to be

included Double

valorAjusteDeducir Adjustment value to be deducted

Double

viaTransporte Code of the transportation method

String(1)

viaTransporteDescripcion Description of the transportation method

String(20)

codigoAduanaEntradaSalida Code of the Customs jurisdiction of entry / exit

String(3)

codigoAduanaEntradaSalidaDescripcion

Description of the code of Customs jurisdiction of entrance / exit

String(20)

monedaFleteItem Code of the item freight currency

String(3)

monedaFleteItemDescripcion Description of the code of the item freight currency

String(20)

valorFleteItem Value of the item’s freight Double monedaSeguroItem Code of the currency of the String(3)

Page 19: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 19

insurance monedaSeguroItemDescripcion Description of the insurance

currency String(20)

valorSeguroItem Item’s insurance value Double relacionLiquidacionesItem Array of the settlements of the

item LiquidacionItem

relacionCertificadosPacRom Array of the PAC/ ROM certificates

CertificadoPacRom

Name LiquidacionItem WebMethod Related consultadeclaracion Characteristic Description Type tipoTributo Type of duty code String(3) tipoTributoDescripcion Description of the type of duty String(20) modalidadLiquidacion Code of the type of settlement String (1) modalidadLiquidacionDescripcion

Description of the type of settlement

String(20)

alicuotaBaseAplicada Duty percentage Double importeTributo Duty amount Double

Name CertificadoPacRom WebMethod Related consultadeclaracion Characteristic Description Type

indicadorPacRom PAC/ROM Indicator (used) (MERCOSUR only)

String(1)

certificado PAC/ROM Certificate ID (used) String(21) codigoUnidadEstadistica Statistic unit code String(3) codigoUnidadEstadisticaDescripcion

Description of the statistic unit String(20)

cantidadEstadistica Amount of statistic unit Double

Name Embarque WebMethod Related consultadeclaracion Characteristic Description Type documentoTransporte Waybill ID String(39) identificacionVehiculo Identification of the carrier String(25) fechaEmbarque Shipment date String(8)

Name MarcasYNumeros WebMethod Related consultadeclaracion Characteristic Description Type marcasYNumeros Marks and numbers String(80) codigoBulto Package code String(2)

codigoBultoDescripcion Description of the package code

String(30)

cantidadBultos Amount of packages Integer(9)

Name Liquidacion WebMethod Related consultadeclaracion Characteristic Description Type

Page 20: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 20

tipoTributo Code of the duty type String(4) tipoTributoDescripcion Description of the duty type String(60) modalidadLiquidacion Settlement method String(1) modalidadLiquidacionDescripcion

Description of the payment method

String(60)

totalTributo Total duty amount Double

Name DestinacionesImpoAsociadas WebMethod Related consultaimportacionesasociadas Characteristic Description Type numeroDeclaracion Declaration ID String(16) Codigoerror Error code Integer relacionDeclaracionesImpExp Array of the import/export

declarations DeclaracionImpexp

Name DeclaracionImpExp WebMethod Related consultaimportacionesasociadas Characteristic Description Type numeroDeclaracion Declaration ID String(16) tipoDeclaracion Type of declaration

(import/export) String(1)

nombreImpExp Name of the importer/exporter String(70) identificacionImpExp Tax identification number of the

Importer/exporter String(11)

fechaRegistro Registration date String(8) ccPac CCPAC indicator String(1) ccRom CCROM indicator String(1)

Name Certificado WebMethod Related consultaCertificado Characteristic Description Type ccPacRom Certified identifier String(23) codigoError Error code Integer Pais Country of origin/destination String(3) tipoDeclaracion Type of declaration

(import/export) String(1)

relacionStockCertificado Array StockCertificado

Name StockCertificado WebMethod Related consultaCertificado Characteristic Description Type ccPacRom Certificate ID String(23) relacionItemCertificados Array ItemCertificado

Name ItemCertificado WebMethod Related consultaCertificado Characteristic Description Type cantidad Amount of statistics units Double codigoPosicionArancelaria Tariff code String(10) codigoUnidadEstadistica Statistics unit code String(8)

Page 21: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 21

codigoUnidadEstadisticaDescripcion

Description of the statistics unit String(8)

numeroDeclaracion Declaration ID String(16) numeroItem Item number String(3) tipoCertificado Type of certificate (P= CCPAC /

R= CCROM / T= All) String(1)

tipoDeclaracion Type of declaration (I= Import/ E= Export / T= All)

String(1)

4.2.5 Errors (description), User authentication Table 3 – Errors

Code Description 0 Transaction conducted without errors. Information shall be submitted 1 Internal service error 2 IP address not allowed to make the consultation 3 Unauthorized transaction. (Reserved for the cases that must use

information filters) 4 Non-existent declaration 5 Invalid number of the declaration. (Minimum/maximum length; format of

each country; empty) 6 **Error code not usable (02/2006)** 7 Invalid PAC ROM indicator. It must be S/N/<empty> 8 Non-existent item. (Generally due to the fact that the value is higher than

the amount of items included in the declaration) 9 Invalid item. Not included in the 0001-9999 range

10 Invalid initial date 11 Invalid final date 12 Invalid dates. (When the start is higher than the end) 13 The maximum range of 31 days was exceeded 14 Invalid type of declaration. It must be E/I 15 Invalid tariff heading. (Minimum/maximum length, empty) 16 Non-existent tariff heading 17 Invalid agent 18 Non-existent agent 19 Invalid country 20 Non-existent country 21 There are no declarations for the information requested 22 The final date must be inferior or equal to today 23 Amount of registries found exceed the maximum amount allowed, redefine

the filters 24 Export to a country of destination not in MERCOSUR 25 The country parameter cannot be completed when the option in Type of

Declaration is All 26 Invalid type of certificate. It must be CCPAC/CCROM/All

6003 The connection validation does not match with the selected options 7005 Due token 7006 The signature is required 7007 The token is necessary 7008 Invalid token 7013 The service does not match with the one informed in the token 7014 The identification number for taxpayers to be used was not informed

Page 22: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 22

4.2.6 Class Diagram ServicioIndira

Fig. 1 – INDIRA Service.

class standard indira

MarcasYNumeros

+ marcasYNumeros: string

+ codigoBulto: string

+ codigoBultoDescripcion: string

+ cantidadBultos: int

Item

+ numeroItem: string

+ destinacion: string

+ destinacionDescripcion: string

+ codigoPosicionArancelaria: string

+ pesoTotalLiquido: double

+ codigoUnidadMedidaPrecioOficial: string

+ codigoUnidadMedidaPrecioOficialDescripcion: string

+ cantidadUnidadesPrecioOficial: double

+ codigoUnidadComercializada: string

+ codigoUnidadComercializadaDescripcion: string

+ cantidadComercializada: double

+ valorUnitarioComercializado: double

+ unidadEstadistica: string

+ unidadEstadisticaDescripcion: string

+ cantidadUnidadEstadistica: double

+ estadoMercaderia: string

+ estadoMercaderiaDescripcion: string

+ tipoPosicionNaladiNaladisa: string

+ posicionNaladiNaladisa: string

+ acuerdo: string

+ descripcionMercaderia: string

+ valorMonedaNegociacion: double

+ monedaNegociacion: string

+ monedaNegociacionDescripcion: string

+ precioOficialUnitario: double

+ valorBaseDolares: double

+ gravamenEspecifico: double

+ valorFobItem: double

+ valorFobItemDolares: double

+ paisOrigen: string

+ paisOrigenDescripcion: string

+ paisFacturacion: string

+ paisFacturacionDescripcion: string

+ paisProcedencia: string

+ paisProcedenciaDescripcion: string

+ codigoCondicionVenta: string

+ codigoCondicionVentaDescripcion: string

+ valorCondicionVentaDolares: double

+ pac: string

+ rom: string

+ ccPacRom: string

+ nombreCompradorVendedor: string

+ valorAjusteIncluir: double

+ valorAjusteDeducir: double

+ viaTransporte: string

+ viaTransporteDescripcion: string

+ codigoAduanaEntradaSalida: string

+ codigoAduanaEntradaSalidaDescripcion: string

+ monedaFleteItem: string

+ monedaFleteItemDescripcion: string

+ valorFleteItem: double

+ monedaSeguroItem: string

+ monedaSeguroItemDescripcion: string

+ valorSeguroItem: double

+ relacionLiquidacionesItem[]: LiquidacionItem

+ relacionCertificadosPacRom[]: CertificadoPacRom

Embarque

+ documentoTransporte: string

+ identificacionVehiculo: string

+ fechaEmbarque: string

DeclaracionImpExp

+ numeroDeclaracion: string

+ tipoDeclaracion: string

+ nombreImpExp: string

+ identificacionImpExp: string

+ fechaRegistro: string

+ pac: string

+ rom: string

Destinaciones

+ desdeFecha: string

+ hastaFecha: string

+ codigoPosicionArancelaria: string

+ tipoDeclaracion: string

+ identificacionImpExp: string

+ pac: string

+ rom: string

+ codigoError: int

+ relacionDeclaraciones[]: DeclaracionImpExp

+ pais: string

+ ultimoNumeroDeclaracion: String

Declaracion

+ numeroDeclaracion: string

+ tipoDeclaracion: string

+ codigoAduanaRegistro: string

+ codigoAduanaRegistroDescripcion: string

+ codigoAduanaEntradaSalida: string

+ codigoAduanaEntradaSalidaDescripcion: string

+ nombreAgente: string

+ identificacionAgente: string

+ paisDestino: string

+ paisDestinoDescripcion: string

+ paisProcedencia: string

+ paisProcedenciaDescripcion: string

+ viaTransporte: string

+ viaTransporteDescripcion: string

+ totalBultos: int

+ cantidadItems: int

+ fechaRegistro: string

+ codigoAduanaDestino: string

+ codigoAduanaDestinoDescripcion: string

+ numeroManifiesto: string

+ valorFleteTotal: double

+ codigoMonedaFlete: string

+ codigoMonedaFleteDescripcion: string

+ valorSeguroTotal: double

+ codigoMonedaSeguro: string

+ codigoMonedaSeguroDescripcion: string

+ valorFobTotal: double

+ codigoMonedaFobTotal: string

+ codigoMonedaFobTotalDescripcion: string

+ valorTotalCondicionVentaDolares: double

+ codigoEmbalaje: string

+ codigoEmbalajeDescripcion: string

+ pesoBrutoTotal: double

+ statusDeclaracion: string

+ statusDeclaracionDescripcion: string

+ fechaStatus: string

+ codigoError: int

+ fechaArribo: string

+ canalAsignado: string

+ canalAsignadoDescripcion: string

+ fechaRectificacion: string

+ marcaRectificacion: string

+ relacionItems[]: Item

+ relacionEmbarques[]: Embarque

+ relacionMarcasYNumeros[]: MarcasYNumeros

+ relacionLiquidaciones[]: Liquidacion

LiquidacionItem

+ tipoTributo: string

+ tipoTributoDescripcion: string

+ modalidadLiquidacion: string

+ modalidadLiquidacionDescripcion: string

+ alicuotaBaseAplicada: double

+ importeTributo: double

CertificadoPacRom

+ indicadorPacRom: string

+ certificado: string

+ codigoUnidadEstadistica: string

+ codigoUnidadEstadisticaDescripcion: string

+ cantidadEstadistica: double

System.Web.Service.WebService

ServiciosMercosur

+ consultadeclaracion(numeroDeclaracion, tipoDeclaracion, item, pac, rom) : Declaracion

+ consultadestinaciones(desdeFecha, hastaFecha, tipoDeclaracion, codigoPosicionArancelaria, identificacionImpExp, pac, rom, pais, ultimoNumeroDeclaracion) : Destinaciones

Liquidacion

+ tipoTributo: string

+ tipoTributoDescripcion: string

+ modalidadLiquidacion: string

+ modalidadLiquidacionDescripcion: string

+ totalTributo: double

Nombre:

Paquete:

Versión:

Autor:

standard indira

Use Case View

MERCOSUR

Page 23: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 23

Fig. 2 – Imports associated to an export decaration.

class Importaciones Asociadas a un Documento de Exportación Intrazona

DestinacionesImpoAsociadas

+ numeroDeclaracionExpo: String

+ codigoError: Integer

+ relacionDeclaracionesImpExp[]: DeclaracionImpExp

DeclaracionImpExp

+ ccPac: String

+ ccRom: String

+ fechaRegistro: string

+ identificacionImpExp: string

+ nombreImpExp: string

+ numeroDeclaracion: string

+ tipoDeclaracion: string

System.Web.Services.WebService

Serv iciosMercosur2

+ consultaimportacionesasociadas(numeroDeclaracionExpo) : DestinacionesImpoAsociadas

Nombre:

Paquete:

Versión:

Autor:

Importaciones Asociadas a un Documento de Exportación Intrazona

Use Case View

Page 24: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 24

class Serv iciosMercosur3 (CCPAC / CCROM)

DeclaracionImpExp

+ ccPac: String

+ ccRom: String

+ fechaRegistro: string

+ identificacionImpExp: string

+ nombreImpExp: string

+ numeroDeclaracion: string

+ tipoDeclaracion: string

DestinacionesCertificado

+ codigoError: int

+ codigoPosicionArancelaria: string

+ desdeFecha: string

+ hastaFecha: string

+ identificacionImpExp: string

+ relacionDestinaciones: DeclaracionImpExp ([])

+ tipoCertificado: string

+ tipoDeclaracion: string

+ pais: String

+ ultimoNumeroDeclaracion: String

System.Web.Services.WebService

ServiciosMercosur3

+ consultaCertificado(certificadoPacRom, tipoDeclaracion, pais) : Certificado

+ consultaDestinacionesCertificado(desdeFecha, hastaFecha, tipoCertificado, tipoDeclaracion, identificacionImpExp, codigoPosicionArancelaria, pais, ultimoNumeroDeclaracion) : DestinacionesCertificado

StockCertificado

+ ccPacRom: string

+ relacionItemCertificados: ItemCertificado ([])

Certificado

+ ccPacRom: String

+ codigoError: Integer

+ pais: String

+ relacionStockCertificado: StockCertificado

+ tipoDeclaracion: String

ItemCertificado

+ cantidad: Double

+ codigoPosicionArancelaria: String

+ codigoUnidadEstadistica: String

+ codigoUnidadEstadisticaDescripcion: String

+ numeroDeclaracion: String

+ numeroItem: String

+ tipoCertificado: String

+ tipoDeclaracion: string

tipoCertificado:

P (CCPAC)

R (CCROM)

T (TODOS)

ccPac = S (contiene al menos 1 CCPAC) o N (no contiene CCPAC)

ccPac = S (contiene al menos 1 CCROM) o N (no contiene CCROM)

Nombre:

Paquete:

Versión:

Autor:

ServiciosMercosur3 (CCPAC / CCROM)

Use Case View

MERCOSUR

Page 25: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 25

4.2.7 Web Methods 4.2.7.1 consultadestinaciones Search of declarations by:

Tariff code, Date range, Type of declaration, CCPAC (MERCOSUR only), CCROM generation (MERCOSUR only), Importer/Exporter ID and Country of shipping/destination (what corresponds).

STRUCTURE OF THE ENTRY PARAMETERS

POST /DIA/WS/ServicioIndira/ServicioIndira.asmx HTTP/1.1

Host: localhost

Content-Type: text/xml; charset=utf-8

Content-Length: length

SOAPAction: "http://serviciosmercosur.indira/consultadestinaciones"

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xmlns:xsd="http://www.w3.org/2001/XMLSchema"

xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

<soap:Body>

<consultadestinaciones xmlns="http://serviciosmercosur.indira">

<autenticacion />

<desdeFecha>string</desdeFecha>

<hastaFecha>string</hastaFecha>

<tipoDeclaracion>string</tipoDeclaracion>

<codigoPosicionArancelaria>string</codigoPosicionArancelaria>

<identificacionImpExp>string</identificacionImpExp>

<pac>string</pac>

<rom>string</rom>

<pais>string</pais>

<ultimoNumeroDeclaracion>string</ultimoNumeroDeclaracion>

</consultadestinaciones>

</soap:Body>

</soap:Envelope>

STRUCTURE OF THE EXIT PARAMETERS

HTTP/1.1 200 OK

Content-Type: text/xml; charset=utf-8

Content-Length: length

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xmlns:xsd="http://www.w3.org/2001/XMLSchema"

xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

<soap:Body>

<consultadestinacionesResponse xmlns="http://serviciosmercosur.indira">

<consultadestinacionesResult>

<desdeFecha>string</desdeFecha>

Page 26: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 26

<hastaFecha>string</hastaFecha>

<codigoPosicionArancelaria>string</codigoPosicionArancelaria>

<tipoDeclaracion>string</tipoDeclaracion>

<identificacionImpExp>string</identificacionImpExp>

<pac>string</pac>

<rom>string</rom>

<codigoError>int</codigoError>

<relacionDeclaraciones>

<DeclaracionImpExp>

<numeroDeclaracion>string</numeroDeclaracion>

<tipoDeclaracion>string</tipoDeclaracion>

<nombreImpExp>string</nombreImpExp>

<identificacionImpExp>string</identificacionImpExp>

<fechaRegistro>string</fechaRegistro>

<pac>string</pac>

<rom>string</rom>

</DeclaracionImpExp>

<DeclaracionImpExp>

<numeroDeclaracion>string</numeroDeclaracion>

<tipoDeclaracion>string</tipoDeclaracion>

<nombreImpExp>string</nombreImpExp>

<identificacionImpExp>string</identificacionImpExp>

<fechaRegistro>string</fechaRegistro>

<pac>string</pac>

<rom>string</rom>

</DeclaracionImpExp>

</relacionDeclaraciones>

<pais>string</pais>

</consultadestinacionesResult>

</consultadestinacionesResponse>

</soap:Body>

</soap:Envelope>

ENTRY PARAMETERS Table 4 – consultadestinaciones Entry Parameters

Parameters Description Type Obligation

Comments

desdeFecha Registration date C (8) S hastaFecha Registration date C (8) S tipoDeclaracion Type of declaration C (1) S I= import, E= export codigoPosicionArancelaria

NCM C (10)

N

identificacionImpExp Importer/exporter identifier

C (11)

N

Pac PAC indicator C (1) S S= yes, N= no, T= All Rom ROM indicator C (1) S S= yes, N= no, T= All Pais Country of

origin/destination C (3) N The country

information is exchange. When it says NULL, all the information is considered

ultimoNumeroDeclaracion Last page number of the declaration

C (16)

S If it says NULL, it is the 1st page (300 declarations) if not the other 300 indicated

Page 27: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 27

In addition to the mandatory information, it is necessary to send the optional information as well. Pagination The concept of pagination was established because of the amount of pages that could be displayed as a result of a search. Each “page” has 300 registries. The parameter ultimoNumeroDeclaracion is the last value (declaration ID) in the “page”. As an example, if after the search there are 1500 registries: When the parameter ultimoNumeroDeclaracion is empty, it means that the “1st page” is requested; If the parameter has a value, it means that the “next page” is requested. 4.2.7.2 consultadeclaracion Search of an individual declaration data STRUCTURE OF THE ENTRY PARAMETERS

POST /DIA/WS/ServicioIndira/ServicioIndira.asmx HTTP/1.1

Host: localhost

Content-Type: text/xml; charset=utf-8

Content-Length: length

SOAPAction: "http://serviciosmercosur.indira/consultadeclaracion"

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xmlns:xsd="http://www.w3.org/2001/XMLSchema"

xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

<soap:Body>

<consultadeclaracion xmlns="http://serviciosmercosur.indira">

<autenticacion />

<numeroDeclaracion>string</numeroDeclaracion>

<tipoDeclaracion>string</tipoDeclaracion>

<item>string</item>

<pac>string</pac>

<rom>string</rom>

</consultadeclaracion>

</soap:Body>

</soap:Envelope>

Page 28: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 28

ENTRY PARAMETERS Table 5 – consultadeclaracion Entry Parameters.

Parameter Description Type Obligation Comments numeroDeclaracion

Declaration number C(16) S Verify the existence

tipoDeclaracion Type of declaration (import/export)

C(1) S I= import, E= export, “”= all

Item Item number C(4) N Pac PAC indicator C(1) N rom ROM indicator C(1) N tipoDeclaracion:

Parameter created at the request of Brazil, which has 2 different systems for the imports and exports. It is mandatory when making a request to Brazil (I/E), the other Member States accepts “” (the parameter is ignored).

pac and rom:

It is used when the declaration is related to an import.

item, pac and rom: The search is just related to the item. If there are no items that fulfill these conditions, the message “There are no information for the indicated parameters” appears.

STRUCTURE OF THE EXIT RESULTS

HTTP/1.1 200 OK

Content-Type: text/xml; charset=utf-8

Content-Length: length

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xmlns:xsd="http://www.w3.org/2001/XMLSchema"

xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

<soap:Body>

<consultadeclaracionResponse xmlns="http://serviciosmercosur.indira">

<consultadeclaracionResult>

<numeroDeclaracion>string</numeroDeclaracion>

<tipoDeclaracion>string</tipoDeclaracion>

<codigoAduanaRegistro>string</codigoAduanaRegistro>

<codigoAduanaRegistroDescripcion>string</codigoAduanaRegistroDescripcion>

<codigoAduanaEntradaSalida>string</codigoAduanaEntradaSalida>

<codigoAduanaEntradaSalidaDescripcion>string</codigoAduanaEntradaSalidaDesc

ripcion>

<nombreAgente>string</nombreAgente>

<identificacionAgente>string</identificacionAgente>

<paisDestino>string</paisDestino>

<paisDestinoDescripcion>string</paisDestinoDescripcion>

<paisProcedencia>string</paisProcedencia>

<paisProcedenciaDescripcion>string</paisProcedenciaDescripcion>

<viaTransporte>string</viaTransporte>

<viaTransporteDescripcion>string</viaTransporteDescripcion>

Page 29: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 29

<totalBultos>int</totalBultos>

<cantidadItems>int</cantidadItems>

<fechaRegistro>string</fechaRegistro>

<codigoAduanaDestino>string</codigoAduanaDestino>

<codigoAduanaDestinoDescripcion>string</codigoAduanaDestinoDescripcion>

<numeroManifiesto>string</numeroManifiesto>

<valorFleteTotal>double</valorFleteTotal>

<codigoMonedaFlete>string</codigoMonedaFlete>

<codigoMonedaFleteDescripcion>string</codigoMonedaFleteDescripcion>

<valorSeguroTotal>double</valorSeguroTotal>

<codigoMonedaSeguro>string</codigoMonedaSeguro>

<codigoMonedaSeguroDescripcion>string</codigoMonedaSeguroDescripcion>

<valorFobTotal>double</valorFobTotal>

<codigoMonedaFobTotal>string</codigoMonedaFobTotal>

<codigoMonedaFobTotalDescripcion>string</codigoMonedaFobTotalDescripcion>

<valorTotalCondicionVentaDolares>double</valorTotalCondicionVentaDolares>

<codigoEmbalaje>string</codigoEmbalaje>

<codigoEmbalajeDescripcion>string</codigoEmbalajeDescripcion>

<pesoBrutoTotal>double</pesoBrutoTotal>

<statusDeclaracion>string</statusDeclaracion>

<statusDeclaracionDescripcion>string</statusDeclaracionDescripcion>

<fechaStatus>string</fechaStatus>

<codigoError>int</codigoError>

<fechaArribo>string</fechaArribo>

<canalAsignado>string</canalAsignado>

<canalAsignadoDescripcion>string</canalAsignadoDescripcion>

<fechaRectificacion>string</fechaRectificacion>

<marcaRectificacion>string</marcaRectificacion>

<relacionItems>

<Item>

<numeroItem>string</numeroItem>

<destinacion>string</destinacion>

<destinacionDescripcion>string</destinacionDescripcion>

<codigoPosicionArancelaria>string</codigoPosicionArancelaria>

<pesoTotalLiquido>double</pesoTotalLiquido>

<codigoUnidadMedidaPrecioOficial>string</codigoUnidadMedidaPrecioOficial>

<codigoUnidadMedidaPrecioOficialDescripcion>string</codigoUnidadMedidaPreci

oOficialDescripcion>

<cantidadUnidadesPrecioOficial>double</cantidadUnidadesPrecioOficial>

<codigoUnidadComercializada>string</codigoUnidadComercializada>

<codigoUnidadComercializadaDescripcion>string</codigoUnidadComercializadaDe

scripcion>

<cantidadComercializada>double</cantidadComercializada>

<valorUnitarioComercializado>double</valorUnitarioComercializado>

<unidadEstadistica>string</unidadEstadistica>

<unidadEstadisticaDescripcion>string</unidadEstadisticaDescripcion>

<cantidadUnidadEstadistica>double</cantidadUnidadEstadistica>

<estadoMercaderia>string</estadoMercaderia>

<estadoMercaderiaDescripcion>string</estadoMercaderiaDescripcion>

Page 30: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 30

<tipoPosicionNaladiNaladisa>string</tipoPosicionNaladiNaladisa>

<posicionNaladiNaladisa>string</posicionNaladiNaladisa>

<codigoAcuerdo>string</codigoAcuerdo>

<codigoAcuerdoDescripcion>string</codigoAcuerdoDescripcion>

<descripcionMercaderia>string</descripcionMercaderia>

<valorMonedaNegociacion>double</valorMonedaNegociacion>

<monedaNegociacion>string</monedaNegociacion>

<monedaNegociacionDescripcion>string</monedaNegociacionDescripcion>

<precioOficialUnitario>double</precioOficialUnitario>

<valorBaseDolares>double</valorBaseDolares>

<gravamenEspecifico>double</gravamenEspecifico>

<valorFobItem>double</valorFobItem>

<valorFobItemDolares>double</valorFobItemDolares>

<paisOrigen>string</paisOrigen>

<paisOrigenDescripcion>string</paisOrigenDescripcion>

<paisFacturacion>string</paisFacturacion>

<paisFacturacionDescripcion>string</paisFacturacionDescripcion>

<paisProcedencia>string</paisProcedencia>

<paisProcedenciaDescripcion>string</paisProcedenciaDescripcion>

<codigoCondicionVenta>string</codigoCondicionVenta>

<codigoCondicionVentaDescripcion>string</codigoCondicionVentaDescripcion>

<valorCondicionVentaDolares>double</valorCondicionVentaDolares>

<pac>string</pac>

<rom>string</rom>

<ccPacRom>string</ccPacRom>

<nombreCompradorVendedor>string</nombreCompradorVendedor>

<valorAjusteIncluir>double</valorAjusteIncluir>

<valorAjusteDeducir>double</valorAjusteDeducir>

<viaTransporte>string</viaTransporte>

<viaTransporteDescripcion>string</viaTransporteDescripcion>

<codigoAduanaEntradaSalida>string</codigoAduanaEntradaSalida>

<codigoAduanaEntradaSalidaDescripcion>string</codigoAduanaEntradaSalidaDesc

ripcion>

<monedaFleteItem>string</monedaFleteItem>

<monedaFleteItemDescripcion>string</monedaFleteItemDescripcion>

<valorFleteItem>double</valorFleteItem>

<monedaSeguroItem>string</monedaSeguroItem>

<monedaSeguroItemDescripcion>string</monedaSeguroItemDescripcion>

<valorSeguroItem>double</valorSeguroItem>

<relacionLiquidacionesItem xsi:nil="true" />

<relacionCertificadosPacRom xsi:nil="true" />

</Item>

<Item>

<numeroItem>string</numeroItem>

<destinacion>string</destinacion>

<destinacionDescripcion>string</destinacionDescripcion>

<codigoPosicionArancelaria>string</codigoPosicionArancelaria>

<pesoTotalLiquido>double</pesoTotalLiquido>

<codigoUnidadMedidaPrecioOficial>string</codigoUnidadMedidaPrecioOficial>

<codigoUnidadMedidaPrecioOficialDescripcion>string</codigoUnidadMedidaPreci

oOficialDescripcion>

<cantidadUnidadesPrecioOficial>double</cantidadUnidadesPrecioOficial>

<codigoUnidadComercializada>string</codigoUnidadComercializada>

Page 31: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 31

<codigoUnidadComercializadaDescripcion>string</codigoUnidadComercializadaDe

scripcion>

<cantidadComercializada>double</cantidadComercializada>

<valorUnitarioComercializado>double</valorUnitarioComercializado>

<unidadEstadistica>string</unidadEstadistica>

<unidadEstadisticaDescripcion>string</unidadEstadisticaDescripcion>

<cantidadUnidadEstadistica>double</cantidadUnidadEstadistica>

<estadoMercaderia>string</estadoMercaderia>

<estadoMercaderiaDescripcion>string</estadoMercaderiaDescripcion>

<tipoPosicionNaladiNaladisa>string</tipoPosicionNaladiNaladisa>

<posicionNaladiNaladisa>string</posicionNaladiNaladisa>

<codigoAcuerdo>string</codigoAcuerdo>

<codigoAcuerdoDescripcion>string</codigoAcuerdoDescripcion>

<descripcionMercaderia>string</descripcionMercaderia>

<valorMonedaNegociacion>double</valorMonedaNegociacion>

<monedaNegociacion>string</monedaNegociacion>

<monedaNegociacionDescripcion>string</monedaNegociacionDescripcion>

<precioOficialUnitario>double</precioOficialUnitario>

<valorBaseDolares>double</valorBaseDolares>

<gravamenEspecifico>double</gravamenEspecifico>

<valorFobItem>double</valorFobItem>

<valorFobItemDolares>double</valorFobItemDolares>

<paisOrigen>string</paisOrigen>

<paisOrigenDescripcion>string</paisOrigenDescripcion>

<paisFacturacion>string</paisFacturacion>

<paisFacturacionDescripcion>string</paisFacturacionDescripcion>

<paisProcedencia>string</paisProcedencia>

<paisProcedenciaDescripcion>string</paisProcedenciaDescripcion>

<codigoCondicionVenta>string</codigoCondicionVenta>

<codigoCondicionVentaDescripcion>string</codigoCondicionVentaDescripcion>

<valorCondicionVentaDolares>double</valorCondicionVentaDolares>

<pac>string</pac>

<rom>string</rom>

<ccPacRom>string</ccPacRom>

<nombreCompradorVendedor>string</nombreCompradorVendedor>

<valorAjusteIncluir>double</valorAjusteIncluir>

<valorAjusteDeducir>double</valorAjusteDeducir>

<viaTransporte>string</viaTransporte>

<viaTransporteDescripcion>string</viaTransporteDescripcion>

<codigoAduanaEntradaSalida>string</codigoAduanaEntradaSalida>

<codigoAduanaEntradaSalidaDescripcion>string</codigoAduanaEntradaSalidaDesc

ripcion>

<monedaFleteItem>string</monedaFleteItem>

<monedaFleteItemDescripcion>string</monedaFleteItemDescripcion>

<valorFleteItem>double</valorFleteItem>

<monedaSeguroItem>string</monedaSeguroItem>

<monedaSeguroItemDescripcion>string</monedaSeguroItemDescripcion>

<valorSeguroItem>double</valorSeguroItem>

<relacionLiquidacionesItem xsi:nil="true" />

<relacionCertificadosPacRom xsi:nil="true" />

</Item>

</relacionItems>

Page 32: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 32

<relacionEmbarques>

<Embarque>

<documentoTransporte>string</documentoTransporte>

<identificacionVehiculo>string</identificacionVehiculo>

<fechaEmbarque>string</fechaEmbarque>

</Embarque>

<Embarque>

<documentoTransporte>string</documentoTransporte>

<identificacionVehiculo>string</identificacionVehiculo>

<fechaEmbarque>string</fechaEmbarque>

</Embarque>

</relacionEmbarques>

<relacionMarcasYNumeros>

<MarcasYNumeros>

<marcasYNumeros>string</marcasYNumeros>

<codigoBulto>string</codigoBulto>

<codigoBultoDescripcion>string</codigoBultoDescripcion>

<cantidadBultos>int</cantidadBultos>

</MarcasYNumeros>

<MarcasYNumeros>

<marcasYNumeros>string</marcasYNumeros>

<codigoBulto>string</codigoBulto>

<codigoBultoDescripcion>string</codigoBultoDescripcion>

<cantidadBultos>int</cantidadBultos>

</MarcasYNumeros>

</relacionMarcasYNumeros>

<relacionLiquidaciones>

<Liquidacion>

<tipoTributo>string</tipoTributo>

<tipoTributoDescripcion>string</tipoTributoDescripcion>

<modalidadLiquidacion>string</modalidadLiquidacion>

<modalidadLiquidacionDescripcion>string</modalidadLiquidacionDescripcion>

<totalTributo>double</totalTributo>

</Liquidacion>

<Liquidacion>

<tipoTributo>string</tipoTributo>

<tipoTributoDescripcion>string</tipoTributoDescripcion>

<modalidadLiquidacion>string</modalidadLiquidacion>

<modalidadLiquidacionDescripcion>string</modalidadLiquidacionDescripcion>

<totalTributo>double</totalTributo>

</Liquidacion>

</relacionLiquidaciones>

</consultadeclaracionResult>

</consultadeclaracionResponse>

</soap:Body>

</soap:Envelope>

4.2.7.3 consultaimportacionesasociadas Information about the declarations related to an Export Documentation. When declaring an import from a partner country, it is mandatory that the person making the declaration submit the export documentation identification that originates said declaration. Using this, the imports related to certain export documentation can be verified.

Page 33: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 33

STRUCTURE OF THE ENTRY PARAMETERS

POST /DIA/WS/ServicioIndira/ServicioIndira.asmx HTTP/1.1

Host: localhost

Content-Type: text/xml; charset=utf-8

Content-Length: length

SOAPAction:

"http://serviciosmercosur.indira/consultaimportacionesasociadas"

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xmlns:xsd="http://www.w3.org/2001/XMLSchema"

xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

<soap:Body>

<consultaimportacionesasociadas

xmlns="http://serviciosmercosur.indira">

<autenticacion />

<numeroDeclaracionExpo>string</numeroDeclaracionExpo>

</consultaimportacionesasociadas>

</soap:Body>

</soap:Envelope>

ENTRY PARAMETERS Table 6 – consultaimportacionesasociadas Entry Parameters.

Parameter Description Type Obligation Comments numeroDeclaracionExpo

Identifier intra-zone export declaration

C(16) 5

STRUCTURE OF THE EXIT PARAMETERS

HTTP/1.1 200 OK

Content-Type: text/xml; charset=utf-8

Content-Length: length

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xmlns:xsd="http://www.w3.org/2001/XMLSchema"

xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

<soap:Body>

<consultaimportacionesasociadasResponse

xmlns="http://serviciosmercosur.indira">

<consultaimportacionesasociadasResult>

<numeroDeclaracionExpo>string</numeroDeclaracionExpo>

<codigoError>int</codigoError>

<relacionDeclaracionesImpExp>

<DeclaracionImpExp>

<numeroDeclaracion>string</numeroDeclaracion>

<tipoDeclaracion>string</tipoDeclaracion>

<nombreImpExp>string</nombreImpExp>

<identificacionImpExp>string</identificacionImpExp>

<fechaRegistro>string</fechaRegistro>

<pac>string</pac>

<rom>string</rom>

Page 34: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 34

</DeclaracionImpExp>

<DeclaracionImpExp>

<numeroDeclaracion>string</numeroDeclaracion>

<tipoDeclaracion>string</tipoDeclaracion>

<nombreImpExp>string</nombreImpExp>

<identificacionImpExp>string</identificacionImpExp>

<fechaRegistro>string</fechaRegistro>

<pac>string</pac>

<rom>string</rom>

</DeclaracionImpExp>

</relacionDeclaracionesImpExp>

</consultaimportacionesasociadasResult>

</consultaimportacionesasociadasResponse>

</soap:Body>

</soap:Envelope>

4.2.7.4 consultaDestinacionesCertificado Verification of the declarations by:

Tariff code, Date, Type of declaration, Type of certificate, Tax identification number of the importer/exporter and Country of shipment/destination.

STRUCTURE OF THE ENTRY PARAMETERS

POST /DIA/WS/ServicioIndira/ServicioIndira.asmx HTTP/1.1

Host: localhost

Content-Type: text/xml; charset=utf-8

Content-Length: length

SOAPAction:

"http://serviciosmercosur.indira/consultaDestinacionesCertificado"

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xmlns:xsd="http://www.w3.org/2001/XMLSchema"

xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

<soap:Body>

<consultaDestinacionesCertificado

xmlns="http://serviciosmercosur.indira">

<autenticacion />

<desdeFecha>string</desdeFecha>

<hastaFecha>string</hastaFecha>

<tipoCertificado>string</tipoCertificado>

<tipoDeclaracion>string</tipoDeclaracion>

<identificacionImpExp>string</identificacionImpExp>

<codigoPosicionArancelaria>string</codigoPosicionArancelaria>

<pais>string</pais>

<ultimoNumeroDeclaracion>string</ultimoNumeroDeclaracion>

</consultaDestinacionesCertificado>

</soap:Body>

</soap:Envelope>

Page 35: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 35

ENTRY PARAMETERS Table 7 – consultaDestinacionesCertificado Entry Parameters.

Parameter Description Type Obligation

Comments

desdeFecha Date of the declaration

C(8) S

hastaFecha Date of the declaration

C(8) S

tipoCertificado Type of certificate C(1) S P= PAC, R= ROM, T= all

tipoDeclaracion Type of declaration C(1) S I= import, E= export codigoPosicionArancelaria NCM C(10) N identificacionImpExp Identifier of the

import/export C(11) N

pais Country of origin/destination

C(3) N The charts of the countries are exchanged. If NULL is sent, all will be considered

ultimoNumeroDeclaracion Last declaration number in the page

C(16) S If NULL is entered, it is the 1st page (300 registries), if not the following 300

STRUCTURE OF THE EXIT RESULT

HTTP/1.1 200 OK

Content-Type: text/xml; charset=utf-8

Content-Length: length

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xmlns:xsd="http://www.w3.org/2001/XMLSchema"

xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

<soap:Body>

<consultaDestinacionesCertificadoResponse

xmlns="http://serviciosmercosur.indira">

<consultaDestinacionesCertificadoResult>

<codigoError>int</codigoError>

<codigoPosicionArancelaria>string</codigoPosicionArancelaria>

<desdeFecha>string</desdeFecha>

<hastaFecha>string</hastaFecha>

<identificacionImpExp>string</identificacionImpExp>

<relacionDestinaciones>

<DestinacionesImpExpCertificado>

<ccPac>string</ccPac>

<ccRom>string</ccRom>

<fechaRegistro>string</fechaRegistro>

<identificacionImpExp>string</identificacionImpExp>

<nombreImpExp>string</nombreImpExp>

<numeroDeclaracion>string</numeroDeclaracion>

<tipoDeclaracion>string</tipoDeclaracion>

</DestinacionesImpExpCertificado>

<DestinacionesImpExpCertificado>

<ccPac>string</ccPac>

<ccRom>string</ccRom>

<fechaRegistro>string</fechaRegistro>

<identificacionImpExp>string</identificacionImpExp>

Page 36: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 36

<nombreImpExp>string</nombreImpExp>

<numeroDeclaracion>string</numeroDeclaracion>

<tipoDeclaracion>string</tipoDeclaracion>

</DestinacionesImpExpCertificado>

</relacionDestinaciones>

<tipoCertificado>string</tipoCertificado>

<tipoDeclaracion>string</tipoDeclaracion>

<pais>string</pais>

<ultimoNumeroDeclaracion>string</ultimoNumeroDeclaracion>

</consultaDestinacionesCertificadoResult>

</consultaDestinacionesCertificadoResponse>

</soap:Body>

</soap:Envelope>

4.2.7.5 consultaCertificado Verification of the movements (import/export) related to a CCPAC/CCROM certificate. STRUCTURE OF THE ENTRY PARAMETERS

POST /DIA/WS/ServicioIndira/ServicioIndira/ServicioIndira.asmx HTTP/1.1

Host: localhost

Content-Type: text/xml; charset=utf-8

Content-Length: length

SOAPAction: "http://serviciosmercosur.indira/consultaCertificado"

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xmlns:xsd="http://www.w3.org/2001/XMLSchema"

xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

<soap:Body>

<consultaCertificado xmlns="http://serviciosmercosur.indira">

<autenticacion />

<certificadoPacRom>string</certificadoPacRom>

<pais>string</pais>

<tipoDeclaracion>string</tipoDeclaracion>

</consultaCertificado>

</soap:Body>

</soap:Envelope>

ENTRY PARAMETERS Table 8 – consultaCertificado Entry Parameters.

Parameter Description Type Obligation

Comments

certificadoPacRom Identifier certificate CCPAC/CCROM

C(21) S

pais Country of origin/destination

C(3) N The charts of the countries are exchanged. If NULL is sent, all will be considered

tipoDeclaracion Type of declaration C(1) S I= import, E= export, T= all

Page 37: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 37

STRUCTURE OF THE EXIT RESULT

HTTP/1.1 200 OK

Content-Type: text/xml; charset=utf-8

Content-Length: length

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xmlns:xsd="http://www.w3.org/2001/XMLSchema"

xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

<soap:Body>

<consultaCertificadoResponse xmlns="http://serviciosmercosur.indira">

<consultaCertificadoResult>

<ccPacRom>string</ccPacRom>

<codigoError>int</codigoError>

<pais>string</pais>

<stockCertificado>

<ccPacRom>string</ccPacRom>

<relacionItemCertificados>

<ItemCertificado xsi:nil="true" />

<ItemCertificado xsi:nil="true" />

</relacionItemCertificados>

</stockCertificado>

<tipoDeclaracion>string</tipoDeclaracion>

</consultaCertificadoResult>

</consultaCertificadoResponse>

</soap:Body>

</soap:Envelope>

4.3 Data Cluster Layer Table 9 – Data Set.

Name Declaration Characteristic Description numeroDeclaracion Identification of the Customs Declaration used

by each Country. Each country has its own rules to create the declaration ID.

tipoDeclaracion Type of Declaration (I: import / E: export). codigoAduanaRegistro Code of the Customs, where the declaration is

registered. codigoAduanaRegistroDescripcion Description of the Customs. codigoAduanaEntradaSalida Code of the Customs where the goods

enter/exit. codigoAduanaEntradaSalidaDescripcion Description of the entry/exit Customs. nombreAgente Name of the Importer / Exporter (description

of the legal entity’s name or individual’s first and last name).

identificacionAgente Tax identification number of the importer / exporter whether it is a legal entity or an individual.

paisDestino Code of the country where the goods will be

Page 38: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 38

delivered (Country of Destination). paisDestinoDescripcion Description of the country where the goods

will be delivered (Country of Destination). paisProcedencia Code of the country from where the goods

were shipped to the import country, without any kind of commercial transactions or any other operation that could modify their legal status.

paisProcedenciaDescripcion Description of the country from where the goods were shipped.

viaTransporte Code of the transportation method. viaTransporteDescripcion Description of the transportation method

(truck, airplane, watercraft, etc.). totalBultos Amount of packages, it refers to the quantity

of pieces where the declared goods are packed.

cantidadItems Amount of items. fechaRegistro Date of registration or validation of the

Customs declaration, according to the Customs legislation.

codigoAduanaDestino Code of the destination Customs in the Member States.

codigoAduanaDestinoDescripcion Description of destination Customs. numeroManifiesto Manifest identifier. valorFleteTotal Total freight value in the transaction

currency. codigoMonedaFlete Freight currency. (Code of the currency used). codigoMonedaFleteDescripcion Description of the freight currency. valorSeguroTotal Total insurance value in the transaction

currency. codigoMonedaSeguro Insurance code currency. codigoMonedaSeguroDescripcion Description of the insurance currency. valorFobTotal Total FOB value in the transaction or contract

currency. codigoMonedaFobTotal Total FOB value currency code. codigoMonedaFobTotalDescripcion Description of the total FOB value currency. valorTotalCondicionVentaDolares Total sale value in dollars according to the

declared INCOTERM. codigoEmbalaje Code of the type of package. The containers

are not considered package. codigoEmbalajeDescripcion Description of the type of package. pesoBrutoTotal Total gross weight of the goods expressed in

kilograms. The gross weight includes the weight of the goods as they have been packed for transportation plus the weight of packages and covers.

statusDeclaracion Code of the declaration status. statusDeclaracionDescripcion Description of the declaration status

(validated, cancelled, fulfilled, etc.). fechaStatus Status date of the declaration. codigoError Error Code.

Page 39: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 39

fechaArribo Arrival date of the carrier to the port, airport, or unloading dock, in the Customs territory of the Country where the Import declaration is registered.

canalAsignado Selectivity channel assigned by the Customs Service to the Customs declarations.

canalAsignadoDescripcion Description of the assigned channel. fechaRectificacion Rectification date. marcaRectificacion Rectification mark (not yet available).

Name : Item

Characteristic Description

numeroItem Item definition: group of goods that have the same tariff code, INCOTERM, tax and legal treatment, place of shipment, state of the goods, and are commercialized in the same sale unit. Item number: it refers to the numerical sequence that differentiates each item into the declaration.

destinacion Code that identifies the type of operation. Each country uses its own code.

destinacionDescripcion Description of the type of declaration

codigoPosicionArancelaria Tariff code (NCM for MERCOSUR Countries), current at the time of the registration of the declaration

pesoTotalLiquido Net weight in kilograms.

codigoUnidadMedidaPrecioOficial Code of the measurement unit for the goods with official FOB value. Applied to some Argentina exports.

codigoUnidadMedidaPrecioOficialDescripcion Description of the official measurement unit.

cantidadUnidadesPrecioOficial Amount of units according to the unit defined for the goods with official price.

codigoUnidadComercializada Code of the measurement unit for the commercialization of the goods according to the commercial invoice.

codigoUnidadComercializadaDescripcion Description of the commercialized unit.

cantidadComercializada Amount of units according to the commercialized unit.

valorUnitarioComercializado Unit value of the goods per item, expressed in the commercial invoice currency.

unidadEstadistica Type of statistics unit assigned to the goods according to the last recommendation of the Customs Cooperation Council (WCO).

unidadEstadisticaDescripcion Description of the statistic unit.

cantidadUnidadEstadistica Amount of statistic units.

Page 40: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 40

estadoMercaderia Code that registers the state of the goods. For example: new or used.

estadoMercaderiaDescripcion Description of the state of the goods.

tipoPosicionNaladiNaladisa Type of nomenclature tariff (NALADI, NALADISA) (Applicable when the goods are imported under the benefits of an Agreement.

posicionNaladiNaladisa Tariff code in the Agreement nomenclature.

codigoAcuerdo Agreement code; code of the agreement list (ALADI, GATT).

codigoAcuerdoDescripcion Agreement code description.

descripcionMercaderia Description of the goods: description of the nature of the goods. This section includes the tariff code texts plus complementary information previously codified, and other information codified by the Customs service.

valorMonedaNegociacion Taxable base in the currency of the commercial transaction.

monedaNegociacion Currency code of the commercial transaction.

monedaNegociacionDescripcion Description of the currency used in the commercial transaction.

precioOficialUnitario Official unit Price.

valorBaseDolares Taxable base in US dollars.

gravamenEspecifico Specific duty.

valorFobItem FOB value of the item in the currency of the commercial invoice.

valorFobItemDolares FOB value of the item in US dollars.

paisOrigen Code of the country of origin of the goods.

paisOrigenDescripcion Description of the country of origin.

paisFacturacion In import declarations is the country where the invoice was issued. In export declarations, is the invoice country of destination.

paisFacturacionDescripcion Description of the country wher the invoice was issued or destined.

paisProcedencia Code of the country from where the goods were shipped to the import country, without any kind of commercial transactions or any other operation that could modify their legal status.

paisProcedenciaDescripcion Country of shipment code description.

codigoCondicionVenta Code of the INCOTERM used.

codigoCondicionVentaDescripcion Description of the INCOTERM used.

valorCondicionVentaDolares Value in US dollars according the declared INCOTERM.

pac Indicator of the Certificate of Accomplishment of the Common Tariff Policy (CCPAC); indicator used to register the fulfillment of the common tax policy. Only used among MERCOSUR members.

Page 41: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 41

rom Indicator of the Certificate of Accomplishment of the MERCOSUR Origin Regime (CCROM); indicator used to register the fulfillment of the MERCOSUR origin regime. Only used among MERCOSUR members.

ccPacRom Indicator of the CCPAC / CCROM certificate.

nombreCompradorVendedor Import: name, name of the legal entity or individual that provides the goods. Export: name, name of the legal entity or individual that purchases the goods.

valorAjusteIncluir It is the amount of the adjustment to be added to the FOB (export) or CIF (import) value to form the taxable base.

valorAjusteDeducir It is the amount of the adjustment to be deducted to the FOB (export) or CIF (import) value to form the taxable base.

viaTransporte Code of the transportation method.

viaTransporteDescripcion Description of the transportation method (truck, airplane, watercraft, etc.).

codigoAduanaEntradaSalida Customs jurisdiction code for the entry/ exit of the goods.

codigoAduanaEntradaSalidaDescripcion Description of the entry/exit Customs jurisdiction.

monedaFleteItem Code of the currency used in the freight transaction/contract.

monedaFleteItemDescripcion Description of the freight currency.

valorFleteItem Value of the international freight in the currency of the transaction.

monedaSeguroItem Code of the insurance currency.

monedaSeguroItemDescripcion Description of the insurance currency.

valorSeguroItem Value of the international insurance in the currency of the transaction.

Name: LiquidacionItem

Characteristic Description

tipoTributo Code that identifies the tax paid (import duty, VAT, etc.).

tipoTributoDescripcion Description of the tax type.

modalidadLiquidacion Code that indicates if tax has to be paid or guaranteed.

modalidadLiquidacionDescripcion Description of the type of settlement.

alicuotaBaseAplicada Rate corresponding to the tax to be applied to the taxable base to obtain the amount to pay/guarantee.

importeTributo Amount of the tax.

Name: CertificadoPacRom

Characteristic Description

Page 42: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 42

indicadorPacRom Indicator of the type of Certificate. Only used in the MERCOSUR.

certificado PAC/ROM Certificate ID (MERCOSUR only).

codigoUnidadEstadistica Type of statistics unit assigned to the goods according to the last recommendation of the Customs Cooperation Council (WCO).

codigoUnidadEstadisticaDescripcion Description of the statistics unit.

cantidadEstadistica Amount of statistics units related to the certificate.

Name: Embarque

Characteristic Description

documentoTransporte

Identifier of the transport documentation. The waybill and the bill of lading are transport documentation. The manifest is the cover that has one or more transport documentation

identificacionVehiculo

Identification of the carrier; it is the only reference to the vehicle, vessel or other devise used for the international transportation of goods. In the case of air transportation, it is necessary to mention the flight number; in the case of maritime, river and lake transportation, it is necessary to mention the name of the vessel; in the case of the road and train transportation, it is necessary to mention the plate number

fechaEmbarque Shipment date. Only applicable to the exports

Name: MarcasYNumeros

Characteristic Description

marcasYNumeros Marks and numbers; applicable to the goods that are not containerized. They must have marks and identification numbers

codigoBulto Code that identifies the package

codigoBultoDescripcion Code of the package Description.

cantidadBultos Amount of packages; amount of packages that contain the declared goods

Name Liquidacion Characteristic Description

tipoTributo Code that identifies the tax paid (export duty, VAT, etc.)

tipoTributoDescripcion Description of the type of tax

modalidadLiquidacion Code that identifies if the tax is to be paid, guaranteed, etc.

modalidadLiquidacionDescripcion Description of the settlement method. totalTributo Total amount of the tax

Name DestinacionesImpoAsociadas Characteristic Description

Page 43: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 43

numeroDeclaracion Declaration number Codigoerror Error code relacionDeclaracionesImpExp Array of the import/export declarations

(DeclaracionExp)

Name DeclaracionImpExp Characteristic Description numeroDeclaracion Identification of the import declaration related tipoDeclaracion Type of declaration (import) nombreImpExp Name of the importer/exporter (description of the

name of the legal entity or first and last name of the individual)

identificacionImpExp Tax identification number of the importer/exporter in each country, whether it is a legal entity or an individual

fechaRegistro Registration or validation date that appears in the Customs declaration

ccPac Indicator of the Certificate of Accomplishment of the Common Tariff Policy (CCPAC). Only used in the Mercosur

ccRom Indicator of the Certificate of Accomplishment of the Mercosur Origin Regime (CCROM). Only used in the Mercosur

Name DestinacionesCertificado Characteristic Description codigoError Error code codigoPosicionArancelaria Tariff code (NCM). Classification of goods stated in

the Mercosur Common Nomenclature, current at the time of the registration of the declaration

desdeFecha Since date (registration) hastaFecha Until date (registration) identificacionImpExp Tax identification number of the

Importer/exporter. relacionDestinaciones Array of the import/export destinations

(DeclaracionImpExp). tipoCertificado Type of certificate (P= CCPAC/ R= CCROM / T=

All) tipoDeclaracion Type of declaration (I= Import / E= Export / T=

All) pais Country of origin/destination ultimoNumeroDeclaracion Last declaration number (pagination)

Name Certificado Characteristic Description ccPacRom Certified identifier codigoError Error code Pais Country of origin/destination tipoDeclaracion Type of declaration (import/export) relacionStockCertificado Array (StockCertificado)

Page 44: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 44

Name StockCertificado Characteristic Description ccPacRom Certified identifier relacionItemCertificados Array (StockCertificado)

Name ItemCertificado Characteristic Description cantidad Amount of statistic units codigoPosicionArancelaria Tariff code (NCM). Classification of goods stated in

the Mercosur Common Nomenclature, current at the time of the registration of the declaration

codigoUnidadEstadistica Type of statistics unit assigned to the goods according to the last recommendation of the Customs Cooperation Council (WCO).

codigoUnidadEstadisticaDescripcion Description of the statistic units numeroDeclaracion Declaration identifier numeroItem Item number tipoCertificado Type of certificate (P= CCPAC/ R= CCROM / T=

All) tipoDeclaracion Type of declaration (I= Import / E= Export / T=

All) Name ItemCertificado Characteristic Description cantidad Amount of statistic units codigoPosicionArancelaria Tariff code (NCM). Classification of goods stated in

the Mercosur Common Nomenclature , current at the time of the registration of the declaration

codigoUnidadEstadistica Type of statistics unit assigned to the goods according to the last recommendation of the Customs Cooperation Council (WCO).

codigoUnidadEstadisticaDescripcion Description of the statistic units numeroDeclaracion Declaration identifier numeroItem Item number tipoCertificado Type of certificate (P= CCPAC/ R= CCROM / T=

All) tipoDeclaracion Type of declaration (I= Import / E= Export / T=

All) Name ItemCertificado Characteristic Description cantidad Amount of statistic units codigoPosicionArancelaria Tariff code (NCM). Classification of goods stated in

the Mercosur Common Nomenclature , current at the time of the registration of the declaration

codigoUnidadEstadistica Type of statistics unit assigned to the goods according to the last recommendation of the Customs Cooperation Council (WCO).

codigoUnidadEstadisticaDescripcion Description of the statistic units numeroDeclaracion Declaration identifier numeroItem Item number tipoCertificado Type of certificate (P= CCPAC/ R= CCROM / T=

All)

Page 45: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 45

tipoDeclaracion Type of declaration (I= Import / E= Export / T= All)

4.4 Trigger Layer Events that either starts the data flow, or respond to data receipt. The event that launches the data interchange is shown in the following steps: A Customs officer from the requesting partner launches a query in his own Customs

Service’s web application.

The web application calls to the web service of authentication and authorization to get a ticket.

Then, the web application calls to the web service of the partner from which information is required, identifying itself with the ticket previously obtained.

The web service answers according to the Web Method and parameters selected.

The web application of the requesting State receives the answer and shows it to the Customs officer.

5 IT Process 5.1 Interface How the parties in a GNC relationship are connected The connection between the partners is done through the interaction of Web Services consuming information from both the Customs Informatics Systems of the partners. The information exchange works as follows:

a) Each partner develops a web application to perform the queries described in 4.2.2 and 4.2.7

b) When an operator launches a query, the web application of the requesting partner calls the WSAA (Web Service of Authentication and Authorization) identifies itself and gets a ticket (token).

c) Then, the web application calls the web service developed for the answering partner, authenticating itself with the ticket, in order to execute the selected query.

d) The query is executed in the database of the answering partner and the result is taken for the web application of the requesting partner and showed to the operator.

Page 46: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 46

The communication is made through the Internet, using https protocol. Each partner develops its own web applications with its own security layers to identify the officials that are allowed to access the system. As an example are shown some screens from Argentina’s application. ARGENTINA CUSTOMS SERVICE APPLICATION'S QUERY: INDIVIDUAL DECLARATION DATA

Fig. 4 – Individual Declaration Data query.

Page 47: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 47

Fig. 5 – Individual Declaration Data query.

Page 48: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 48

QUERY: CUSTOMS DECLARATIONS

Fig.6 – Customs Declaration query (Type of declaration: import)

QUERY: IMPORT DECLARATION ASSOCIATED TO AN EXPORT DECLARATION

Fig. 7 – Import declaration associated to en export declaration

Page 49: GLOBALLY NETWORKED CUSTOMS UTILITY BLOK INDIRA …

GNC Utility Block – INDIRA SYSTEM

05/02/2015 Version 7.0 49

5.2 Communication

Fig. 8 – Communication Diagram.

6. Governance To be completed in next version. 7. Integration To be completed in next version. 8. Capacity Building To be completed in next version.

WEB APPLICATION

PARTNER #1

PARTNER #2

HTTPS

Request

Request

Response

Response

WS AA WS INDIRA

HTTPS

INTERNET