Leverantörsfakturor för en leverantör eller per status
find_supplier_invoicesSupplier invoices for one supplier or by status: unpaid, overdue, awaiting approval, paid or all, with amount and due date. Use when the person asks about the invoices from a supplier, or which supplier invoices are unpaid, overdue or awaiting approval. Example question: "Vilka fakturor har vi fått från Telia i år? Vilka leverantörsfakturor väntar på attest?" 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_supplier_invoices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | "obetalda" (standard), "forfallna", "attest" (väntar på attest), "betalda" eller "alla" One of: obetalda, forfallna, attest, 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. | |
| leverantor | No | leverantörens nummer, eller del av namnet; utan visas alla leverantörer |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||