list_received_invoices
List NF-e documents other companies issued against this one.
The mirror of list_invoices: that one shows what this company issued, this one what it received. Read-only.
It reads what the API already collected and never calls the tax authority; collection runs every six hours and sync_received_invoices asks now. Each row carries the issuer, the amount, has_full_document and, once one was filed, the manifestation; final_answer_due means only an awareness was filed. Before a manifestation the authority sends a summary only; the full document arrives after one.
Past the plan's monthly allowance each new one costs credit (get_usage).
The result carries sync, how fresh the list is. When sync.status is cooling_down or failing, tell the user the list may be incomplete and when the next read is possible (sync.next_sync_at). When sync.competing_reader is true, give sync.hint: another system (an ERP, the accountant) reads the same CNPJ with the same certificate and only the customer can stop it. Do not call sync_received_invoices before sync.next_sync_at: asking early renews the block.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_received_invoices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Rows per page, 1 to 100. | |
| offset | No | Rows to skip, for the next page: offset + limit. | |
| company_id | No | UUID of the company acted for. Omit for a single company; else see list_authorized_companies. Send one, never both. | |
| company_tax_id | No | CNPJ or CPF of the company acted for, never the recipient or a taxpayer looked up. Omit for a single company; else see list_authorized_companies. Send one, never both. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| page | No | ||
| sync | No | ||
| total | No | ||
| per_page | No | ||
| next_page | No | ||
| prev_page | No |