Cuéntica MCP by usefulapi is an MCP server published by io.usefulapi, hosted at cuentica.usefulapi.io. When last checked on 2026-11-21 it was working: it answers and lists its tools. It declares 18 tools, including cuentica_get_company, cuentica_list_series, cuentica_list_tags, cuentica_list_accounts, cuentica_get_account.
Read invoices, incomes and expenses; create customers and providers in Cuéntica.
4,406 connections through 5 shared values. Tap any node.
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.
Get the data of the company this token belongs to. Run this first to confirm the connection. Cuéntica API: GET /company.
No parameters.
{
"name": "cuentica_get_company",
"title": "Get company",
"description": "Get the data of the company this token belongs to. Run this first to confirm the connection. Cuéntica API: GET /company.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "Get company",
"readOnlyHint": true
}
}List the invoice series of the company. Use the name in invoice filters. Cuéntica API: GET /company/serie.
No parameters.
{
"name": "cuentica_list_series",
"title": "List invoice series",
"description": "List the invoice series of the company. Use the name in invoice filters. Cuéntica API: GET /company/serie.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List invoice series",
"readOnlyHint": true
}
}List the tags of the company. Cuéntica API: GET /tag.
No parameters.
{
"name": "cuentica_list_tags",
"title": "List tags",
"description": "List the tags of the company. Cuéntica API: GET /tag.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List tags",
"readOnlyHint": true
}
}List the company accounts: bank accounts, debit or credit cards and partner accounts. Cuéntica API: GET /account.
No parameters.
{
"name": "cuentica_list_accounts",
"title": "List accounts",
"description": "List the company accounts: bank accounts, debit or credit cards and partner accounts. Cuéntica API: GET /account.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List accounts",
"readOnlyHint": true
}
}Get one company account by id. Cuéntica API: GET /account/{id}.
| Parameter | Type | Description |
|---|---|---|
| id * | integer | Numeric id from the matching list tool. |
{
"name": "cuentica_get_account",
"title": "Get account",
"description": "Get one company account by id. Cuéntica API: GET /account/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Numeric id from the matching list tool.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get account",
"readOnlyHint": true
}
}List customers, paged. Search text matches the business name, address, tax id, phone or email. Cuéntica API: GET /customer.
| Parameter | Type | Description |
|---|---|---|
| q | string | Text to search in name, address, tax id, phone and email. |
| page | integer | Page number, starting at 1. |
| page_size | integer | Items per page, 1-300. Default set by Cuéntica. |
{
"name": "cuentica_list_customers",
"title": "List customers",
"description": "List customers, paged. Search text matches the business name, address, tax id, phone or email. Cuéntica API: GET /customer.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"q": {
"type": "string",
"description": "Text to search in name, address, tax id, phone and email."
},
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number, starting at 1."
},
"page_size": {
"type": "integer",
"maximum": 300,
"minimum": 1,
"description": "Items per page, 1-300. Default set by Cuéntica."
}
}
},
"annotations": {
"title": "List customers",
"readOnlyHint": true
}
}Get one customer by id. Cuéntica API: GET /customer/{id}.
| Parameter | Type | Description |
|---|---|---|
| id * | integer | Numeric id from the matching list tool. |
{
"name": "cuentica_get_customer",
"title": "Get customer",
"description": "Get one customer by id. Cuéntica API: GET /customer/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Numeric id from the matching list tool.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get customer",
"readOnlyHint": true
}
}List providers (suppliers), paged. Search text matches the business name, address, tax id, phone or email. Cuéntica API: GET /provider.
| Parameter | Type | Description |
|---|---|---|
| q | string | Text to search in name, address, tax id, phone and email. |
| page | integer | Page number, starting at 1. |
| page_size | integer | Items per page, 1-300. Default set by Cuéntica. |
{
"name": "cuentica_list_providers",
"title": "List providers",
"description": "List providers (suppliers), paged. Search text matches the business name, address, tax id, phone or email. Cuéntica API: GET /provider.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"q": {
"type": "string",
"description": "Text to search in name, address, tax id, phone and email."
},
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number, starting at 1."
},
"page_size": {
"type": "integer",
"maximum": 300,
"minimum": 1,
"description": "Items per page, 1-300. Default set by Cuéntica."
}
}
},
"annotations": {
"title": "List providers",
"readOnlyHint": true
}
}Get one provider by id. Cuéntica API: GET /provider/{id}.
| Parameter | Type | Description |
|---|---|---|
| id * | integer | Numeric id from the matching list tool. |
{
"name": "cuentica_get_provider",
"title": "Get provider",
"description": "Get one provider by id. Cuéntica API: GET /provider/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Numeric id from the matching list tool.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get provider",
"readOnlyHint": true
}
}Create a customer. Required: business_type, address, town, postal_code; business_name for companies; name and surname_1 for individuals. Cuéntica API: POST /customer.
| Parameter | Type | Description |
|---|---|---|
| fax | string | Fax number. |
| web | string | Website. |
| name | string | First name. Required when business_type is individual. |
| town * | string | Town or city. |
| string | Email address. | |
| phone | string | Phone number. |
| region | string | Province (Spain only). |
| tax_id | string | Tax id (NIF, CIF or foreign id). |
| address * | string | Street, number, floor. |
| surname_1 | string | First surname. Required when business_type is individual. |
| surname_2 | string | Second surname. |
Create a provider (supplier). Required: business_type, address, town, postal_code; business_name for companies; name and surname_1 for individuals. Cuéntica API: POST /provider.
| Parameter | Type | Description |
|---|---|---|
| fax | string | Fax number. |
| web | string | Website. |
| name | string | First name. Required when business_type is individual. |
| town * | string | Town or city. |
| string | Email address. | |
| phone | string | Phone number. |
| region | string | Province (Spain only). |
| tax_id | string | Tax id (NIF, CIF or foreign id). |
| address * | string | Street, number, floor. |
| surname_1 | string | First surname. Required when business_type is individual. |
| surname_2 | string | Second surname. |
List sales invoices, paged. issued=true lists issued invoices; issued=false lists drafts. Cuéntica API: GET /invoice.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, starting at 1. |
| sort | string | Sort as key:order pairs, e.g. customer:desc. Keys: customer, description, total_base, total_invoice, number, date. Orders: asc, desc. |
| tags | string | Comma-separated tags. A result must contain all of them. |
| serie | string | Invoice series name (from cuentica_list_series). |
| issued | boolean | true = issued invoices, false = drafts. |
| customer | integer | Only invoices of this customer id. |
| end_date | string | Invoices dated before this date, yyyy-MM-dd. |
| page_size | integer | Items per page, 1-300. Default set by Cuéntica. |
| description | string | Text the description must contain. |
| initial_date | string | Invoices dated after this date, yyyy-MM-dd. |
| max_total_limit |
Get one invoice by id, with its lines, charges and Verifactu or TicketBAI register info. Cuéntica API: GET /invoice/{id}.
| Parameter | Type | Description |
|---|---|---|
| id * | integer | Numeric id from the matching list tool. |
{
"name": "cuentica_get_invoice",
"title": "Get invoice",
"description": "Get one invoice by id, with its lines, charges and Verifactu or TicketBAI register info. Cuéntica API: GET /invoice/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Numeric id from the matching list tool.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get invoice",
"readOnlyHint": true
}
}Get the public preview link of one invoice. The preview has the payment button for the company's Stripe account. Cuéntica API: GET /invoice/{id}/public.
| Parameter | Type | Description |
|---|---|---|
| id * | integer | Numeric id from the matching list tool. |
{
"name": "cuentica_get_invoice_public_link",
"title": "Get invoice public link",
"description": "Get the public preview link of one invoice. The preview has the payment button for the company's Stripe account. Cuéntica API: GET /invoice/{id}/public.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Numeric id from the matching list tool.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get invoice public link",
"readOnlyHint": true
}
}List incomes (money received records), paged. Cuéntica API: GET /income.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, starting at 1. |
| sort | string | Sort as key:order pairs, e.g. customer:desc. Keys: customer, document_number, total_base, total_income, date. Orders: asc, desc. |
| tags | string | Comma-separated tags. A result must contain all of them. |
| customer | integer | Only incomes of this customer id. |
| end_date | string | Incomes dated before this date, yyyy-MM-dd. |
| page_size | integer | Items per page, 1-300. Default set by Cuéntica. |
| initial_date | string | Incomes dated after this date, yyyy-MM-dd. |
| max_total_limit | number | Incomes with a total below this amount. |
| min_total_limit | number | Incomes with a total above this amount. |
Get one income by id. Cuéntica API: GET /income/{id}.
| Parameter | Type | Description |
|---|---|---|
| id * | integer | Numeric id from the matching list tool. |
{
"name": "cuentica_get_income",
"title": "Get income",
"description": "Get one income by id. Cuéntica API: GET /income/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Numeric id from the matching list tool.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get income",
"readOnlyHint": true
}
}List expenses (costs), paged. draft=true also shows drafts. Cuéntica API: GET /expense.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, starting at 1. |
| tags | string | Comma-separated tags. A result must contain all of them. |
| draft | boolean | true = include drafts. |
| end_date | string | Expenses dated before this date, yyyy-MM-dd. |
| provider | integer | Only expenses of this provider id. |
| page_size | integer | Items per page, 1-300. Default set by Cuéntica. |
| expense_type | string | Expense type code. A prefix works: 625 also matches 6250000. |
| initial_date | string | Expenses dated after this date, yyyy-MM-dd. |
| investment_type | string | Only expenses with this investment type. |
| max_total_limit | number | Expenses with a total below this amount. |
| min_total_limit | number |
Get one expense by id. Cuéntica API: GET /expense/{id}.
| Parameter | Type | Description |
|---|---|---|
| id * | integer | Numeric id from the matching list tool. |
{
"name": "cuentica_get_expense",
"title": "Get expense",
"description": "Get one expense by id. Cuéntica API: GET /expense/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Numeric id from the matching list tool.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get expense",
"readOnlyHint": true
}
}Tools for Cuéntica, hosted by usefulapi.io. If the user is new or asks what this server can do, suggest requests such as: "Which customer invoices are still unpaid, and how much do they total?"; "List the expenses from last quarter for the provider Iberdrola."; "Create a new customer for a company with this tax id and address.". Read-only tools never change data; ask the user before a tool that creates, changes or deletes Cuéntica data. Free plan: 50 tool calls per month. Run cuentica_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 cuentica_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 cuentica_upgrade without a plan: it returns both plans, each with a payment link for the user to open. cuentica_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.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.
| tradename | string | Trade name. Required for companies. Cuéntica creates one for individuals when omitted. |
| postal_code * | string | Postal code. |
| tax_id_type | string | Type of tax id. Cuéntica uses the country default when omitted. |
| country_code | string | ISO country code. |
| business_name | string | Legal name. Required when business_type is company or others. |
| business_type * | string | individual = sole trader, company = legal company, others = community of goods or institution. |
| has_surcharge | boolean | Apply the equivalence surcharge to this customer. |
| contact_person | string | Contact person name. |
| personal_comment | string | Internal comment. |
| default_payment_method | string | Default payment method for this party. |
| default_invoice_language | string | Invoice language code, or 'default'. |
{
"name": "cuentica_create_customer",
"title": "Create customer",
"description": "Create a customer. Required: business_type, address, town, postal_code; business_name for companies; name and surname_1 for individuals. Cuéntica API: POST /customer.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"business_type",
"address",
"town",
"postal_code"
],
"properties": {
"fax": {
"type": "string",
"description": "Fax number."
},
"web": {
"type": "string",
"description": "Website."
},
"name": {
"type": "string",
"description": "First name. Required when business_type is individual."
},
"town": {
"type": "string",
"description": "Town or city."
},
"email": {
"type": "string",
"description": "Email address."
},
"phone": {
"type": "string",
"description": "Phone number."
},
"region": {
"type": "string",
"description": "Province (Spain only)."
},
"tax_id": {
"type": "string",
"description": "Tax id (NIF, CIF or foreign id)."
},
"address": {
"type": "string",
"description": "Street, number, floor."
},
"surname_1": {
"type": "string",
"description": "First surname. Required when business_type is individual."
},
"surname_2": {
"type": "string",
"description": "Second surname."
},
"tradename": {
"type": "string",
"description": "Trade name. Required for companies. Cuéntica creates one for individuals when omitted."
},
"postal_code": {
"type": "string",
"description": "Postal code."
},
"tax_id_type": {
"enum": [
"nif",
"vat_id",
"passport",
"country_document",
"residence_certificate",
"other",
"not_registered",
"unidentified"
],
"type": "string",
"description": "Type of tax id. Cuéntica uses the country default when omitted."
},
"country_code": {
"type": "string",
"description": "ISO country code."
},
"business_name": {
"type": "string",
"description": "Legal name. Required when business_type is company or others."
},
"business_type": {
"enum": [
"individual",
"company",
"others"
],
"type": "string",
"description": "individual = sole trader, company = legal company, others = community of goods or institution."
},
"has_surcharge": {
"type": "boolean",
"description": "Apply the equivalence surcharge to this customer."
},
"contact_person": {
"type": "string",
"description": "Contact person name."
},
"personal_comment": {
"type": "string",
"description": "Internal comment."
},
"default_payment_method": {
"enum": [
"cash",
"receipt",
"wire_transfer",
"card",
"promissory_note",
"other"
],
"type": "string",
"description": "Default payment method for this party."
},
"default_invoice_language": {
"type": "string",
"description": "Invoice language code, or 'default'."
}
}
},
"annotations": {
"title": "Create customer",
"destructiveHint": true
}
}| tradename | string | Trade name. Required for companies. Cuéntica creates one for individuals when omitted. |
| postal_code * | string | Postal code. |
| tax_id_type | string | Type of tax id. Cuéntica uses the country default when omitted. |
| country_code | string | ISO country code. |
| business_name | string | Legal name. Required when business_type is company or others. |
| business_type * | string | individual = sole trader, company = legal company, others = community of goods or institution. |
| contact_person | string | Contact person name. |
| personal_comment | string | Internal comment. |
| default_retention | number | Default withholding percentage for this provider. |
| default_expense_type | string | Default expense type code for this provider. |
| default_payment_method | string | Default payment method for this party. |
{
"name": "cuentica_create_provider",
"title": "Create provider",
"description": "Create a provider (supplier). Required: business_type, address, town, postal_code; business_name for companies; name and surname_1 for individuals. Cuéntica API: POST /provider.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"business_type",
"address",
"town",
"postal_code"
],
"properties": {
"fax": {
"type": "string",
"description": "Fax number."
},
"web": {
"type": "string",
"description": "Website."
},
"name": {
"type": "string",
"description": "First name. Required when business_type is individual."
},
"town": {
"type": "string",
"description": "Town or city."
},
"email": {
"type": "string",
"description": "Email address."
},
"phone": {
"type": "string",
"description": "Phone number."
},
"region": {
"type": "string",
"description": "Province (Spain only)."
},
"tax_id": {
"type": "string",
"description": "Tax id (NIF, CIF or foreign id)."
},
"address": {
"type": "string",
"description": "Street, number, floor."
},
"surname_1": {
"type": "string",
"description": "First surname. Required when business_type is individual."
},
"surname_2": {
"type": "string",
"description": "Second surname."
},
"tradename": {
"type": "string",
"description": "Trade name. Required for companies. Cuéntica creates one for individuals when omitted."
},
"postal_code": {
"type": "string",
"description": "Postal code."
},
"tax_id_type": {
"enum": [
"nif",
"vat_id",
"passport",
"country_document",
"residence_certificate",
"other",
"not_registered",
"unidentified"
],
"type": "string",
"description": "Type of tax id. Cuéntica uses the country default when omitted."
},
"country_code": {
"type": "string",
"description": "ISO country code."
},
"business_name": {
"type": "string",
"description": "Legal name. Required when business_type is company or others."
},
"business_type": {
"enum": [
"individual",
"company",
"others"
],
"type": "string",
"description": "individual = sole trader, company = legal company, others = community of goods or institution."
},
"contact_person": {
"type": "string",
"description": "Contact person name."
},
"personal_comment": {
"type": "string",
"description": "Internal comment."
},
"default_retention": {
"type": "number",
"description": "Default withholding percentage for this provider."
},
"default_expense_type": {
"type": "string",
"description": "Default expense type code for this provider."
},
"default_payment_method": {
"enum": [
"cash",
"receipt",
"wire_transfer",
"card",
"promissory_note",
"other"
],
"type": "string",
"description": "Default payment method for this party."
}
}
},
"annotations": {
"title": "Create provider",
"destructiveHint": true
}
}| number |
| Invoices with a total below this amount. |
| min_total_limit | number | Invoices with a total above this amount. |
{
"name": "cuentica_list_invoices",
"title": "List invoices",
"description": "List sales invoices, paged. issued=true lists issued invoices; issued=false lists drafts. Cuéntica API: GET /invoice.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number, starting at 1."
},
"sort": {
"type": "string",
"pattern": "^(?:customer|description|total_base|total_invoice|number|date):(?:asc|desc)(?:,(?:customer|description|total_base|total_invoice|number|date):(?:asc|desc))*$",
"description": "Sort as key:order pairs, e.g. customer:desc. Keys: customer, description, total_base, total_invoice, number, date. Orders: asc, desc."
},
"tags": {
"type": "string",
"description": "Comma-separated tags. A result must contain all of them."
},
"serie": {
"type": "string",
"description": "Invoice series name (from cuentica_list_series)."
},
"issued": {
"type": "boolean",
"description": "true = issued invoices, false = drafts."
},
"customer": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only invoices of this customer id.",
"exclusiveMinimum": 0
},
"end_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Invoices dated before this date, yyyy-MM-dd."
},
"page_size": {
"type": "integer",
"maximum": 300,
"minimum": 1,
"description": "Items per page, 1-300. Default set by Cuéntica."
},
"description": {
"type": "string",
"description": "Text the description must contain."
},
"initial_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Invoices dated after this date, yyyy-MM-dd."
},
"max_total_limit": {
"type": "number",
"description": "Invoices with a total below this amount."
},
"min_total_limit": {
"type": "number",
"description": "Invoices with a total above this amount."
}
}
},
"annotations": {
"title": "List invoices",
"readOnlyHint": true
}
}{
"name": "cuentica_list_incomes",
"title": "List incomes",
"description": "List incomes (money received records), paged. Cuéntica API: GET /income.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number, starting at 1."
},
"sort": {
"type": "string",
"pattern": "^(?:customer|document_number|total_base|total_income|date):(?:asc|desc)(?:,(?:customer|document_number|total_base|total_income|date):(?:asc|desc))*$",
"description": "Sort as key:order pairs, e.g. customer:desc. Keys: customer, document_number, total_base, total_income, date. Orders: asc, desc."
},
"tags": {
"type": "string",
"description": "Comma-separated tags. A result must contain all of them."
},
"customer": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only incomes of this customer id.",
"exclusiveMinimum": 0
},
"end_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Incomes dated before this date, yyyy-MM-dd."
},
"page_size": {
"type": "integer",
"maximum": 300,
"minimum": 1,
"description": "Items per page, 1-300. Default set by Cuéntica."
},
"initial_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Incomes dated after this date, yyyy-MM-dd."
},
"max_total_limit": {
"type": "number",
"description": "Incomes with a total below this amount."
},
"min_total_limit": {
"type": "number",
"description": "Incomes with a total above this amount."
}
}
},
"annotations": {
"title": "List incomes",
"readOnlyHint": true
}
}| Expenses with a total above this amount. |
{
"name": "cuentica_list_expenses",
"title": "List expenses",
"description": "List expenses (costs), paged. draft=true also shows drafts. Cuéntica API: GET /expense.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number, starting at 1."
},
"tags": {
"type": "string",
"description": "Comma-separated tags. A result must contain all of them."
},
"draft": {
"type": "boolean",
"description": "true = include drafts."
},
"end_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Expenses dated before this date, yyyy-MM-dd."
},
"provider": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only expenses of this provider id.",
"exclusiveMinimum": 0
},
"page_size": {
"type": "integer",
"maximum": 300,
"minimum": 1,
"description": "Items per page, 1-300. Default set by Cuéntica."
},
"expense_type": {
"type": "string",
"description": "Expense type code. A prefix works: 625 also matches 6250000."
},
"initial_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Expenses dated after this date, yyyy-MM-dd."
},
"investment_type": {
"type": "string",
"description": "Only expenses with this investment type."
},
"max_total_limit": {
"type": "number",
"description": "Expenses with a total below this amount."
},
"min_total_limit": {
"type": "number",
"description": "Expenses with a total above this amount."
}
}
},
"annotations": {
"title": "List expenses",
"readOnlyHint": true
}
}