Actions14
- CNPJ Actions
- CPF Actions
- CEP Actions
- Correios Actions
- IBGE Actions
- Conta Actions
- Formatar Actions
CNPJ → Consultar Simples Nacional
AI-generatedSummary
Query the Simples Nacional status of a Brazilian company using its CNPJ, optionally bypassing local cache and including the last update timestamp.
Inputs
- CNPJ (required) — The CNPJ of the company as only numbers or formatted.
- Opcoes Adicionais — Additional options to ignore the local database cache and/or to include the last update timestamp in the response.
Output shape
a single JSON object containing the company's Simples Nacional status and related data.
The operation performs an HTTP GET request to the 'https://ws.hubdodesenvolvedor.com.br/v2/simples/' endpoint with query parameters including CNPJ and optional flags. Response may include last update timestamp if requested. Errors from the API are propagated as node errors unless 'Continue On Fail' is enabled, in which case errors are returned in JSON form within workflow output.
Examples
Example 1: Check if a company with given CNPJ is an optante pelo Simples Nacional, skipping local cache and including last update timestamp.
Set resource to 'CNPJ', operation to 'Consultar Simples Nacional', enter the company's CNPJ, set 'Ignorar Banco de Dados Local' to true and 'Retornar Ultima Atualizacao' to true.