Kundfakturor för en kund eller per status
find_customer_invoicesCustomer invoices for one customer or by status: unpaid, overdue, not sent, paid (with payment date) or all, with amount and due date. Use when the person asks whether a customer has paid, or which customer invoices are unpaid, overdue or not sent. Example question: "Har Nordic betalat sina fakturor? Vilka kundfakturor är inte skickade?" Read-only; computed on the server from live Fortnox data over all pages (Fortnox API, https://api.fortnox.se/apidocs).
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": "find_customer_invoices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kund | No | kundens nummer, eller del av namnet; utan visas alla kunder | |
| status | No | "obetalda" (standard), "forfallna", "ej_skickade" (obetalda som Fortnox inte skickat), "betalda" eller "alla" One of: obetalda, forfallna, ej_skickade, betalda, alla. | |
| todate | No | ÅÅÅÅ-MM-DD, fakturadatum till Date as YYYY-MM-DD unless the text allows more. | |
| fromdate | No | ÅÅÅÅ-MM-DD, fakturadatum från (för "betalda" och "alla"; standard ett år bakåt) Date as YYYY-MM-DD unless the text allows more. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||