certificate of origin - apps.certificadoecool.com.br

89
1 Document version: 2.42 Federation of Industries of the State of São Paulo Department of Trade and Foreign Affairs Systems and Information Management Certificate of Origin Data Import

Upload: others

Post on 17-Jul-2022

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Certificate of Origin - apps.certificadoecool.com.br

1

Document version: 2.42

Federation of Industries of the State of São Paulo Department of Trade and Foreign Affairs

Systems and Information Management

Certificate of Origin

Data Import

Page 2: Certificate of Origin - apps.certificadoecool.com.br

2

Document version: 2.42

Data Import Service https://homolog.certificadoecool.com.br/Services/ServImportacao.asmx

The data import service allows companies to connect their systems with ours, facilitating the process of sending documents - certificates and

sworn declarations.

It is important to note that the files should be sent in batches (meaning several processes converted into one XML file) and they must follow

carefully the XSD schema, that provides the structure and basic validation to your file, containing required and optional fields, data types and others.

Obs: all methods requires that the user is logged with the same login and password used on certificadoecool.com.br.

Additional information: https://apps.certificadoecool.com.br/help

XSD file: https://homolog.certificadoecool.com.br/Services/Schema/v1_0/Importacao.xsd (after accesing the link, please right-click the

browser screen and choose the option “VIEW PAGE SOURCE” to be able to view the XSD correctly).

Page 3: Certificate of Origin - apps.certificadoecool.com.br

3

Document version: 2.42

The following flowcharts reflect the process with an overview of the steps that precede the Sworn Declaration and Certificate of Origin

import, respectively. For both scenarios it is necessary to perform the data download of the unique identifiers and their correspondence, so it’s

recommended to do so before importing documents.

SWORN DECLARATION’S IMPORT - FLOWCHART

Page 4: Certificate of Origin - apps.certificadoecool.com.br

4

Document version: 2.42

CERTIFICATE OF ORIGIN’S IMPORT FLOWCHART

Page 5: Certificate of Origin - apps.certificadoecool.com.br

5

Document version: 2.42

Batch Import https://homolog.certificadoecool.com.br/Services/ServImportacao.asmx?op=ImportarLote

Detailed XML data

# Field Description Type Size Comments and Validations

Batch

1 <XLoteImportacao> Import data batch, including the complete list of sworn declarations and certificates to be sent into the system.

1.1 <Declaracoes> List of sworn declarations to process. XDeclaracoes <xsd:element name="Declaracoes" minOccurs="0" maxOccurs="1"

type="XDeclaracoes" />

1.2 <Certificados> List of certificates to process. XCertificados <xsd:element name="Certificados" minOccurs="0" maxOccurs="1"

type="XCertificados" />

1.3 <Importadores> List of importers to process. XImportadores <xsd:element name="Importadores" minOccurs="0" maxOccurs="1"

type="XImportadores" />

1.4 Lote For companies that are working with an internal reference/batch number.

Integer <xsd:attribute name="Lote" type="xsd:int" use="optional">

1.5 Versao Import layout version. Please use “1”. Decimal <xsd:attribute name="Versao" type="xsd:decimal" use="optional">

Declarations

2 <XDeclaracoes> List of sworn declarations to process into the system.

2.1 <Declaracao> Sworn declaration data. XDeclaracao <xsd:element name="Declaracao" minOccurs="1" maxOccurs="unbounded"

type="XDeclaracao" />

Declarations

3 <XDeclaracao> Sworn declaration data.

3.1 <CnpjEmpresa> Corporate tax number of the company responsible for the sworn declaration.

String 14 <xsd:element name="CnpjEmpresa" minOccurs="1" maxOccurs="1"

type="xsd:string">

3.2 <CodigoEmpresa> Internal reference of the company, if available.

String 50 <xsd:element name="CodigoEmpresa" minOccurs="0" maxOccurs="1"

type="xsd:string">

3.3 <TipoDeclaracao> Indicates the type of sworn declaration. If not informed, it’ll automatically transmit as “printed”.

XTipoDeclaracao

<xsd:element name="TipoDeclaracao" minOccurs="0" maxOccurs="1"

type="XTipoDeclaracao">

3.4 <Ambito> Sworn declaration scope. XAmbito <xsd:element name="Ambito" minOccurs="1" maxOccurs="1" type="XAmbito">

3.5 <TipoClassificacao> Type of product classification. XTipoClassificacao

<xsd:element name="TipoClassificacao" minOccurs="0" maxOccurs="1"

type="XTipoClassificacao">

Page 6: Certificate of Origin - apps.certificadoecool.com.br

6

Document version: 2.42

3.6 <NomesProduto> Product’s description. XNomesProduto

<xsd:element name="NomesProduto" minOccurs="1" maxOccurs="1"

type="XNomesProduto">

3.7 <Classificacoes> List of product classifications. XClassificacoes <xsd:element name="Classificacoes" minOccurs="1" maxOccurs="1"

type="XClassificacoes">

3.8 <FabricacaoPropria> Indicates if the product was manufactured by the exporter, responsible for the sworn declaration, or not.

XConfirmacao <xsd:element name="FabricacaoPropria" minOccurs="1" maxOccurs="1"

type="XConfirmacao">

3.9 <IdDeclaracaoFabricante> If the company is not the product manufacturer, they need to link their sworn declaration to the manufacturers, using the ID provided in the system.

Integer <xsd:element name="IdDeclaracaoFabricante" minOccurs="0" maxOccurs="1"

type="xsd:int">

ID of the manufacturer’s sworn declaration needs to be downloaded throught the system’s export services, using the ExportarDeclaracaoFabricante method.

3.10 <Industrializado> Indicates if the product is industrialized. XConfirmacao <xsd:element name="Industrializado" minOccurs="0" maxOccurs="1"

type="XConfirmacao">

3.11 <Automotivo> Indicates whether the product is automotive or not.

XConfirmacao <xsd:element name="Automotivo" minOccurs="0" maxOccurs="1"

type="XConfirmacao">

3.12 <TipoAutomotivo> If indicated as “automotive”, the type of the product must be selected (vehicle, set/subset or part).

XTipoAutomotivo

<xsd:element name="TipoAutomotivo" minOccurs="0" maxOccurs="1"

type="XTipoAutomotivo">

3.13 <ConceitoNovoModelo> Indicates if the product, selected as “vehicle” or “set/subset”, is a “New Model”, according to the concept.

XConfirmacao <xsd:element name="ConceitoNovoModelo" minOccurs="0" maxOccurs="1" type="XConfirmacao">

3.14 <PeriodoLancamento> If indicated as a “New Model”, select the period – if it’s the 1st, 2nd or 3rd year of launch.

XPeriodoLancamentoOpcoes

<xsd:element name="PeriodoLancamento" minOccurs="0" maxOccurs="1" type="XPeriodoLancamentoOpcoes">

3.15 <Blindado> Indicates if the product is armoured or not. Should be filled only if it fits in “New Model” concept and the launch period it’s between 1 and 3 years.

XConfirmacao <xsd:element name="Blindado" minOccurs="0" maxOccurs="1" type="XConfirmacao">

3.16 <FobMinimo> Minimum FOB value of the product. Decimal <xsd:element name="FobMinimo" minOccurs="1" maxOccurs="1"

type="xsd:decimal">

3.17 <FobMaximo> Maximum FOB value of the product. Decimal <xsd:element name="FobMaximo" minOccurs="1" maxOccurs="1"

type="xsd:decimal">

3.18 <AutomotivoControladoPorQuotas>

If marked as automotive and set/subset or vehicle, indicates if the product is controlled by quotas.

XConfirmacao <xsd:element name="AutomotivoControladoPorQuotas" minOccurs="0" maxOccurs="1" type="XConfirmacao">

3.19 <InsumoControladoPorQuotas>

A Value that indicates if the Input is controlled by quotas

XConfirmacao <xsd:element name="InsumoControladoPorQuotas" minOccurs="0"

maxOccurs="1" type="XConfirmacao">

3.20 <Insumos> Inputs and raw materials. XInsumos <xsd:element name="Insumos" minOccurs="1" maxOccurs="1" type="XInsumos">

3.21 <ProcessoProdutivo> Brief description of the production process of the inputs and raw materials.

String 1800 <xsd:element name="ProcessoProdutivo" minOccurs="0" maxOccurs="1"

type="xsd:string">

Page 7: Certificate of Origin - apps.certificadoecool.com.br

7

Document version: 2.42

3.22 <NomesComerciais> List of commercial names, if available. XNomesComerciais

<xsd:element name="NomesComerciais" minOccurs="0" maxOccurs="1"

type="XNomesComerciais">

3.23 <Exportadores> If the company is only the manufacturer of the product, they should list all the exporters (by their Corporate tax number) that will be using his sworn declaration.

XExportadores <xsd:element name="Exportadores" minOccurs="1" maxOccurs="1"

type="XExportadores">

3.24 <PartNumbers> List of part numbers, if available. XPartNumbers <xsd:element name="PartNumbers" minOccurs="0" maxOccurs="1"

type="XPartNumbers">

3.25 Id Sworn declaration ID. This field won’t be filled.

Integer <xsd:attribute name="Id" type="xsd:int" use="optional">

3.26 <Conjunto> A value that indicates if the product it’s a group. Just utilizated in specified agreement, like Mercosul-Egito.

XConfirmacao <xsd:element name="Conjunto" minOccurs="0" maxOccurs="1"

type="XConfirmacao">

3.27 <ZonaFranca> A Value that indicates if the product is from a free zone

XConfirmacao <xsd:element name="ZonaFranca" minOccurs="0" maxOccurs="1"

type="XConfirmacao">

3.28 <InformacaoAdicional> Optional information for the technician. String 8000 <xsd:element name="InformacaoAdicional" minOccurs="0" maxOccurs="1"

type="xsd:string">

3.29 <ArquivosAnexo> Optional list of files for the technician. XArquivosAnexos

<xsd:element name="ArquivosAnexo" minOccurs="0" maxOccurs="1"

type="XArquivosAnexos">

3.30 <MotorizacaoAlternativa> A Value that indicates if the product have a Alternate Engine

XConfirmacao <xsd:element name="MotorizacaoAlternativa " minOccurs="0" maxOccurs="1"

type="XConfirmacao">

Declaration’s type

4 <XTipoDeclaracao> Indicates the types of sworn declarations.

<xsd:simpleType name="XTipoDeclaracao">

<xsd:restriction base="xsd:string">

<xsd:enumeration value="Digital"/>

<xsd:enumeration value="Impressa"/>

</xsd:restriction>

</xsd:simpleType>

Scope

5 <XAmbito> Sworn declaration scope. <xsd:simpleType name="XAmbito">

<xsd:restriction base="xsd:string">

<xsd:enumeration value="Aladi"/>

<xsd:enumeration value="OMC"/>

</xsd:restriction>

</xsd:simpleType>

Type of classification

6 <XTipoClassificacao> Type of product classification.Please indicate only if the scope chosen was OMC.

<xsd:simpleType name="XTipoClassificacao">

<xsd:restriction base="xsd:string">

<xsd:enumeration value="India"/>

<xsd:enumeration value="Israel"/>

<xsd:enumeration value="Egito"/>

Page 8: Certificate of Origin - apps.certificadoecool.com.br

8

Document version: 2.42

<xsd:enumeration value="SACU"/>

</xsd:restriction>

</xsd:simpleType>

Product’s names

7 <XNomesProduto> List of Product’s names.

7.1 <NomeProduto> Product’s name. String 100 <xsd:element name="NomeProduto" minOccurs="1" maxOccurs="unbounded"

type="xsd:string">

Classifications

8 <XClassificacoes> List of products classifications.

8.1 <Classificacao> Product classification. XClassificacao <xsd:element name="Classificacao" minOccurs="1" maxOccurs="unbounded"

type="XClassificacao">

Classification

9 <XClassificacao> Classification data.

9.1 <Codigo> Classification code. String 6 to 8 <xsd:element name="Codigo" minOccurs="1" maxOccurs="1">

<xsd:simpleType>

<xsd:annotation>

<xsd:documentation>

Id of Classification.

</xsd:documentation>

</xsd:annotation>

<xsd:restriction base="xsd:string">

<xsd:minLength value="6" />

<xsd:maxLength value="8" />

</xsd:restriction>

</xsd:simpleType>

</xsd:element>

9.2 <Denominacao> Classification description. String 1024 <xsd:element name="Denominacao" minOccurs="1" maxOccurs="1"

type="xsd:string">

9.3 Sigla Acronym of classification String 10 <xsd:attribute name="Sigla" use="required" type="xsd:string">

Validation

10 <XConfirmacao> Sets the confirmation options. String <xsd:simpleType name="XConfirmacao">

<xsd:restriction base="xsd:string">

<xsd:enumeration value="Nao" />

<xsd:enumeration value="Sim" />

</xsd:restriction>

</xsd:simpleType>

Automotive

11 <XTipoAutomotivo> If indicated as “automotive”, the type of the product must be selected (set/subset or part).

String <xsd:simpleType name="XTipoAutomotivo">

<xsd:restriction base="xsd:string">

<xsd:enumeration value="Conjunto"/>

<xsd:enumeration value="Peca"/>

</xsd:restriction>

Page 9: Certificate of Origin - apps.certificadoecool.com.br

9

Document version: 2.42

</xsd:simpleType>

Power of attorney’s types

12 <XTipoProcuracao> Types of power of attorney. String <xsd:simpleType name="XTipoProcuracao">

<xsd:annotation>

<xsd:documentation>

Defines the types of power of attorney.

</xsd:documentation>

</xsd:annotation>

<xsd:restriction base="xsd:string">

<xsd:enumeration value="Upload"/>

<xsd:enumeration value="Digital"/>

</xsd:restriction>

</xsd:simpleType>

Marital status

13 <XEstadoCivil> Marital Status. String <xsd:simpleType name="XEstadoCivil">

<xsd:annotation>

<xsd:documentation>

Defines the marital status for the power of attorney.

</xsd:documentation>

</xsd:annotation>

<xsd:restriction base="xsd:string">

<xsd:maxLength value="15"/>

<xsd:enumeration value="Solteiro"/>

<xsd:enumeration value="Casado"/>

<xsd:enumeration value="Divorciado"/>

<xsd:enumeration value="Viuvo"/>

<xsd:enumeration value="Separado"/>

<xsd:enumeration value="Uniao Estavel"/>

</xsd:restriction>

</xsd:simpleType>

Inputs

14 <XInsumos> List of inputs/raw materials.

14.1 <Insumo> Inputs data. XInsumo <xsd:element name="Insumo" minOccurs="1" maxOccurs="unbounded"

type="XInsumo" />

Input

15 <XInsumo> Inputs data.

15.1 <Tipo> Type of inputs. XTipoInsumo <xsd:element name="Tipo" minOccurs="1" maxOccurs="1" type="XTipoInsumo">

15.2 <Pais> ISO code from the manufacturer country.

XPais <xsd:element name="Pais" minOccurs="0" maxOccurs="1" type="XPais">

15.3 <Classificacao> Input classification. String 8 <xsd:element name="Classificacao" minOccurs="0" maxOccurs="1"

type="xsd:string">

Page 10: Certificate of Origin - apps.certificadoecool.com.br

10

Document version: 2.42

15.4 <Denominacao> Input description. String 500 <xsd:element name="Denominacao" minOccurs="1" maxOccurs="1"

type="xsd:string">

15.5 <InsumoFabricadoPais> Indicates if the goods were manufactured in the selected country.

XConfirmacao <xsd:element name="InsumoFabricadoPais" minOccurs="0" maxOccurs="1"

type="XConfirmacao">

15.6 <CCPTC> Indicates if the inputs has CCPTC (Certificate of Compliance with the Common Tariff Policy).

XConfirmacao <xsd:element name="CCPTC" minOccurs="0" maxOccurs="1"

type="XConfirmacao">

15.7 <Quantidade> Indicate the input quantity used if marked “yes” for CCPTC.

Decimal <xsd:element name="Quantidade" minOccurs="0" maxOccurs="1"

type="xsd:decimal">

15.8 <IdUnidadeMedida> Indicate the unit measure type used if marked “yes” for CCPTC.

Integer <xsd:element name="IdUnidadeMedida" minOccurs="0" maxOccurs="1"

type="xsd:int">

ID of the unit measure type needs to be downloaded throught the system’s export services, using the ExportarUnidadesMedida method.

15.9 <CodigoCCPTC> Indicate the CCPTC CODE for the input used if marked “yes” for CCPTC.

String 20 <xsd:element name="CodigoCCPTC" minOccurs="0" maxOccurs="1">

<xsd:restriction base="xsd:string">

<xsd:maxLength value="50" />

</xsd:restriction>

15.10 <ValorCIF> Input CIF Value, mandatory for imported inputs. It have not to be filled for national inputs.

Decimal <xsd:element name="ValorCIF" minOccurs="0" maxOccurs="1"

type="xsd:decimal">

15.11 <UtilizaMateriaPrimaTerceiroPais>

A value that indicates if the input uses raw material from third country (Countries whou aren’t from the agreement Mercosul and SACU) in your fabrication.

XConfirmacao <xsd:element name="UtilizaMateriaPrimaTerceiroPais" minOccurs="0"

maxOccurs="1" type="XConfirmacao">

15.12 <TransformacaoMateriaPrimaCumpreRegra>

A value indicating whether the input uses raw material from a non-originating country (countries that are not members of the agreement between Mercosur and Sacu) in the manufacturing process.

XConfirmacao <xsd:element name="TransformacaoMateriaPrimaCumpreRegra" minOccurs="0"

maxOccurs="1" type="XConfirmacao">

15.13 <ValorUSDdoMaterialNacional>

A value indicating whether manufacturing process of a non-originating material complies with the rule of origin of the Trade Agreement (classified in a different heading or minimum regional content of 60%)

Decimal <xsd:element name="ValorUSDdoMaterialNacional" minOccurs="0"

maxOccurs="1" type="xsd:decimal">

15.14 PrincipioAtivo A value indicating whether the input corresponds to the active ingredient of the declaration.

XConfirmacao <xsd:element name="PrincipioAtivo" minOccurs="0" maxOccurs="1"

type="XConfirmacao">

15.15 <ValorAduaneiro> Customs value of imported input. This field should contain the customs value (VA, initials in PT) in USD of the

Decimal <xsd:element name="ValorAduaneiro" minOccurs="0" maxOccurs="1"

type="xsd:decimal">

Page 11: Certificate of Origin - apps.certificadoecool.com.br

11

Document version: 2.42

imported input that is used on the exported product manufacturing. This data must be filled for all ACE 74 products and, only if the exported product is automotive set, subset, or vehicle for ACE 14. For other agreements and countries, please fill the CIF value of imported input field.

15.16 Id Input ID. This field won’t be filled.

Integer <xsd:attribute name="Id" type="xsd:int" use="optional">

Commercial Names

16 <XNomesComerciais> List of commercial names.

16.1 <NomeComercial> Commercial name. String 200 <xsd:element name="NomeComercial" minOccurs="1" maxOccurs="unbounded"

type="xsd:string">

Exporters

17 <XExportadores> List of exporters.

17.1 <Cnpj> Corporate tax number of the exporters that are authorized to use the sworn declaration.

String 14 <xsd:element name="Cnpj" minOccurs="0" maxOccurs="unbounded"

type="xsd:string">

17.2 Publica Indicates if the sworn declaration is public or not.

XConfirmacao <xsd:attribute name="Publica" type="XConfirmacao" use="required">

Part Numbers

18 <XPartNumbers> List of part numbers.

18.1 <PartNumber> Product part number. XPartNumber <xsd:element name="PartNumber" minOccurs="1" maxOccurs="unbounded"

type="XPartNumber">

Part Number

19 <XPartNumber> Products part number data.

19.1 <Codigo> Products part number code. String 50 <xsd:element name="Codigo" minOccurs="1" maxOccurs="1" type="xsd:string">

19.2 <Cnpj> Corporate tax number for the companies listed with part numbers.

String 14 <xsd:element name="Cnpj" minOccurs="0" maxOccurs="1" type="xsd:string">

Types of inputs

20 <XTipoInsumo> Indicates the types of input. String <xsd:simpleType name="XTipoInsumo">

<xsd:restriction base="xsd:string">

<xsd:enumeration value="Nacional"/>

<xsd:enumeration value="Importado"/>

</xsd:restriction>

</xsd:simpleType>

Country

21 <XPais> Indicates the country. String 2 <xsd:simpleType name="XPais">

<xsd:restriction base="xsd:string">

<xsd:length value="2"/>

<xsd:enumeration value="AD"/>

Page 12: Certificate of Origin - apps.certificadoecool.com.br

12

Document version: 2.42

<xsd:enumeration value="AE"/>

<xsd:enumeration value="AF"/>

<xsd:enumeration value="AG"/>

<xsd:enumeration value="AI"/>

<xsd:enumeration value="AL"/>

<xsd:enumeration value="AM"/>

<xsd:enumeration value="AN"/>

<xsd:enumeration value="AO"/>

<xsd:enumeration value="AQ"/>

<xsd:enumeration value="AR"/>

<xsd:enumeration value="AS"/>

<xsd:enumeration value="AT"/>

<xsd:enumeration value="AU"/>

<xsd:enumeration value="AW"/>

