{"uid":"cap_3OWmnlqBlT60t8IM9Z0zg","slug":"brazilian-nf-e-nfc-e-access-key-decoder-3f16683d","name":"Brazilian NF-e/NFC-e Access Key Decoder","description":"Decode any Brazilian electronic invoice (NF-e/NFC-e) 44-digit access key: issuer CNPJ, state, emission date, invoice number, model. Offline, deterministic, instant.","url":"https://brdata.thomenz.me/nfe/:chave","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"pathParams":{"type":"object","required":["chave"],"properties":{"chave":{"type":"string","examples":["35250611444777000161550010000123451000000011"],"description":"NF-e/NFC-e access key. 44 digits, with or without punctuation."}}},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Fqauz2Vcrq0294_K12E7c","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decodes a Brazilian electronic invoice (NF-e or NFC-e) 44-digit access key into its structured components: issuer CNPJ, state, emission date, invoice number, and model — offline and instantly.","exampleAgentPrompt":"Can you decode this Brazilian NF-e access key for me and tell me the issuer CNPJ, state, emission date, and invoice number: 35250611444777000161550010000123451000000011?","exampleUseCases":null,"resultDescription":"Returns the parsed components of the NF-e/NFC-e 44-digit access key, including the issuer CNPJ, Brazilian state code, emission date, invoice number, and invoice model (NF-e or NFC-e) — all computed offline without any external lookup.","failureModes":["Access key not exactly 44 digits after stripping punctuation — returns error","Non-numeric characters in key after punctuation removal — returns parse error","Invalid modality code embedded in key — may return unexpected model","Key with correct length but logically invalid fields (e.g. impossible state code) — may still parse but return nonsensical values"],"whenToPreferThis":"Use this endpoint when you have a Brazilian electronic invoice access key (chave de acesso) and need to instantly extract structured metadata from it — issuer CNPJ, state, date, invoice number — without making a government API call or needing internet connectivity. Ideal for fiscal automation pipelines, invoice validation preprocessing, or auditing workflows that need deterministic, zero-latency parsing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:43:36.873Z","isFirstParty":false}