# Check Simples Nacional and MEI tax regime by CNPJ

**Use case:** 

Check whether Brazilian companies opted into Simples Nacional or are registered as MEI, from public Receita Federal CNPJ data. Each row shows the simplesNacional and mei flags plus legal name, status, main CNAE, city and state. Useful for invoicing, tax withholding, supplier onboarding and accounting firms.

## Input

```json
{
  "cnpjs": [
    "00.000.000/0001-91",
    "33.000.167/0001-01",
    "07.526.557/0001-00"
  ],
  "onlyActive": false,
  "skipSoleProprietors": false,
  "includeContacts": true,
  "includeTaxRegime": false,
  "concurrency": 8
}
```

## Output

```json
{
  "cnpjFormatted": {
    "label": "CNPJ",
    "format": "string"
  },
  "found": {
    "label": "Found",
    "format": "boolean"
  },
  "legalName": {
    "label": "Legal name",
    "format": "string"
  },
  "tradeName": {
    "label": "Trade name",
    "format": "string"
  },
  "registrationStatus": {
    "label": "Status",
    "format": "string"
  },
  "mainActivity.description": {
    "label": "Main activity"
  },
  "address.city": {
    "label": "City"
  },
  "address.state": {
    "label": "UF"
  },
  "companySize": {
    "label": "Size",
    "format": "string"
  },
  "error": {
    "label": "Error",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Brazil CNPJ Bulk Lookup - Consulta CNPJ em Massa Actor is ready to run with the inputs already set for "Check Simples Nacional and MEI tax regime by CNPJ". [Sign up or log in](https://console.apify.com/create-task-from-example/mQQpJtqYqyjZ61lsC) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Check Simples Nacional and MEI tax regime by CNPJ" task

The Brazil CNPJ Bulk Lookup - Consulta CNPJ em Massa Actor will start running based on the input automatically. You can also change all the input fields, like CNPJs, only active companies (ativa), and more, to match your specific use case.

### 3. Receive the "Check Simples Nacional and MEI tax regime by CNPJ" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as CNPJ, found, legal name, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Check Simples Nacional and MEI tax regime by CNPJ" task via API](https://apify.com/frankely84/brazil-cnpj-bulk-lookup.md).

## FAQ

### What does the Simples Nacional and MEI check task return?

The Simples Nacional and MEI check task returns one row per CNPJ with legal name, trade name, registration status, opening date, CNAE activities, legal nature, size, share capital and address, plus the simplesNacional and mei tax regime flags.

### Which CNPJ formats are accepted?

The Simples Nacional and MEI check task accepts CNPJs with or without punctuation (00.000.000/0001-91 or 00000000000191), including the new alphanumeric CNPJs. Invalid numbers are reported with an error.

### How much does it cost?

The Simples Nacional and MEI check task costs $0.0008 per company found ($0.80 per 1,000 CNPJs). Companies skipped by the active-only or MEI filters are not charged.

### Where does the data come from?

The Simples Nacional and MEI check task uses public Receita Federal open CNPJ data (via OpenCNPJ, with Minha Receita and BrasilAPI as fallbacks). It does not return partners (QSA) or personal data.

### Can I run it from my code or a spreadsheet tool?

Yes. Run the Simples Nacional and MEI check task via the Apify API, the Python or JavaScript client, or integrations like Make, Zapier, n8n and Google Sheets, and export results as CSV, Excel or JSON.

## About this Actor

This example demonstrates how to use [Brazil CNPJ Bulk Lookup - Consulta CNPJ em Massa](https://apify.com/frankely84/brazil-cnpj-bulk-lookup.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/frankely84/brazil-cnpj-bulk-lookup.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/frankely84/brazil-cnpj-bulk-lookup.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
