Record expense

Record an expense with supplier, date and net and VAT amounts.

MCP tool fatture_in_cloud_write → record_expense

write

Creates a received document and returns its ID and totals. It reaches nobody and can be deleted in Fatture in Cloud, so this call runs without asking first. Check list_expenses first to avoid a duplicate.

Parameters

Parameters: record_expense
NameTypeDescription
company_id integer integer Company ID. Optional when your account has one company.
supplier string required string Supplier name.
date string required string Document date, ISO.
description string string What was bought.
amount_net number required number Net amount.
vat_percent number required number VAT rate in percent.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "fatture_in_cloud_write",
    "arguments": {
      "operation": "record_expense",
      "arguments": {
        "supplier": "supplier",
        "date": "date",
        "amount_net": 1,
        "vat_percent": 1
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "id": 3310,
    "date": "2026-10-09",
    "supplier": "Office Supplies SRL",
    "amount_net": 60,
    "amount_vat": 13.2,
    "amount_gross": 73.2
  },
  "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.