Prepare attaching a file to a supplier invoice
propose_create_supplier_invoice_file_connectionPrepares attaching a file to a supplier invoice. Use when the person asks to attach a scanned invoice or document to a supplier invoice. Only files in the inbox folder for supplier invoices (inbox_s) can be attached to a supplier invoice. This tool only prepares the change and sends nothing to Fortnox; the change is sent after the person approves it, as the answer describes. Body: {"SupplierInvoiceFileConnection": {…}}. Fortnox API POST /3/supplierinvoicefileconnections (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": "propose_create_supplier_invoice_file_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | The request body, as Fortnox expects it: an object |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||