Upload receipt

Add a receipt or invoice document to Bokio as an upload.

MCP tool bokio_write → upload_receipt

write

Uploads one PDF, JPEG or PNG to the Uppladdat page. Without a description Bokio uses the file name. The file waits there to be booked, reaches no one and can be deleted in Bokio, so upload_receipt runs without asking first.

Parameters

Parameters: upload_receipt
NameTypeDescription
file_url string required string Address of the file to upload: PDF, JPEG or PNG.
description string string Shown in the list. Default: the file name.
journal_entry_id string string Journal entry ID to attach the upload to.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "bokio_write",
    "arguments": {
      "operation": "upload_receipt",
      "arguments": {
        "file_url": "https://files.example.com/receipts/clas-ohlson-2026-10-09.jpg",
        "description": "Clas Ohlson 2026-10-09"
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "upload_id": "d41c8e07-5a2b-4f93-8c60-3e1b9a7d2f54",
    "description": "Clas Ohlson 2026-10-09",
    "content_type": "image/jpeg",
    "journal_entry_id": null
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.