<xsd:enumeration value="AX"/>

<xsd:enumeration value="AZ"/>

<xsd:enumeration value="BA"/>

<xsd:enumeration value="BB"/>

<xsd:enumeration value="BD"/>

<xsd:enumeration value="BE"/>

<xsd:enumeration value="BF"/>

<xsd:enumeration value="BG"/>

<xsd:enumeration value="BH"/>

<xsd:enumeration value="BI"/>

<xsd:enumeration value="BJ"/>

<xsd:enumeration value="BL"/>

<xsd:enumeration value="BM"/>

<xsd:enumeration value="BN"/>

<xsd:enumeration value="BO"/>

<xsd:enumeration value="BR"/>

<xsd:enumeration value="BS"/>

<xsd:enumeration value="BT"/>

<xsd:enumeration value="BV"/>

<xsd:enumeration value="BW"/>

<xsd:enumeration value="BY"/>

<xsd:enumeration value="BZ"/>

<xsd:enumeration value="CA"/>

<xsd:enumeration value="CC"/>

<xsd:enumeration value="CD"/>

<xsd:enumeration value="CF"/>

<xsd:enumeration value="CG"/>

<xsd:enumeration value="CH"/>

Page 13: Certificate of Origin - apps.certificadoecool.com.br

13

Document version: 2.42

<xsd:enumeration value="CI"/>

<xsd:enumeration value="CK"/>

<xsd:enumeration value="CL"/>

<xsd:enumeration value="CM"/>

<xsd:enumeration value="CN"/>

<xsd:enumeration value="CO"/>

<xsd:enumeration value="CR"/>

<xsd:enumeration value="CU"/>

<xsd:enumeration value="CW"/>

<xsd:enumeration value="CV"/>

<xsd:enumeration value="CX"/>

<xsd:enumeration value="CY"/>

<xsd:enumeration value="CZ"/>

<xsd:enumeration value="DE"/>

<xsd:enumeration value="DJ"/>

<xsd:enumeration value="DK"/>

<xsd:enumeration value="DM"/>

<xsd:enumeration value="DO"/>

<xsd:enumeration value="DZ"/>

<xsd:enumeration value="EC"/>

<xsd:enumeration value="EE"/>

<xsd:enumeration value="EG"/>

<xsd:enumeration value="EH"/>

<xsd:enumeration value="ER"/>

<xsd:enumeration value="ES"/>

<xsd:enumeration value="ET"/>

<xsd:enumeration value="FI"/>

<xsd:enumeration value="FJ"/>

<xsd:enumeration value="FK"/>

<xsd:enumeration value="FM"/>

<xsd:enumeration value="FO"/>

<xsd:enumeration value="FR"/>

<xsd:enumeration value="GA"/>

<xsd:enumeration value="GB"/>

<xsd:enumeration value="GD"/>

<xsd:enumeration value="GE"/>

<xsd:enumeration value="GF"/>

<xsd:enumeration value="GG"/>

<xsd:enumeration value="GH"/>

<xsd:enumeration value="GI"/>

<xsd:enumeration value="GL"/>

<xsd:enumeration value="GM"/>

Page 14: Certificate of Origin - apps.certificadoecool.com.br

14

Document version: 2.42

<xsd:enumeration value="GN"/>

<xsd:enumeration value="GP"/>

<xsd:enumeration value="GQ"/>

<xsd:enumeration value="GR"/>

<xsd:enumeration value="GS"/>

<xsd:enumeration value="GT"/>

<xsd:enumeration value="GU"/>

<xsd:enumeration value="GW"/>

<xsd:enumeration value="GY"/>

<xsd:enumeration value="HK"/>

<xsd:enumeration value="HM"/>

<xsd:enumeration value="HN"/>

<xsd:enumeration value="HR"/>

<xsd:enumeration value="HT"/>

<xsd:enumeration value="HU"/>

<xsd:enumeration value="ID"/>

<xsd:enumeration value="IE"/>

<xsd:enumeration value="II"/>

<xsd:enumeration value="IL"/>

<xsd:enumeration value="IM"/>

<xsd:enumeration value="IN"/>

<xsd:enumeration value="IO"/>

<xsd:enumeration value="IQ"/>

<xsd:enumeration value="IR"/>

<xsd:enumeration value="IS"/>

<xsd:enumeration value="IT"/>

<xsd:enumeration value="JE"/>

<xsd:enumeration value="JM"/>

<xsd:enumeration value="JO"/>

<xsd:enumeration value="JP"/>

<xsd:enumeration value="KE"/>

<xsd:enumeration value="KG"/>

<xsd:enumeration value="KH"/>

<xsd:enumeration value="KI"/>

<xsd:enumeration value="KM"/>

<xsd:enumeration value="KN"/>

<xsd:enumeration value="KP"/>

<xsd:enumeration value="KR"/>

<xsd:enumeration value="KW"/>

<xsd:enumeration value="KY"/>

<xsd:enumeration value="KZ"/>

<xsd:enumeration value="LA"/>

Page 15: Certificate of Origin - apps.certificadoecool.com.br

15

Document version: 2.42

<xsd:enumeration value="LB"/>

<xsd:enumeration value="LC"/>

<xsd:enumeration value="LI"/>

<xsd:enumeration value="LK"/>

<xsd:enumeration value="LR"/>

<xsd:enumeration value="LS"/>

<xsd:enumeration value="LT"/>

<xsd:enumeration value="LU"/>

<xsd:enumeration value="LV"/>

<xsd:enumeration value="LY"/>

<xsd:enumeration value="MA"/>

<xsd:enumeration value="MC"/>

<xsd:enumeration value="MD"/>

<xsd:enumeration value="ME"/>

<xsd:enumeration value="MG"/>

<xsd:enumeration value="MH"/>

<xsd:enumeration value="MK"/>

<xsd:enumeration value="ML"/>

<xsd:enumeration value="MM"/>

<xsd:enumeration value="MN"/>

<xsd:enumeration value="MO"/>

<xsd:enumeration value="MP"/>

<xsd:enumeration value="MQ"/>

<xsd:enumeration value="MR"/>

<xsd:enumeration value="MS"/>

<xsd:enumeration value="MT"/>

<xsd:enumeration value="MU"/>

<xsd:enumeration value="MV"/>

<xsd:enumeration value="MW"/>

<xsd:enumeration value="MX"/>

<xsd:enumeration value="MY"/>

<xsd:enumeration value="MZ"/>

<xsd:enumeration value="NA"/>

<xsd:enumeration value="NC"/>

<xsd:enumeration value="NE"/>

<xsd:enumeration value="NF"/>

<xsd:enumeration value="NG"/>

<xsd:enumeration value="NI"/>

<xsd:enumeration value="NL"/>

<xsd:enumeration value="NO"/>

<xsd:enumeration value="NP"/>

<xsd:enumeration value="NR"/>

Page 16: Certificate of Origin - apps.certificadoecool.com.br

16

Document version: 2.42

<xsd:enumeration value="NU"/>

<xsd:enumeration value="NZ"/>

<xsd:enumeration value="OM"/>

<xsd:enumeration value="PA"/>

<xsd:enumeration value="PE"/>

<xsd:enumeration value="PF"/>

<xsd:enumeration value="PG"/>

<xsd:enumeration value="PH"/>

<xsd:enumeration value="PK"/>

<xsd:enumeration value="PL"/>

<xsd:enumeration value="PM"/>

<xsd:enumeration value="PN"/>

<xsd:enumeration value="PR"/>

<xsd:enumeration value="PS"/>

<xsd:enumeration value="PT"/>

<xsd:enumeration value="PW"/>

<xsd:enumeration value="PY"/>

<xsd:enumeration value="QA"/>

<xsd:enumeration value="RE"/>

<xsd:enumeration value="RO"/>

<xsd:enumeration value="RS"/>

<xsd:enumeration value="RU"/>

<xsd:enumeration value="RW"/>

<xsd:enumeration value="SA"/>

<xsd:enumeration value="SB"/>

<xsd:enumeration value="SC"/>

<xsd:enumeration value="SD"/>

<xsd:enumeration value="SE"/>

<xsd:enumeration value="SG"/>

<xsd:enumeration value="SH"/>

<xsd:enumeration value="SI"/>

<xsd:enumeration value="SJ"/>

<xsd:enumeration value="SK"/>

<xsd:enumeration value="SL"/>

<xsd:enumeration value="SM"/>

<xsd:enumeration value="SN"/>

<xsd:enumeration value="SO"/>

<xsd:enumeration value="SR"/>

<xsd:enumeration value="ST"/>

<xsd:enumeration value="SV"/>

<xsd:enumeration value="SY"/>

<xsd:enumeration value="SZ"/>

Page 17: Certificate of Origin - apps.certificadoecool.com.br

17

Document version: 2.42

<xsd:enumeration value="TC"/>

<xsd:enumeration value="TD"/>

<xsd:enumeration value="TF"/>

<xsd:enumeration value="TG"/>

<xsd:enumeration value="TH"/>

<xsd:enumeration value="TJ"/>

<xsd:enumeration value="TK"/>

<xsd:enumeration value="TL"/>

<xsd:enumeration value="TM"/>

<xsd:enumeration value="TN"/>

<xsd:enumeration value="TO"/>

<xsd:enumeration value="TR"/>

<xsd:enumeration value="TT"/>

<xsd:enumeration value="TV"/>

<xsd:enumeration value="TW"/>

<xsd:enumeration value="TZ"/>

<xsd:enumeration value="UA"/>

<xsd:enumeration value="UG"/>

<xsd:enumeration value="UM"/>

<xsd:enumeration value="US"/>

<xsd:enumeration value="UY"/>

<xsd:enumeration value="UZ"/>

<xsd:enumeration value="VA"/>

<xsd:enumeration value="VC"/>

<xsd:enumeration value="VE"/>

<xsd:enumeration value="VG"/>

<xsd:enumeration value="VI"/>

<xsd:enumeration value="VN"/>

<xsd:enumeration value="VU"/>

<xsd:enumeration value="WF"/>

<xsd:enumeration value="WS"/>

<xsd:enumeration value="XK"/>

<xsd:enumeration value="YE"/>

<xsd:enumeration value="YT"/>

<xsd:enumeration value="ZA"/>

<xsd:enumeration value="ZM"/>

<xsd:enumeration value="ZW"/>

</xsd:restriction>

</xsd:simpleType>

Launch period

21 <XPeriodoLancamentoOpcoes>

For automotive products that fit the “New Model” concept, there are 3

Integer 1 <xsd:simpleType name="XPeriodoLancamentoOpcoes"> <xsd:annotation>

Page 18: Certificate of Origin - apps.certificadoecool.com.br

18

Document version: 2.42

options for launch period: 1st, 2nd and 3rd year.

<xsd:documentation> Defines the valid launch period options of the automotive trade agrément. </xsd:documentation> </xsd:annotation> <xsd:restriction base="xsd:integer"> <xsd:minInclusive value="1"/> <xsd:maxInclusive value="3"/> </xsd:restriction> </xsd:simpleType>

Certificates

22 <XCertificados> List of certificates to input into the system.

22.1 <Certificado> Certificate of Origin data. XCertificado <xsd:element name="Certificado" minOccurs="1" maxOccurs="unbounded"

type="XCertificado" />

Certificate

23 <XCertificado> Certificate of Origin data.

23.1 <CnpjEmpresa> Corporate tax number of the exporter/issuer of the certificate.

String 14 <xsd:element name="CnpjEmpresa" minOccurs="1" maxOccurs="1"

type="xsd:string">

23.2 <CodigoEmpresa> Companies’ internal reference for the certificates of origin, if available.

String 50 <xsd:element name="CodigoEmpresa" minOccurs="0" maxOccurs="1"

type="xsd:string">

23.3 <TipoCertificado> Indicates the type of the certificate of origin.

XTipoCertificado

<xsd:element name="TipoCertificado" minOccurs="1" maxOccurs="1"

type="XTipoCertificado">

23.4 <IdRegional> ID of the service unit selected to send the certificate.

Integer <xsd:element name="IdRegional" minOccurs="1" maxOccurs="1" type="xsd:int">

ID of the chosen service unit needs to be downloaded throught the system’s export services, using the ExportarDiretoriasRegionais method.

23.5 <NomeAssinante> Signers name. String 300 <xsd:element name="NomeAssinante" minOccurs="0" maxOccurs="1"

type="xsd:string">

23.6 <IdAcordo> ID of the trade agreement selected for the certificate.

Integer <xsd:element name="IdAcordo" minOccurs="1" maxOccurs="1" type="xsd:int">

ID of the chosen trade agreement needs to be downloaded throught the system’s export services, using the ExportarAcordosComerciais method.

23.7 <Idioma> Language. XIdioma <xsd:element name="Idioma" minOccurs="1" maxOccurs="1" type="XIdioma">

23.8 <IdEndereco> ID of the adress chosen for the certificate

Integer <xsd:element name="IdEndereco" minOccurs="1" maxOccurs="1" type="xsd:int">

ID of the chosen address needs to be downloaded throught the system’s export services, using the ExportarEnderecos method.

23.9 <IdImportador> ID of the importer selected. Integer <xsd:element name="IdImportador" minOccurs="1" maxOccurs="1"

type="xsd:int">

Page 19: Certificate of Origin - apps.certificadoecool.com.br

19

Document version: 2.42

ID of the importer needs to be downloaded throught the system’s export services, using the ExportarImportadores method.

23.10 <Consignatario> Consignee’s data. XConsignatarioProdutor

<xsd:element name="Consignatario" minOccurs="0" maxOccurs="1"

type="XConsignatarioProdutor">

23.11 <Produtor> Manufacturers data. XConsignatarioProdutor

<xsd:element name="Produtor" minOccurs="0" maxOccurs="1"

type="XConsignatarioProdutor">

23.12 <IdLocalEmbarque> ID of the loading city. Integer <xsd:element name="IdLocalEmbarque" minOccurs="0" maxOccurs="1"

type="xsd:int">

ID of the loading place needs to be downloaded throught the system’s export services, using the ExportarLocaisEmbarque method.

23.13 <IdMeioTransporte> ID of the types of transport. Integer <xsd:element name="IdMeioTransporte" minOccurs="0" maxOccurs="1"

type="xsd:int">

ID of the type of transport needs to be downloaded throught the system’s export services, using the ExportarMeiosTransporte method.

23.14 <IdAduanaDestino> ID of customs office Integer <xsd:element name="IdAduanaDestino" minOccurs="0" maxOccurs="1"

type="xsd:int">

The customs office id should be used when the destination country is going trough the initial phase for Digital certificates of origin. ID of the customs office needs to be downloaded throught the system’s export services, using the method ExportarAduanasDestino

23.15 <FaturaNacional> Invoice data. XFatura <xsd:element name="FaturaNacional" minOccurs="1" maxOccurs="1"

type="XFatura">

23.16 <Rota> Products transit rout. String 300 <xsd:element name="Rota" minOccurs="0" maxOccurs="1" type="xsd:string">

23.17 <IdInterveniente> ID of the intervening company. Integer <xsd:element name="IdInterveniente" minOccurs="0" maxOccurs="1"

type="xsd:int">

ID of the intervening company needs to be downloaded throught the system’s export services, using the ExportarInterveniente method.

23.18 <FaturaInterveniente> Invoice data of the intervening company.

XFaturaInterveniente

<xsd:element name="FaturaInterveniente" minOccurs="0" maxOccurs="1"

type="XFaturaInterveniente">

23.19 <Produtos> Products listed on the certificate. XProdutos <xsd:element name="Produtos" minOccurs="1" maxOccurs="1"

type="XProdutos">

23.20 <PesoLiquido> Total Net Weight of the inputs. Decimal <xsd:element name="PesoLiquido" minOccurs="0" maxOccurs="1"

type="xsd:decimal">

Page 20: Certificate of Origin - apps.certificadoecool.com.br

20

Document version: 2.42

23.21 <PesoBruto> Total Gross Weight of the inputs. Decimal <xsd:element name="PesoBruto" minOccurs="0" maxOccurs="1"

type="xsd:decimal">

23.22 <ValorTotal> Total invoice amount. Decimal <xsd:element name="ValorTotal" minOccurs="1" maxOccurs="1"

type="xsd:decimal">

23.23 <DadosEmissaoPosteriori> Indicates if it was an subsequent issue DadosEmissaoPosteriori

<xsd:element name="EmissaoPosteriori" minOccurs="0" maxOccurs="1"

type="XConfirmacao">

23.24 <Observacoes> Additional information (observations) String 8000 <xsd:element name="Observacoes" minOccurs="0" maxOccurs="1"

type="xsd:string">

23.25 <MoedaLocal> Indicates if a local currency was used. XConfirmacao <xsd:element name="MoedaLocal" minOccurs="0" maxOccurs="1"

type="XConfirmacao">

23.26 <FaturasComerciais> A list of Comercials Invoice data XFaturasComerciais

<xsd:element name="FaturasComerciais" minOccurs="0" maxOccurs="1"

type="XFaturasComerciais">

23.27 <ApresentaFaturaInterveniente>

Show if the Invoice data of the intervening must apper in the certificate

XConfirmacao <xsd:element name="ApresentaFaturaInterveniente" minOccurs="0" maxOccurs

="1" type="XConfirmacao">

23.28 <DocumentoExportacao> Document of exportation XDocumentoExportacao

<xsd:element name="DocumentoExportacao" minOccurs="0" maxOccurs="1"

type="XDocumentoExportacao">

23.29 <ArquivosAnexo> A list of attached files. XArquivosAnexos

<xsd:element name="ArquivosAnexo" minOccurs="0" maxOccurs="1"

type="XArquivosAnexos">

23.30 <ArquivosDueIntraQuota> A list of atteched files of the DUE, containing the code for the intra-quota shipments.

<xsd:element name="ArquivosDueIntraQuota" minOccurs="0" maxOccurs="1"

type="XArquivosDueIntraQuota">

23.31 <Status> Indicates the certificate status XStatus <xsd:element name="Status" minOccurs="0" maxOccurs ="1" type="XStatus">

23.32 Id ID of the certificate. This field should not be filled.

Integer <xsd:attribute name="Id" type="xsd:int" use="optional">

Types of certificates

24 <XTipoCertificado> Defines the types of certificates. String <xsd:simpleType name="XTipoCertificado">

<xsd:restriction base="xsd:string">

<xsd:enumeration value="Digital"/>

<xsd:enumeration value="Impresso"/>

</xsd:restriction>

</xsd:simpleType>

Consignee/Manufacturer

25 <XConsignatarioProdutor> Consignee/manufacturer data.

25.1 <Nome> Name of the Consignee/manufacturer. String 300 <xsd:element name="Nome" minOccurs="0" maxOccurs="1" type="xsd:string">

25.2 <Endereco> Address of the Consignee/manufacturer.

XEnderecoReduzido

<xsd:element name="Endereco" minOccurs="0" maxOccurs="1"

type="XEnderecoReduzido">

Address

26 <XEnderecoReduzido> Address

26.1 <Logradouro> Complete address (street, zip code, city) String 300 <xsd:element name="Logradouro" minOccurs="0" maxOccurs="1"

type="xsd:string">

26.2 <Cidade> City. String 100 <xsd:element name="Cidade" minOccurs="0" maxOccurs="1" type="xsd:string">

Page 21: Certificate of Origin - apps.certificadoecool.com.br

21

Document version: 2.42

26.3 <Pais> ISO Country code. XPais <xsd:element name="Pais" minOccurs="0" maxOccurs="1" type="XPais">

Invoice

27 <XFatura> Invoice data.

27.1 <Numero> Invoice number. String 50 <xsd:element name="Numero" minOccurs="1" maxOccurs="1" type="xsd:string">

27.2 <Data> Invoice date. Date YYYY-MM-DD <xsd:element name="Data" minOccurs="1" maxOccurs="1" type="xsd:date">

27.3 <ArquivosFatura> Collection of invoices attached to the certificate, mandatory if it’s a digital certificate. Optional for printed certificate.

XArquivosFatura

<xsd:element name="ArquivosFatura" minOccurs="0" maxOccurs="1"

type="XArquivosFatura">

Intervening invoice

28 <XfaturaInterveniente> Invoice data of the intervening company.

28.1 <Numero> Invoice number of the intervening company.

String 50 <xsd:element name=”Numero” minOccurs=”1” maxOccurs=”1” type=”xsd:string”>

28.2 <Data> Invoice date of the intervening company.

Date YYYY-MM-DD <xsd:element name=”Data” minOccurs=”1” maxOccurs=”1” type=”xsd:date”>

28.3 <Apresentacao> Indicates if the intervening invoice should be considered instead of the exporter.

Xconfirmacao <xsd:element name=”Apresentacao” minOccurs=”1” maxOccurs =”1”

type=”Xconfirmacao”>

28.4 <ArquivosFatura> Collection of invoices attached to the certificate, mandatory if it’s a digital certificate. Optional for printed certificate.

XArquivosFatura

<xsd:element name="ArquivosFatura" minOccurs="0" maxOccurs="1"

type="XArquivosFatura">

Products

29 <XProdutos> List of products.

29.1 <Produto> Products data. XProduto <xsd:element name="Produto" minOccurs="1" maxOccurs="unbounded"

type="XProduto" />

Product

30 <XProduto> Products information.

