sync_received_invoices
Ask the tax authority now for NF-e issued against this company.
Collection already runs every six hours. After a read that finds nothing more the authority imposes a one-hour wait; inside it this is refused with the time to retry (next_sync_at, the same instant list_received_invoices reports in sync). Never retry in a loop, and never ask before that instant: 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": "sync_received_invoices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 |
|---|---|---|---|
| pages | No | ||
| stored | No | ||
| next_sync_at | No |