# brdata NF-e Access Key Parser

> brdata NF-e Access Key Parser is a paid API for AI agents from brdata.thomenz.me, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Decodes a Brazilian NF-e (Nota Fiscal Eletrônica) access key into its structured components: state, invoice model, series, CNPJ, number, emission date, and check digit.

## Facts

- Endpoint: GET https://brdata.thomenz.me/nfe/%7Bchave%7D
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brdata-nf-e-access-key-parser-5f3d00ba
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Bb6jX0Uk1nfm8gcqk0IvJ

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability brdata-nf-e-access-key-parser-5f3d00ba
```

Example prompt: Parse this Brazilian NF-e access key for me and tell me the issuer's CNPJ, the state it was issued in, the invoice number, and the emission date: 35250611444777000161550010000123451000000011.

## When to prefer this

Use this endpoint when you have a raw Brazilian NF-e access key (chave de acesso) and need to extract structured metadata from it — particularly the issuer CNPJ, state, invoice number, and emission date — for compliance, accounts payable automation, or KYB workflows. It is specifically designed for the Brazilian electronic invoice ecosystem and returns a ready-to-use English-schema JSON, making it ideal for agents that need to bridge Brazilian fiscal data into international workflows.

## Known failure modes

- Invalid or malformed 44-digit access key returns an error
- Non-NF-e document type keys (e.g. NFS-e, CT-e) may not parse correctly
- Check digit mismatch may result in validation error
- Missing or empty chave parameter returns a bad request error

## How this service works

Brazilian company &amp; public-procurement data for due-diligence, KYB &amp; B2B agents: company profiles by CNPJ, regulatory risk &amp; compliance screening (federal debarment, anti-corruption, leniency &amp; forced-labor register — CEIS, CNEP, 'Lista Suja'), mass search &amp; segmentation across ~28M active companies, and public tenders / licitações (PNCP).

## Output

A JSON object containing the parsed NF-e key components: the Brazilian state (code, name, abbreviation), invoice model (code and description), series, full access key, check digit, issuer CNPJ (raw and formatted), numeric code, emission type, invoice number, emission year-month, and a human-readable document type description.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "uf": {
   "code": "35",
   "name": "São Paulo",
   "abbreviation": "SP"
  },
  "model": {
   "code": "55",
   "description": "NF-e (electronic invoice)"
  },
  "series": "001",
  "access_key": "35250611444777000161550010000123451000000011",
  "check_digit": "1",
  "issuer_cnpj": "11444777000161",
  "numeric_code": "00000001",
  "emission_type": {
   "code": "1",
   "description": "Normal"
  },
  "invoice_number": "000012345",
  "emission_year_month": "2025-06",
  "issuer_cnpj_formatted": "11.444.777/0001-61",
  "document_type_description": "Brazilian electronic invoice (NF-e) access key"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brdata-nf-e-access-key-parser-5f3d00ba/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from brdata.thomenz.me](https://www.zero.xyz/host/brdata.thomenz.me/llms.txt)
