## SINTEGRA / AC
Consulta pública ao SINTEGRA (Sistema Integrado de Informações sobre Operações Interestaduais com Mercadorias e Serviços) do estado do Acre, que permite verificar a situação do cadastro junto à SEFAZ e o regime de tributação de ICMS.Se você deseja utilizar uma única API para consultar registros de todos os estados do Brasil, recomendamos utilizar a API SINTEGRA (Unificada) ou a API Cadastro Centralizado do Contribuinte (SEFAZ RS).


### Site URL
- https://sefazonline.ac.gov.br/sefazonline/app.wmsintegralista

### Request
POST endpoint: `https://api.infosimples.com/api/v2/consultas/sintegra/ac`



| Parameter                  | Description                                                                                                                                                                                                                                                                                                                                               |
| -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| token*                     | The token that will authenticate and authorize the request.                                                                                                                                                                                                                                                                                               |
| cnpj**                     | CNPJ of the company to be queried.                                                                                                                                                                                                                                                                                                                        |
| ie**                       | State Registration of the company to be queried.                                                                                                                                                                                                                                                                                                          |
| cpf**                      | CPF of the individual to be queried.                                                                                                                                                                                                                                                                                                                      |
| aceita_resultado_parcial** | Define o comportamento da API quando o site de origem consistentemente emitir um PDF vazio para o dado consultado.<ul><li><strong>"0"</strong>: Opção padrão. A API retorna código 620. Garante que você só receba código 200 caso o PDF seja emitido corretamente.</li><li><strong>"1"</strong>: A API retorna código 200, com dados parciais.</li></ul> |

> * Required parameter.

> ** Optional parameter. Sometimes it is necessary to set at least one of the optional parameters for the service to work properly.


### Response examples (OK)
```json
{
  "code": 200,
  "code_message": "A requisição foi processada com sucesso.",
  "errors": [],
  "header": {
    "api_version": "v2",
    "api_version_full": "2.2.35-20260327230557",
    "product": "Consultas",
    "service": "sintegra/ac",
    "parameters": {
      "cnpj": "12.345.678/9012-34"
    },
    "client_name": "Minha Empresa",
    "token_name": "Token de Produção",
    "billable": true,
    "price": "0.2",
    "requested_at": "2026-03-30T10:01:28.000-03:00",
    "elapsed_time_in_milliseconds": 784,
    "remote_ip": "111.111.111.111",
    "signature": "iUhYyBTYXWFi2OvkGBzmJw4SU7T5GW12n93xVYbTXJ3Mn8NbgNwjGKUWvBZqxUzytYNJv1ZqgAMcGiF+s/y+tcBOgmgq7qLyitZODA=="
  },
  "data_count": 1,
  "data": [
    {
      "abertura_data": "Anterior a 16/11/1999",
      "atividade_economica": "Exemplo de Atividade Econômica",
      "cnpj": "12.345.678/9012-34",
      "consulta_comprovante": "1111.1111.1111.1111",
      "consulta_data": "11/11/1111",
      "cpf": "123.456.789-01",
      "endereco_bairro": "Bela Vista",
      "endereco_cep": "01310-200",
      "endereco_complemento": "Sala 1504",
      "endereco_logradouro": "Avenida Paulista.",
      "endereco_municipio": "São Paulo",
      "endereco_numero": "1636",
      "endereco_uf": "SP",
      "inscricao_data": "11/11/1111",
      "inscricao_estadual": "01.000.288/001-30",
      "normalizado_abertura_data": "11/11/1111",
      "normalizado_cnpj": "12345678901234",
      "normalizado_consulta_data": "11/11/1111",
      "normalizado_cpf": "12345678901",
      "normalizado_endereco_cep": "01311915",
      "normalizado_inscricao_estadual": "111111111",
      "normalizado_situacao_cadastral_data": "11/11/1111",
      "razao_social": "Exemplo de Razão Social",
      "regime_apuracao": "Normal",
      "situacao_cadastral": "ATIVA",
      "situacao_cadastral_data": "11/11/1111",
      "site_receipt": "https://www.exemplo.com/exemplo-de-url"
    }
  ],
  "site_receipts": [
    "https://www.exemplo.com/exemplo-de-url"
  ]
}
```


### Preview file

The preview file (`site_receipts`) in the response JSON may be **synthesized by Infosimples** using data from the source (website/app) that processed the automation if the file generated by the source is not suitable for viewing.

### Code snippets


#### Python
```python
# Tested with: Python 3.10.19, Python 3.14.0
import requests

url = 'https://api.infosimples.com/api/v2/consultas/sintegra/ac'
args = {
  "cnpj":                     "VALUE_OF_PARAMETER_CNPJ",
  "ie":                       "VALUE_OF_PARAMETER_IE",
  "cpf":                      "VALUE_OF_PARAMETER_CPF",
  "aceita_resultado_parcial": "VALUE_OF_PARAMETER_ACEITA_RESULTADO_PARCIAL",
  "token":                    "WRITE_YOUR_TOKEN_HERE",
  "timeout":                  "300"
}

response = requests.post(url, args)
response_json = response.json()
response.close()

if response_json['code'] == 200:
  print("Retorno com sucesso: ", response_json['data'])
elif response_json['code'] in range(600, 799):
  mensagem = "Resultado sem sucesso. Leia para saber mais: \n"
  mensagem += "Código: {} ({})\n".format(response_json['code'], response_json['code_message'])
  mensagem += "; ".join(response_json['errors'])
  print(mensagem)

print("Cabeçalho da consulta: ", response_json['header'])
print("URLs com arquivos de visualização (HTML/PDF): ", response_json['site_receipts'])
```


## We are here to help
Do you still need to figure something out? Reach us at [suporte@infosimples.com.br](mailto:suporte@infosimples.com.br) and our highly qualified support team will be happy to help.