30.1 <IdDeclaracao> ID of the sworn declaration. Integer <xsd:element name="IdDeclaracao" minOccurs="0" maxOccurs="1"

type="xsd:int">

ID of the sworn declaration needs to be downloaded throught the system’s export services, using the ExportarDeclaracoes method.

30.2 <Denominacao> Product denomination. It is obligatory to add the product description at the end of the product denomination. Optionally, the commercial name and the part number can be added to the product denomination.

String 8000 <xsd:element name="Denominacao" minOccurs="1" maxOccurs="1"

type="xsd:string">

In the case a sworn declaration is used, the information’s referring to the product description, commercial name and part numbers, can be obtained by using the "ExportarDeclaracoes" method, through the system’s export services.

Page 22: Certificate of Origin - apps.certificadoecool.com.br

22

Document version: 2.42

30.3 <PesoQuantidade> Weight or quantity. Decimal <xsd:element name="PesoQuantidade" minOccurs="0" maxOccurs="1"

type="xsd:decimal">

30.4 <IdUnidadeMedida> ID of the measure unit chosen. Integer <xsd:element name="IdUnidadeMedida" minOccurs="0" maxOccurs="1"

type="xsd:int">

ID of the measure unit needs to be downloaded throught the system’s export services, using the ExportarUnidadesMedida method.

30.5 <IdEmbalagem> Identification of the product packaging

Integer <xsd:element name="IdEmbalagem" minOccurs="0" maxOccurs="1" type="xsd:int"> The ID of packing must be obtained through the export services, using the ExportPackaging method

30.6 <Classificacao> Classification of product. String 6-8 <xsd:element name="Classificacao" minOccurs="0" maxOccurs="1" type="xsd:string">

30.7 <ValorUnitario> Unit value of the product. Decimal <xsd:element name="ValorUnitario" minOccurs="0" maxOccurs="1" type="xsd:decimal">

30.8 <ValorTotalFOB> The total value FOB of product.for Mercosul comercial agreement do not need to be the FOB value

Decimal <xsd:element name="ValorTotalFOB" minOccurs="0" maxOccurs="1" type="xsd:decimal">

30.9 <ValorIntervenienteFOB> The FOB value of intervener of product. of comercial agreement Mercosul do not need to be FOB value.

Decimal <xsd:element name="ValorIntervenienteFOB" minOccurs="0" maxOccurs="1" type="xsd:decimal">

30.10 <PesoLiquido> Net weight of product Decimal <xsd:element name="PesoLiquido" minOccurs="0" maxOccurs="1" type="xsd:decimal">

30.11 <PesoBruto> Gross weight of product. Decimal <xsd:element name="PesoBruto" minOccurs="0" maxOccurs="1" type="xsd:decimal">

30.12 <NormaOrigem> Product rule identification of origin product.

String 255 <xsd:element name="NormaOrigem" minOccurs="0" maxOccurs="1" type="xsd:string">

30.13 <OrdemFaturaComercial> Indentification (order field) of the FaturaComercial to this product.

XOrdemFaturaComercial

<xsd:element name="OrdemFaturaComercial" minOccurs="0"

type="XOrdemFaturaComercial">

30.14 <ClassificacaoNCCA> A NCCA classification of the product.. String <xsd:element name="ClassificacaoNCCA" minOccurs="0" maxOccurs="1">

30.15

Id Identification of product of the certificate, in the system eCool. This field should not be filled

Integer <xsd:attribute name="Id" type="xsd:int" use="optional">

30.16 <ValorFOBUnitarioExportacao>

Unitary Exportation FOB Value US$. Decimal <xsd:element name="ValorFOBUnitarioExportacao" minOccurs="0"

maxOccurs="1" type="xsd:decimal">

Importer

31 <XImportadores> Collection of importers for import into eCool Collection of importers for import into eCool

31.1 <Importador> Importer data XImportador <xsd:element name="Importador" minOccurs="1" maxOccurs="unbounded" type="XImportador" />

Importer

32 <XImportador> Importer data

Page 23: Certificate of Origin - apps.certificadoecool.com.br

23

Document version: 2.42

32.1 <CnpjEmpresa> The importer’s company identification. Only numbers

String 14 <xsd:element name="CnpjEmpresa" minOccurs="1" maxOccurs="1">

32.2 <Nome> Importer’s name String 100 <xsd:element name="Nome" minOccurs="1" maxOccurs="1" type="xsd:string">

32.3 <RegistroFiscal> Importer tax registration String 30 <xsd:element name="RegistroFiscal" minOccurs="0" maxOccurs="1" type="xsd:string">

32.4 <Endereco> Importer adress. (Street adress and number).

String 256 <xsd:element name="Endereco" minOccurs="1" maxOccurs="1" type="xsd:string">

32.5 <Cidade> City of importer adress String 50 <xsd:element name="Cidade" minOccurs="1" maxOccurs="1" type="xsd:string">

32.6 <Pais> Importer’s country. String 2 <xsd:element name="Pais" minOccurs="0" maxOccurs="1" type="XPais">

32.7 <Telefone> Importer contact phone. String 20 <xsd:element name="Telefone" minOccurs="0" maxOccurs="1" type="xsd:string">

32.8 <Fax> Importer FAX number String 20 <xsd:element name="Fax" minOccurs="0" maxOccurs="1" type="xsd:string">

32.9 <Email> Importer e-mail String 80 <xsd:element name="Email" minOccurs="0" maxOccurs="1" type="xsd:string">

32.10 <Website> Website adress String 64 <xsd:element name="Website" minOccurs="0" maxOccurs="1" type="xsd:string">

32.11 <Status> Importer status String 1 <xsd:element name="Status" minOccurs="1" maxOccurs="1" type="xsd:string"> Send “A” to Active and “I” to Inactive.

32.12 <IdImportador> Importer identification in the eCool system.

Integer <xsd:element name="IdImportador" minOccurs="0" maxOccurs="1" type="xsd:int"> For the case of edit the register of the importer already existing, this field must be filled with the identifier of the importer to be changed . Otherwise, this field should not be filled or should contain the number "0" (zero). To redeem the Identifier of an importer in the eCool system, You must use the export service in the Export Importers method.

Invoice files

33 <XArquivosFatura> Collection of commercial invoice files attached.

33.1 <ArquivoFatura> Commercial Invoice file data <XArquivoFatura>

<xsd:element name="ArquivoFatura" minOccurs="1" maxOccurs="unbounded" type="XArquivoFatura" />

Invoice files

34 <XArquivoFatura> Commercial Invoice file data

34.1 <ExtensaoArquivo> The extension (format) of file.

String <xsd:element name="ExtensaoArquivo" minOccurs="1" maxOccurs="1"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="pdf" /> </xsd:restriction> </xsd:simpleType> </xsd:element>

34.2 <NomeArquivo> File’s name of comercial invoice. String 200 <xsd:element name="NomeArquivo" minOccurs="1" maxOccurs="1">

34.3 <ContaudoArquivo> Content in bytes of the file, converted to String format in Base64.

String <xsd:element name="ConteudoArquivo" minOccurs="1" maxOccurs="1">

Page 24: Certificate of Origin - apps.certificadoecool.com.br

24

Document version: 2.42

34.5 <Tipo> Type of Invoice file data. XTipoFatura <xsd:element name="Tipo" minOccurs="0" maxOccurs="1" type="XTipoFatura">

Power of attorney

35 <XProcuracoes> Collection power of attorney

35.1 <Procuracao> Power of attorney data

<XProcuracao> <xsd:element name="Procuracao" minOccurs="1" maxOccurs="unbounded" type="XProcuracao" />

Power of attorney

36 <XProcuracao> Power of attorney data

36.1 <CnpjEmpresa> The Corporate Tax number of the company responsible for the power of attorney

String <xsd:element name="CnpjEmpresa" minOccurs="1" maxOccurs="1">

36.2 <Tipo> Kind of powers of attorney <XTipoProcuracao>

<xsd:element name="Tipo" minOccurs="1" maxOccurs="1" type="XTipoProcuracao">

36.3 <IdEndereco> The Identifier of company adress

Integer <xsd:element name="IdEndereco" minOccurs="0" maxOccurs="1" type="xsd:int">

36.4 <DataInicio> The effective date initial of power of attorney

DateTime <xsd:element name="DataInicio" minOccurs="1" maxOccurs="1" type="xsd:date">

36.5 <DataFim> Final date of duration of letter of attorney. If the time is indeterminate, This field should not be filled

DateTime <xsd:element name="DataFim" minOccurs="0" maxOccurs="1" type="xsd:date">

36.6 <Responsavel> The grantor of power of attorney <XProcuracaoPessoa>

<xsd:element name="Responsavel" minOccurs="1" maxOccurs="1" type="XProcuracaoPessoa">

36.7 <Procuradores> Legal representatives of power of attorney

<XProcuracaoProcuradores>

<xsd:element name="Procuradores" minOccurs="1" maxOccurs="1" type="XProcuracaoProcuradores">

36.8 <ProcuracaoArquivos> Files of power of attorney <XProcuracaoArquivos>

<xsd:element name="ProcuracaoArquivos" minOccurs="1" maxOccurs="1" type="XProcuracaoArquivos">

Power of attorney of people

37 <XProcuracaoPessoa> Person’s data mentioned of power of attorney

37.1 <CPF> CPF’s number, with no dots or dashes

String <xsd:element name="CPF" minOccurs="1" maxOccurs="1">

37.2 <Nome> Name of the person String <xsd:element name="Nome" minOccurs="1" maxOccurs="1">

37.3 <Nacionalidade> The person’s nationality String <xsd:element name="Nacionalidade" minOccurs="0" maxOccurs="1">

37.4 <EstadoCivil> Civil status <XEstadoCivil> <xsd:element name="EstadoCivil" minOccurs="0" maxOccurs="1" type="XEstadoCivil">

37.5 <Profissao> The person’s profession. String <xsd:element name="Profissao" minOccurs="0" maxOccurs="1">

37.6 <RG> ID number String <xsd:element name="RG" minOccurs="0" maxOccurs="1">

37.7 <CEP> Zip Code number, with no dots or dashes

String <xsd:element name="CEP" minOccurs="0" maxOccurs="1">

37.8 <Logradouro> Person’s Street adress String <xsd:element name="Logradouro" minOccurs="0" maxOccurs="1">

37.9 <Numero> Number of the house String <xsd:element name="Numero" minOccurs="0" maxOccurs="1">

37.10 <Complemento> Point of reference String <xsd:element name="Complemento" minOccurs="0" maxOccurs="1">

Page 25: Certificate of Origin - apps.certificadoecool.com.br

25

Document version: 2.42

37.11 <Bairro> Neighborhood. String <xsd:element name="Bairro" minOccurs="0" maxOccurs="1">

37.12 <UF> Name code of the city String <xsd:element name="UF" minOccurs="0" maxOccurs="1">

37.13 <Cidade> Name of the city String <xsd:element name="Cidade" minOccurs="0" maxOccurs="1">

Granted of power of attorney

38 <XProcuracaoProcuradores> Power of attorney collection

38.1 <Procurador> The grantor data <XProcuracaoPessoa>

<xsd:element name="Procurador" minOccurs="1" maxOccurs="unbounded" type="XProcuracaoPessoa" />

File’s power of attoney

39 <XProcuracaoArquivos> Collection’s file power of attorney

39.1 <ProcuracaoArquivo> The power attorney file’s <XProcuracaoArquivo>

<xsd:element name="ProcuracaoArquivo" minOccurs="1" maxOccurs="unbounded" type="XProcuracaoArquivo" />

File’s power of attoney

40 <XProcuracaoArquivo> The data of power of attorney file’s

40.1 <ExtensaoArquivo> The power of attorney extension String <xsd:element name="ExtensaoArquivo" minOccurs="1" maxOccurs="1">

40.2 <NomeArquivo> Name of the file String <xsd:element name="NomeArquivo" minOccurs="1" maxOccurs="1">

40.3 <ConteudoArquivo> Content in bytes of the file, in String format in Base64.

String <xsd:element name="ConteudoArquivo" minOccurs="1" maxOccurs="1">

Fatura Comercial

41 <XFaturaComercial> The data of Comercial Invoice

41.1 <Numero> Number of Invoice String 50 <xsd:element name="Numero" minOccurs="1" maxOccurs="1">

41.2 <Data> Invoice date. DateTime <xsd:element name="Data" minOccurs="1" maxOccurs="1" type="xsd:date">

41.3 <Ordem> Order of invoice int <xsd:element name="Ordem" minOccurs="1" maxOccurs="1" type="xsd:int">

41.4 <Tipo> Type of invoice <XTipoFatura> <xsd:element name="Tipo" minOccurs="1" maxOccurs="1" type="XTipoFatura">

Faturas Comerciais

42 <XFaturasComerciais> A collection on Comercial Invoices

42.1 <FaturaComercial> The data of Comercial Invoice <XFaturaComercial>

<xsd:element name="FaturaComercial" minOccurs="1" maxOccurs="unbounded"

type="XFaturaComercial" />

XTipoFatura

43 <XTipoFatura> Define the type of Invoice Archives and Comercial Invoices.

<xsd:simpleType name="XTipoFatura">

<xsd:annotation>

<xsd:documentation>

Define o tipo dos Arquivos de Fatura e as Faturas Comerciais.

</xsd:documentation>

</xsd:annotation>

<xsd:restriction base="xsd:string">

<xsd:enumeration value="Interveniente"/>

<xsd:enumeration value="FaturaNacional"/>

</xsd:restriction>

</xsd:simpleType>

Ordem Fatura Comercial

44 <XOrdemFaturaComercial> A collection of product names.

Page 26: Certificate of Origin - apps.certificadoecool.com.br

26

Document version: 2.42

44.1 <Ordem> The order of Comercial Invoices that relation with the inputs..

int <xsd:element name="Ordem" minOccurs="1" maxOccurs="unbounded"

type="xsd:int">

DocumentoExportacao

45 <XDocumentoExportacao> The document of exportation XDocumentoExportacao

45.1 <Numero> The number of the document String <xsd:element name="Numero" minOccurs="1" maxOccurs="1" type="xsd:string">

45.2 <Data> The date of the document Date <xsd:element name="Data" minOccurs="1" maxOccurs="1" type="xsd:date">

ArquivosAnexos

46 <XArquivosAnexos> A list of attached files <xsd:element name="ArquivosAnexo" minOccurs="0" maxOccurs="1"

type="XArquivosAnexos">

46.1 <XArquivosAnexo> Attachment file XArquivosAnexo

ArquivosAnexo

47 <XArquivosAnexo> Attachment file

47.1 <ExtensaoArquivo> The extension of the file String <xsd:element name="ExtensaoArquivo" minOccurs="1" maxOccurs="1">

47.2 <NomeArquivo> The name of the file String 200 <xsd:element name="NomeArquivo" minOccurs="1" maxOccurs="1">

47.3 <ConteudoArquivo> The Content of the file String <xsd:element name="ConteudoArquivo" minOccurs="1" maxOccurs="1">

DadosEmissaoPosteriori

48 <XDadosEmissaoPosteriori> If the issue was made after of the export, must have some informations

<xsd:complexType name="XDadosEmissaoPosteriori">

48.1 <IdTipoEmissaoPosterior> The id from the Post Emission Int <xsd:element name="IdTipoEmissaoPosterior" minOccurs="1" maxOccurs="1"

type="xsd:int">

48.2 <IdLocalExportacao> The local exportation int <xsd:element name="IdLocalExportacao" minOccurs="1" maxOccurs="1"

type="xsd:int">

48.3 <DataExportacao> The date of the exportation Date <xsd:element name="DataExportacao" minOccurs="1" maxOccurs="1"

type="xsd:date">

LocalExportacao

49 <XLocalExportacao> Local of Exportation <xsd:complexType name="XLocalExportacao">

49.1 <Descricao> The description of the Local <XDescricao> <xsd:element name="Descricao" minOccurs="1" maxOccurs="unbounded"

type="XDescricao">

49.2 <Status> The status from the Local <XStatusRegistro>

<xsd:element name="Status" minOccurs="1" maxOccurs="1"

type="XStatusRegistro">

49.3 <Id> The Local ID Int <xsd:attribute name="Id" type="xsd:int" use="required">

LocaisExportacao

50 <XLocaisExportacao> A list of the locals of exportation <xsd:complexType name="XLocaisExportacao">

50.1 <LocalExportacao> The Local of Exportation <XLocalExportacao>

<xsd:element name="LocalExportacao" minOccurs="0" maxOccurs="unbounded"

type="XLocalExportacao" />

50.2 <Erros> Erros from exporting <XErros> <xsd:element name="Erros" minOccurs="0" maxOccurs="1" type="XErros" />

50.3 <Sucesso> Succes from exporting XConfirmacao <xsd:attribute name="Sucesso" use="required" type="XConfirmacao">

ArquivosDueIntraQuota

51 <XArquivosDueIntraQuota> A listo f attachments that refer the DUE. <xsd:element name="ArquivosDueIntraQuota" minOccurs="0" maxOccurs="1" type="XArquivosDueIntraQuota">

Page 27: Certificate of Origin - apps.certificadoecool.com.br

27

Document version: 2.42

51.1 <DueIntraQuota> <XArquivo> <xsd:element name="DueIntraQuota" minOccurs="1" maxOccurs="unbounded" type="XArquivo" />

Arquivo

52 <XArquivo> Attachment file

52.1 <NomeArquivo> File name String 300 <xsd:element name="NomeArquivo" minOccurs="1" maxOccurs="1">

52.2 <ConteudoArquivo> Content in bytes of the file, in String format in Base64.

String <xsd:element name="ConteudoArquivo" minOccurs="1" maxOccurs="1">

Status

53 <XStatus> Indicates the certificate status <XStatus> <xsd:simpleType name="XStatus"> <xsd:annotation> <xsd:documentation> Define o status do certificado de origem. </xsd:documentation> </xsd:annotation> <xsd:restriction base="xsd:string"> <xsd:enumeration value="Salvo"/> <xsd:enumeration value="Enviado"/> </xsd:restriction> </xsd:simpleType>

Return of Import # Field Description Type Size Comments and validations

Return of import

1 <XRetornoImportacao> Batch’s response of data importation

1.1 <Autenticacao> Data of user authentication XAutenticacao <xsd:element name="Autenticacao" minOccurs="1" maxOccurs="1"

type="XAutenticacao" />

1.2 <Validacao> Validation data of the imported data against the XML schema. (XSD)

XValidacao <xsd:element name="Validacao" minOccurs="1" maxOccurs="1" type="XValidacao" />

1.3 <Declaracoes> Results collection of import declaration XResultadoProces

samento

<xsd:element name="Declaracoes" minOccurs="0" maxOccurs="1"

type="XResultadoProcessamento" />

1.4 <Certificados> Results collection of the import certificate XResultadoProces

samento

<xsd:element name="Certificados" minOccurs="0" maxOccurs="1"

type="XResultadoProcessamento" />

Page 28: Certificate of Origin - apps.certificadoecool.com.br

28

Document version: 2.42

1.5 <ImportadoresImportacao>

Results collection of the import of importers

XResultadoProcessamento

<xsd:element name="ImportadoresImportacao" minOccurs="0" maxOccurs="1" type="XResultadoProcessamento" />

1.6 <Procuracoes> Collection of results of letter of attorney import processing

XResultadoProcessamento

<xsd:element name="Procuracoes" minOccurs="0" maxOccurs="1" type="XResultadoProcessamento" />

1.7 <Lote> Number of lot of importer eCool system. Integer <xsd:attribute name="Lote" type="xsd:int" use="required">

1.8 <Versao> The version of import layout

Decimal <xsd:attribute name="Versao" type="xsd:decimal" use="required">

Authentication

2 <XAutenticacao> Data of user authentication.

2.1 <Usuario> User name String <xsd:element name="Usuario" minOccurs="1" maxOccurs="1" type="xsd:string">

2.2 <DataAcesso> Date of access. DateTime <xsd:element name="DataAcesso" minOccurs="1" maxOccurs="1" type="xsd:dateTime">

2.3 <Servico> Name of the service responsible for processing

String <xsd:element name="Servico" minOccurs="1" maxOccurs="1" type="xsd:string">

2.4 <Mensagem> Error messages returned in processing String <xsd:element name="Mensagem" minOccurs="0" maxOccurs="1" type="xsd:string">

2.5 Sucesso Value if user was authenticated with

sucess

XConfirmacao <xsd:attribute name="Sucesso" use="required" type="XConfirmacao">

Validation

3 <XValidacao> Validation data of XML schema import

3.1 <Erros>

Collection of validation errors

XErrosValidacao <xsd:element name="Erros" minOccurs="0" maxOccurs="1" type="XErrosValidacao" />

3.2 <Avisos> Collection of validation notices XAvisosValidacao <xsd:element name="Avisos" minOccurs="0" maxOccurs="1" type="XAvisosValidacao" />

3.3 Esquema Indicates whether the scheme was successfully executed .

XConfirmacao <xsd:attribute name="Esquema" use="required" type="XConfirmacao">

3.4 Arquivo Indicates whether the file was successfully

validated

XConfirmacao <xsd:attribute name="Arquivo" use="required" type="XConfirmacao">

Validation’s error

4 <XErrosValidacao> Collection of validation errors

