Verify e-invoice XML

Check an invoice's e-invoice XML for errors before sending it to SDI.

MCP tool fatture_in_cloud_read → verify_einvoice

read

Runs the XML checks and returns validation errors, for example a problem in a date field. Sends nothing to SDI and changes nothing. Fix errors by editing the invoice in Fatture in Cloud, then verify again.

Parameters

Parameters: verify_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.

tools/call

JSON-RPC

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

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "invoice_id": 88120,
    "valid": false,
    "validation_result": [
      {
        "field": "Data",
        "message": "Invalid date."
      }
    ]
  },
  "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.