list_activities
Retrieve billable usage activities from Fakturia and filter by customer, performance or scheduled date ranges, or unbilled status to find records ready for invoicing.
Instructions
Retrieve all activities from Fakturia, optionally filtered by customer, performance date range, scheduled date range, or billing status. Activities represent billable usage or consumption records that can be invoiced. Use dateFrom/dateTo to filter by when the activity was performed, and scheduledFrom/scheduledTo to filter by when it is scheduled for billing. Set unbilledOnly to true to find activities that have not yet been included on an invoice.
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_activities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dateTo | No | End of the performance date range filter in YYYY-MM-DD format. Only activities performed on or before this date are returned. | |
| dateFrom | No | Start of the performance date range filter in YYYY-MM-DD format. Only activities performed on or after this date are returned. | |
| scheduledTo | No | End of the scheduled date range filter in YYYY-MM-DD format. Only activities scheduled on or before this date are returned. | |
| unbilledOnly | No | When true, only activities that have not yet been billed (i.e. not yet included on an invoice) are returned. | |
| scheduledFrom | No | Start of the scheduled date range filter in YYYY-MM-DD format. Only activities scheduled on or after this date are returned. | |
| customerNumber | No | Filter activities by customer number. Only activities belonging to this customer will be returned. |