Fatture in Cloud MCP by usefulapi
v1.12.0Read invoices, clients, suppliers and cashbook; create invoices and clients in Fatture in Cloud.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
fattureincloud_get_user Get the signed-in user
The Fatture in Cloud user this server is signed in as: id, name and email.
fattureincloud_list_companies List companies
The companies this sign-in can use, with their id (the company_id of the other tools), name, type, plan, VAT number and tax code. Accountants also see controlled_companies.
fattureincloud_get_company_info Get company info
One company's details: name, email, type, the user's role and permissions in it, and the Fatture in Cloud plan and its limits.
| Parameter | Type | Description |
|---|---|---|
company_id | integer | The company id (from fattureincloud_list_companies). Optional when the sign-in reaches only one company. |
fattureincloud_list_clients List clients
Clients (Clienti) of a company, paged, with an optional filter.
| Parameter | Type | Description |
|---|---|---|
company_id | integer | The company id (from fattureincloud_list_companies). Optional when the sign-in reaches only one company. |
fieldset | string | basic = the main fields (default for lists), detailed = every field (default for single records). |
page | integer | Page number, from 1 (default 1). |
per_page | integer | Items per page, 5-100 (default 25). Fatture in Cloud refuses fewer than 5. |
q | string | Filter in Fatture in Cloud's query language, for example name like '%Rossi%' or date >= '2026-01-01' and date <= '2026-03-31'. Operators: = != < <= > >= like, contains, starts with, ends with, is null… |
sort | string | Comma-separated fields to sort by; prefix a field with - for descending (for example -date). |
fattureincloud_get_client Get a client
One client with every field (address, VAT number, defaults, e-invoice code).
| Parameter | Type | Description |
|---|---|---|
client_id * | integer | The client id. |
company_id | integer | The company id (from fattureincloud_list_companies). Optional when the sign-in reaches only one company. |
fieldset | string | basic = the main fields (default for lists), detailed = every field (default for single records). |
fattureincloud_list_suppliers List suppliers
Suppliers (Fornitori) of a company, paged, with an optional filter.
| Parameter | Type | Description |
|---|---|---|
company_id | integer | The company id (from fattureincloud_list_companies). Optional when the sign-in reaches only one company. |
fieldset | string | basic = the main fields (default for lists), detailed = every field (default for single records). |
page | integer | Page number, from 1 (default 1). |
per_page | integer | Items per page, 5-100 (default 25). Fatture in Cloud refuses fewer than 5. |
q | string | Filter in Fatture in Cloud's query language, for example name like '%Rossi%' or date >= '2026-01-01' and date <= '2026-03-31'. Operators: = != < <= > >= like, contains, starts with, ends with, is null… |
sort | string | Comma-separated fields to sort by; prefix a field with - for descending (for example -date). |
fattureincloud_get_supplier Get a supplier
One supplier with every field.
| Parameter | Type | Description |
|---|---|---|
supplier_id * | integer | The supplier id. |
company_id | integer | The company id (from fattureincloud_list_companies). Optional when the sign-in reaches only one company. |
fieldset | string | basic = the main fields (default for lists), detailed = every field (default for single records). |
fattureincloud_list_products List products
Products and services (Prodotti e servizi) of a company, paged, with an optional filter.
| Parameter | Type | Description |
|---|---|---|
company_id | integer | The company id (from fattureincloud_list_companies). Optional when the sign-in reaches only one company. |
fieldset | string | basic = the main fields (default for lists), detailed = every field (default for single records). |
page | integer | Page number, from 1 (default 1). |
per_page | integer | Items per page, 5-100 (default 25). Fatture in Cloud refuses fewer than 5. |
q | string | Filter in Fatture in Cloud's query language, for example name like '%Rossi%' or date >= '2026-01-01' and date <= '2026-03-31'. Operators: = != < <= > >= like, contains, starts with, ends with, is null… |
sort | string | Comma-separated fields to sort by; prefix a field with - for descending (for example -date). |
fattureincloud_get_product Get a product
One product with prices, default VAT, category and stock.
| Parameter | Type | Description |
|---|---|---|
product_id * | integer | The product id. |
company_id | integer | The company id (from fattureincloud_list_companies). Optional when the sign-in reaches only one company. |
fieldset | string | basic = the main fields (default for lists), detailed = every field (default for single records). |
fattureincloud_list_issued_documents List issued documents
Issued documents of one type (invoices, quotes, credit notes, ...) of a company, paged. Unpaid invoices: type invoice with q next_due_date is not null. Date range: q date >= '2026-01-01' and date <= '2026-01-31'.
| Parameter | Type | Description |
|---|---|---|
type * | string | The document type. |
company_id | integer | The company id (from fattureincloud_list_companies). Optional when the sign-in reaches only one company. |
fieldset | string | basic = the main fields (default for lists), detailed = every field (default for single records). |
page | integer | Page number, from 1 (default 1). |
per_page | integer | Items per page, 5-100 (default 10). Fatture in Cloud refuses fewer than 5. |
q | string | Filter in Fatture in Cloud's query language, for example name like '%Rossi%' or date >= '2026-01-01' and date <= '2026-03-31'. Operators: = != < <= > >= like, contains, starts with, ends with, is null… |
sort | string | Comma-separated fields to sort by; prefix a field with - for descending (for example -date). |
fattureincloud_get_issued_document Get an issued document
One issued document with its customer, items, payments, totals, e-invoice status (ei_status) and PDF link.
| Parameter | Type | Description |
|---|---|---|
document_id * | integer | The document id. |
company_id | integer | The company id (from fattureincloud_list_companies). Optional when the sign-in reaches only one company. |
fieldset | string | basic = the main fields (default for lists), detailed = every field (default for single records). |
fattureincloud_list_received_documents List received documents
Received documents (expenses, supplier credit notes, delivery notes, self-invoices) of a company, paged.
| Parameter | Type | Description |
|---|---|---|
type * | string | The received document type (expense = a supplier invoice or cost). |
company_id | integer | The company id (from fattureincloud_list_companies). Optional when the sign-in reaches only one company. |
fieldset | string | basic = the main fields (default for lists), detailed = every field (default for single records). |
page | integer | Page number, from 1 (default 1). |
per_page | integer | Items per page, 5-100 (default 10). Fatture in Cloud refuses fewer than 5. |
q | string | Filter in Fatture in Cloud's query language, for example name like '%Rossi%' or date >= '2026-01-01' and date <= '2026-03-31'. Operators: = != < <= > >= like, contains, starts with, ends with, is null… |
sort | string | Comma-separated fields to sort by; prefix a field with - for descending (for example -date). |
fattureincloud_get_received_document Get a received document
One received document with its supplier, items, payments and totals.
| Parameter | Type | Description |
|---|---|---|
document_id * | integer | The document id. |
company_id | integer | The company id (from fattureincloud_list_companies). Optional when the sign-in reaches only one company. |
fieldset | string | basic = the main fields (default for lists), detailed = every field (default for single records). |
fattureincloud_list_cashbook_entries List cashbook entries
Cashbook (Prima nota) entries of a company between two dates: money in and out, with the linked documents and payment accounts. Returns 25 entries per reply by default; use limit and offset to read the rest (next_offset is null on the last page).
| Parameter | Type | Description |
|---|---|---|
date_from * | string | Start date (YYYY-MM-DD). |
date_to * | string | End date (YYYY-MM-DD). |
company_id | integer | The company id (from fattureincloud_list_companies). Optional when the sign-in reaches only one company. |
limit | integer | Entries per reply, 1-100 (default 25). |
offset | integer | Entries to skip before the reply starts, for paging (default 0). |
payment_account_id | integer | Only this payment account (from fattureincloud_list_settings). |
type | string | Money in, money out, or all (default all). |
fattureincloud_list_settings List company settings
Reference lists of a company that other tools need: vat_types (the vat_id of document items), payment_methods, payment_accounts (for paid payments and cashbook filters), revenue_centers, cost_centers, product_categories, received_document_categories.
| Parameter | Type | Description |
|---|---|---|
kind * | string | |
company_id | integer | The company id (from fattureincloud_list_companies). Optional when the sign-in reaches only one company. |
fattureincloud_get_new_document_info Get new document info
What Fatture in Cloud needs to create a document of one type: numerations and next numbers, templates, default values (default VAT, template, payment method), payment methods and accounts, languages and units. Large reference tables are left out unless you ask for them in include: vat_types (also in fattureincloud_list_settings), currencies, countries, e_invoice_codes (SDI document types, regimes, cassa, withholding and payment reason codes) and e_invoice_structure (the XML field limits).
| Parameter | Type | Description |
|---|---|---|
type * | string | The document type. |
company_id | integer | The company id (from fattureincloud_list_companies). Optional when the sign-in reaches only one company. |
include | array | Optional reference tables to add. Each one makes the reply larger; ask only for what the task needs. |
fattureincloud_verify_einvoice_xml Verify an e-invoice XML
Check whether an issued document produces a valid e-invoice XML before it goes to the SDI. Returns success or the validation errors.
| Parameter | Type | Description |
|---|---|---|
document_id * | integer | The issued document id. |
company_id | integer | The company id (from fattureincloud_list_companies). Optional when the sign-in reaches only one company. |
fattureincloud_get_einvoice_rejection Get an e-invoice rejection reason
Why the SDI rejected an e-invoice: the reason, the e-invoice status, the error code and a suggested solution.
| Parameter | Type | Description |
|---|---|---|
document_id * | integer | The issued document id. |
company_id | integer | The company id (from fattureincloud_list_companies). Optional when the sign-in reaches only one company. |
fattureincloud_create_client Create a client
Create a client (Cliente) in a company's registry. Returns the new client with its id.
| Parameter | Type | Description |
|---|---|---|
name * | string | Company name, or full name of a person. |
address_city | string | |
address_postal_code | string | |
address_province | string | Province code, for example MI. |
address_street | string | |
certified_email | string | PEC address. |
code | string | Your own client code. |
company_id | integer | The company id (from fattureincloud_list_companies). Optional when the sign-in reaches only one company. |
country | string | Country name in Italian, for example Italia. |
ei_code | string | E-invoice recipient code (Codice destinatario, 7 characters; 6 for public administration). |
email | string | |
notes | string | |
phone | string | |
tax_code | string | Tax code (Codice fiscale). |
type | string | company, person, pa (public administration) or condo. |
vat_number | string | VAT number (Partita IVA). |
fattureincloud_create_product Create a product
Create a product or service in a company's catalogue. Returns the new product with its id.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
category | string | |
code | string | |
company_id | integer | The company id (from fattureincloud_list_companies). Optional when the sign-in reaches only one company. |
description | string | |
gross_price | number | Price with VAT; use it instead of net_price for gross pricing. |
measure | string | Unit of measure, for example ore or pz. |
net_cost | number | Purchase cost without VAT. |
net_price | number | Price without VAT, in the company currency (euro), for example 100.5. |
vat_id | integer | Default VAT type id (fattureincloud_list_settings kind vat_types). |
fattureincloud_create_issued_document Create an issued document
Create an invoice, quote, proforma, receipt, delivery note, credit note or order. It gets the next number unless you give one. Give client_id (the tool copies the stored client's details, as Fatture in Cloud does not fill them in) or a client object. Each item needs a vat_id (fattureincloud_list_settings kind vat_types). Without payments, invoices, proformas, receipts and credit notes get one unpaid payment of the full total, due on due_date or the document date. This does NOT send anything: e-mail it with fattureincloud_send_document_email or send an e-invoice with fattureincloud_send_einvoic…
| Parameter | Type | Description |
|---|---|---|
items * | array | |
type * | string | The document type. |
client | object | A customer that is not in the registry (one-off). Use client_id instead for a stored client. |
client_id | integer | An existing client (fattureincloud_list_clients). |
company_id | integer | The company id (from fattureincloud_list_companies). Optional when the sign-in reaches only one company. |
date | string | Document date; default today (YYYY-MM-DD). |
due_date | string | Due date of the automatic single payment (YYYY-MM-DD). |
e_invoice | boolean | true = an electronic invoice for the SDI. The customer needs ei_code or certified_email. |
ei_bank_beneficiary | string | Bank beneficiary to include in the e-invoice XML. Requires e_invoice: true. |
ei_bank_iban | string | IBAN to include in the e-invoice XML. Requires e_invoice: true. |
ei_bank_name | string | Bank name to include in the e-invoice XML. Requires e_invoice: true. |
ei_payment_method | string | E-invoice payment method code (ModalitaPagamento), for example MP05 bank transfer. Required for e-invoices. |
ei_vat_kind | string | VAT due: I immediate, D deferred, S split payment. |
notes | string | Notes printed on the document (HTML allowed by Fatture in Cloud). |
number | integer | Document number; default the next free number. |
numeration | string | Numbering series (sezionale), for example /A. |
payment_method_id | integer | Payment method (kind payment_methods). |
payments | array | |
show_payment_method | boolean | Show the selected payment method details on the PDF. true requires payment_method_id. |
subject | string | Internal subject (not on the PDF). |
use_gross_prices | boolean | true = item prices include VAT (gross_price). Default false. |
visible_subject | string | Subject printed on the document. |
fattureincloud_record_issued_document_payment Record a payment on an issued document
Mark an existing invoice, proforma, receipt or credit note as paid (saldata), in full or in part: one unpaid installment gets status paid, the paid date and the payment account (conto di saldo). A part payment splits that installment into a paid part and an unpaid rest with the same due date. Items, totals and the other installments stay as they are. payment_account_id comes from fattureincloud_list_settings kind payment_accounts (Fatture in Cloud refuses a paid installment without one). Not idempotent: after an uncertain result, read the document with fattureincloud_get_issued_document before…
| Parameter | Type | Description |
|---|---|---|
document_id * | integer | The issued document id. |
payment_account_id * | integer | The account the money went to (conto di saldo): fattureincloud_list_settings kind payment_accounts. |
amount | number | Amount received, with VAT, in the document currency, at most 2 decimals. Default: the whole installment. Less than the installment = a part payment (the rest stays unpaid). More than the installment i… |
company_id | integer | The company id (from fattureincloud_list_companies). Optional when the sign-in reaches only one company. |
installment_id | integer | The unpaid installment (payments_list id from fattureincloud_get_issued_document). Required when the document has more than one unpaid installment. |
paid_date | string | Date paid; default today (Italian time) (YYYY-MM-DD). |
fattureincloud_send_document_email E-mail an issued document
IRREVERSIBLE: e-mail an issued document to the customer from Fatture in Cloud. Use only when the user asks to send it. Recipient, sender, subject and body default to Fatture in Cloud's suggestions for this document. Other files (attachment, delivery note, accompanying invoice) go only when you ask for them.
| Parameter | Type | Description |
|---|---|---|
document_id * | integer | The issued document id. |
attach_pdf | boolean | Attach the document PDF. Default: the company's own setting for this document (default_attach_pdf), else true. |
body | string | Message text (HTML allowed). Default: Fatture in Cloud's template text. |
company_id | integer | The company id (from fattureincloud_list_companies). Optional when the sign-in reaches only one company. |
include_accompanying_invoice | boolean | Also include the accompanying invoice, if any (default false). |
include_attachment | boolean | Also include the document's attached file, if it has one (default false). |
include_delivery_note | boolean | Also include the linked delivery note, if any (default false). |
recipient_email | string | Recipient address(es), comma-separated. Default: the customer's address. |
send_copy | boolean | Send a copy to the sender (default false). |
sender_email | string | One of the company's sender addresses. Default: the company's default sender. |
subject | string |
fattureincloud_send_einvoice Send an e-invoice to the SDI
IRREVERSIBLE: send an issued e-invoice (e_invoice true) to the Italian exchange system SDI. Use only when the user asks to send it. Run fattureincloud_verify_einvoice_xml first; dry_run true checks the send without sending. A real send first reads the document's ei_status and refuses a document that is being sent or was sent (attempt, sent, pending, processing, accepted, no_response, not_delivered). If a send fails without a clear refusal, do not send again: read ei_status with fattureincloud_get_issued_document.
| Parameter | Type | Description |
|---|---|---|
document_id * | integer | The issued document id. |
company_id | integer | The company id (from fattureincloud_list_companies). Optional when the sign-in reaches only one company. |
dry_run | boolean | true = validate only, send nothing (default false). |