Defontana MCP by usefulapi is an MCP server published by io.usefulapi, hosted at defontana.usefulapi.io. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 28 tools, including defontana_get_company, defontana_list_users, defontana_list_clients, defontana_search_client_by_legal_code, defontana_get_client_credit.
Read sales, purchases, stock, receivables and accounting vouchers in Defontana.
4,413 connections through 5 shared values. Tap any node.
The Defontana company the login belongs to: id, name, tax id (legalCode), website and e-mail. GET /Company.
No parameters.
{
"name": "defontana_get_company",
"title": "Get company",
"description": "The Defontana company the login belongs to: id, name, tax id (legalCode), website and e-mail. GET /Company.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "Get company",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
List the users of the Defontana company (name, phone, e-mail, tax id, user id). GET /User/List.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, from 1 (default 1). Pass the previous reply's paging.next_page. |
| filter | string | Filter by name, tax id, e-mail or user id. |
| per_page | integer | Results per page, 1-100 (default 25). |
{
"name": "defontana_list_users",
"title": "List users",
"description": "List the users of the Defontana company (name, phone, e-mail, tax id, user id). GET /User/List.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's paging.next_page.",
"exclusiveMinimum": 0
},
"filter": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Filter by name, tax id, e-mail or user id."
},
"per_page": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100 (default 25).",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "List users",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List the company's clients (customers): tax id (legalCode), name, address, e-mail, payment condition, price list, seller, active flag. Filter by tax id or name. GET /sale/GetClients.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, from 1 (default 1). Pass the previous reply's paging.next_page. |
| status | string | Filter by state: all (default), active or inactive. |
| per_page | integer | Results per page, 1-100 (default 25). |
| legal_code | string | Client tax id (RUT), exactly as stored, e.g. 76.123.456-7. |
| description | string | Client name or part of it. |
{
"name": "defontana_list_clients",
"title": "List clients",
"description": "List the company's clients (customers): tax id (legalCode), name, address, e-mail, payment condition, price list, seller, active flag. Filter by tax id or name. GET /sale/GetClients.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's paging.next_page.",
"exclusiveMinimum": 0
},
"status": {
"enum": [
"all",
"active",
"inactive"
],
"type": "string",
"description": "Filter by state: all (default), active or inactive."
},
"per_page": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100 (default 25).",
"exclusiveMinimum": 0
},
"legal_code": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Client tax id (RUT), exactly as stored, e.g. 76.123.456-7."
},
"description": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Client name or part of it."
}
}
},
"annotations": {
"title": "List clients",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Look up one client by tax id (RUT): name, taxpayer type, business line, region, province and commune. GET /Sale/SearchClientByLegalCode.
| Parameter | Type | Description |
|---|---|---|
| legal_code * | string | Client tax id (RUT), e.g. 76.123.456-7. |
{
"name": "defontana_search_client_by_legal_code",
"title": "Search client by tax id",
"description": "Look up one client by tax id (RUT): name, taxpayer type, business line, region, province and commune. GET /Sale/SearchClientByLegalCode.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"legal_code"
],
"properties": {
"legal_code": {
"type": "string",
"maxLength": 40,
"minLength": 1,
"description": "Client tax id (RUT), e.g. 76.123.456-7."
}
}
},
"annotations": {
"title": "Search client by tax id",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}A client's credit position: credit amount, pending balance and the overdue-amount limit. GET /Accounting/GetClientCredit.
| Parameter | Type | Description |
|---|---|---|
| file_id | string | Client file id as stored in Defontana (see list_clients). Defaults to the tax id. |
| legal_code * | string | Client tax id (RUT), e.g. 76.123.456-7. |
{
"name": "defontana_get_client_credit",
"title": "Get client credit",
"description": "A client's credit position: credit amount, pending balance and the overdue-amount limit. GET /Accounting/GetClientCredit.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"legal_code"
],
"properties": {
"file_id": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Client file id as stored in Defontana (see list_clients). Defaults to the tax id."
},
"legal_code": {
"type": "string",
"maxLength": 40,
"minLength": 1,
"description": "Client tax id (RUT), e.g. 76.123.456-7."
}
}
},
"annotations": {
"title": "Get client credit",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List the company's products (articles): code, name, unit, currency, sell price and stock. Filter by code, name or state. GET /sale/GetProducts.
| Parameter | Type | Description |
|---|---|---|
| code | string | Product code. |
| page | integer | Page number, from 1 (default 1). Pass the previous reply's paging.next_page. |
| status | string | Filter by state: all (default), active or inactive. |
| per_page | integer | Results per page, 1-100 (default 25). |
| description | string | Product name or part of it. |
{
"name": "defontana_list_products",
"title": "List products",
"description": "List the company's products (articles): code, name, unit, currency, sell price and stock. Filter by code, name or state. GET /sale/GetProducts.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"code": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Product code."
},
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's paging.next_page.",
"exclusiveMinimum": 0
},
"status": {
"enum": [
"all",
"active",
"inactive"
],
"type": "string",
"description": "Filter by state: all (default), active or inactive."
},
"per_page": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100 (default 25).",
"exclusiveMinimum": 0
},
"description": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Product name or part of it."
}
}
},
"annotations": {
"title": "List products",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List the company's service items: code, description, sell price, unit and unit cost. GET /Sale/GetServices.
| Parameter | Type | Description |
|---|---|---|
| code | string | Service code. |
| page | integer | Page number, from 1 (default 1). Pass the previous reply's paging.next_page. |
| per_page | integer | Results per page, 1-100 (default 25). |
| description | string | Service description or part of it. |
{
"name": "defontana_list_services",
"title": "List services",
"description": "List the company's service items: code, description, sell price, unit and unit cost. GET /Sale/GetServices.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"code": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Service code."
},
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's paging.next_page.",
"exclusiveMinimum": 0
},
"per_page": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100 (default 25).",
"exclusiveMinimum": 0
},
"description": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Service description or part of it."
}
}
},
"annotations": {
"title": "List services",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List the sales people (vendedores): code and name. GET /sale/GetSellers.
| Parameter | Type | Description |
|---|---|---|
| code | string | Seller code. |
| page | integer | Page number, from 1 (default 1). Pass the previous reply's paging.next_page. |
| per_page | integer | Results per page, 1-100 (default 25). |
{
"name": "defontana_list_sellers",
"title": "List sellers",
"description": "List the sales people (vendedores): code and name. GET /sale/GetSellers.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"code": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Seller code."
},
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's paging.next_page.",
"exclusiveMinimum": 0
},
"per_page": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100 (default 25).",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "List sellers",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List the points of sale (locales): code, description, address, business code and default storage. GET /sale/GetShops.
| Parameter | Type | Description |
|---|---|---|
| code | string | Shop code. |
| page | integer | Page number, from 1 (default 1). Pass the previous reply's paging.next_page. |
| per_page | integer | Results per page, 1-100 (default 25). |
{
"name": "defontana_list_shops",
"title": "List shops",
"description": "List the points of sale (locales): code, description, address, business code and default storage. GET /sale/GetShops.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"code": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Shop code."
},
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's paging.next_page.",
"exclusiveMinimum": 0
},
"per_page": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100 (default 25).",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "List shops",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List the storages (bodegas): code, description, whether sales are allowed and the active flag. GET /sale/GetStorages.
| Parameter | Type | Description |
|---|---|---|
| code | string | Storage code. |
| page | integer | Page number, from 1 (default 1). Pass the previous reply's paging.next_page. |
| per_page | integer | Results per page, 1-100 (default 25). |
{
"name": "defontana_list_storages",
"title": "List storages",
"description": "List the storages (bodegas): code, description, whether sales are allowed and the active flag. GET /sale/GetStorages.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"code": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Storage code."
},
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's paging.next_page.",
"exclusiveMinimum": 0
},
"per_page": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100 (default 25).",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "List storages",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Stock per product in one storage (bodega), with the price-list prices. Get storage codes from defontana_list_storages. GET /Sale/GetStorageStock.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, from 1 (default 1). Pass the previous reply's paging.next_page. |
| per_page | integer | Results per page, 1-100 (default 25). |
| storage_id * | string | Storage code. |
{
"name": "defontana_get_storage_stock",
"title": "Get storage stock",
"description": "Stock per product in one storage (bodega), with the price-list prices. Get storage codes from defontana_list_storages. GET /Sale/GetStorageStock.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"storage_id"
],
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's paging.next_page.",
"exclusiveMinimum": 0
},
"per_page": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100 (default 25).",
"exclusiveMinimum": 0
},
"storage_id": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Storage code."
}
}
},
"annotations": {
"title": "Get storage stock",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The payment conditions (condiciones de pago): code, name, type, number of dues and days between payments. GET /Sale/GetPaymentConditions.
No parameters.
{
"name": "defontana_list_payment_conditions",
"title": "List payment conditions",
"description": "The payment conditions (condiciones de pago): code, name, type, number of dues and days between payments. GET /Sale/GetPaymentConditions.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List payment conditions",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The taxes the company uses (for example IVA): code, name, value and type. GET /Sale/GetTaxes.
No parameters.
{
"name": "defontana_list_taxes",
"title": "List taxes",
"description": "The taxes the company uses (for example IVA): code, name, value and type. GET /Sale/GetTaxes.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List taxes",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Sales documents (invoices, receipts, credit notes) issued between two dates, with client, seller, lines, net/exempt totals, tax and total. Optionally one document type. GET /Sale/GetSalebyDate.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, from 1 (default 1). Pass the previous reply's paging.next_page. |
| to_date * | string | Last emission date, yyyy-mm-dd. |
| per_page | integer | Results per page, 1-100 (default 25). |
| from_date * | string | First emission date, yyyy-mm-dd. |
| document_type | string | Document type id, e.g. BOLETAVTAFEC (from the company's document types). |
{
"name": "defontana_list_sales",
"title": "List sales documents",
"description": "Sales documents (invoices, receipts, credit notes) issued between two dates, with client, seller, lines, net/exempt totals, tax and total. Optionally one document type. GET /Sale/GetSalebyDate.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"from_date",
"to_date"
],
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's paging.next_page.",
"exclusiveMinimum": 0
},
"to_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Last emission date, yyyy-mm-dd."
},
"per_page": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100 (default 25).",
"exclusiveMinimum": 0
},
"from_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "First emission date, yyyy-mm-dd."
},
"document_type": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Document type id, e.g. BOLETAVTAFEC (from the company's document types)."
}
}
},
"annotations": {
"title": "List sales documents",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One sales document by document type and folio number: client, lines, totals, tax, attached documents and accounting voucher. GET /sale/GetSale.
| Parameter | Type | Description |
|---|---|---|
| number * | integer | Document folio number. |
| document_type * | string | Document type id, e.g. XFVAELECT. |
{
"name": "defontana_get_sale",
"title": "Get sales document",
"description": "One sales document by document type and folio number: client, lines, totals, tax, attached documents and accounting voucher. GET /sale/GetSale.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"document_type",
"number"
],
"properties": {
"number": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Document folio number.",
"exclusiveMinimum": 0
},
"document_type": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Document type id, e.g. XFVAELECT."
}
}
},
"annotations": {
"title": "Get sales document",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Customer orders (pedidos) created between two dates: number, creation date and client. Use defontana_get_order for the detail. GET /Order/List.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, from 1 (default 1). Pass the previous reply's paging.next_page. |
| to_date * | string | Last creation date, yyyy-mm-dd. |
| per_page | integer | Results per page, 1-100 (default 25). |
| from_date * | string | First creation date, yyyy-mm-dd. |
| from_number | integer | Only orders with this number or higher. |
{
"name": "defontana_list_orders",
"title": "List orders",
"description": "Customer orders (pedidos) created between two dates: number, creation date and client. Use defontana_get_order for the detail. GET /Order/List.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"from_date",
"to_date"
],
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's paging.next_page.",
"exclusiveMinimum": 0
},
"to_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Last creation date, yyyy-mm-dd."
},
"per_page": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100 (default 25).",
"exclusiveMinimum": 0
},
"from_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "First creation date, yyyy-mm-dd."
},
"from_number": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Only orders with this number or higher."
}
}
},
"annotations": {
"title": "List orders",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One customer order by number: client, seller, shop, lines, discounts and totals. GET /Order/Get.
| Parameter | Type | Description |
|---|---|---|
| number * | integer | Order number. |
{
"name": "defontana_get_order",
"title": "Get order",
"description": "One customer order by number: client, seller, shop, lines, discounts and totals. GET /Order/Get.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"number"
],
"properties": {
"number": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Order number.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get order",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Purchase documents (supplier invoices) between two dates: provider, document type and number, total, emission date, SII status and whether it is integrated. Optionally one SII document code (33, 34, ...). GET /Purchase/List.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, from 1 (default 1). Pass the previous reply's paging.next_page. |
| to_date * | string | Last date, yyyy-mm-dd. |
| per_page | integer | Results per page, 1-100 (default 25). |
| from_date * | string | First date, yyyy-mm-dd. |
| sii_document_code | string | SII document code, e.g. 33 (invoice) or 34 (exempt invoice). |
{
"name": "defontana_list_purchases",
"title": "List purchase documents",
"description": "Purchase documents (supplier invoices) between two dates: provider, document type and number, total, emission date, SII status and whether it is integrated. Optionally one SII document code (33, 34, ...). GET /Purchase/List.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"from_date",
"to_date"
],
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's paging.next_page.",
"exclusiveMinimum": 0
},
"to_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Last date, yyyy-mm-dd."
},
"per_page": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100 (default 25).",
"exclusiveMinimum": 0
},
"from_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "First date, yyyy-mm-dd."
},
"sii_document_code": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "SII document code, e.g. 33 (invoice) or 34 (exempt invoice)."
}
}
},
"annotations": {
"title": "List purchase documents",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One purchase document by provider code, document type and number, with lines and totals. GET /Purchase/Get.
| Parameter | Type | Description |
|---|---|---|
| number * | integer | Document number. |
| provider * | string | Provider code (the provider's tax id as stored). |
| document_type * | string | Document type code. |
{
"name": "defontana_get_purchase",
"title": "Get purchase document",
"description": "One purchase document by provider code, document type and number, with lines and totals. GET /Purchase/Get.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"provider",
"document_type",
"number"
],
"properties": {
"number": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Document number.",
"exclusiveMinimum": 0
},
"provider": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Provider code (the provider's tax id as stored)."
},
"document_type": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Document type code."
}
}
},
"annotations": {
"title": "Get purchase document",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Purchase orders (órdenes de compra) between two dates: provider, status, emission date, totals, series and number. Filter by provider name or tax id, or by status. GET /PurchaseOrder/List.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, from 1 (default 1). Pass the previous reply's paging.next_page. |
| status | string | Order status (default all). |
| to_date * | string | Last date, yyyy-mm-dd. |
| per_page | integer | Results per page, 1-100 (default 25). |
| provider | string | Provider tax id or name. |
| from_date * | string | First date, yyyy-mm-dd. |
{
"name": "defontana_list_purchase_orders",
"title": "List purchase orders",
"description": "Purchase orders (órdenes de compra) between two dates: provider, status, emission date, totals, series and number. Filter by provider name or tax id, or by status. GET /PurchaseOrder/List.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"from_date",
"to_date"
],
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's paging.next_page.",
"exclusiveMinimum": 0
},
"status": {
"enum": [
"all",
"entered",
"approved",
"partially_received",
"fully_received",
"closed",
"cancelled",
"approved_or_partially_received"
],
"type": "string",
"description": "Order status (default all)."
},
"to_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Last date, yyyy-mm-dd."
},
"per_page": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100 (default 25).",
"exclusiveMinimum": 0
},
"provider": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Provider tax id or name."
},
"from_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "First date, yyyy-mm-dd."
}
}
},
"annotations": {
"title": "List purchase orders",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One purchase order by number (and series, if the company uses series): provider, lines, taxes and totals. GET /PurchaseOrder/Get.
| Parameter | Type | Description |
|---|---|---|
| number * | integer | Purchase order number. |
| series | string | Purchase order series. |
{
"name": "defontana_get_purchase_order",
"title": "Get purchase order",
"description": "One purchase order by number (and series, if the company uses series): provider, lines, taxes and totals. GET /PurchaseOrder/Get.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"number"
],
"properties": {
"number": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Purchase order number.",
"exclusiveMinimum": 0
},
"series": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Purchase order series."
}
}
},
"annotations": {
"title": "Get purchase order",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List the company's providers (suppliers): tax id, name, address, contact data and the active flag. Filter by tax id or name. GET /PurchaseOrder/GetProviders.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, from 1 (default 1). Pass the previous reply's paging.next_page. |
| status | string | Filter by state: all (default), active or inactive. |
| per_page | integer | Results per page, 1-100 (default 25). |
| legal_code | string | Provider tax id (RUT). |
| description | string | Provider name or part of it. |
{
"name": "defontana_list_providers",
"title": "List providers",
"description": "List the company's providers (suppliers): tax id, name, address, contact data and the active flag. Filter by tax id or name. GET /PurchaseOrder/GetProviders.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's paging.next_page.",
"exclusiveMinimum": 0
},
"status": {
"enum": [
"all",
"active",
"inactive"
],
"type": "string",
"description": "Filter by state: all (default), active or inactive."
},
"per_page": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100 (default 25).",
"exclusiveMinimum": 0
},
"legal_code": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Provider tax id (RUT)."
},
"description": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Provider name or part of it."
}
}
},
"annotations": {
"title": "List providers",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The chart of accounts (plan de cuentas) as a tree: account code, description and the related IFRS account. GET /Accounting/GetAccountPlan.
No parameters.
{
"name": "defontana_get_account_plan",
"title": "Get chart of accounts",
"description": "The chart of accounts (plan de cuentas) as a tree: account code, description and the related IFRS account. GET /Accounting/GetAccountPlan.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "Get chart of accounts",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Accounting vouchers (comprobantes) with type, fiscal year, date, entry date, user and number. Filter by type, fiscal year, date range, entering user or number range. Use defontana_get_voucher for the lines. GET /Accounting/GetVoucherList.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, from 1 (default 1). Pass the previous reply's paging.next_page. |
| user | string | Only vouchers entered by this user. |
| to_date | string | Vouchers dated on or before this day, yyyy-mm-dd. |
| per_page | integer | Results per page, 1-100 (default 25). |
| from_date | string | Vouchers dated on or after this day, yyyy-mm-dd. |
| to_number | integer | Voucher number to. |
| fiscal_year | integer | Fiscal year, e.g. 2026. |
| from_number | integer | Voucher number from. |
| voucher_type | string | Voucher type id, e.g. VENTASELEC. |
{
"name": "defontana_list_vouchers",
"title": "List accounting vouchers",
"description": "Accounting vouchers (comprobantes) with type, fiscal year, date, entry date, user and number. Filter by type, fiscal year, date range, entering user or number range. Use defontana_get_voucher for the lines. GET /Accounting/GetVoucherList.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's paging.next_page.",
"exclusiveMinimum": 0
},
"user": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Only vouchers entered by this user."
},
"to_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Vouchers dated on or before this day, yyyy-mm-dd."
},
"per_page": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100 (default 25).",
"exclusiveMinimum": 0
},
"from_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Vouchers dated on or after this day, yyyy-mm-dd."
},
"to_number": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Voucher number to."
},
"fiscal_year": {
"type": "integer",
"maximum": 2200,
"minimum": 1900,
"description": "Fiscal year, e.g. 2026."
},
"from_number": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Voucher number from."
},
"voucher_type": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Voucher type id, e.g. VENTASELEC."
}
}
},
"annotations": {
"title": "List accounting vouchers",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One accounting voucher with its header and every line (account, debit, credit, file id, document, business center, classifiers). GET /Accounting/GetVoucher.
| Parameter | Type | Description |
|---|---|---|
| number * | integer | Voucher number. |
| fiscal_year * | integer | Fiscal year of the voucher. |
| voucher_type * | string | Voucher type id, e.g. EGRESO. |
{
"name": "defontana_get_voucher",
"title": "Get accounting voucher",
"description": "One accounting voucher with its header and every line (account, debit, credit, file id, document, business center, classifiers). GET /Accounting/GetVoucher.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"voucher_type",
"number",
"fiscal_year"
],
"properties": {
"number": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Voucher number."
},
"fiscal_year": {
"type": "integer",
"maximum": 2200,
"minimum": 1900,
"description": "Fiscal year of the voucher."
},
"voucher_type": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Voucher type id, e.g. EGRESO."
}
}
},
"annotations": {
"title": "Get accounting voucher",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One business center (centro de negocio) by code: description, active and postable flags. GET /Accounting/GetBusinessCenter.
| Parameter | Type | Description |
|---|---|---|
| code * | string | Business center code. |
{
"name": "defontana_get_business_center",
"title": "Get business center",
"description": "One business center (centro de negocio) by code: description, active and postable flags. GET /Accounting/GetBusinessCenter.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Business center code."
}
}
},
"annotations": {
"title": "Get business center",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Open (unpaid) sales documents of one client: document type, series, number, due date and amount. The client is the file id, usually the tax id. GET /Accounting/GetDocumentsToPay.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, from 1 (default 1). Pass the previous reply's paging.next_page. |
| file_id * | string | Client file id (tax id as stored). |
| per_page | integer | Results per page, 1-100 (default 25). |
{
"name": "defontana_list_receivables",
"title": "List documents to collect",
"description": "Open (unpaid) sales documents of one client: document type, series, number, due date and amount. The client is the file id, usually the tax id. GET /Accounting/GetDocumentsToPay.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"file_id"
],
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's paging.next_page.",
"exclusiveMinimum": 0
},
"file_id": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Client file id (tax id as stored)."
},
"per_page": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100 (default 25).",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "List documents to collect",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Open (unpaid) purchase documents of one provider: document type, series, number, due date and amount. The provider is the file id, usually the tax id. GET /Accounting/GetPurchaseDocumentsToPay.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, from 1 (default 1). Pass the previous reply's paging.next_page. |
| file_id * | string | Provider file id (tax id as stored). |
| per_page | integer | Results per page, 1-100 (default 25). |
{
"name": "defontana_list_payables",
"title": "List documents to pay",
"description": "Open (unpaid) purchase documents of one provider: document type, series, number, due date and amount. The provider is the file id, usually the tax id. GET /Accounting/GetPurchaseDocumentsToPay.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"file_id"
],
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's paging.next_page.",
"exclusiveMinimum": 0
},
"file_id": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Provider file id (tax id as stored)."
},
"per_page": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100 (default 25).",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "List documents to pay",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Tools for Defontana, hosted by usefulapi.io. If the user is new or asks what this server can do, suggest requests such as: "List the sales documents issued in September 2026 and total them by client."; "Which supplier invoices are still unpaid for provider 76.123.456-7?"; "How much stock of product 10001 is there in each storage?". Read-only tools never change data; ask the user before a tool that creates, changes or deletes Defontana data. Free plan: 50 tool calls per month. Run defontana_usage_status to see the calls used this month. If the user asks for something none of these tools can do, tell the user and, with their OK, run defontana_request_feature to record the request. Paid plans: Pro (10,000 tool calls a month, $9/month or $90/year, for normal use) and Pro+ (100,000 tool calls a month, $39/month or $390/year, for automations and heavy use). A plan can be cancelled at any time and then runs to the end of the paid period, so it also suits a one-time job. When the user wants more calls or reaches the limit, run defontana_upgrade without a plan: it returns both plans, each with a payment link for the user to open. defontana_cancel_subscription cancels Pro at the end of the paid period.
Names, descriptions and schemas were written by the server and are shown as data.
Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators.