A-Cube MCP by usefulapi
v1.13.1Read Italian invoices, receipts and SDI notices; validate, prepare and submit agreed drafts.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
acube_list_invoices List invoices
Sent and received Italian e-invoices (SDI) of the account: uuid, invoice number and date, document type (TD01...), sender and recipient, amounts, marking and notification status. Filter by date, number, document type, party name or VAT number. GET /invoices.
| Parameter | Type | Description |
|---|---|---|
created_from | string | Created in A-Cube on or after this day. |
created_to | string | Created in A-Cube on or before this day. |
document_type | string | SDI document type, e.g. TD01 (invoice), TD04 (credit note), TD17-TD19 (reverse-charge self-invoices). |
downloaded | boolean | Only invoices already downloaded (true) or not yet (false). |
invoice_date_from | string | Invoice date on or after this day. |
invoice_date_to | string | Invoice date on or before this day. |
invoice_number | string | Exact invoice number. |
items_per_page | integer | Items per page, 1 to 30 (default 30). A full page means there may be more: ask for the next page. |
order | string | Sort direction (default desc). |
order_by | string | Sort field (default invoice_date). |
page | integer | Page number, from 1 (default 1). |
recipient_name | string | Recipient business name (partial match). |
recipient_vat_number | string | Recipient VAT number code (digits, without the country prefix). |
sender_name | string | Sender business name (partial match). |
sender_vat_number | string | Sender VAT number code (digits, without the country prefix). |
signed | boolean | Only signed (true) or unsigned (false) invoices. |
acube_get_invoice Get an invoice
One invoice by uuid: metadata plus the FatturaPA JSON payload (parties, lines, VAT, payment), or the XML file sent to the SDI. GET /invoices/{uuid}.
| Parameter | Type | Description |
|---|---|---|
uuid * | string | The invoice uuid (from acube_list_invoices). |
format | string | json (default) or xml. |
acube_list_invoice_notifications List an invoice's SDI notifications
The SDI notifications of one invoice (delivery receipt RC, rejection NS, outcome NE, failed delivery MC, deadline expiry DT...), with their type, date and status: how you tell whether an invoice was delivered or rejected. GET /invoices/{uuid}/notifications.
| Parameter | Type | Description |
|---|---|---|
uuid * | string | The invoice uuid. |
acube_get_notification Get an SDI notification
One SDI notification by uuid, with its payload. GET /notifications/{uuid}.
| Parameter | Type | Description |
|---|---|---|
uuid * | string | The notification uuid (from acube_list_invoice_notifications). |
acube_get_invoice_stats Get invoice statistics
Counters of invoices and notifications for a year (annual; monthly or daily detail only if A-Cube activated it), for the whole account or one fiscal id. GET /invoices/stats/{year}.
| Parameter | Type | Description |
|---|---|---|
year * | integer | The year, e.g. 2026. |
fiscal_id | string | Only this customer's fiscal id (a business registry configuration). |
acube_list_draft_invoices List draft invoices
Draft invoices that were created but not yet sent to the SDI. Same filters as acube_list_invoices. GET /invoices/draft.
| Parameter | Type | Description |
|---|---|---|
invoice_date_from | string | Invoice date on or after this day. |
invoice_date_to | string | Invoice date on or before this day. |
invoice_number | string | Exact invoice number. |
items_per_page | integer | Items per page, 1 to 30 (default 30). A full page means there may be more: ask for the next page. |
page | integer | Page number, from 1 (default 1). |
recipient_name | string | Recipient business name (partial match). |
acube_get_draft_invoice Get a draft invoice
One draft invoice by uuid, with its FatturaPA JSON content. GET /invoices/draft/{uuid}.
| Parameter | Type | Description |
|---|---|---|
uuid * | string | The draft invoice uuid. |
acube_validate_invoice Validate an invoice (no save)
Checks an invoice against the FatturaPA rules without creating or sending anything; returns the validation result or A-Cube's errors. POST /invoices/validate.
| Parameter | Type | Description |
|---|---|---|
fattura_elettronica_body * | array | Exactly one invoice body (an array with one object), snake_case keys: dati_generali (dati_generali_documento...), dati_beni_servizi (dettaglio_linee, dati_riepilogo), optional dati_pagamento. Field na… |
fattura_elettronica_header | object | FatturaPA header as A-Cube JSON (snake_case keys): dati_trasmissione (codice_destinatario, pec_destinatario), cedente_prestatore (seller), cessionario_committente (buyer). Give the full header (seller… |
acube_create_draft_invoice Create a draft invoice
WRITE: saves a new invoice as a DRAFT in A-Cube. Nothing is sent to the SDI until acube_send_draft_invoice. Not idempotent: calling it twice creates two drafts. Validate first with acube_validate_invoice. POST /invoices/draft.
| Parameter | Type | Description |
|---|---|---|
fattura_elettronica_body * | array | Exactly one invoice body (an array with one object), snake_case keys: dati_generali (dati_generali_documento...), dati_beni_servizi (dettaglio_linee, dati_riepilogo), optional dati_pagamento. Field na… |
fattura_elettronica_header | object | FatturaPA header as A-Cube JSON (snake_case keys): dati_trasmissione (codice_destinatario, pec_destinatario), cedente_prestatore (seller), cessionario_committente (buyer). Give the full header (seller… |
acube_send_draft_invoice Send a draft invoice to the SDI
WRITE: accepts a draft and transmits it to the Sistema di Interscambio. This is a legal act: a sent e-invoice cannot be recalled (only corrected with a credit note) and may be billed by A-Cube. Without confirm: true it only returns the draft for review. Show the draft to the user and get their explicit OK first. POST /invoices/draft/{uuid}/send.
| Parameter | Type | Description |
|---|---|---|
uuid * | string | The draft invoice uuid. |
confirm | boolean | Must be true to actually send. Otherwise the draft is returned as a preview. |
acube_delete_draft_invoice Delete a draft invoice
WRITE: permanently deletes a draft invoice (a draft only: a sent invoice answers 409). Without confirm: true it only returns the draft. DELETE /invoices/draft/{uuid}.
| Parameter | Type | Description |
|---|---|---|
uuid * | string | The draft invoice uuid. |
confirm | boolean | Must be true to actually delete. Otherwise the draft is returned as a preview. |
acube_list_receipts List electronic receipts
Electronic commercial receipts (scontrini) with number, date, status, type (sale, void, return) and totals. GET /receipts.
| Parameter | Type | Description |
|---|---|---|
document_date_from | string | Receipt date on or after this day. |
document_date_to | string | Receipt date on or before this day. |
document_number | string | Exact receipt document number. |
fiscal_id | string | Only this business's receipts (its fiscal id). |
items_per_page | integer | Items per page, 1 to 100 (default 30). A full page means there may be more: ask for the next page. |
page | integer | Page number, from 1 (default 1). |
status | string | Receipt status, as shown in the list. |
type | string | Receipt type, e.g. sale, void, return. |
acube_get_receipt Get an electronic receipt
One electronic receipt by uuid: type, status, number, date, total and links to voiding or returned receipts (no line items: use acube_get_receipt_details). GET /receipts/{uuid}.
| Parameter | Type | Description |
|---|---|---|
uuid * | string | The receipt uuid (from acube_list_receipts). |
acube_get_receipt_details Get electronic receipt details
The line items and VAT, discount and taxable totals of one electronic receipt. GET /receipts/{uuid}/details.
| Parameter | Type | Description |
|---|---|---|
uuid * | string | The receipt uuid (from acube_list_receipts). |
acube_list_business_registry_configurations List business registry configurations
The businesses (fiscal ids) set up on the account, with which services are on: customer invoices, supplier invoices, receipts, signature, legal storage. GET /business-registry-configurations.
| Parameter | Type | Description |
|---|---|---|
email | string | Contact email. |
fiscal_id | string | Exact fiscal id. |
items_per_page | integer | Items per page, 1 to 100 (default 30). A full page means there may be more: ask for the next page. |
name | string | Business name (partial match). |
page | integer | Page number, from 1 (default 1). |
receipts_enabled | boolean | Only businesses with electronic receipts on (true) or off (false). |
supplier_invoice_enabled | boolean | Only businesses that receive supplier invoices (true) or not (false). |
acube_get_business_registry_configuration Get a business registry configuration
One business by fiscal id: name, email, enabled services and its webhook configurations. GET /business-registry-configurations/{fiscalId}.
| Parameter | Type | Description |
|---|---|---|
fiscal_id * | string | The business's fiscal id (codice fiscale or partita IVA). |
acube_list_webhooks List webhook configurations
The webhooks (events and target URLs) configured on the account. Authentication keys and tokens are never returned. GET /api-configurations.
| Parameter | Type | Description |
|---|---|---|
fiscal_id | string | Only webhooks of this business (fiscal id). |
items_per_page | integer | Items per page, 1 to 30 (default 30). A full page means there may be more: ask for the next page. |
page | integer | Page number, from 1 (default 1). |
acube_list_numbering_sequences List numbering sequences
The invoice numbering sequences (name, year, last number). GET /numbering-sequences.
| Parameter | Type | Description |
|---|---|---|
items_per_page | integer | Items per page, 1 to 100 (default 30). A full page means there may be more: ask for the next page. |
page | integer | Page number, from 1 (default 1). |
sequence_name | string | Only this sequence name. |
year | integer | Only this year. |
acube_get_current_numbering_sequence Get the current numbering sequence
The sequence now in use for a sequence name. Its number is the LAST number used: the next invoice gets that number plus one. GET /numbering-sequences/current/{name}.
| Parameter | Type | Description |
|---|---|---|
name * | string | The sequence name. |
acube_list_jobs List background jobs
Background jobs (invoice, report and zip downloads, F24 and daily receipt report downloads) with status ready, started, completed or error. GET /jobs.
| Parameter | Type | Description |
|---|---|---|
fiscal_id | string | Only this business's jobs. |
items_per_page | integer | Items per page, 1 to 30 (default 30). A full page means there may be more: ask for the next page. |
job_type | string | Only this job type. |
page | integer | Page number, from 1 (default 1). |
status | string | Only jobs in this status. |
acube_get_job Get a background job
One background job by uuid with its status and result. GET /jobs/{uuid}.
| Parameter | Type | Description |
|---|---|---|
uuid * | string | The job uuid (from acube_list_jobs). |
acube_verify_fiscal_id Check a fiscal id
Checks whether a codice fiscale or partita IVA is valid. GET /verify/fiscal-id/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | The fiscal id or VAT number to check, e.g. 12345678901. |
acube_verify_company Look up an Italian company
Basic registry data of an Italian company by VAT number (name, address, status), optionally with the split-payment check. GET /verify/company/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | The company's VAT number or fiscal id. |
check_split_payment | boolean | Also tell whether the company is subject to split payment. |
acube_get_recipient_code Get the SDI recipient code
The account's 7-character SDI recipient code (codice destinatario), the address customers put on invoices they send to you. GET /users/me/recipient-code.