Page 29: Certificate of Origin - apps.certificadoecool.com.br

29

Document version: 2.42

4.1 <Erro> Data error XMensagemValid

acao

<xsd:element name="Erro" minOccurs="1" maxOccurs="unbounded"

type="XMensagemValidacao">

Menssages and Validation

5 <XMensagemValidacao> Validation message of File XML/ schema

5.1 <Mensagem> Validation message String <xsd:element name="Mensagem" minOccurs="1" maxOccurs="1" type="xsd:string">

5.2 Linha Message reference line Integer <xsd:attribute name="Linha" use="required" type="xsd:int">

5.3 Coluna Message reference column Integer <xsd:attribute name="Coluna" use="required" type="xsd:int">

Validation Notices

6 <XAvisosValidacao> Collection of validation notices

6.1 <Erro> Data error. XMensagemValid

acao

<xsd:element name="Erro" minOccurs="1" maxOccurs="unbounded"

type="XMensagemValidacao">

Results of items processing

7 <XResultadoProcessament

o>

Results collection of items processing.

7.1 <Item> Results of items processing XResultadoItem <xsd:element name="Item" minOccurs="1" maxOccurs="unbounded"

type="XResultadoItem" />

Results of items processing

8 <XResultadoItem> Results of items processing

8.1 <Erros> Error found during the items processing XErros <xsd:element name="Erros" minOccurs="0" maxOccurs="1" type="XErros">

8.2 <CodigoEmpresa>

Item identification code in the company.

String <xsd:attribute name="CodigoEmpresa" use="required" type="xsd:string">

8.3 <Valido>

Value indicating whether the item was

successfully validated.

XConfirmacao <xsd:attribute name="Valido" use="required" type="XConfirmacao">

8.4 <Armazenado>

Value indicating whether the item was

successfully saved.

XConfirmacao <xsd:attribute name="Armazenado" use="required" type="XConfirmacao">

8.5 <Id> Item identifier generated by the system Integer <xsd:attribute name="Id" type="xsd:int" use="optional">

Page 30: Certificate of Origin - apps.certificadoecool.com.br

30

Document version: 2.42

8.6 <Mensagem> Item return message

String <xsd:attribute name="Mensagem" type="xsd:string" use="optional">

Error

9 <XErros> Error collection

9.1 <Erro> Error message String <xsd:element name="Erro" minOccurs="1" maxOccurs="unbounded" type="xsd:string">

Page 31: Certificate of Origin - apps.certificadoecool.com.br

31

Document version: 2.42

Mandatory fields

M – Mandatory O – Optional F – Facultative NC – Non correspondent

# Field Description

Trade agreement

→ A53,A55,A58

,A62,R04 A14, A74

A18,A02 A35 A36 A59,A69

,A72 COMUM ANEXO III ISRAEL INDIA EGITO SACU

Form → F.RES.252 F.ACE14 F.ACE18 F.ACE35 F.ACE36 F.ACE59

Type

Obligatoriness

Obligatoriness

Obligatoriness

Obligatoriness

Obligatoriness

Obligatorin

ess Obligatorin

ess Obligatorin

ess Obligatorin

ess Obligatorin

ess Obligatorin

ess Obligatorin

ess

Batch

1 <XLoteImportaca

o> Import data batch.

1.1 <Declaracoes> Collection of declarations for processing

XDeclaracoes

1.2 <Certificados> Collection of certificates for processing

XCertificados

1.3 Lote Import batch number .

Integer

1.4 Versao The version of import layout

Decimal

Declaration

2 <XDeclaracoes> Collection of declarations for processing

2.1 <Declaracao> Data of declaration of product

XDeclaracao

Declaration

3 <XDeclaracao> Data of declaration of product

3.1 <CnpjEmpresa>

Number of Corporate Tax Number of the reporting company of the product.

String M M M M M M NC NC M M M M

Page 32: Certificate of Origin - apps.certificadoecool.com.br

32

Document version: 2.42

3.2 <CodigoEmpresa

> Product identification code in the company

String M M M M M M NC NC M M M M

3.3 <Ambito> Scope of the product declaration

XAmbito

3.4 <TipoDeclaracao

> Type of declaration of product

XTipoDeclaracao

3.5 <TipoClassificaca

o> Type of product classification

XTipoClassificacao

3.6 <NomesProduto

> Name of product XNomesProduto

3.7 <Classificacoes> Collection of product classifications

XClassificacoes

3.8 <FabricacaoProp

ria>

Indicates whether the product is manufactured by the reporting enterprise .

XConfirmacao

3.9 <IdDeclaracaoFa

bricante>

Indifies the declaration of origin when the declaration is not self-manufactured.

Integer F F F F F F NC NC F F F F

3.10 <Industrializado> Indicates whether the product is industrialized

XConfirmacao

3.11 <Automotivo> Indicates whether the product is automotive

XConfirmacao

3.12 <TipoAutomotiv

o>

Automotive Grouping Type.

XTipoAutomotivo

Page 33: Certificate of Origin - apps.certificadoecool.com.br

33

Document version: 2.42

3.13 <ConceitoNovo

Modelo>

Indicates whether the automotive product fits as a new model. Field must be completed only if indicated that it is an automotive product .

XConfirmacao

3.14 <PeriodoLancam

ento>

Indicates the launch period of the automotive product. This must be completed only if it fits into the concept of a new model

XPeriodoLancamentoOpcoes

3.15 <Blindado>

Indicates if the automotive product is armored, it should be filled only if it fits the concept of new model and the launch period between 1 and 3 years

XConfirmacao

3.16 <FobMinimo> Minimum FOB value Decimal M M M M M M NC NC M M M M

3.17 <FobMaximo> Maximum FOB value Decimal M M M M M M NC NC M M M M

3.18 <AutomotivoControladoPorQuota

s>

Indicates whether automotive vehicle set / subassembly product is controlled by quotas

XConfirmacao

3.19 <InsumoControla

doPorQuotas>

A Value that indicates if the Input is controlled by quotas

XConfirmacao NC NC NC NC NC NC NC NC NC NC

NC F

3.20 <Insumos> Inputs of the sworn declaration

XInsumos

3.21 <ProcessoProdut

ivo>

Description of the production process of the product

String M M M M M M NC NC M M M M

Page 34: Certificate of Origin - apps.certificadoecool.com.br

34

Document version: 2.42

3.22 <NomesComerci

ais> List of commercial names, if available..

XNomesComerciais

3.23 <Exportadores> Collection of exporters of the product declaration

XExportadores

3.24 <PartNumbers> Collection of product part numbers .

XPartNumbers

3.25 Id Identifier of sworn declaration .

Integer O O O O O O NC NC O O O O

3.26 <Conjunto>

A value that indicates if

the product it’s a

group. Just utilizated in

specified agreement,

like Mercosul-Egito.

XConfirmacao NC NC NC NC NC NC NC NC NC NC

M M

3.27 <ZonaFranca>

A Value that indicates if

the product is from a

free zone XConfirmacao O

O O O O O NC NC NC NC NC M

3.28 <InformacaoAdic

ional>

Additional information

for the technician. String O O O O O O O O O O

O O

3.29 <ArquivosAnexo

>

Additional files for the

technician. XArquivosAnexo O O O O O O O O O O

O O

3.30 <MotorizacaoAlt

ernativa>

A Value that indicates if

the product have a

Alternate Engine XConfirmacao NC

O NC NC NC NC NC NC NC NC NC NC

Ambit

4 <XAmbito> Scope of the sworn declaration

Type of Classification

Page 35: Certificate of Origin - apps.certificadoecool.com.br

35

Document version: 2.42

5 <XTipoClassificac

ao>

Types of sworn declaration classification .

Product’s Name

6 <XNomesProdut

o>

Collection of name fo product.

6.1 <NomeProduto> Product’s Name String M M M M M M NC NC M M M M

Classification

7 <XClassificacoes> List of products classifications.

7.1 <Classificacao> Classification of product

XClassificacao

Classification

8 <XClassificacao> Classification’s data

8.1 <Codigo> Classification’s code. String M M M M M M NC NC M M M M

8.2 <Denominacao> Denomination of the classifiaction

String M M M M M M NC NC M M M M

8.3 Sigla Abbreviation of the classification

String M M M M M M NC NC M M M M

Confirm

9 <XConfirmacao> Defines the option to confirm

String

Automotive type

10 <XTipoAutomoti

vo> Types of Automotive Grouping

String

Inputs

11 <XInsumos> Collection of input

11.1 <Insumo> Data of input XInsumo

Inputs

Page 36: Certificate of Origin - apps.certificadoecool.com.br

36

Document version: 2.42

12 <XInsumo> Data of input

12.1 <Tipo> Type of input XTipoInsumo

12.2 <Pais> ISO code of country where the input was produced

XPais

12.3 <Classificacao> Classification of input String F F F F F F NC NC F F F M

12.4 <Denominacao> Denomination of the input

String F F F F F F NC NC F F F M

12.5 <InsumoFabricad

oPais>

The value indicating

whether the input is

produced in this

country a preference

level of 100% and

without quantitative

limitation

XConfirmacao NC NC F NC NC NC NC NC NC NC F

M

12.6 <CCPTC>

