Fiscalo MCP by usefulapi
v1.6.1Read and create customers, items and draft invoices in Fiscalo.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
fiscalo_connection_test Test the connection
Check that the API key works and show its environment (sandbox or production). Use this first. Fiscalo API: GET /connection-test.
fiscalo_list_customers List customers
List customers of the company behind the API key. Filter by name, tax number or your own external_id. Fiscalo API: GET /customers.
| Parameter | Type | Description |
|---|---|---|
external_id | string | Filter by your own customer id. |
name | string | Filter by customer name. |
page | integer | Page number (default 1). |
per_page | integer | Results per page (1 to 100). |
tax_number | string | Filter by tax number (NIF). |
fiscalo_get_customer Get a customer
Get one customer by its Fiscalo id. Fiscalo API: GET /customers/{id}.
| Parameter | Type | Description |
|---|---|---|
customer_id * | string | The customer id (from fiscalo_list_customers). |
fiscalo_create_customer Create a customer
Create a customer (individual or company). Writes need production access on the company. Fiscalo API: POST /customers.
| Parameter | Type | Description |
|---|---|---|
customer_type * | string | individual or company. |
name * | string | Full name or company name. |
address_line_1 | string | |
address_line_2 | string | |
city | string | |
country | string | Two-letter country code, for example PT. |
email | string | |
external_id | string | Your own id for this customer (used to find it again). |
phone | string | |
postal_code | string | |
tax_number | string | Tax number (NIF). |
vat_number_country | string | Two-letter VAT country code. |
fiscalo_list_items List items
List products and services in the catalog. Fiscalo API: GET /items.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number (default 1). |
per_page | integer | Results per page (1 to 100). |
fiscalo_get_item Get an item
Get one product or service by its Fiscalo id. Fiscalo API: GET /items/{id}.
| Parameter | Type | Description |
|---|---|---|
item_id * | string | The item id (from fiscalo_list_items). |
fiscalo_create_item Create an item
Create a product or service with its unit price and tax rate. Writes need production access on the company. Fiscalo API: POST /items.
| Parameter | Type | Description |
|---|---|---|
name * | string | Item name shown on documents. |
tax_rate_id * | string | Tax rate id (from fiscalo_list_tax_rates). |
type * | string | product or service. |
unit_price * | number | Unit price, without tax. |
cost_price | number | |
description | string | |
external_id | string | Your own id for this item. |
sku | string | |
tax_exemption_reason_id | string | Tax exemption reason id, when the tax rate is 0. |
unit | string | Unit label, for example un or h. |
fiscalo_list_tax_rates List tax rates
List the global tax-rate catalog (read-only). Use it to find the tax_rate_id for an item or a document line. Fiscalo API: GET /tax-rates.
| Parameter | Type | Description |
|---|---|---|
active_on | string | Only rates active on this date (yyyy-mm-dd). |
country | string | Two-letter country code, for example PT. |
page | integer | Page number (default 1). |
per_page | integer | Results per page (1 to 100). |
status | string | Status filter, for example active. |
type | string | Tax type filter, as the catalog names it. |
fiscalo_list_document_series List document series
List the document series of the company. A draft needs an active series (series_id). Fiscalo API: GET /document-series.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number (default 1). |
per_page | integer | Results per page (1 to 100). |
fiscalo_list_documents List documents
List documents (invoices, credit notes, quotes and others) with their status. Fiscalo API: GET /documents.
| Parameter | Type | Description |
|---|---|---|
external_id | string | Find a document by your own id. |
page | integer | Page number (default 1). |
per_page | integer | Results per page (1 to 100). |
series_id | string | Only documents of this series. |
fiscalo_get_document Get a document
Get one document with its lines, taxes, totals and status (draft or issued). Fiscalo API: GET /documents/{id}.
| Parameter | Type | Description |
|---|---|---|
document_id * | string | The document id (from fiscalo_list_documents). |
fiscalo_create_document_draft Create a document draft
Create a draft document for a customer in an active series. The draft is NOT issued: this tool cannot issue or cancel a document. Repeating the same call sends the same Idempotency-Key, so it does not create a second draft. Fiscalo API: POST /documents.
| Parameter | Type | Description |
|---|---|---|
customer_id * | string | Customer id (from fiscalo_list_customers or fiscalo_create_customer). |
document_type * | string | Document type. |
series_id * | string | Active series id (from fiscalo_list_document_series). |
currency | string | Currency code. The API default is EUR. |
due_date | string | Due date (yyyy-mm-dd). |
external_id | string | Your own id for this document. A repeated external_id returns the existing document. |
idempotency_key | string | Optional Idempotency-Key. When omitted, one is derived from the request. |
internal_notes | string | Notes kept inside the company. |
issue_date | string | Issue date (yyyy-mm-dd). |
notes | string | Notes printed on the document. |
reference_document_id | string | The document this one corrects or refers to (for credit and debit notes). |
reference_reason | string |
fiscalo_add_document_line Add a line to a draft
Add a line to a draft document. Only drafts accept lines; issued documents return document_not_editable. A retry adds the line again: check the document first. Fiscalo API: POST /documents/{id}/lines.
| Parameter | Type | Description |
|---|---|---|
document_id * | string | The draft document id. |
quantity * | number | Quantity (greater than 0). |
description | string | |
discount_rate | number | Discount in percent (0 to 100). |
item_id | string | Item id (from fiscalo_list_items). Leave out for a free-text line. |
sort_order | integer | |
tax_exemption_reason_id | string | |
tax_rate_id | string | Tax rate id (from fiscalo_list_tax_rates). |
unit | string | |
unit_price | number | Unit price, without tax. |