Fatture in Cloud automation
Create and send Fatture in Cloud invoices from a list
At month end a freelancer has hours per client in a spreadsheet or a chat, and has to retype each one as an invoice, then send each as an electronic invoice to the Sistema di Interscambio.
Cotlet does it in your own Fatture in Cloud account with list_clients, create_client, create_invoice, verify_einvoice and send_einvoice, called by your AI agent, an n8n workflow or a script.
Hosted · nothing to install or maintain
Can Fatture in Cloud do this on its own?
Fatture in Cloud documents the whole flow in its API (checked 14 Oct 2026): createIssuedDocument, verifyEInvoiceXml and sendEInvoice with a dry_run option. It has no MCP server, and no way to turn a list of hours into invoices without code that registers an OAuth app or holds a manual token. Zapier lists create-issued-document and send-e-invoice actions for the same API.
How you do it in Fatture in Cloud today
- For each client, open the client record, or create it with name, VAT number or tax code, address and, for an e-invoice, the e-invoice code or certified email.
- Create a new invoice, fill the document date, the lines with net price and VAT, and the payment due date.
- Send the invoice to the SDI as an electronic invoice; Fatture in Cloud says sending to the SDI is automatic.
- Open the document later to see its status and the notification of delivery; a rejection shows as Scartata.
- Repeat for every client every month, and retype anything that repeats from last month.
How to create and send Fatture in Cloud invoices from a list
Here are this month's three billable clients with hours and rates. Create a Fatture in Cloud invoice for each, add the client first if it is new, check the e-invoice XML and wait for my OK before sending to SDI. - 01
Match each client
The agent calls list_clients with the name or VAT number from your list and uses the existing record when exactly one matches. Two matches or none are reported to you instead of guessed.
- 02
Add the missing clients
For a client that does not exist, create_client stores the name, VAT number or tax code and address from your list. For an e-invoice the agent also needs the e-invoice code or certified email, and asks for it if it is missing.
- 03
Build each invoice
create_invoice gets the client, the lines (description, quantity, net price, VAT) and the due date. The agent sums the lines itself and shows you net, VAT and gross before you confirm.
- 04
Check the XML before SDI
verify_einvoice runs the checks without sending. A validation error, such as an invalid date field, is shown to you with the invoice it belongs to, and that invoice is not sent.
- 05
Send only what you approved
send_einvoice runs per invoice after your OK, because a sent e-invoice is legally binding and reaches the client and the tax authority. The agent reports each invoice as accepted by the call or failed.
What you get back
Clients matched: 2, created: 1 (Studio Verdi SRL)
Invoices created: 3
- #14 Rossi Consulting SRL: net 1500.00, VAT 330.00, gross 1830.00
- #15 Studio Verdi SRL: net 800.00, VAT 176.00, gross 976.00
- #16 Bianchi Design: net 450.00, VAT 99.00, gross 549.00
XML check passed: 3, failed: 0
Sent to SDI after your OK: 3 Other ways to ask
- Create the three invoices but do not send anything; list them for me to review in Fatture in Cloud.
- Create this month's invoice for each client I billed last month, with the same lines, and verify the XML.
- Run the XML check on every invoice that is not sent yet and tell me which ones would fail.
What Fatture in Cloud allows, and what to know first
- Fatture in Cloud's send e-invoice call has a dry_run option that runs every check without dispatching to the SDI, and it needs e-invoicing to be active on the account.
- For an e-invoice the client needs the e-invoice flag, the e-invoice code (ei_code) and optionally a certified email.
- An invoice carries a VAT kind: I (immediata), D (differita) or S (split payment), and an accepted payment method code such as MP05.
- Every line needs a VAT type, with a net or gross price and a quantity.
- A sub-user needs the company admin to grant permissions under Impostazioni, Utenti e Permessi, or calls fail with 403.
create_invoice and send_einvoice ask for your OK by default. To run it on a schedule without you, switch confirmation off for those tools in your dashboard.
Sources: Developers: Invoice creation · Developers: E-Invoice management · Developers: Scopes · Fatture in Cloud: product page
Call create_invoice from a script
curl -X POST https://cotlet.dev/api/v1/fatture-in-cloud/clients/5107/invoices \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"date":"2026-10-31","subject":"October consulting","e_invoice":true,"lines":[{"description":"Consulting, 10 hours","quantity":10,"net_price":150,"vat_percent":22}],"due_date":"2026-11-30"}' {
"id": 88120,
"number": 14,
"date": "2026-10-31",
"client_id": 5107,
"e_invoice": true,
"ei_status": "not_sent",
"amount_net": 1500,
"amount_vat": 330,
"amount_gross": 1830,
"due_date": "2026-11-30"
} MCP: add https://cotlet.dev/mcp/v1 with the same key; the call is fatture_in_cloud_write → create_invoice. Example data.
Schedule it in n8n, Make, Zapier or cronFatture in Cloud tools this automation uses
| Tool | Parameters |
|---|---|
| list_clients | company_id, query, page, per_page |
| create_client | company_id, name, vat_number, tax_code, address, e_invoice_code, certified_email |
| create_invoice | company_id, client_id, date, subject, e_invoice, lines, due_date |
| verify_einvoice | company_id, invoice_id |
| send_einvoice | company_id, invoice_id, dry_run |
Frequently asked questions
Is it safe to connect Fatture in Cloud to Cotlet?
Yes. You sign in to Fatture in Cloud yourself, in your own Cloud Browser in the EU, and we never save your password. Your agents only get Fatture in Cloud once you enable it, every background request is listed, and the browser profile is stored encrypted with AES-256-GCM, the cipher 1Password uses for its vaults. The AI model never sees a login, posts and messages wait for your OK, and Disable for agents cuts access in one click. Independent scanners grade cotlet.dev A+ on Qualys SSL Labs, securityheaders.com and Mozilla Observatory; live results are on https://cotlet.dev/security.
Give your agent access to Fatture in Cloud.
Free 7-day trial with 2,000 credits, no card needed. Cotlet is independent and not affiliated with Fatture in Cloud.