TF Fiscal
Documentation

NFS-e

List received NFS-e

Lists the service invoices in which this company is the recipient or intermediary, paged by issue time.

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

The service invoices in which this company is the recipient or intermediary arrive through the national distribution, both those issued by the national issuer and those shared by municipal systems such as São Paulo, with a delay of up to 15 minutes. A São Paulo company also receives invoices pulled directly from the municipal system, with a 7-day look-back. Items are shaped like Query received NFS-e, without the eventos array, which only the detail returns; manifestations are registered with Manifest on received NFS-e.

Path parameters

empresaId*
stringCompany identifier

* Required field

Query parameters

dataInicio
stringWindow start
dataFim
stringWindow end
prestadorCpfCnpj
stringProvider document
chaveAcesso
stringAccess key
status
stringStatus filter
manifestacao
stringManifestation filter
pagina
intPage
tamanho
intPage size

* Required field

200
A page of received invoices ordered by issue time. Each item is shaped like Query received NFS-e without the events: eventos is always null on list items.
pagina
intPage returned
tamanho
intPage size applied
total
intTotal invoices
totalLimitado
boolTotal capped
arrayInvoices on the page

  • The sync with the national distribution runs every 15 minutes by default; an invoice the counterparty has just issued shows up on the next round.
  • Arrival and status changes can also be pushed by webhook: nfse.inbound.received, nfse.inbound.canceled and nfse.inbound.substituted; the manifestation outcome for this company by nfse.inbound.manifested and nfse.inbound.manifest_failed. All of them require an explicit subscription in Register webhook.
  • total is a capped count: with totalLimitado=true, narrow the window instead of paging to the end.
  • A PrefeituraSP item switches to ADN on its own once the transcription arrives; do not count that as two invoices. Reconcile on prestador.cpfCnpj + numero, the identifier that is stable across syncs.