POST
/api/invoice/received/listList received documents
Required headers
tokenstring | string | Company token |
signstring | string | MD5 signature: MD5(token + path + body + timestamp) |
timestampstring | string | Unix timestamp in seconds (5-minute window) |
Fields
| Field | Type | Required | Description |
|---|---|---|---|
| cnpj | string | No | Filter by recipient CNPJ (the company's own CNPJ). If omitted, all records under the token are returned |
| doc_ | string | No | Filter by document type: resNFe, procNFe, resEvento or procEvento |
| chave | string | No | Filter by access key (44 digits) |
| emitente_ | string | No | Filter by NF-e issuer CNPJ (supplier) |
| start_ | string/long | No | Start of the capture-time filter. Accepts "dd/MM/yyyy", "dd/MM/yyyy HH:mm:ss", "yyyy-MM-dd", "yyyy-MM-dd HH:mm:ss", "yyyy-MM-ddTHH:mm:ss" or a Unix timestamp (seconds), all interpreted as UTC. Values that cannot be parsed are ignored |
| end_ | string/long | No | End time, same formats. A date without time is treated as 23:59:59.999 UTC of that day |
| page | int | No | Page number (default 1) |
| page_ | int | No | Items per page (default 20, max 100) |
Response fields
totalint | int | Total records matching the filters |
pageint | int | Current page |
page_int | int | Page size |
list[]array | array | |
idstring | string | Internal ObjectId (use in /received/get_xml) |
nsulong | long | NSU assigned by the tax authority to this document |
doc_string | string | Document type: resNFe, procNFe, resEvento, procEvento |
schemastring | string | Document schema (e.g.resNFe_v1.01.xsd) |
chavestring | string | NF-e access key (44 digits) |
cnpj_string | string | Recipient CNPJ (the company's own CNPJ) |
emitente_string | string | NF-e issuer CNPJ (supplier) |
emitente_string | string | Issuer company name |
valordecimal | decimal | NF-e total value (vNF) |
dh_string | string | NF-e issuance date/time |
serieint | int | NF-e series (filled only for procNFe) |
numberlong | long | NF-e number (filled only for procNFe) |
tp_int | int | Operation type: 0=Inbound, 1=Outbound (from the issuer's perspective) |
c_int | int | NF-e status (filled in resNFe): 1=Authorized, 2=Denied, 3=Canceled |
tp_int | int | Event code (filled in resEvento/procEvento).E.g. 110110=CC-e, 110111=Cancellation, 210210=Awareness |
desc_string | string | Event textual description |
n_int | int | Event sequence |
dh_string | string | Event date/time (events only) |
xml_string | string | Public download URL of the document XML |
createstring | string | Capture time (UTC, format yyyy-MM-dd HH:mm:ss) |
Ordering: records are returned by NSU descending (most recent first).
Examples
# sign = md5(token + path + body + timestamp) # Template generated from the endpoint path; replace the placeholders curl -X POST "https://api.tffiscal.com/api/invoice/received/list" \ -H "Content-Type: application/json" \ -H "token: $TOKEN" \ -H "timestamp: $TIMESTAMP" \ -H "sign: $SIGN" \ -d @body.json
{
"cnpj": "26638419000167",
"doc_type": "resNFe",
"chave": "",
"emitente_cnpj": "",
"start_create_time": "01/05/2026",
"end_create_time": "31/05/2026",
"page": 1,
"page_size": 20
}
{
"success": true,
"message": "成功",
"data": {
"total": 3,
"page": 1,
"page_size": 20,
"list": [
{
"id": "6a04a70d3201b5a62f3ac2f8",
"nsu": 2318,
"doc_type": "resNFe",
"schema": "resNFe_v1.01.xsd",
"chave": "35260563845920000120550020000085471156822656",
"cnpj_destinatario": "26638419000167",
"emitente_cnpj": "63845920000120",
"emitente_nome": "MEGA ONLINE LTDA",
"valor": 1.00,
"dh_emi": "2026-05-13 14:05:35",
"serie": 0,
"number": 0,
"tp_nf": 1,
"c_sit_nfe": 3,
"tp_evento": 0,
"desc_evento": "",
"n_seq_evento": 0,
"dh_evento": null,
"xml_url": "https://storage.../received/13-05-2026/...resNFe_2318.xml",
"create": "2026-05-13 16:30:05"
}
]
}
}