Indicates whether input have a CCPTC (Certificate of compliance with the commom tariffic policy

XConfirmacao

12.7 <Quantidade>

The amount of input used for the total of the final exported product

Decimal

12.8 <IdUnidadeMedi

da>

Identifier of the unit of measurement of the input.

Integer

Page 37: Certificate of Origin - apps.certificadoecool.com.br

37

Document version: 2.42

12.9 <CodigoCCPTC> The identifier code of CCPTC that have a compliance in PTC.

String

12.10 <ValorCIF> Imput CIF Value Decimal F F F F F F NC NC F F F F

12.11 <ValorUSDdoMat

erialNacional> Value of nacional input Decimal F F F F F F NC NC F F F M

12.12 <UtilizaMateriaPrimaTerceiroPais>

A value indicating whether the input uses raw material from a non-originating country (countries that are not members of the agreement between Mercosur and Sacu) in the manufacturing process.

XConfirmacao NC NC NC NC NC NC NC NC NC NC NC M

12.13 <TransformacaoMateriaPrimaCu

mpreRegra>

A value indicating whether manufacturing process of a non-originating material complies with the rule of origin of the Trade Agreement (classified in a different heading or minimum regional content of 60%)

XConfirmacao NC NC NC NC NC NC NC NC NC NC NC M

12.14 <PrincipioAtivo>

A value indicating whether the input corresponds to the active ingredient of the declaration.

XConfirmacao F F F F F F F F F F F F

12.15 <ValorAduaneiro

> Customs value of the input.

Decimal NC F NC NC NC NC NC NC NC NC NC NC

12.16 Id Identifier of input of sworn declaration

Integer F F F F F F NC NC F F F M

Commercial names

13 <XNomesComerc

iais> List of commercial names, if available.

13.1 <NomeComercial

> Commercial name String O O O O O O NC NC O O O M

Exporters

Page 38: Certificate of Origin - apps.certificadoecool.com.br

38

Document version: 2.42

14 <XExportadores> Collection of exporters of sworn declaration

14.1 <Cnpj> Corporate Tax Number of the exporter of sworn declaration

String M M M M M M NC NC M M M M

14.2 Publica Identifies whether a product declaration is public

XConfirmacao

Part Numbers

15 <XPartNumbers> Colllection of part numbers

15.1 <PartNumber> Part number of product XPartNumber

Part Number

16 <XPartNumber> Product of part number data

16.1 <Codigo> Product’s part number String O O O O O O NC NC O O O O

16.2 <Cnpj>

Corporate Tax Number of the destination company of the product part number

String O O O O O O NC NC O O O O

Type of inputs

17 <XTipoInsumo> Define the type of input String

Country

18 <XPais> Define the countries String

Certificate

19 <XCertificados> Collection of certificates for processing

19.1 <Certificado> Certificate of origin data

XCertificado

Certificate

Page 39: Certificate of Origin - apps.certificadoecool.com.br

39

Document version: 2.42

20 <XCertificado> Certificate of origin data

20.1 <CnpjEmpresa> Corporate Tax Number of the company issuing the certificate of origin

String M M M M M M M M M M M M

20.2 <CodigoEmpresa

>

Identification code of the certificate of origin in the company

String M M M M M M M M M M M M

20.3 <TipoCertificado

> Indicates the type of certificate of origin

XTipoCertificado

20.4 <IdRegional> ID of the service unit selected to send the certificate.

Integer M M M M M M M M M M M M

20.5 <NomeAssinante

>

Name of the subscriber of the certificate of origin

String O O O O O O O O O O O O

20.6 <IdAcordo> ID of the trade agreement selected for the certificate.

Integer M M M M M M M M M M M M

20.7 <Idioma> Language of certificate of origin.

XIdioma

20.8 <IdEndereco> Identifier of the adress of certificate of origin.

Integer M M M M M M M M M M M M

20.9 <IdImportador> Identifier of importer of certificate of origin.

Integer M M M M M M M M M M M M

Page 40: Certificate of Origin - apps.certificadoecool.com.br

40

Document version: 2.42

20.10 <Consignatario> Data of the consignee of the certificate of origin

XConsignatarioProdutor

NC M M F F NC M NC NC NC F NC

20.11 <Produtor> Data of the producer of the product

XConsignatarioProdutor

NC NC NC NC NC NC NC M NC NC NC NC

20.12 <IdLocalEmbarqu

e>

Identifier of the place of embarkation of the product

Integer NC M M M M M NC NC M M M M

20.13 <IdMeioTranspor

te>

Identifier of the means of transport of the product

Integer NC M M M M M M NC NC M M M

20.14 <IdAduanaDestin

o>

Identifier of the customs office of the destination country.

Integer O O O O O O O O O O O O

20.15 <FaturaNacional

>

Data of the national invoice of the certificate of origin .

XFatura

20.16 <Rota> Product transport route.

String NC NC NC NC NC NC NC NC NC NC NC NC

20.17 <IdInterveniente

>

Identifier of intervening company of the certificate of origin.

Integer F F F F F F F F F F F F

20.18 <FaturaInterveni

ente>

Invoice data of the intervener of the certificate of origin .

XFaturaInterveniente

20.19 <Produtos> Products of the certificate of origin.

XProdutos

20.20 <PesoLiquido> Total net weight of the inputs of the certificate of origin

Decimal O O O O O O M O O O O O

Page 41: Certificate of Origin - apps.certificadoecool.com.br

41

Document version: 2.42

20.21 <PesoBruto> Total gross weight of the inputs of the certificate of origin

Decimal O O O O O O M O O O O O

20.22 <ValorTotal> Total value of the invoice of the certificate of origin

Decimal M M M M M M M M M M M M

20.23 <TipoEmissaoPos

teriori> The type of the post emission

XTipoEmissaoPosteriori

NC NC NC NC NC NC NC NC M NC M M

20.24 <Observacoes> Observations of the certificate of origin

String O O O O O O O O O O O O

20.25 <MoedaLocal> Indicates whether you are using local currency

XConfirmacao NC NC NC NC NC NC NC NC NC NC NC NC

20.26 <ArquivosFatura

> List of Invoice Files XArquivosFaturas

20.27 <FaturasComerci

ais> Lito f Comercial Invoices

XFaturasComerciais

20.28 <ApresentaFaturaInterveniente>

indicates if the value o invoice intervening must be showed in certificate of origen.

XConfirmacao

20.29 <DocumentoExp

ostacao> The document of the expotation

XDocumentoExportacao

NC NC NC NC NC NC NC NC NC NC NC M

20.30 <ArquivosAnexo> A list of attached files from the certificate

XArquivosAnexo NC NC NC NC NC NC NC NC NC NC NC M

20.31 <ArquivosDUEInt

raQuota> A list of attached files of the DUE

XArquivosDueIntraQuota NC O NC NC NC NC NC NC NC NC NC NC

20.32 <Status> Indicates the certificate status XStatus F F F F F F F F F F F F

20.33 Id Identifier of the certificate of origen.

Integer M M M M M M M M M M M M

Type of certificate

21 <XTipoCertificad

o> Define the source certificate types

Page 42: Certificate of Origin - apps.certificadoecool.com.br

42

Document version: 2.42

Consignee / Producer

22 <XConsignatario

Produtor>

Data of the consignee / producer of the product

22.1 <Nome> Name of the consignee / producer of the product

String NC NC M F F NC M M NC NC NC NC

22.2 <Endereco> Adress of the consignee / producer of the product

XEnderecoReduzido

Adress reduced

23 <XEnderecoRedu

zido> Adress data

23.1 <Logradouro> Street adress String M M M M M M M NC NC NC NC NC

23.2 <Cidade> Address city

String M M M M M M M NC NC NC NC NC

23.3 <Pais>

ISO code from the address country

XPais

Invoice

24 <XFatura> Invoice data

24.1 <Numero> Invoice number String M M M M M M M M M M M M

24.2 <Data> Invoice date Date M M M M M M M M M M M M

Intervening invoice

25 <XFaturaInterven

iente> Intervening invoice data

25.1 <Numero> Intervening invoice number

String F F F F F F F F F F F F

25.2 <Data> Intervening invoice date

Date F F F F F F F F F F F F

25.3 <Apresentacao> Indicates whether the value of the Intervening invoice is to be

XConfirmacao

Page 43: Certificate of Origin - apps.certificadoecool.com.br

43

Document version: 2.42

presented in the certificate.

Products

26 <XProducts> Compilation of products of the Certificate of Origin

26.1 <Product> Data of the products of the Certificate of Origin

XProduct

Product

27 <XProduct> Data of the product of the Certificate of Origin

27.1 <IdDeclaracao> Identification of the product declaration

Integer M M M M M M NC NC M M M M

27.2 <Denominacao> Description of the product

String M M M M M M M M M M M M

27.3 <PesoQuantidad

e> Weight or quantity of the product units.

Decimal M M M M M M M M M M M M

27.4 <IdUnidadeMedi

da>

Identification of the unit of measurement of the product.

Integer M M M M M M M M M M M M

27.5 <IdEmbalagem> Identification of the product packaging.

Integer NC NC NC NC NC NC M NC NC NC NC M

27.6 <Classificacao> Product classification String M M M M M M NC M M M M M

27.7 <ValorUnitario> Unit value of the Product.

Decimal M M M M M M M M M M M M

27.8 <ValorTotalFOB> Total FOB Value of the product.

Decimal M M M M M M M M M M M M

27.9 <ValorIntervenie

nteFOB> FOB value of the intervening product

Decimal F F F F F F F F F F F F

27.10 <PesoLiquido> Net weight of the product

Decimal NC NC NC NC NC NC NC NC NC NC NC NC

27.11 <PesoBruto> Gross weight of the product

Decimal NC NC NC NC NC NC NC NC NC NC NC NC

27.12 <NormaOrigem> Identification of the rules of origin of the product

String M M M M M M M M M M M F

Page 44: Certificate of Origin - apps.certificadoecool.com.br

44

Document version: 2.42

Changing the status of Sworn Declaration

https://homolog.certificadoecool.com.br/Services/ServImportacao.asmx?op=AlterarStatusDeclaracao

# Field Description Type Size Comments and Validations

Parameters of data sending

1 <Usuario> User to access the import service. String

2 <Senha> Password to access the import service. String

3 <CNPJ> Corporate Tax Number (CNPJ ) of the declaring company

String 14 Corporate Tax Number (CNPJ ) with no dots or dashes

4 <Acao> Identifies the new declaration status String 1 Allowed actions: “I” To inactivate the declaration. “R” To reactivate the declaration.

5 <Declaracoes> Identification of one or more declarations. String In case of sending to more than one identifier, separate by comma.

Return structure

Processing Result

7 <XResultadoProcessamento>

Compilation of the result of the items processing.

7.1 <Item> Result of the item processing. XResultadoItem <xsd:element name="Item" minOccurs="1" maxOccurs="unbounded"

type="XResultadoItem" />

Result of the item processing

8 <XResultadoItem> Result of the item processing.

8.1 <Erros> Errors found during the processing of the item.

XErros <xsd:element name="Erros" minOccurs="0" maxOccurs="1" type="XErros">

8.2 <CodigoEmpresa> Identification code of the item in the company.

String <xsd:attribute name="CodigoEmpresa" use="required" type="xsd:string">

8.3 <Valido> Indicates whether the item was successfully validated.

XConfirmacao <xsd:attribute name="Valido" use="required" type="XConfirmacao">

8.4 <Armazenado> Indicates whether the item was stored in the system.

XConfirmacao <xsd:attribute name="Armazenado" use="required" type="XConfirmacao">

27.13 <ClassificacaoNC

CA> NCCA Code of the product

String O NC NC NC NC NC NC NC NC NC NC NC

27.14 <Id> Identification of the Certificate Product

Integer M M M M M M M M M M M M

27.15 <ValorFOBUnitari

oExportacao>

Unitary Exportation FOB Value US$. Decimal NC F NC NC NC NC NC NC NC NC NC NC

Page 45: Certificate of Origin - apps.certificadoecool.com.br

45

Document version: 2.42

8.5 <Id> Indicator of the item generated by the system

Integer <xsd:attribute name="Id" type="xsd:int" use="optional">

Page 46: Certificate of Origin - apps.certificadoecool.com.br

46

Document version: 2.42

Export Service https://homolog.certificadoecool.com.br/Services/ServExportacao.asmx

The eCool system has its own identifiers for registers (IDs). Thus, these are required when making the registers in the system, and in order to do so, the Export Service was made available to provide all the data of registrations to be be used later in the import of the lot.

For further information: https://apps.certificadoecool.com.br/help

XSD File: https://homolog.certificadoecool.com.br/Services/Schema/v1_0/Exportacao.xsd (After accessing the link, right-click on the browser screen and choose the "view page source" option to be able to view the xsd correctly)

All export methods have the following common return:

Note: Each export method returns the compilation of its filled entity and the other empty compilations

# Field Description Type Size Comments and Validations

Return of Export

1 <XRetornoExportacao> Return of Export Structure

1.1 <Autenticacao> Data of the User authentication in the

service.

XAutenticacao <xsd:element name="Autenticacao" minOccurs="1" maxOccurs="1"

type="XAutenticacao" />

1.2 <Criterios> Filtering criteria used in export. XCriterios <xsd:element name="Criterios" minOccurs="0" maxOccurs="1" type="XCriterios" />

1.3 <AcordosComerciais> Compilation of trade agreements. XAcordosComerci

ais

<xsd:element name="AcordosComerciais" minOccurs="0" maxOccurs="1"

type="XAcordosComerciais" />

1.4 <Regionais> Compilation unit services

XRegionais <xsd:element name="Regionais" minOccurs="0" maxOccurs="1" type="XRegionais" />

1.5 <Embalagens> Compilation of packaging XEmbalagens <xsd:element name="Embalagens" minOccurs="0" maxOccurs="1" type="XEmbalagens"

/>

1.6 <UnidadesMedida> Compilation of Units of measurement XUnidadesMedida <xsd:element name="UnidadesMedida" minOccurs="0" maxOccurs="1" type="XUnidadesMedida" />

1.7 <LocaisEmbarque> Compilation of Boarding places XLocaisEmbarque <xsd:element name="LocaisEmbarque" minOccurs="0" maxOccurs="1" type="XLocaisEmbarque" />

Page 47: Certificate of Origin - apps.certificadoecool.com.br

47

Document version: 2.42

1.8 <MeiosTransporte> Compilation of Means of transport XMeiosTransporte <xsd:element name="MeiosTransporte" minOccurs="0" maxOccurs="1" type="XMeiosTransporte" />

1.9 <TiposClassificacao> Compilation of Classification types XTiposClassificacao

<xsd:element name="TiposClassificacao" minOccurs="0" maxOccurs="1" type="XTiposClassificacao" />

1.10 <Correlacoes> Compilation of Correlations XCorrelacoes <xsd:element name="Correlacoes" minOccurs="0" maxOccurs="1" type="XCorrelacoes" />

1.11 <Importadores> Compilation of Importers XImportadores <xsd:element name="Importadores" minOccurs="0" maxOccurs="1" type="XImportadores" />

1.12 <Intervenientes> Compilations of the intervening XIntervenientes <xsd:element name="Intervenientes" minOccurs="0" maxOccurs="1" type="XIntervenientes" />

1.13 <Enderecos> Compilation of addresses XEnderecos <xsd:element name="Enderecos" minOccurs="0" maxOccurs="1" type="XEnderecos" />

1.14 <DeclaracoesFabricante> Compilation of the manufacturer's declarations

XDeclaracoesFabricante

<xsd:element name="DeclaracoesFabricante" minOccurs="0" maxOccurs="1" type="XDeclaracoesFabricante" />

1.15 <Declaracoes> Compilation of declarations XDeclaracoes <xsd:element name="Declaracoes" minOccurs="0" maxOccurs="1" type="XDeclaracoes" />

1.16 <Certificados> Compliation of certificates XCertificados <xsd:element name="Certificados" minOccurs="0" maxOccurs="1" type="XCertificados" />

1.17 <ConsultaStatus> Compilation of status of declarations or certificates.

XResultadoProcessamento

<xsd:element name="ConsultaStatus" minOccurs="0" maxOccurs="1" type="XResultadoProcessamento" />

1.18 <Procuracoes> Power of Attorney XProcuracoes <xsd:element name="Procuracoes" minOccurs="0" maxOccurs="1" type="XProcuracoes" />

1.19 <TiposEmissaoPosterior> Compliation of the post emission XTipoEmissaoPosteiori

<xsd:element name="TiposEmissaoPosterior" minOccurs="0" maxOccurs="1"

type="XTiposEmissaoPosteriori" />

1.20 <LocaisExportacao> Compliation of the exportation locals XLocaisExportacao

<xsd:element name="LocaisExportacao" minOccurs="0" maxOccurs="1"

type="XLocaisExportacao" />

1.21 <AduanasDestino> Compilation of the customs office of destination.

XAduanasDestino <xsd:element name="AduanasDestino" minOccurs="0" maxOccurs="1"

type="XAduanasDestino" />

1.22 Versao Version of the export layout. Decimal <xsd:attribute name="Versao" type="xsd:decimal" use="required">

1.23 <CorrelacoesExportacao> Collection of correlations from the batch search.

XCorrelacoesLote <xsd:element name="CorrelacoesExportacao" minOccurs="0" maxOccurs="1"

type="XCorrelacoesLote" />

1.24 <Validacao> Data from the validation of the sent data against the XSD.

XValidacao <xsd:element name="Validacao" minOccurs="0" maxOccurs="1"

type="XValidacao" />

Criteria

2 <XCriterios> Criteria Data

2.1 <Usúario> Name of the user exporting the data. String <xsd:element name="Usuario" minOccurs="1" maxOccurs="1" type="xsd:string">

2.2 <CNPJEmpresa> Corporate Tax Number of the company exporting the data.

String <xsd:element name="CnpjEmpresa" minOccurs="1" maxOccurs="1" type="xsd:string">

2.3 <CNPJFabricante> Corporate Tax Number of the product’s manufacturer

String <xsd:element name="CnpjFabricante" minOccurs="0" maxOccurs="1" type="xsd:string">

2.4 <Identificador> Identification of the declaration of the product or the certificate of origin.

Int <xsd:element name="Identificador" minOccurs="0" maxOccurs="1" type="xsd:int">

2.5 <DataInicial> Start date of the export interval. Date <xsd:element name="DataInicial" minOccurs="0" maxOccurs="1" type="xsd:date">

2.6 <DataFinal> Final date of the export interval. Date <xsd:element name="DataFinal" minOccurs="0" maxOccurs="1" type="xsd:date">

Page 48: Certificate of Origin - apps.certificadoecool.com.br

48

Document version: 2.42

2.7 <Classificacao> Classification of the correlations export Classificacao <xsd:element name="Classificacao" minOccurs="0" maxOccurs="1">

2.8 <Classificacoes> List of classifications from the batch correlation export.

Classificacoes <xsd:element name="Classificacoes" minOccurs="0" maxOccurs="1">

Classification

3 <Classificacao> Classification data

3.1 <Sigla> Classification acronym String <xsd:element name="Sigla" minOccurs="1" maxOccurs="1" type="xsd:string">

3.2 <Codigo> Classification code String <xsd:element name="Codigo" minOccurs="1" maxOccurs="1" type="xsd:string">

Classifications

4 <Classificacoes> List of classifications to be searched.

4.1 <Classificacao> Classification data Classificacao <xsd:element name="Classificacao" minOccurs="0" maxOccurs="unbounded" >

Validations

5 <XValidacao> Information from the erros and alerts rised while processing the request.

5.1 <Erros> List of errors found during the validation of the request.

XErrosValidacao <xsd:element name="Erros" minOccurs="0" maxOccurs="1"

type="XErrosValidacao" />

5.2 <Avisos> List of alerts found during the validation of the request.

XAvisosValidacao <xsd:element name="Avisos" minOccurs="0" maxOccurs="1"

type="XAvisosValidacao" />

Errors

6 <XErrosValidacao> List of errors found during the validation of the request.

6.1 <Erro> Data from the error found. XMensagemValidacao

<xsd:element name="Erro" minOccurs="1" maxOccurs="unbounded"

type="XMensagemValidacao">

Alerts

7 <XAvisosValidacao> List of alerts found during the validation of the request.

7.1 <Erro> Data from the alert found. XMensagemValidacao

<xsd:element name="Erro" minOccurs="1" maxOccurs="unbounded"

type="XMensagemValidacao">

[Obsolete] ConsultarStatus Method

This method is Obsolete. Please, use the "ConsultarStatusDeclaracoesCertificados" method to check the status of declarations or

certificates:

Page 49: Certificate of Origin - apps.certificadoecool.com.br

49

Document version: 2.42

ConsultarStatusDeclaracoesCertificados Method

# Field Description Type Size Comments and Validations

Parameters of data sending

1 <Usuario> User to access the export service. String

2 <Senha> Password to access the export service String

3 <Tipo> Type of query <XTipoConsulta> <xsd:simpleType name="XTipoConsulta"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="Declaracao" /> <xsd:enumeration value="Certificado" /> </xsd:restriction>

4 <Identificadores> Identifiers of the certificate or declaration to be queried.

String Identifiers of one or more certificate/declaration to be queried for the statuses. If there is more than one identifier, separate by comma. It is not possible to send certificate and declaration identifiers at the same time. In this case, two queries must be made, one for each type.

Return structure

Result of processing

1 <XResultadoProcessamento>

Compilation of result s of items processing

1.1 <Item> Detail of the status query XArquivosFatura <xsd:element name="Item" minOccurs="1" maxOccurs="unbounded" type="XConsultaStatus" />

Status query

2 <XConsultaStatus> Status of the product declaration or certificate of origin

2.1 <Status> Status of the product declaration or certificate of origin

XStatusConsulta <xsd:element name="Status" minOccurs="1" maxOccurs="1" type="XStatusConsulta">

2.2 <Motivo> Latest reason, in case of status of return String <xsd:element name="Motivo" minOccurs="0" maxOccurs="1" type="xsd:string">

2.3 <Observacao> Observation on the latest reason for return, in case of of status of return.

String <xsd:element name="Observacao" minOccurs="0" maxOccurs="1" type="xsd:string">

2.4 <MotivosDevolucao> Compilation of reasons for the return, in case of status of return.

XMotivosDevolucao

<xsd:element name="MotivosDevolucao" minOccurs="0" maxOccurs="1" type="XMotivosDevolucao">

2.5 <Tipo> Type of status query XTipoConsulta <xsd:attribute name="Tipo" type="XTipoConsulta" use="required">

2.6 <Id> Identification of the declaration of the product or the certificate of origin.

Integer <xsd:attribute name="Id" type="xsd:int" use="required">

Reasons for the Return

3 <XMotivosDevolucao> Compilation of reasons for the return

Page 50: Certificate of Origin - apps.certificadoecool.com.br

50

Document version: 2.42

3.1 <MotivoDevolucao> Details of the reason for the return XMotivoDevolucao

<xsd:element name="MotivoDevolucao" minOccurs="1" maxOccurs="unbounded" type="XMotivoDevolucao">

Reason for the Return

4 <XMotivoDevolucao> Data of the reason for the return

4.1 <Motivo> Description of the reason for the return. String <xsd:element name="Motivo" minOccurs="1" maxOccurs="1" type="xsd:string">

4.2 <Observacao> Observation on the reason for the return String <xsd:element name="Observacao" minOccurs="1" maxOccurs="1" type="xsd:string">

4.3 <Data> Date and time of the return DateTime <xsd:element name="Data" minOccurs="1" maxOccurs="1" type="xsd:dateTime">

Status of the product Declaration or Certificate of Origin

5 <XStatusConsulta> Status to be consulted String <xsd:simpleType name="XStatusConsulta"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="Aprovada" /> <xsd:enumeration value="Enviada" /> <xsd:enumeration value="Conferindo" /> <xsd:enumeration value="Salva" /> <xsd:enumeration value="Devolvida" /> <xsd:enumeration value="Excluida" /> <xsd:enumeration value="Inativa" /> <xsd:enumeration value="Vencida" /> <xsd:enumeration value="NaoEncontrado" /> <xsd:enumeration value="Renovada" /> <xsd:enumeration value="DevolucaoPresencial" /> </xsd:restriction> </xsd:simpleType>

ExportarAcordosComerciais Method

# Field Description Type Size Comments and Validations

Parameters of data sending

1 <Usuario> User to access the export service. String 2 <Senha> Password to access the export service. String

Page 51: Certificate of Origin - apps.certificadoecool.com.br

51

Document version: 2.42

Return structure

Trade Agreements

1 <XAcordosComerciais> Compilation of trade agreements

1.1 <AcordoComercial> Data of the Trade agreement XAcordoComercial

<xsd:element name="AcordoComercial" minOccurs="0" maxOccurs="unbounded" type="XAcordoComercial" />

1.2 <Erros> Compilation of errors XErros <xsd:element name="Erros" minOccurs="0" maxOccurs="1" type="XErros" />

1.3 <Sucesso> Indicates whether the query was successfully run

XConfirmacao <xsd:attribute name="Sucesso" use="required" type="XConfirmacao">

Trade Agreement

2 <XAcordoComercial> Data of the Trade agreement

2.1 <Nome> Title of the Trade agreement String <xsd:element name="Nome" minOccurs="1" maxOccurs="1" type="xsd:string">

2.2 <Sigla> Acronym of the Trade agreement String <xsd:element name="Sigla" minOccurs="1" maxOccurs="1" type="xsd:string">

2.3 <Abreviacao> Abbreviation of the Trade agreement. String <xsd:element name="Abreviacao" minOccurs="1" maxOccurs="1" type="xsd:string">

2.4 <Artigo> Article of the Trade agreement String <xsd:element name="Artigo" minOccurs="1" maxOccurs="1" type="xsd:string">

2.5 <Validade> Validity of the trade agreement (in months).

Integer <xsd:element name="Validade" minOccurs="1" maxOccurs="1" type="xsd:int">

2.6 <Status> Status of the trade agreement XStatusRegistro <xsd:element name="Status" minOccurs="1" maxOccurs="1" type="XStatusRegistro">

2.7 <Paises> Compilation of countries on the trade agreement.

XPaisLista <xsd:element name="Paises" minOccurs="1" maxOccurs="1" type="XPaisLista">

2.8 <Id> Identifier of the trade agreement in the eCool system.

Integer <xsd:attribute name="Id" type="xsd:int" use="required">

List of countries that are part of the trade agreement.

3 <XPaisLista> Compilation of countries on the trade agreement.

3.1 <XPais> Country of the trade agreement XPais <xsd:element name="Pais" minOccurs="1" maxOccurs="unbounded" type="XPais">

ExportarCertificados Method

# Field Description Type Size Comments and Validations

Parameters of data sending

1 <Usuario> User to access the export service. String

2 <Senha> Password to access the export service String

3 <CNPJEmpresa> Corporate Tax Number String 14 Corporate Tax Number (CNPJ ) with no dots or dashes

4 <IdCertificado> Identifier of the certificate to be queried Integer Send “0” (zero) In case of exporting the certificates by periods of time

Page 52: Certificate of Origin - apps.certificadoecool.com.br

52

Document version: 2.42

5 <DataInicial> Start date of the certificate query period. String Date in the format dd/MM/yyyy. This date must be filled in and the " IdCertificado" parameter in case it is sent with a value

of zero.

6 <DataFinal> Final date of the certificate query period String Date in the format dd/MM/yyyy. This date must be filled in and the " IdCertificado" parameter in case it is sent with a value

of zero.

Return structure

Certificates

1 <XCertificados> Compilation of certificates

1.1 <Certificado> Certificate data XCertificado <xsd:element name="Certificado" minOccurs="1" maxOccurs="unbounded" type="XCertificado" />

1.2 <Erros> Compilation of errors XErros <xsd:element name="Erros" minOccurs="0" maxOccurs="1" type="XErros" />

1.3 <Sucesso> Indicates whether the query was successfully run

XConfirmacao <xsd:attribute name="Sucesso" use="required" type="XConfirmacao">

1.4 <CNPJEmpresa> Corporate Tax Number of the company to be queried

String <xsd:attribute name="CnpjEmpresa" use="required" type="xsd:string">

Certificate

2 <XCertificado> Certificate data

2.1 <CNPJEmpresa> Corporate Tax Number of the certificate’s company

String <xsd:element name="CnpjEmpresa" minOccurs="1" maxOccurs="1" type="xsd:string">

2.2 <CodigoEmpresa> Certificate code in the company’s environment.

String <xsd:element name="CodigoEmpresa" minOccurs="1" maxOccurs="1" type="xsd:string">

2.3 <Acordo> Certificate trade agreement XAcordoComercial

<xsd:element name="Acordo" minOccurs="1" maxOccurs="1" type="XAcordoComercial">

2.4 <Endereco> Certificate address XEndereco <xsd:element name="Endereco" minOccurs="1" maxOccurs="1" type="XEndereco">

2.5 <Importador> Certificate importer

XImportador <xsd:element name="Importador" minOccurs="0" maxOccurs="1" type="XImportador">

2.6 <Consignatario> Certificate consignee XConsignatarioProductr

<xsd:element name="Consignatario" minOccurs="0" maxOccurs="1" type="XConsignatarioProductr">

2.7 <Productr> Certificate product XConsignatarioProductr

<xsd:element name="Productr" minOccurs="0" maxOccurs="1" type="XConsignatarioProductr">

2.8 <MeioTransporte> Certificate Means of transport XMeioTransporte <xsd:element name="MeioTransporte" minOccurs="0" maxOccurs="1" type="XMeioTransporte">

2.9 <LocalEmbarque> Certificate Shipping place XLocalEmbarque <xsd:element name="LocalEmbarque" minOccurs="0" maxOccurs="1" type="XLocalEmbarque">

2.10 <FaturaNacional> Invoice data. XFatura <xsd:element name="FaturaNacional" minOccurs="1" maxOccurs="1" type="XFatura">

2.11 <AduanaDestino> Certificate customs office XAduanaDestino <xsd:element name="AduanaDestino" minOccurs="0" maxOccurs="1"

type="XAduanaDestino">

2.12 <Interveniente> Certificate intervening XIntervenienteFatura

<xsd:element name="Interveniente" minOccurs="0" maxOccurs="1" type="XIntervenienteFatura">

2.13 <Regional> ID of the service unit selected to send the certificate.

XRegional <xsd:element name="Regional" minOccurs="0" maxOccurs="1" type="XRegional">

Page 53: Certificate of Origin - apps.certificadoecool.com.br

53

Document version: 2.42

2.14 <Products> Certificate Compilation of products XProducts <xsd:element name="Products" minOccurs="1" maxOccurs="1" type="XProducts">

2.15 <PesoLiquido> Total net weight of the supplies Decimal <xsd:element name="PesoLiquido" minOccurs="1" maxOccurs="1" type="xsd:decimal">

2.16 <PesoBruto> Total gross weight of the supplies Decimal <xsd:element name="PesoBruto" minOccurs="1" maxOccurs="1" type="xsd:decimal">

2.17 <ValorTotal> Total of the invoice. Decimal <xsd:element name="ValorTotal" minOccurs="1" maxOccurs="1" type="xsd:decimal">

2.18 <Observacoes> Observations on the certificate String <xsd:element name="Observacoes" minOccurs="0" maxOccurs="1" type="xsd:string">

2.19 <EmissaoPosteriori> Notifies that the issue was made after the export

XConfirmacao <xsd:element name="EmissaoPosteriori" minOccurs="0" maxOccurs="1" type="XConfirmacao">

2.20 <Algoritmo> Certificate Algorithm number String <xsd:element name="Algoritmo" minOccurs="0" maxOccurs="1" type="xsd:string">

2.21 <Versao> Certificate version Integer <xsd:element name="Versao" minOccurs="1" maxOccurs="1" type="xsd:int">

2.22 <Rota> Certificate route String <xsd:element name="Rota" minOccurs="0" maxOccurs="1" type="xsd:string">

2.23 <DataRegistro> Date of certificate register DateTime <xsd:element name="DataRegistro" minOccurs="1" maxOccurs="1" type="xsd:dateTime">

2.24 <DataAnalise> Date of certificate analysis DateTime <xsd:element name="DataAnalise" minOccurs="0" maxOccurs="1" type="xsd:dateTime">

2.25 <DataAprovacao> Date of certificate approval DateTime <xsd:element name="DataAprovacao" minOccurs="0" maxOccurs="1" type="xsd:dateTime">

2.26 <DataImpressao> Date of certificate printing DateTime <xsd:element name="DataImpressao" minOccurs="0" maxOccurs="1" type="xsd:dateTime">

2.27 <NomeAssinante> Signers name. String <xsd:element name="NomeAssinante" minOccurs="0" maxOccurs="1" type="xsd:string">

2.28 <MoedaLocal> Indicates whether the certificate uses local currency.

XConfirmacao <xsd:element name="MoedaLocal" minOccurs="1" maxOccurs="1" type="XConfirmacao">

2.29 <FaturasComerciais> List of Comercial Invoices <XFaturasComerciais>

<xsd:element name="FaturasComerciais" minOccurs="0" maxOccurs="1"

type="XFaturasComerciais">

2.30 <ApresentaFaturaInterveniente>

Identifier if the value o invoice intervening must be showed in certificate of origen.

XConfirmacao <xsd:element name="ApresentaFaturaInterveniente" minOccurs="0"

maxOccurs="1" type="XConfirmacao">

2.31 <Selado> Indicates whether the certificate is authenticated.

XConfirmacao <xsd:element name="Selado" minOccurs="1" maxOccurs="1" type="XConfirmacao">

2.32 <ProcessoFinalizado> Value that indicates if the process containing QR Code has been concluded

XConfirmacao <xsd:element name="ProcessoFinalizado" minOccurs="1" maxOccurs="1" type="XConfirmacao">

2.33 <Status> Indicates the status of the certificate XStatusCertificado <xsd:element name="Status" minOccurs="1" maxOccurs="1" type="XStatusCertificado">

2.34 <Tipo> Indicated the type of certificate XTipoCertificado <xsd:element name="Tipo" minOccurs="1" maxOccurs="1" type="XTipoCertificado">

2.35 <Idioma> Indicated the language of the certificate XIdioma <xsd:element name="Idioma" minOccurs="1" maxOccurs="1" type="XIdioma">

2.36 <ArquivosDueIntraQuotas>

Listo f attachments refering the DUE XArquivosDueIntraQuota

<xsd:element name="ArquivosDueIntraQuota" minOccurs="0" maxOccurs="1"

type="XArquivosDueIntraQuota">

2.37 <Id> Certificate identifier in the eCool system. Integer <xsd:attribute name="Id" type="xsd:int" use="required">

Certificate intervening

3 <XIntervenienteFatura> Data of the Certificate intervening

3.1 <Nome> Name of the Intervening String <xsd:element name="Nome" minOccurs="1" maxOccurs="1" type="xsd:string">

3.2 <Endereco> Address of the Intervening XEnderecoReduzido

<xsd:element name="Endereco" minOccurs="1" maxOccurs="1" type="XEnderecoReduzido">

3.3 <Fatura> Invoice of the Intervening XFatura <xsd:element name="Fatura" minOccurs="1" maxOccurs="1" type="XFatura">

3.4 <ApresentacaoFatura> Indicates whether the value of the invoice of the intervening is presented in the

certificate.

XConfirmacao <xsd:element name="ApresentacaoFatura" minOccurs="1" maxOccurs ="1" type="XConfirmacao">

Page 54: Certificate of Origin - apps.certificadoecool.com.br

54

Document version: 2.42

3.5 <Id> Identifier of the intervening Int <xsd:attribute name="Id" type="xsd:int" use="required">

Certificate Status

4 <XStatusCertificado> Defines the certificate status. String <xsd:simpleType name="XStatusCertificado"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="Salvo"/> <xsd:enumeration value="Enviado"/> <xsd:enumeration value="Analise"/> <xsd:enumeration value="Aprovado"/> <xsd:enumeration value="Reprovado"/> <xsd:enumeration value="Excluido"/> <xsd:enumeration value="Inativo"/> <xsd:enumeration value="PendenteAssinatura"/> <xsd:enumeration value="DevolvidoPresencialmente"/> </xsd:restriction> </xsd:simpleType>

ExportarDeclaracaoFabricante Method

# Field Description Type Size Comments and Validations

Parameters of data sending

Page 55: Certificate of Origin - apps.certificadoecool.com.br

55

Document version: 2.42

1 <Usuario> User to access the export service. String

2 <Senha> Password to access the export service String

3 <CNPJEmpresa> Corporate Tax Number of the export company

String 14 Corporate Tax Number (CNPJ ) with no dots or dashes

4 <CNPJFabricante> Corporate Tax Number of the manufacturing company

String 14 Corporate Tax Number (CNPJ ) with no dots or dashes

5 <DataInicial> Start date of the declaration search (filter by declaration approval date)

Date Date in the format dd/MM/yyyy.

6 <DataFinal> Final date of the declaration search (filter by declaration approval date)

Date Date in the format dd/MM/yyyy.

Return structure

Manufacturer Declarations

1 <XDeclaracoesFabricante> Compilation of the Manufacturer Declarations

1.1 <Declaracao> Data of the Manufacturer Declarations XDeclaracaoFabricante

<xsd:element name="Declaracao" minOccurs="1" maxOccurs="unbounded" type="XDeclaracaoFabricante" />

1.2 <Erros> Compilation of errors. XErros <xsd:element name="Erros" minOccurs="0" maxOccurs="1" type="XErros" />

1.3 <Sucesso> Indicates whether the query was successfully run.

XConfirmacao <xsd:attribute name="Sucesso" use="required" type="XConfirmacao">

1.4 <CnpjEmpresa> Corporate Tax Number of the company to be queried

String <xsd:attribute name="CnpjEmpresa" use="required" type="xsd:string">

1.5 <CnpjFabricante> Corporate Tax Number of the manufacturer

String <xsd:attribute name="CnpjFabricante" use="required" type="xsd:string">

Manufacturer Declaration

2 <XDeclaracaoFabricante> Data of the Manufacturer Declaration

2.1 <CnpjEmpresa> Corporate Tax Number of the declaring company

String <xsd:element name="CnpjEmpresa" minOccurs="1" maxOccurs="1" type="xsd:string">

2.2 <CodigoEmpresa> Declaration code in the company environment.

String <xsd:element name="CodigoEmpresa" minOccurs="0" maxOccurs="1" type="xsd:string">

2.4 <NomesProduct> Product’s Name XNomesProduct <xsd:element name="NomesProduct" minOccurs="1" maxOccurs="1" type="XNomesProduct">

2.5 <Classificacoes> Compilation of the declaration classifications

XClassificacoes <xsd:element name="Classificacoes" minOccurs="1" maxOccurs="1" type="XClassificacoes">

2.6 < NomesComerciais > List of commercial names, if available. XNomesComerciais

<xsd:element name="NomesComerciais" minOccurs="0" maxOccurs="1" type="XNomesComerciais">

2.7 <PartNumbers> Compilation of the part numbers of the Product.

XPartNumbersFabricante

<xsd:element name="PartNumbers" minOccurs="0" maxOccurs="1" type="XPartNumbersFabricante">

2.8 <Normas> Compilation of declaration standards XNormas <xsd:element name="Normas" type="XNormas" minOccurs="1" maxOccurs="1">

2.9 <Vencimento> Expiration date of the declaration Date <xsd:element name="Vencimento" minOccurs="1" maxOccurs="1" type="xsd:date">

2.10 <Id> Identifier of the declaration in the eCool system.

Integer <xsd:attribute name="Id" type="xsd:int" use="required">

Part Numbers Manufacturer

3 <XPartNumbersFabricante>

Compilation of part numbers.

Page 56: Certificate of Origin - apps.certificadoecool.com.br

56

Document version: 2.42

3.1 <PartNumber> Code of the part number String <xsd:element name="PartNumber" minOccurs="1" maxOccurs="unbounded" type="xsd:string">

Rules

4 <XNormas> Compilation of declaration standards

4.1 <Norma> Data of the rule XNorma <xsd:element name="Norma" minOccurs="1" maxOccurs="unbounded" type="XNorma" />

Rule

5 <XNorma> Data of therule

5.1 <Descricao> Description of the rule String <xsd:element name="Descricao" minOccurs="1" maxOccurs="1" type="xsd:string">

5.2 <Acordo> Trade agreement of the rule XAcordoComercial

<xsd:element name="Acordo" minOccurs="1" maxOccurs="1" type="XAcordoComercial">

5.3 Id Identifier of the rule Integer <xsd:attribute name="Id" type="xsd:int" use="required">

Registration Status

6 <XStatusRegistro> Defines the registration status <xsd:simpleType name="XStatusRegistro"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="Ativo" /> <xsd:enumeration value="Inativo" /> </xsd:restriction> </xsd:simpleType>

ExportarDeclaracoesPorPeriodo Method

# Field Description Type Size Comments and Validations

Parameters of data sending

Page 57: Certificate of Origin - apps.certificadoecool.com.br

57

Document version: 2.42

1 <Usuario> User to access the export service. String

2 <Senha> Password to access the export service String

3 <CNPJEmpresa> Corporate Tax Number of the declaring company

String 14 Corporate Tax Number (CNPJ ) with no dots or dashes

4 <IdDeclaracao> Identifies the specific to be exported. String Number of the declaration to be exported. Send blank in case the export is done by period.

5 <DataInicio> Start date of the declarations query String Date in the format dd/MM/yyyy. Send blank in case the export is done by the identifier of the declaration

6 <DataFim> Final date of the declarations query String Date in the format dd/MM/yyyy. Send blank in case the export is done by the identifier of the declaration

Return structure

Declarations

1 <XDeclaracoes> Compilation of declarations

1.1 <Declaracao> Data of the declaration XDeclaracao <xsd:element name="Declaracao" minOccurs="1" maxOccurs="unbounded" type="XDeclaracao" />

1.2 <Erros> Compilation of errors. XErros <xsd:element name="Erros" minOccurs="0" maxOccurs="1" type="XErros" />

1.3 <Sucesso> Indicates whether the query was successfully run.

XConfirmacao <xsd:attribute name="Sucesso" use="required" type="XConfirmacao">

1.4 <CNPJEmpresa> Corporate Tax Number of the company to be queried

String <xsd:attribute name="CnpjEmpresa" use="required" type="xsd:string">

Declaration

2 <XDeclaracao> Data of the declaration

2.1 <CNPJEmpresa> Corporate Tax Number of the reporting company.

String <xsd:element name="CnpjEmpresa" minOccurs="1" maxOccurs="1"

type="xsd:string">

2.2 <CodigoEmpresa> Sworn Declaration code of the company system enviroment.

String <xsd:element name="CodigoEmpresa" minOccurs="0" maxOccurs="1"

type="xsd:string">

2.3 <NomesProduto> Names of the products of the Sworn Declaration.

XNomesProduto <xsd:element name="NomesProduto" minOccurs="1" maxOccurs="1"

type="XNomesProduto">

2.4 <Classificacoes> Collection of classifications of the Sworn Declaration.

XClassificacoes <xsd:element name="Classificacoes" minOccurs="1" maxOccurs="1"

type="XClassificacoes">

2.5 <NomesComerciais> List of commercial names, if available. XNomesComerciais

<xsd:element name="NomesComerciais" minOccurs="0" maxOccurs="1"

type="XNomesComerciais">

2.6 <PartNumbers> Collection of part numbers of the produto.

XPartNumbers <xsd:element name="PartNumbers" minOccurs="0" maxOccurs="1"

type="XPartNumbers">

2.7 <Exportadores> Exporters of the product. XExportadores <xsd:element name="Exportadores" minOccurs="0" maxOccurs="1"

type="XExportadores">

2.8 <Normas> Compilation of declaration standards XNormas <xsd:element name="Normas" type="XNormas" minOccurs="1" maxOccurs="1">

2.9 <FobMinimo> Minimum FOB value. Decimal <xsd:element name="FobMinimo" minOccurs="1" maxOccurs="1"

type="xsd:decimal">

2.10 <FobMaximo> Maximum FOB value of the product. Decimal <xsd:element name="FobMaximo" minOccurs="1" maxOccurs="1"

type="xsd:decimal">

2.11 <AutomotivoControladoPorQuotas>

Indicates whether the automotive product is quota-controlled.

XConfirmacao <xsd:element name="AutomotivoControladoPorQuotas" minOccurs="0" maxOccurs="1" type="XConfirmacao">

Page 58: Certificate of Origin - apps.certificadoecool.com.br

58

Document version: 2.42

2.12 <InsumoControladoPorQuotas>

A value that indicates if the input are control by quotas.

XConfirmacao <xsd:element name="InsumoControladoPorQuotas" minOccurs="0" maxOccurs="1" type="XConfirmacao">

2.13 <ProcessoProdutivo> Description of the production process of the product.

String <xsd:element name="ProcessoProdutivo" minOccurs="1" maxOccurs="1"

type="xsd:string">

2.14 <FabricacaoPropria> Indicates whether the product is manufactured by the reporting company itself.

XConfirmacao <xsd:element name="FabricacaoPropria" minOccurs="1" maxOccurs="1"

type="XConfirmacao">

2.15 <DeclaracaoFabricante> Data of the Sworn Declaration when the declaration is not of its own manufacture.

XDeclaracaoFabricante

<xsd:element name="DeclaracaoFabricante" minOccurs="0" maxOccurs="1"

type="XDeclaracaoFabricante">

2.16 <Industrializado> Indicates whether the product is industrialized.

XConfirmacao <xsd:element name="Industrializado" minOccurs="1" maxOccurs="1"

type="XConfirmacao">

2.17 <Automotivo> Indicates whether the product is automotive.

XConfirmacao <xsd:element name="Automotivo" minOccurs="1" maxOccurs="1"

type="XConfirmacao">

2.18 <TipoAutomotivo> Indicates whether it is an automotive set or piece.

XTipoAutomotivo <xsd:element name="TipoAutomotivo" minOccurs="1" maxOccurs="1"

type="XTipoAutomotivo">

2.19 <ConceitoNovoModelo> Indicates whether the automotive product is considered as a new model. This field must be filled only if indicated that it is an automotive product.

XConfirmacao <xsd:element name="ConceitoNovoModelo" minOccurs="0" maxOccurs="1" type="XConfirmacao">

2.20 <PeriodoLancamento> Indicates the launch period of the automotive product. This field must be filled only if the automotive product is considered as a new model.

XPeriodoLancamentoOpcoes

<xsd:element name="PeriodoLancamento" minOccurs="0" maxOccurs="1" type="XPeriodoLancamentoOpcoes">

2.21 <Blindado> Indicates whether the automotive product is armored. This field must be filled only if the product is considered as a new model and if the launch period is between 1 and 3 years.

XConfirmacao <xsd:element name="Blindado" minOccurs="0" maxOccurs="1" type="XConfirmacao">

2.22 <Insumos> Inputs of the Sworn Declaration. XInsumos <xsd:element name="Insumos" minOccurs="1" maxOccurs="1" type="XInsumos">

2.23 <Vencimento> Due date of the Sworn Declaration. Date <xsd:element name="Vencimento" minOccurs="1" maxOccurs="1"

type="xsd:date">

2.24 <Status> Current status of the Sworn Declaration. XStatusDeclaracao

<xsd:element name="Status" minOccurs="1" maxOccurs="1"

type="XStatusDeclaracao">

2.25 <Id> Sworn Declaration identifier. Integer <xsd:attribute name="Id" type="xsd:int" use="required">

2.26 <Conjunto> A value that indicates if the product it’s a group. Just utilizated in specified agreement, like Mercosul-Egito.

XConfirmacao <xsd:element name="Conjunto" minOccurs="0" maxOccurs="1"

type="XConfirmacao">

2.27 <ZonaFranca> A Value that indicates if the product is from a free zone

XConfirmacao <xsd:element name="ZonaFranca" minOccurs="0" maxOccurs="1"

type="xsd:string">

2.28 <InformacaoAdicional> Optional information for the technician. String <xsd:element name="InformacaoAdicional" minOccurs="0" maxOccurs="1"

type="xsd:string">

2.29 <ArquivosAnexo> Optional list of files for the technician. XArquivosAnexos <xsd:element name="ArquivosAnexo" minOccurs="0" maxOccurs="1"

type="XArquivosAnexos">

Page 59: Certificate of Origin - apps.certificadoecool.com.br

59

Document version: 2.42

2.30 <MotorizacaoAlternativa> A Value that indicates if the product have a Alternate Engine

XConfirmacao <xsd:element name="MotorizacaoAlternativa" minOccurs="0" maxOccurs="1"

type="XArquivosAnexos">

Situation of the Sworn Declaration

3 <XStatusDeclaracao> Defines the situations of the Sworn Declaration.

String <xsd:simpleType name="XStatusDeclaracao">

<xsd:restriction base="xsd:string">

<xsd:enumeration value="Salvo"/>

<xsd:enumeration value="Enviado"/>

<xsd:enumeration value="Analise"/>

<xsd:enumeration value="Aprovado"/>

<xsd:enumeration value="Devolvido"/>

<xsd:enumeration value="Excluido"/>

<xsd:enumeration value="Vencido"/>

<xsd:enumeration value="Inativo"/>

<xsd:enumeration value="Renovado"/>

</xsd:restriction>

</xsd:simpleType>

Page 60: Certificate of Origin - apps.certificadoecool.com.br

60

Document version: 2.42

ExportarDiretoriasRegionais Method

# Field Description Type Size Comments and Validations

Parameters of data sending

1 <Usuario> User to access the export service. String

2 <Senha> Password to access the export service. String

Return Structure

Regionals

1 <XRegionais> Compilation unit services

1.1 <Regional> Regional data. XRegional <xsd:element name="Regional" minOccurs="0" maxOccurs="unbounded"

type="XRegional" />

1.2 <Erros> Collection of errors. XErros <xsd:element name="Erros" minOccurs="0" maxOccurs="1" type="XErros" />

1.3 <Sucesso> Indicates whether the query was successfully executed.

XConfirmacao <xsd:attribute name="Sucesso" use="required" type="XConfirmacao">

Regional

2 <XRegional> Unit services data.

2.1 <Nome> Unit services name. String <xsd:element name="Nome" minOccurs="1" maxOccurs="1" type="xsd:string">

2.2 <Status> Unit services status. XStatusRegistro <xsd:element name="Status" minOccurs="1" maxOccurs="1"

type="XStatusRegistro">

2.3 <Id> Unit services identifier. Integer <xsd:attribute name="Id" type="xsd:int" use="required">

Page 61: Certificate of Origin - apps.certificadoecool.com.br

61

Document version: 2.42

ExportarEmbalagens Method

# Field Description Type Size Comments and Validations

Parameters of data sending

1 <Usuario> User to access the export service. String

2 <Senha> Password to access the export service. String

Return Structure

Packing

1 <XEmbalagens> Collection of packing.

1.1 <Embalagem> Packing data. XEmbalagem <xsd:element name="Embalagem" minOccurs="0" maxOccurs="unbounded"

type="XEmbalagem" />

1.2 <Erros> Collection of errors. XErros <xsd:element name="Erros" minOccurs="0" maxOccurs="1" type="XErros" />

1.3 <Sucesso> Indicates whether the query was successfully executed.

XConfirmacao <xsd:attribute name="Sucesso" use="required" type="XConfirmacao">

Packing

2 <XEmbalagem> Packing data.

2.1 <Descricao> Packing descriptions. XDescricao <xsd:element name="Descricao" minOccurs="1" maxOccurs="unbounded"

type="XDescricao">

2.2 <Status> Packing status. XStatusRegistro <xsd:element name="Status" minOccurs="1" maxOccurs="1"

type="XStatusRegistro">

2.3 <Id> Packing identifier. Integer <xsd:attribute name="Id" type="xsd:int" use="required">

Description

3 <XDescricao> Collection of idiomatic descriptions.

3.1 Idioma Language of the description. XIdioma <xsd:attribute name="Idioma" type="XIdioma" use="required">

3.2 Texto Description text. String <xsd:attribute name="Texto" type="xsd:string" use="required">

Language

4 <XIdioma> Defines languages. String 2 <xsd:simpleType name="XIdioma">

<xsd:restriction base="xsd:string">

<xsd:length value="2"/>

<xsd:enumeration value="PT"/>

<xsd:enumeration value="EN"/>

<xsd:enumeration value="ES"/>

<xsd:enumeration value="FR"/>

</xsd:restriction>

</xsd:simpleType>

Page 62: Certificate of Origin - apps.certificadoecool.com.br

62

Document version: 2.42

ExportarEnderecos Method

# Field Description Type Size Comments and Validations

Parameters of data sending

1 <Usuario> User to access the export service. String

2 <Senha> Password to access the export service. String

3 <CNPJEmpresa> Corporate Tax Number of the company that will have the address exported.

String 14 Corporate Tax Number without dots and dashes.

Return Structure

Adresses

1 <XEnderecos> Collection of adresses.

1.1 <Endereco> Adress data. XTipoCertificado <xsd:element name="Endereco" minOccurs="1" maxOccurs="unbounded"

type="XEndereco" />

1.2 <Erros> Collection of errors. XErros <xsd:element name="Erros" minOccurs="0" maxOccurs="1" type="XErros" />

1.3 <Sucesso> Indicates whether the query was successfully executed.

XConfirmacao <xsd:attribute name="Sucesso" use="required" type="XConfirmacao">

1.4 <CnpjEmpresa> Corporate Tax Number of the queried company.

String <xsd:attribute name="CnpjEmpresa" use="required" type="xsd:string">

Adress

2 <XEndereco> Adress data.

2.1 <Logradouro> Street adress. String <xsd:element name="Logradouro" minOccurs="1" maxOccurs="1"

type="xsd:string">

2.2 <Numero> Street number of the residence of the person.

String <xsd:element name="Numero" minOccurs="1" maxOccurs="1" type="xsd:string">

2.3 <Complemento> Address complement. String <xsd:element name="Complemento" minOccurs="0" maxOccurs="1"

type="xsd:string">

2.4 <CEP> Adress zip code. String <xsd:element name="CEP" minOccurs="1" maxOccurs="1" type="xsd:string">

2.5 <Bairro> Neighborhood. String <xsd:element name="Bairro" minOccurs="0" maxOccurs="1" type="xsd:string">

2.6 <Cidade> City. String <xsd:element name="Cidade" minOccurs="1" maxOccurs="1" type="xsd:string">

2.7 <Estado> State acronym. XUnidadeFederacao

<xsd:element name="Estado" minOccurs="1" maxOccurs="1"

type="XUnidadeFederacao">

2.8 <Pais> ISO country code of the address. XPais <xsd:element name="Pais" minOccurs="1" maxOccurs="1" type="XPais">

2.9 <Traducoes> Adress translations. XTraducoesEndereco

<xsd:element name="Traducoes" minOccurs="0" maxOccurs="1"

type="XTraducoesEndereco">

Page 63: Certificate of Origin - apps.certificadoecool.com.br

63

Document version: 2.42

2.10 <Status> Address status. XStatusRegistro <xsd:element name="Status" minOccurs="1" maxOccurs="1"

type="XStatusRegistro">

2.11 <Id> Adress identifier. Integer <xsd:attribute name="Id" type="xsd:int" use="required">

Federation Units

3 <XUnidadeFederacao> Defines the federation units. String <xsd:simpleType name="XUnidadeFederacao">

<xsd:restriction base="xsd:string">

<xsd:length value="2"/>

<xsd:enumeration value="AC"/>

<xsd:enumeration value="AL"/>

<xsd:enumeration value="AP"/>

<xsd:enumeration value="AM"/>

<xsd:enumeration value="BA"/>

<xsd:enumeration value="CE"/>

<xsd:enumeration value="DF"/>

<xsd:enumeration value="ES"/>

<xsd:enumeration value="GO"/>

<xsd:enumeration value="MA"/>

<xsd:enumeration value="MT"/>

<xsd:enumeration value="MS"/>

<xsd:enumeration value="MG"/>

<xsd:enumeration value="PA"/>

<xsd:enumeration value="PB"/>

<xsd:enumeration value="PR"/>

<xsd:enumeration value="PE"/>

<xsd:enumeration value="PI"/>

<xsd:enumeration value="RJ"/>

<xsd:enumeration value="RN"/>

<xsd:enumeration value="RS"/>

<xsd:enumeration value="RO"/>

<xsd:enumeration value="RR"/>

<xsd:enumeration value="SC"/>

<xsd:enumeration value="SP"/>

<xsd:enumeration value="SE"/>

<xsd:enumeration value="TO"/>

</xsd:restriction>

</xsd:simpleType>

Adresses Translations

4 <XTraducoesEndereco> Collection of adresses translations.

4.1 <Traducao> Translation data. XTraducaoEndereco

<xsd:element name="Traducao" minOccurs="0" maxOccurs="unbounded"

type="XTraducaoEndereco" />

Adress Translation

Page 64: Certificate of Origin - apps.certificadoecool.com.br

64

Document version: 2.42

5 <XTraducaoEndereco> Data of the adress translation.

5.1 <Logradouro> Street adress. String <xsd:element name="Logradouro" minOccurs="1" maxOccurs="1"

type="xsd:string">

5.2 <Complemento> Address complement. String <xsd:element name="Complemento" minOccurs="0" maxOccurs="1"

type="xsd:string">

5.3 <Bairro> Neighborhood. String <xsd:element name="Bairro" minOccurs="0" maxOccurs="1" type="xsd:string">

5.4 <Cidade> City. String <xsd:element name="Cidade" minOccurs="1" maxOccurs="1" type="xsd:string">

5.5 <Idioma> Language of the translation. XIdioma <xsd:attribute name="Idioma" type="XIdioma" use="required">

Page 65: Certificate of Origin - apps.certificadoecool.com.br

65

Document version: 2.42

ExportarImportadores Method

# Field Description Type Size Comments and Validations

Parameters of data sending

1 <Usuario> User to access the export service. String

2 <Senha> Password to access the export service. String

3 <CNPJEmpresa> Corporate Tax Number of the company

the importer belongs to.

String 14 Corporate Tax Number without dots and dashes.

Return Structure

Importers

1 <XImportadores> Collection of importers.

1.1 <Importador> Importer data. XImportador <xsd:element name="Importador" minOccurs="1" maxOccurs="unbounded"

type="XImportador" />

1.2 <Erros> Collection of erros. XErros <xsd:element name="Erros" minOccurs="0" maxOccurs="1" type="XErros" />

1.3 <Sucesso> Indicates whether the query was successfully executed.

XConfirmacao <xsd:attribute name="Sucesso" use="required" type="XConfirmacao">

1.4 <CnpjEmpresa> Corporate Tax Number of the company queried.

String <xsd:attribute name="CnpjEmpresa" use="required" type="xsd:string">

Importers

2 <XImportador> Importer data.

2.1 <Nome> Importer name. String <xsd:element name="Nome" minOccurs="1" maxOccurs="1" type="xsd:string">

2.2 <Endereco> Importer address. XEnderecoReduzido

<xsd:element name="Endereco" minOccurs="1" maxOccurs="1"

type="XEnderecoReduzido">

2.3 <Status> Importer status. XStatusRegistro <xsd:element name="Status" minOccurs="1" maxOccurs="1"

type="XStatusRegistro">

2.4 <RegistroFiscal> Tax registration of the importer. String <xsd:element name="RegistroFiscal" minOccurs="0" maxOccurs="1"

type="xsd:string">

2.5 <Telefone> Phone number of the importer. String <xsd:element name="Telefone" minOccurs="0" maxOccurs="1" type="xsd:string">

2.6 <Fax> Fax number of the importer. String <xsd:element name="Fax" minOccurs="0" maxOccurs="1" type="xsd:string">

2.7 <Email> Email address of the importer. String <xsd:element name="Email" minOccurs="0" maxOccurs="1" type="xsd:string">

2.8 <Website> Website of the importer. String <xsd:element name="Website" minOccurs="0" maxOccurs="1" type="xsd:string">

2.9 <Id> Identifier of the importer. Integer <xsd:attribute name="Id" type="xsd:int" use="required">

Page 66: Certificate of Origin - apps.certificadoecool.com.br

66

Document version: 2.42

ExportarIntervenientes Method

# Field Description Type Size Comments and Validations

Parameters of data sending

1 <Usuario> User to access the export service. String

2 <Senha> Password to access the export service. String

3 <CNPJEmpresa> Corporate Tax Number of the company pf the intervening party.

String 14 Corporate Tax Number without dots and dashes.

Return Structure

Intervening party

1 <XIntervenientes> Collection of intervening parties.

1.1 <Interveniente> Intervening party data. XInterveniente <xsd:element name="Interveniente" minOccurs="1" maxOccurs="unbounded"

type="XInterveniente" />

1.2 <Erros> Collection of erros. XErros <xsd:element name="Erros" minOccurs="0" maxOccurs="1" type="XErros" />

1.3 <Sucesso> Indicates whether the query was successfully executed.

XConfirmacao <xsd:attribute name="Sucesso" use="required" type="XConfirmacao">

1.7 <CnpjEmpresa> Corporate Tax Number of the company queried.

String <xsd:attribute name="CnpjEmpresa" use="required" type="xsd:string">

Intervening party

2 <XInterveniente> Intervening party data.

2.1 <Nome> Intervening party name. String <xsd:element name="Nome" minOccurs="1" maxOccurs="1" type="xsd:string">

2.2 <Endereco> Intervening party address. XEnderecoReduzido

<xsd:element name="Endereco" minOccurs="1" maxOccurs="1"

type="XEnderecoReduzido">

2.3 <Status> Intervening party status. XStatusRegistro <xsd:element name="Status" minOccurs="1" maxOccurs="1"

type="XStatusRegistro">

2.4 <Id> Identifier of the intervening party. Integer <xsd:attribute name="Id" type="xsd:int" use="required">

Page 67: Certificate of Origin - apps.certificadoecool.com.br

67

Document version: 2.42

ExportarLocaisEmbarque Method

# Field Description Type Size Comments and Validations

Parameters of data sending

1 <Usuario> User to access the export service. String

2 <Senha> Password to access the export service. String

Return Structure

Place of Shipment

1 <XLocaisEmbarque> Collection of place of shipment.

1.1 <LocalEmbarque> XLocalEmbarque <xsd:element name="LocalEmbarque" minOccurs="0" maxOccurs="unbounded"

type="XLocalEmbarque" />

1.2 <Erros> XErros <xsd:element name="Erros" minOccurs="0" maxOccurs="1" type="XErros" />

1.3 <Sucesso> Indicates whether the query was successfully executed.

XConfirmacao <xsd:attribute name="Sucesso" use="required" type="XConfirmacao">

Place of Shipment

2 <XLocalEmbarque> Place of shipment data.

2.1 <Descricao> Place of shipment description. XDescricao <xsd:element name="Descricao" minOccurs="1" maxOccurs="unbounded"

type="XDescricao">

2.2 <Status> Place of shipment status. XStatusRegistro <xsd:element name="Status" minOccurs="1" maxOccurs="1"

type="XStatusRegistro">

2.3 <Id> Identifier of the place of shipment in the eCool system.

Integer <xsd:attribute name="Id" type="xsd:int" use="required">

Page 68: Certificate of Origin - apps.certificadoecool.com.br

68

Document version: 2.42

ExportarMeiosTransporte Method

# Field Description Type Size Comments and Validations

Parameters of data sending

1 <Usuario> User to access the export service. String

2 <Senha> Password to access the export service. String

Return Structure

Modes of Transport

1 <XMeiosTransporte> Collection of means of Transport.

1.1 < MeioTransporte> Means of Transport data. XMeioTransporte <xsd:element name="MeioTransporte" minOccurs="0" maxOccurs="unbounded"

type="XMeioTransporte" />

1.2 <Erros> Collection of errors. XErros <xsd:element name="Erros" minOccurs="0" maxOccurs="1" type="XErros" />

1.3 <Sucesso> Indicates whether the query was successfully executed.

XConfirmacao <xsd:attribute name="Sucesso" use="required" type="XConfirmacao">

Modes of Transport

2 <XMeioTransporte> Means of Transport data.

2.1 <Descricao> Means of Transport description. XDescricao <xsd:element name="Descricao" minOccurs="1" maxOccurs="unbounded"

type="XDescricao">

2.2 <Status> Means of Transport status. XStatusRegistro <xsd:element name="Status" minOccurs="1" maxOccurs="1"

type="XStatusRegistro">

2.3 <Id> Identifier of the mode of transport. Integer <xsd:attribute name="Id" type="xsd:int" use="required">

Page 69: Certificate of Origin - apps.certificadoecool.com.br

69

Document version: 2.42

ExportarTiposClassificacao Method

# Field Description Type Size Comments and Validations

Parameters of data sending

1 <Usuario> User to access the export service. String

2 <Senha> Password to access the export service. String

Return Structure

Types of Classification

1 <XTiposClassificacao> Collection of types of classification.

1.1 < TipoClassificacao> Types of classification data. XTipoClassificacao <xsd:element name="TipoClassificacao" minOccurs="0" maxOccurs="unbounded"

type="XTipoClassificacao" />

1.2 <Erros> Collection of errors. XErros <xsd:element name="Erros" minOccurs="0" maxOccurs="1" type="XErros" />

1.3 <Sucesso> Indicates whether the query was successfully executed.

XConfirmacao <xsd:attribute name="Sucesso" use="required" type="XConfirmacao">

Types of Classification

2 <XTipoClassificacao> Types of classification data.

2.1 <Descricao> Types of classification description. String <xsd:element name="Descricao" minOccurs="1" maxOccurs="1"

type="xsd:string">

2.2 <Status> Types of classification status. XStatusRegistro <xsd:element name="Status" minOccurs="1" maxOccurs="1"

type="XStatusRegistro">

2.3 <Id> Identifier of the classification type in the eCool system.

Integer <xsd:attribute name="Id" type="xsd:int" use="required">

2.4 <Sigla> Acronym of the classification. String <xsd:attribute name="Sigla" use="required" type="xsd:string">

Page 70: Certificate of Origin - apps.certificadoecool.com.br

70

Document version: 2.42

ExportarUnidadesMedida Method

# Field Description Type Size Comments and Validations

Parameters of data sending

1 <Usuario> User to access the export service. String

2 <Senha> Password to access the export service. String

Return Structure

Units of measurement

1 <XUnidadeMedida> Units of measurement data.

1.1 <Descricao> Descriptions of the place of shipment. XDescricaoSigla <xsd:element name="Descricao" minOccurs="1" maxOccurs="unbounded"

type="XDescricaoSigla">

1.2 <Status> Units of measurement status. XStatusRegistro <xsd:element name="Status" minOccurs="1" maxOccurs="1"

type="XStatusRegistro">

1.3 <Id> Identifier of the units of measurement. Integer <xsd:attribute name="Id" type="xsd:int" use="required">

Descriptions and idiomatic acronyms

2 <XDescricaoSigla> Collection of descriptions and idiomatic acronyms.

2.1 <Idioma> Language of the description. XIdioma <xsd:attribute name="Idioma" type="XIdioma" use="required">

2.2 <Sigla> Acronym of the description. String <xsd:attribute name="Sigla" type="xsd:string" use="required">

2.3 <Texto> Text of the description. String <xsd:attribute name="Texto" type="xsd:string" use="required">

Page 71: Certificate of Origin - apps.certificadoecool.com.br

71

Document version: 2.42

PesquisarCorrelacao Method

# Field Description Type Size Comments and Validations

Parameters of data sending

1 <Usuario> User to access the export service. String

2 <Senha> Password to access the export service. String

3 <Sigla> Acronym of the type of classification searched.

String 10

4 <Codigo> Code of the classification searched. String 20

Return Structure

Correlations

4 <XCorrelacoes> Collection of correlations.

1.1 <Correlacao> Correlation data. XCorrelacao <xsd:element name="Correlacao" minOccurs="1" maxOccurs="unbounded"

type="XCorrelacao" />

1.2 <Erros> Collection of errors. XErros <xsd:element name="Erros" minOccurs="0" maxOccurs="1" type="XErros" />

1.3 <Sigla> Acronym of the classification query of correlation.

String <xsd:attribute name="Sigla" use="required" type="xsd:string">

1.4 <Codigo> Code of the query of correlation. String <xsd:attribute name="Codigo" use="required" type="xsd:string">

1.5 <Sucesso> Indicates whether the query was successfully executed.

XConfirmacao <xsd:attribute name="Sucesso" use="required" type="XConfirmacao">

Correlation

2 <XCorrelacao> Correlation data.

2.1 <Codigo> Classification code. String <xsd:element name="Codigo" minOccurs="1" maxOccurs="1" type="xsd:string">

2.2 <Denominacoes> Collection of the classification denominations.

XDenominacoes <xsd:element name="Denominacoes" minOccurs="1" maxOccurs="1"

type="XDenominacoes">

2.3 <Sigla> Classifications acronyms. String <xsd:attribute name="Sigla" use="required" type="xsd:string">

Denominations

3 <XDenominacoes>

3.1 <Denominacao> Denomination of the classification. XDenominacao <xsd:element name="Denominacao" minOccurs="1" maxOccurs="unbounded"

type="XDenominacao">

Denomination

4 <XDenominacao>

4.1 <Codigo> Classification code. String <xsd:attribute name="Codigo" use="required" type="xsd:string">

Page 72: Certificate of Origin - apps.certificadoecool.com.br

72

Document version: 2.42

ExportarProcuracao Method

# Field Description Type Size Comments and Validations

Parameters of data sending

1 <Usuario> User to access the export service. String

2 <Senha> Password to access the export service. String

3 <cnpjEmpresa> Corporate Tax Number of the company. String

Return Structure Powers of Attorney

4 <XProcuracoes> Collection of Power of Attorney.

4.1 <Procuracao> Power of Attorney. <XProcuracao> <xsd:element name="Procuracao" minOccurs="1" maxOccurs="unbounded"

type="XProcuracao" />

Power of Attorney

5 <XProcuracao> Power of Attorney data.

5.1 <CnpjEmpresa> Corporate Tax Number of the company. String <xsd:element name="CnpjEmpresa" minOccurs="1" maxOccurs="1">

5.2 <Tipo> Power of Attorney of attorney type. <XTipoProcuracao> <xsd:element name="Tipo" minOccurs="1" maxOccurs="1"

type="XTipoProcuracao">

5.3 <EnderecoEmpresa> Address of the company. String <xsd:element name="EnderecoEmpresa" minOccurs="0" maxOccurs="1"

type="xsd:string">

5.4 <DataCriacao> The date of creation of the Power of Attorney.

DateTime <xsd:element name="DataCriacao" minOccurs="1" maxOccurs="1"

type="xsd:date">

5.5 <DataInicio> The starting date of validity of the Power of Attorney.

DateTime <xsd:element name="DataInicio" minOccurs="1" maxOccurs="1" type="xsd:date">

5.6 <DataFim> The expiration date of the power of attorney. If it is indeterminate, it should not be fulfilled.

DateTime <xsd:element name="DataFim" minOccurs="0" maxOccurs="1" type="xsd:date">

5.7 <Responsavel> The responsible for issuing the power of attorney.

<XProcuracaoPessoa>

<xsd:element name="Responsavel" minOccurs="1" maxOccurs="1"

type="XProcuracaoPessoa">

5.8 <Status> Power of Attorney status. String <xsd:element name="Status" minOccurs="1" maxOccurs="1" type="xsd:string">

5.9 <Procuradores> The attorneys. <XProcuracaoProcuradores>

<xsd:element name="Procuradores" minOccurs="1" maxOccurs="1"

type="XProcuracaoProcuradores">

5.10 <ProcuracaoArquivos> Power of Attorney files. <XProcuracaoArquivos>

<xsd:element name="ProcuracaoArquivos" minOccurs="1" maxOccurs="1"

type="XProcuracaoArquivos">

Type of the Power of Attorney

Page 73: Certificate of Origin - apps.certificadoecool.com.br

73

Document version: 2.42

6 <XTipoProcuracao> <xsd:simpleType name="XTipoProcuracao">

<xsd:annotation>

<xsd:documentation>

Defines the type of Power of Attorney.

</xsd:documentation>

</xsd:annotation>

<xsd:restriction base="xsd:string">

<xsd:enumeration value="Upload"/>

<xsd:enumeration value="Digital"/>

</xsd:restriction>

</xsd:simpleType>

Personal Power of Attorney

7 <XProcuracaoPessoa>

7.1 <CPF> Social security number of the person. String <xsd:element name="CPF" minOccurs="1" maxOccurs="1">

7.2 <Nome> Name of the person. String <xsd:element name="Nome" minOccurs="1" maxOccurs="1">

7.3 <Nacionalidade> Nationality of the person. String <xsd:element name="Nacionalidade" minOccurs="0" maxOccurs="1">

7.4 <EstadoCivil> Civil status of the person. <XEstadoCivil> <xsd:element name="EstadoCivil" minOccurs="0" maxOccurs="1"

type="XEstadoCivil">

7.5 <Profissao> Profession of the person. String <xsd:element name="Profissao" minOccurs="0" maxOccurs="1">

7.6 <RG> ID number of the person. String <xsd:element name="RG" minOccurs="0" maxOccurs="1">

7.7 <CEP> Zip code of the person String <xsd:element name="CEP" minOccurs="0" maxOccurs="1">

7.8 <Logradouro> Street address of the person. String <xsd:element name="Logradouro" minOccurs="0" maxOccurs="1">

7.9 <Numero> Street number of the residence of the person.

String <xsd:element name="Numero" minOccurs="0" maxOccurs="1">

7.10 <Complemento> Address complement. String <xsd:element name="Complemento" minOccurs="0" maxOccurs="1">

7.11 <Bairro> Neighborhood. String <xsd:element name="Bairro" minOccurs="0" maxOccurs="1">

7.12 <UF> State acronym of the address. String <xsd:element name="UF" minOccurs="0" maxOccurs="1">

7.13 <Cidade> City. String <xsd:element name="Cidade" minOccurs="0" maxOccurs="1">

The attorneys

8 <XProcuracaoProcuradores>

Collection of the attorneys (people) that represents the attorneys of the Power of Attorney.

8.1 <Procuradores> The attorneys. <XProcuracaoPessoa>

<xsd:element name="Procuradores" minOccurs="1" maxOccurs="1"

type="XProcuracaoProcuradores">

Files

9 <XProcuracaoArquivos> Collection of Power of Attorney files.

9.1 <ProcuracaoArquivo> File of the Power of Attorney. <XProcuracaoArquivo>

<xsd:element name="ProcuracaoArquivo" minOccurs="1"

maxOccurs="unbounded" type="XProcuracaoArquivo" />

File

10 <XProcuracaoArquivo> Data of the Power of Attorney files.

10.1 <ExtensaoArquivo> Extension of the Power of Attorney file. String <xsd:element name="ExtensaoArquivo" minOccurs="1" maxOccurs="1">

10.2 <NomeArquivo> Name of the file. String <xsd:element name="NomeArquivo" minOccurs="1" maxOccurs="1">

Page 74: Certificate of Origin - apps.certificadoecool.com.br

74

Document version: 2.42

10.3 <ConteudoArquivo> Content in bytes of the file in format String in Base64.

String <xsd:element name="ConteudoArquivo" minOccurs="1" maxOccurs="1">

Page 75: Certificate of Origin - apps.certificadoecool.com.br

75

Document version: 2.42

ExportarLocaisExportacao Method

# Field Description Type Size Comments and Validations

Parameters of data sending

1 <Usuario> User to access the export service. String

2 <Senha> Password to access the export service. String

Return Structure LocaisExportacao

3 <XLocaisExportacao> A Colleciton of the locals

3.1 <LocalExportacao> The locals of exportation XLocalExportacao <xsd:element name="LocalExportacao" minOccurs="0" maxOccurs="unbounded"

type="XLocalEmbarque" />

LocalExportacao

4

4.1 <Descricao> Description of the local. XDescricao <xsd:element name="Descricao" minOccurs="1" maxOccurs="unbounded"

type="XDescricao">

4.2 <Status> Status of the local. XStatusRegistro <xsd:element name="Status" minOccurs="1" maxOccurs="1"

type="XStatusRegistro">

4.3 <Id> ID of the local. int <xsd:element name="Id" type="xsd:int" minOccurs="1" maxOccurs="1">

Page 76: Certificate of Origin - apps.certificadoecool.com.br

76

Document version: 2.42

ExportarTiposEmissaoPosteriori Method

# Field Description Type Size Comments and Validations

Parameters of data sending

1 <Usuario> User to access the export service. String

2 <Senha> Password to access the export service. String

Return Structure TiposEmissaoPosteriori

3 XTiposEmissaoPosteriori A collection of al the types of emission.

3.1 XTipoEmissaoPosteriori The type of the emission XTipoEmissaoPosteriori

<xsd:element name="TipoEmissao" minOccurs="1" maxOccurs="unbounded"

type="XTipoEmissaoPosteriori" />

TipoEmissaoPosteriori

4 XTipoEmissaoPosteriori The type of the emission

4.1 Id The id of the post Emission Int <xsd:element name="Id" type="xsd:int" minOccurs="1" maxOccurs="1">

4.2 Descricao The Description of the Emission String <xsd:element name="Descricao" type="xsd:string" minOccurs="1"

maxOccurs="1">

Page 77: Certificate of Origin - apps.certificadoecool.com.br

77

Document version: 2.42

PesquisarCorrelacaoNCCA Method

# Field Description Type Size Comments and Validations

Parameters of data sending

1 <Usuario> User to access the export service. String

2 <Senha> Password to access the export service. String

3 <naladi96> Naldi96 code, to check correlation with NCCA

String

4 <isoPais> ISO Code to check; String

Return Structure Correlacoes

3 XCorrelacoes A List of Correlation XCorrelacoes

3.1 XCorrelacao The correlation with NALADI96 XCorrelacao <xsd:element name="Correlacao" minOccurs="1" maxOccurs="unbounded"

type="XCorrelacao" />

Correlacao

4 XCorrelacao

4.1 <Sigla> ISO code uses in search String <xsd:attribute name="Sigla" use="required" type="xsd:string">

4.2 <Codigo> The code of the NCCA Correlation. String <xsd:attribute name="Codigo" use="required" type="xsd:string">

Page 78: Certificate of Origin - apps.certificadoecool.com.br

78

Document version: 2.42

PesquisarCorrelacaoEmLote Method

# Field Description Type Size Comments and Validations

Parameters of data sending

1 <Usuario> User to access the export service. String

2 <Senha> Password to access the export service. String

3 <Dados> List of classifications and acronyms to be searched.

XLoteCorrelacaoExportacao

Correlações

4 <XLoteCorrelacaoExportacao>

Collection of classifications and acronyms.

4.1 <Classificacao> Classification and acronym to be searched Classificacao <xsd:element name="Classificacao" minOccurs="1" maxOccurs="unbounded" >

Return Structure CorrelacoesExportacao

5 <XCorrelacoesLote> Collections of correlation data.

5.1 <Correlacoes> Correlation data. XCorrelacoes <xsd:element name="Correlacoes" minOccurs="1" maxOccurs="unbounded"

type="XCorrelacoes" />

Page 79: Certificate of Origin - apps.certificadoecool.com.br

79

Document version: 2.42

ListarClassificacoesComPrincipioAtivo Method

# Field Description Type Size Comments and Validations

Parameters of data sending

1 <Usuario> User to access the export service. String

2 <Senha> Password to access the export service. String

Return Structure ClassificacoesPrincipioAtivo

3 <XClassificacoesPrincipioAtivo>

A collection of Classifications that must inform the input that is the active ingredient.

Sworn Declarations that use any of the classifications listed in this method must inform which of the inputs is the active ingredient of the product.

3.1 <ClassificacaoPrincipioAtivo> Classification and type requiring active ingredient information in the inputs.

XClassificacaoPrincipioAtivo

<xsd:element name="ClassificacaoPrincipioAtivo" minOccurs="0"

maxOccurs="unbounded" type="XClassificacaoPrincipioAtivo" />

3.2 <Erros> Errors or Alerts found during the during the search.

<XErros> <xsd:element name="Erros" minOccurs="0" maxOccurs="1" type="XErros" />

3.3 <Sucesso> A value showing if the search was successful.

XConfirmacao <xsd:attribute name="Sucesso" use="required" type="XConfirmacao">

ClassificacaoPrincipioAtivo

4 XClassificacaoPrincipioAtivo Classification and type requiring active ingredient information in the inputs.

4.1 <Codigo> Classification code. String <xsd:element name="Codigo" minOccurs="1" maxOccurs="1" type="xsd:string"/>

4.2 <Sigla> Classification acronym. String <xsd:element name="Sigla" minOccurs="1" maxOccurs="1" type=" xsd:string"/>

Page 80: Certificate of Origin - apps.certificadoecool.com.br

80

Document version: 2.42

ListarClassificacoesComZonaFranca Method

# Field Description Type Size Comments and Validations

Parameters of data sending

1 <Usuario> User to access the export service. String

2 <Senha> Password to access the export service. String

Return Structure ClassificacoesZFM

3 <XClassificacoesZFM> A collection of classifications that should inform on the Sworn Declaration f they are from Manaus Free Zone (<ZonaFranca> tag)

3.1 <ClassificacaoZFM> Classification and Classification Type that should use the <ZonaFranca> tag;

XClassificacaoZFM <xsd:element name="ClassificacaoZFM" minOccurs="0" maxOccurs="unbounded"

type="XClassificacaoZFM" />

3.2 <Erros> Errors or Alerts found during the during the search.

<XErros> <xsd:element name="Erros" minOccurs="0" maxOccurs="1" type="XErros" />

3.3 <Sucesso> A value showing if the search was successful.

XConfirmacao <xsd:attribute name="Sucesso" use="required" type="XConfirmacao">

ClassificacaoZFM

4 XClassificacaoZFM

4.1 <Codigo> Classification code. String <xsd:element name="Codigo" minOccurs="1" maxOccurs="1" type="xsd:string"/>

4.2 <Sigla> Classification acronym. String <xsd:element name="Sigla" minOccurs="1" maxOccurs="1" type=" xsd:string"/>

Page 81: Certificate of Origin - apps.certificadoecool.com.br

81

Document version: 2.42

Método ListarClassificacoesComMotorizacaoAlternativa

# Field Description Type Size Comments and Validations

Parâmetros de Envio

1 <Usuario> User to access the export service. String

2 <Senha> Password to access the export service. String

Return Structure ClassificacoesMotorizacaoAlternativa

3 <ClassificacoesMotorizacaoAlternativa>

A collection of classifications that must inform if they use Alternative Motorization

Declarations with NCM2017 on this list, may be inform if the product uses Alternative Motorization, using the tag <MotorizacaoAlternativa> in the Declaration.

3.1 <ClassificacaoMotorizacaoAlternativa>

Classification and Classification Type that should use the <MotorizacaoAlternativa> tag;

XClassificacaoMotorizacaoAlternativa

<xsd:element name="ClassificacaoMotorizacaoAlternativa" minOccurs="0"

maxOccurs="unbounded" type="XClassificacaoMotorizacaoAlternativa" />

3.2 <Erros> Errors or Alerts found during the during the search.

<XErros> <xsd:element name="Erros" minOccurs="0" maxOccurs="1" type="XErros" />

3.3 <Sucesso> A value showing if the search was successful.

XConfirmacao <xsd:attribute name="Sucesso" use="required" type="XConfirmacao">

ClassificacaoMotorizacaoAlternativa

4 XClassificacaoMotorizacaoAlternativa

4.1 <Codigo> Classification code. String <xsd:element name="Codigo" minOccurs="1" maxOccurs="1" type="xsd:string"/>

4.2 <Sigla> Classification acronym. String <xsd:element name="Sigla" minOccurs="1" maxOccurs="1" type=" xsd:string"/>

Page 82: Certificate of Origin - apps.certificadoecool.com.br

82

Document version: 2.42

Método ExportarAduanasDestino

# Field Description Type Size Comments and Validations

Parâmetros de Envio

1 <Usuario> User to access the export service. String

2 <Senha> Password to access the export service. String

3 <isoPais> ISO code for the country of destination <XPais>

Estrutura de Retorno AduanasDestino

4 <AduanasDestino> A collections of custom offices. <xsd:element name="AduanasDestino" minOccurs="0" maxOccurs="unbounded"

type="XAduanaDestino" />

4.1 <Erros> Errors or Alerts found during the during the search.

<XErros> <xsd:element name="Erros" minOccurs="0" maxOccurs="1" type="XErros" />

4.2 <Sucesso> A value showing if the search was successful.

XConfirmacao <xsd:attribute name="Sucesso" use="required" type="XConfirmacao">

AduanaDestino

5 XAduanaDestino

4.1 <Pais> ISO code of the country XPais <xsd:element name="Pais" minOccurs="1" maxOccurs="1" type="XPais"/>

4.2 <Nome> Name of the customs office String <xsd:element name="Nome" minOccurs="1" maxOccurs="1" type=" xsd:string"/>

5.3 <Id> Identifier of the customs office Int <xsd:element name="Id" type=" xsd:int" use=”required”=/>

Page 83: Certificate of Origin - apps.certificadoecool.com.br

83

Document version: 2.42

Change History

Versão 2.42 – September 15 th, 2021

• Included the method “ExportarAduanasDestino” that lists the customs office available for a country.

• Added the tag “idAduanaDestino” to the type “XCertificado”.

Version 2.41 – July 06 th, 2021

• Included type “XStatus”, with options that indicates the certificate statues.

• Included the tag “Status” to the type “XCertificado”, to inform the value of the certificate status.

Version 2.40 – March 23rd, 2021

• Marked “<Consignatario>” as obligatory for ACE14 and ACE74.

Version 2.39 – February 09 th, 2021

• Increased the number of characters in the field “NomeComercial” in “XDeclaracao” type.

Version 2.38 – December 3rd, 2020

• Included the method “ListarClassificacoesComMotorizacaoAlternativa” that lists the classifications and types wich may fill the tag for

“MotorizacaoAlternativa”.

Version 2.37 – November 4th, 2020

• Included the tag “MotorizacaoAlternativa” to the type XDeclaracao to import/export.

• Included the tag “ZonaFranca” to the type XDeclaracao at method “ExportarDeclaracoesPorPeriodo”.

• Included the tag “ValorFOBUnitarioExportacao” to the type XProduto import/export.

Version 2.36 – October 8th, 2020

• Modified the description of the tag “ValorAduaneiro”.

Page 84: Certificate of Origin - apps.certificadoecool.com.br

84

Document version: 2.42

• Included new trade agreement “ACE 74”.

Version 2.35 – August 12nd, 2020

• Included the tag “ValorAduaneiro” to the type XInsumo.

• Removed the tag “ZonaFranca” from the type XProduto.

• Modified the description of the method “ListarClassificacoesZonaFranca” so that it conforms to its new use.

Version 2.34 – June 17 th, 2020

• Included the tag “ZonaFranca” to the type XProduct.

• Included the method “ListarClassificacoesComZonaFranca” that lists the classifications and types wich need to fill the new tag for ACE 18

Certificates.

Version 2.33 – June 10 th, 2020

• Included the tag “ArquivosDueIntraQuota” to both Import and Export Certificate methods.

Version 2.32 – November 13rd, 2019

• Included new optional tags “InformacaoAdicional” and “ArquivosAnexo” (Items 3.28 and 3.29) on type “Declaracao".

Version 2.31 – November 13rd, 2019

• Revision in the description of the tag “Denominacao” (Item 30.2).

Version 2.30 – September 24th, 2019

• Max Length of the “ProcessoProdutivo” field adjusted from 1000 to 1800 characters.

Version 2.29 – September 20th, 2019

• Changes on the exportation service:

o Added a new exportation method, “ListarClassificacoesComPrincipioAtivo”, that lists classifications wich needs to have the field

<PrincipioAtivo> on the inputs informed.

o Added a new type “XClassificacaoPrincipioAtivo” to be used on the return of the export.

• Changes on the import service:

Page 85: Certificate of Origin - apps.certificadoecool.com.br

85

Document version: 2.42

o Added a new tag to the inputs (XInsumo) “PrincipioAtivo” wich should be used when any of the classifications on the declaration is

listed on the method “ListarClassificacoesComPrincipioAtivo”

Version 2.28 – February 25th, 2019

• Changes on the exportation service:

o Added a new exportation method, “PesquisarCorrelacaoEmLote” that searches correlations based in a list of classifications and types.

o Added a new type “XCorrelacoesLote” to be used on the return of the export.

o Added a new type “XLoteCorrelacaoExportacao” to be used as information on the return of the export.

o Added a new type “XAvisosValidacao” to be used to presente alerts found during the validation of the asked information.

o Added a new type “XValidacao” that has the complete error summary for a validation.

o Included a new tag “Classificacoes” to the type “XCriterios” of the export method, that represents the classifications to be queried.

o Included new tags “Validacao” of type “XValidacao” and “CorrelacoesExportacao” of type “XCorrelacoesLote"

Version 2.27 – February 5th, 2019

• Added tag: “ClassificacaoNCCA”, optional tag to be used if the agreement is AAR-PT04 and the product has a correlation to NCCA, belongs to

XProduto.

• Included new exportation method: "PesquisarCorrelacaoNCCA”. To return correlation between Naladi 96 and NCCA.

Version 2.26 – January 18th, 2019

• Added tags: “UtilizaMateriaPrimaTerceiroPais” (of type XConfirmacao) and “TransformacaoMateriaPrimaCumpreRegra” (of type

XConfirmacao), both belongs to XInsumo.

Added tags: “InsumoControladoPorQuotas” (of type XConfirmacao), “DocumentoExportacao" (of type XDocumentoExportacao) and

“ArquivosAnexos” (of type XArquivosAnexo), to XCertificado.

• Inclusion of Types: “XDocumentoExportacao”, ”XDadosEmissaoPosteriori”, ”XTiposEmissaoPosteriori”, ”XTipoEmissaoPosteriori”,

“XLocalExportacao”, “XLocaisExportacao”, “XArquivoAnexo”.

• Added new exportation methods: ExportarLocaisExportação e ExportarTiposEmissaoPosteriori

• Added new value to XStatusConsulta: “Renovada”

• Removed the status “PendenteAssinatura”, of type “XStatusDeclaracao”.

• Added tags: “TiposEmissaoPosterior” and “LocaisExportacao”, in the return of the exportation

Version 2.25 – Aug 01st, 2018

Page 86: Certificate of Origin - apps.certificadoecool.com.br

86

Document version: 2.42

• Added “ArquivoFaturas”, “FaturasComerciais” and “ApresentaFaturaInterveniente”, on type XCertificado

• Added “OrdemFaturaComercial”, in the XProduto.

• Added “Tipo” in the XArquivoFatura.

• Inclusion of types: ”XFaturaComercial”, “XFaturasComerciais”, “XTipoFatura” e “XOrdemFaturaComercial”

Version 2.24 – Jul 24th, 2018

• Added “PendenteAssinatura” Status, on type “XStatusDeclaracao”.

Version 2.23 – Jun 05th, 2018

• Added “Renovada” Status, on Tag “XstatusDeclaracao” in ExportarDeclaracoesPorPertiodo method.

Version 2.22 – May 24th, 2018

• Updated size of field “Classificacao” of Declaration. To acept values in 6 to 8 characters.

• Added “Conjunto” tag (Item #3.25) of Type “XConfirmacao”. To agreement Egito.

Version 2.21 – May 23rd, 2018

• Updated links of approval environment.

Version 2.20 – Jan 18 th, 2018

• Inclusion of information regarding ACE 72

Version 2.19 – Jan 27th, 2017

• Review of hyperlinks related to data types.

Version 2.18 – Dec 13rd, 2016

• Added structure for import and export of Powers of Attorney.

Version 2.17 – Nov 23rd, 2016

• Added “EmissaoPosteriori” tag of the type “XConfirmacao” for methods of importing and exporting certificates.

Page 87: Certificate of Origin - apps.certificadoecool.com.br

87

Document version: 2.42

Version 2.16 – Oct 5th, 2016

• Added “TipoDeclaracao” tag (item #3.3) in “Declaração” and added the type “XTipoDeclaracao” (item #4) in the data import section.

• Added "XArquivosFatura" and "XArquivoFatura" types (items #32 and #33, respectively) in the data import section.

• Added "ArquivosFatura" tag (item #26.3) in the type “XFatura”.

• Added "ArquivosFatura" tag (item #27.4) in the type “XFaturaInterveniente”.

• Reorganization of numbering of items related to data import due to the inclusion of new items.

Version 2.15 – Sep 13rd, 2016

• Change the obligation to complete the field “NomeAssinante” (item #21.5) in “Certificado”. It’s mandatory only on printed certificates.

• Added list of member countries of the Trade Agreement (items #2.7, 3 and 3.1) in the export of Trade Agreements.

Version 2.14 – Aug 10th, 2016

• Insertion of image demonstrating the steps that precede the importation of Sworn Declaration and of the Certificate of Origin.

Version 2.13 – Aug 9th, 2016

• Added shields “ConceitoNovoModelo”, “PeriodoLancamento”, “Blindado” and “AutomotivoControladoPorQuotas” in Declaration on the

Import, Export and mandatory fields (items #3.12, 3.13, 3.14, and 3.17, respectively).

• Added numbering structure “XPeriodoLancamentoOpcoes” for Import and Export.

• The indexes were reordered, due to the insertion of new fields.

Version 2.12 – Jun 9th, 2016

• Fields “IdEmpresa”, “Url” and “NomeImportador” updated for “CnpjEmpresa”, “Website” and “Nome”, respectively in type “XImportador”.

• XSD structure updated in fields “Endereco” and “Cidade” in type “XImportador” (items #29.4 and 29.5), defined minOccurs=”1”

• New fields “RegistroFiscal”, “Telefone”, “Fax”, “Email” and “Website” added in type “XImportador” (items #2.4; 2.5; 2.6, 2.7 and 2.8 of

“ExportarImportadores” export method), in XSD structure.

• Added countries Curacao (CW) and Kosovo (XK) in type “XPais” (item #18 of method of sending import data), in XSD structure.

Version 2.11 – Apr 7th, 2016

• XSD structure of the items 22.1, 22.2, 23.1, 23.2, 23.3 updated, denided minOccurs=”0”.

Page 88: Certificate of Origin - apps.certificadoecool.com.br

88

Document version: 2.42

Version 2.10 – Mar 17th, 2016

• Description of the item 22.11 (ValorUSDMaterialNacional) updated in type “XInsumo”.

Version 2.9 – Mar 8th, 2016

• Description of the item 12.10 (ValorCIF) updated.

• Added item 12.11 (ValorUSDMaterialNacional) in type “XInsumo”.

Version 2.8 – Feb 23rd, 2016

• Added item 2.28 (ProcessoFinalizado) in type “XCertificado”.

Version 2.7 – Dec 3rd, 2015

• Item 27.7 (ValorUnitario) mandatory for every Trade Agreement.

Version 2.6 – Ag 13rd, 2015

• Description of the item #27.8 (ValorTotalFOB) updated.

• Description of the item #27.9 (ValorIntervenienteFOB) updated.

• Item #20.23 (MoedaLocal) changed to “Não Cumpre” for every Trade Agreement.

• Consignee data (item #20.10) changed to optional for non preferencial certificate of origin.

Version 2.5 – Jun 27th, 2015

• Added new fields “InsumoFabricadoPais”, “Quantidade”, “IdUnidadeMedida” and “CodigoCCPTC” in type “XInsumo” (items #12.5; 12.7; 12.8

and 12.9 of this type of data sending), in XSD structure.

Version 2.4 – Mai 29th, 2015

• Added country Territorial Collectivity of Saint-Barthélemy (BL) in type “XPais” (item #18 of this type of data sending), in XSD structure.

Version 2.3 – Mai 19th, 2015

• Change of value of the classification denomination field (item #8.2 of this type of data sending) to 1,024 characters.

Version 2.2 – Apr 27th, 2015

Page 89: Certificate of Origin - apps.certificadoecool.com.br

89

Document version: 2.42

• Added new parameter “Mensagem” (item #8.6 of this type of returno of data sending) for each item of Sworn Declarations and Certificates.

Version 2.1 – Jan 09th, 2015

• Added collection of reasons for reprovals (item #2.4) in the return of “ConsultarStatusDeclaracoesCertificados” export method.

Version 2.0 – Jan 05th, 2015

• Edited layout of import and export.

• Improved descriptions of fields that were not clear enough.

• Specified parameters of sending the export methods.

Version 1.0

• Creating the document with field descriptions for importing and exporting data from eCool system.