Actions14
- CNPJ Actions
- CPF Actions
- CEP Actions
- Correios Actions
- IBGE Actions
- Conta Actions
- Formatar Actions
CPF → Validar CPF
AI-generatedSummary
Validate a Brazilian CPF with the associated birth date against the Receita Federal database, optionally bypassing local cache and including last update timestamp.
Inputs
- CPF (required) — CPF of the individual, accepting numbers only or formatted (e.g. 000.000.000-00).
- Data de Nascimento (required) — Birth date of the individual in DD/MM/YYYY format.
- Opcoes Adicionais — Optional settings to ignore local database cache and whether to include the last update timestamp in the API response.
Output shape
a single JSON object containing the validation result and associated data returned by the Receita Federal via the Hub do Desenvolvedor API.
If validation fails or the API returns an error, an error message is included. The operation respects the 'continue on fail' setting to either continue on error or throw an exception.
Examples
Example 1: Validating a CPF with birth date including last update info
CPF: 123.456.789-09, Data de Nascimento: 01/01/1990, Opcoes Adicionais: Retornar Ultima Atualizacao=true