TF Fiscal
Documentation

NF-e verification

Chave lookup

Returns invoice data for a 44-digit access key and, if you submitted that chave for verification, the current verdict.

GET/openapi/v3/consultas/nf-e/{chave}
Requires the token, timestamp and sign signature headers, see Authentication.

Returns invoice data for a 44-digit access key. For a chave submitted through XML verification, the response also carries the validation block with the current validationStatus: use it as the polling fallback when an invoice.verify.completed webhook delivery is missed (see NF-e verification). Invoices that were only issued through this platform or only found in the official data source were never verified and come without that block.

Path parameters

chave*
stringAccess key

* Required field

200
Invoice data. Same structure as XML verification; the validation block is present only for chaves submitted there.
tipo
stringDocument type
modelo
stringDocument model
status
stringFiscal status
statusDescription
stringStatus description
ambienteEmissao
stringIssue environment
numero
stringInvoice number
serie
stringSeries
dataEmissao
stringIssue time
tipoOperacao
stringOperation type (tpNF), the direction of goods as seen by the issuer
chaveAcesso
stringAccess key
objectIssuer
objectRecipient
arrayItems
dataAutorizacao
stringAuthorization time
objectAuthorization protocol
valorTotal
numberInvoice net total
objectCurrent verification verdict

Given app_secret = sk_live_9f8e7d6c5b4a, the chave 35260764962869000108550990001366171195929648 and timestamp = 1784906308, the signing string is (GET, empty body; the chave is part of the path):

text
sign_input = "sk_live_9f8e7d6c5b4a"
+ "/openapi/v3/consultas/nf-e/35260764962869000108550990001366171195929648"
+ ""
+ "1784906308"
sign = md5Hex(sign_input)