get-invoice-pending-summary
Get unpaid invoice totals for a company. Returns total with currency (the company's base currency), awaitingAmount (everything unpaid, overdue included), futurePaymentsAmount (due within 7 days) and overdueAmount (past due). Covers sales invoices unless movement is out. Use get-overdue-invoices or get-aged-receivables-v2 for amounts by customer and age, or list-invoices for individual invoices. Requires the invoice:read scope.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"companyId": "<companyId>"
},
"name": "get-invoice-pending-summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| movement | No | Invoice direction: in for sales invoices (receivables, the default) or out for purchase invoices (payables). | |
| companyId | Yes | Company ID | |
| acDocumentIds | No | Numeric accounting document IDs to total instead of all unpaid invoices. Only documents with movement out count, regardless of status, and movement is ignored. |