TF Fiscal
Documentation

NFC-e

Query NFC-e

Returns status, QR Code, receipt and XML links and the echo of the issuance.

GET/openapi/v2/empresas/{empresaId}/nfce/{nfceId}
Requires the token, timestamp and sign signature headers, see Authentication.

Queries by the id sent at issuance. Download links need no signature and are re-issued on every query; see File download. The receipt is rendered on the first download; if the rendering service is busy the link returns 503 and a retry is enough.

Path parameters

empresaId*
stringIssuing company identifier
nfceId*
stringNFC-e identifier

* Required field

200
Invoice found.
id
stringRequest identifier
tipo
stringDocument type
status
stringStatus
motivoStatus
stringReason
ambienteEmissao
stringIssuing environment
dataCriacao
stringCreation time
dataUltimaAlteracao
stringLast change
objectOrder
objectConsumer
transporte
objectTransport
numero
stringInvoice number
serie
stringSeries
dataEmissao
stringIssue time
chaveAcesso
stringAccess key
dataAutorizacao
stringAuthorization time
objectAuthorization protocol
qrCode
stringQR Code content
urlConsulta
stringLookup URL by access key
linkDanfe
stringReceipt PDF link
linkDownloadXml
stringXML link
emitidaEmContingencia
boolIssued in contingency
alertas
arrayAuthorization warnings
arrayItems
valorTotal
numberInvoice total