| All Verbs | /i2c/SintegraNacional | ||
|---|---|---|---|
| All Verbs | /i2c100084 |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CNPJ | path | Text | Yes | CNPJ |
| CPF | path | Text | Yes | CPF |
| IE | path | Text | Yes | IE |
| UF | path | Text | Yes | UF |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /xml/reply/i2cSintegraNacional HTTP/1.1
Host: api.xdata.com.br
Content-Type: application/xml
Content-Length: length
<i2cSintegraNacional xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.xpi.net/types">
<CNPJ>String</CNPJ>
<CPF>String</CPF>
<IE>String</IE>
<UF>String</UF>
</i2cSintegraNacional>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<i2cSintegraNacionalResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.xpi.net/types">
<Response>
<Error>
<ErrorCode>String</ErrorCode>
<Message>String</Message>
<StackTrace>String</StackTrace>
<Errors>
<ResponseError>
<ErrorCode>String</ErrorCode>
<FieldName>String</FieldName>
<Message>String</Message>
</ResponseError>
</Errors>
</Error>
<Input>
<InputItem>
<Key>String</Key>
<Value>String</Value>
</InputItem>
</Input>
<Output>
<i2c100084Item>
<nm_Empresa>String</nm_Empresa>
<sg_UF>String</sg_UF>
<nr_CNPJ>String</nr_CNPJ>
<nr_Filial>String</nr_Filial>
<ds_SituacaoCNPJ>String</ds_SituacaoCNPJ>
<nr_InscricaoEstadual>String</nr_InscricaoEstadual>
<ds_SituacaoContribuinte>String</ds_SituacaoContribuinte>
<tp_IE>String</tp_IE>
<dt_Situacao>String</dt_Situacao>
<ds_SubstituicaoTributaria>String</ds_SubstituicaoTributaria>
<nm_Fantasia>String</nm_Fantasia>
<dt_InicioAtividade>String</dt_InicioAtividade>
<dt_FimAtividade>String</dt_FimAtividade>
<ds_RegimeTributacao>String</ds_RegimeTributacao>
<ds_IEDestinatario>String</ds_IEDestinatario>
<ds_PorteEmpresa>String</ds_PorteEmpresa>
<ds_EnderecoEletronico>String</ds_EnderecoEletronico>
<ds_NaturezaJuridica>String</ds_NaturezaJuridica>
<ds_OcorrenciaFiscal>String</ds_OcorrenciaFiscal>
<dt_CredenciamentoEmissorNFe>String</dt_CredenciamentoEmissorNFe>
<ds_IndicadorObrigatoriedadeNFe>String</ds_IndicadorObrigatoriedadeNFe>
<dt_InicioObrigatoriedadeNFe>String</dt_InicioObrigatoriedadeNFe>
<ds_CNAEPrincipal>String</ds_CNAEPrincipal>
<ds_CNAESecundario>String</ds_CNAESecundario>
<ds_CNAEstadual>String</ds_CNAEstadual>
<cd_MunicipioIBGE>String</cd_MunicipioIBGE>
<ds_Incentivo>String</ds_Incentivo>
<sg_UFLocalizacao>String</sg_UFLocalizacao>
<ds_Logradouro>String</ds_Logradouro>
<nr_Logradouro>String</nr_Logradouro>
<ds_Complemento>String</ds_Complemento>
<nm_Bairro>String</nm_Bairro>
<nr_CEP>String</nr_CEP>
<nm_Municipio>String</nm_Municipio>
<nr_Telefone>String</nr_Telefone>
<DataHora>String</DataHora>
</i2c100084Item>
</Output>
<Status>
<Protocol>00000000-0000-0000-0000-000000000000</Protocol>
<DateTime>0001-01-01T00:00:00</DateTime>
<Code>0</Code>
<Message>String</Message>
<Detail>String</Detail>
<Mode>String</Mode>
<Type>String</Type>
<Source>String</Source>
<HTML>String</HTML>
<Cookie>String</Cookie>
<URL>String</URL>
</Status>
</Response>
</i2cSintegraNacionalResponse>