Upload receipt

Put a receipt or supplier invoice in the Fiken inbox so it can be attached to a purchase.

MCP tool fiken_write → upload_receipt

write

Uploads one file to Innboks from an https link the agent can reach, and returns its document_id and inbox status unused. It books nothing and sends nothing to anyone: the document waits in the inbox until create_purchase or a person in Fiken uses it, so upload_receipt runs without asking first.

Parameters

Parameters: upload_receipt
NameTypeDescription
file_url string required string https link to the PDF or image to upload.
name string string Document name shown in the inbox. Default: the file name.
description string string Extra description saved with the document.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "fiken_write",
    "arguments": {
      "operation": "upload_receipt",
      "arguments": {
        "file_url": "https://example.com"
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "document_id": 3318251,
    "name": "Hotel Fjordgaten receipt",
    "filename": "hotel-receipt.pdf",
    "created_at": "2026-10-14T09:02:00+02:00",
    "used": false
  },
  "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.