| All Verbs | /i2c/200003/MT | ||
|---|---|---|---|
| All Verbs | /i2c/Sintegra/MT | ||
| All Verbs | /i2c200003MT |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CNPJ | path | Number | No | Numero do CNPJ |
| IE | path | Number | No | Numero da Inscricão Estadual |
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/i2cSintegraMT HTTP/1.1
Host: api.xdata.com.br
Content-Type: application/xml
Content-Length: length
<i2cSintegraMT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.xpi.net/types">
<CNPJ>String</CNPJ>
<IE>String</IE>
</i2cSintegraMT>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<i2cSintegraMTResponse 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>
<Inscricao>
<Bairro>String</Bairro>
<CEP>String</CEP>
<CNAEFiscal>String</CNAEFiscal>
<CNAESecundario>String</CNAESecundario>
<CPFCNPJ>String</CPFCNPJ>
<Complemento>String</Complemento>
<CredenciadoOficioEmissorNFe>String</CredenciadoOficioEmissorNFe>
<DataConsulta>String</DataConsulta>
<DataInicioObrigacao>String</DataInicioObrigacao>
<DataInicioPED>String</DataInicioPED>
<DataSituacaoCadastral>String</DataSituacaoCadastral>
<HoraConsulta>String</HoraConsulta>
<IE>String</IE>
<Logradouro>String</Logradouro>
<MicroEmpreendedorIndividual>String</MicroEmpreendedorIndividual>
<MunicipioUF>String</MunicipioUF>
<Numero>String</Numero>
<PED>String</PED>
<RazaoSocial>String</RazaoSocial>
<SimplesNacional>String</SimplesNacional>
<SituacaoCadastralAtual>String</SituacaoCadastralAtual>
<Telefone>String</Telefone>
<UltrapassouSublimiteEstadual>String</UltrapassouSublimiteEstadual>
</Inscricao>
</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>
</i2cSintegraMTResponse>