Checar CNPJs em lote
consulta_loteSupplier screening report with source dates, evidence and federal tax debt states, one row per CNPJ. The service validates and deduplicates the list, joins the prepared records and formats the report. No per-company response parsing or spreadsheet assembly is needed for this screening. MCP returns JSON. For a CSV file, download POST /api/consulta/lote?formato=csv through HTTP. Read fontes and evidencias per row, including PGFN debt states and truncation flags. CNIA is stored by default; cnia_atual=true requires a source check for at most four distinct numeric CNPJs. A required failure refuses the group without charging. Sources keep their own dates; missing metadata cannot support a clean conclusion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cnpjs | Yes | The CNPJs, with or without punctuation (numeric or alphanumeric), up to 200 valid ones per request. | |
| cnia_atual | No | Require a CNIA source check during this request. At most 4 distinct numeric CNPJs in this mode. If any required check fails, return 503 without charging the group or using stored CNIA. Without this requirement, use stored CNIA. Other sources keep their own reference dates. | |
| credit_token | No | Prepaid credit token (`cred_…`) with the lookup balance. |