Send e-invoice to SDI

Send an invoice to the Sistema di Interscambio as an electronic invoice.

MCP tool fatture_in_cloud_write → send_einvoice

write Confirm

Sends the e-invoice to SDI, which delivers it to the client. A sent e-invoice is legally binding and cannot be recalled by this tool. Needs e-invoicing active on the account. Set dry_run to true to run all checks without sending. The call returns at once; read the result later with get_einvoice_status. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: send_einvoice
NameTypeDescription
company_id integer integer Company ID. Optional when your account has one company.
invoice_id integer required integer Invoice ID from list_invoices or create_invoice.
dry_run boolean boolean true runs the checks without sending to SDI. Default: false.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "fatture_in_cloud_write",
    "arguments": {
      "operation": "send_einvoice",
      "arguments": {
        "invoice_id": 1
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "invoice_id": 88120,
    "sent": true,
    "dry_run": false,
    "ei_status": "attempt"
  },
  "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.