Cuéntica MCP by usefulapi
v1.6.1Read invoices, incomes and expenses; create customers and providers in Cuéntica.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
cuentica_get_company Get company
Get the data of the company this token belongs to. Run this first to confirm the connection. Cuéntica API: GET /company.
cuentica_list_series List invoice series
List the invoice series of the company. Use the name in invoice filters. Cuéntica API: GET /company/serie.
cuentica_list_tags List tags
List the tags of the company. Cuéntica API: GET /tag.
cuentica_list_accounts List accounts
List the company accounts: bank accounts, debit or credit cards and partner accounts. Cuéntica API: GET /account.
cuentica_get_account Get account
Get one company account by id. Cuéntica API: GET /account/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | integer | Numeric id from the matching list tool. |
cuentica_list_customers List customers
List customers, paged. Search text matches the business name, address, tax id, phone or email. Cuéntica API: GET /customer.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, starting at 1. |
page_size | integer | Items per page, 1-300. Default set by Cuéntica. |
q | string | Text to search in name, address, tax id, phone and email. |
cuentica_get_customer Get customer
Get one customer by id. Cuéntica API: GET /customer/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | integer | Numeric id from the matching list tool. |
cuentica_list_providers List providers
List providers (suppliers), paged. Search text matches the business name, address, tax id, phone or email. Cuéntica API: GET /provider.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, starting at 1. |
page_size | integer | Items per page, 1-300. Default set by Cuéntica. |
q | string | Text to search in name, address, tax id, phone and email. |
cuentica_get_provider Get provider
Get one provider by id. Cuéntica API: GET /provider/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | integer | Numeric id from the matching list tool. |
cuentica_create_customer Create customer
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 |
|---|---|---|
address * | string | Street, number, floor. |
business_type * | string | individual = sole trader, company = legal company, others = community of goods or institution. |
postal_code * | string | Postal code. |
town * | string | Town or city. |
business_name | string | Legal name. Required when business_type is company or others. |
contact_person | string | Contact person name. |
country_code | string | ISO country code. |
default_invoice_language | string | Invoice language code, or 'default'. |
default_payment_method | string | Default payment method for this party. |
email | string | Email address. |
fax | string | Fax number. |
has_surcharge | boolean | Apply the equivalence surcharge to this customer. |
name | string | First name. Required when business_type is individual. |
personal_comment | string | Internal comment. |
phone | string | Phone number. |
region | string | Province (Spain only). |
surname_1 | string | First surname. Required when business_type is individual. |
surname_2 | string | Second surname. |
tax_id | string | Tax id (NIF, CIF or foreign id). |
tax_id_type | string | Type of tax id. Cuéntica uses the country default when omitted. |
tradename | string | Trade name. Required for companies. Cuéntica creates one for individuals when omitted. |
web | string | Website. |
cuentica_create_provider Create provider
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 |
|---|---|---|
address * | string | Street, number, floor. |
business_type * | string | individual = sole trader, company = legal company, others = community of goods or institution. |
postal_code * | string | Postal code. |
town * | string | Town or city. |
business_name | string | Legal name. Required when business_type is company or others. |
contact_person | string | Contact person name. |
country_code | string | ISO country code. |
default_expense_type | string | Default expense type code for this provider. |
default_payment_method | string | Default payment method for this party. |
default_retention | number | Default withholding percentage for this provider. |
email | string | Email address. |
fax | string | Fax number. |
name | string | First name. Required when business_type is individual. |
personal_comment | string | Internal comment. |
phone | string | Phone number. |
region | string | Province (Spain only). |
surname_1 | string | First surname. Required when business_type is individual. |
surname_2 | string | Second surname. |
tax_id | string | Tax id (NIF, CIF or foreign id). |
tax_id_type | string | Type of tax id. Cuéntica uses the country default when omitted. |
tradename | string | Trade name. Required for companies. Cuéntica creates one for individuals when omitted. |
web | string | Website. |
cuentica_list_invoices List invoices
List sales invoices, paged. issued=true lists issued invoices; issued=false lists drafts. Cuéntica API: GET /invoice.
| Parameter | Type | Description |
|---|---|---|
customer | integer | Only invoices of this customer id. |
description | string | Text the description must contain. |
end_date | string | Invoices dated before this date, yyyy-MM-dd. |
initial_date | string | Invoices dated after this date, yyyy-MM-dd. |
issued | boolean | true = issued invoices, false = drafts. |
max_total_limit | number | Invoices with a total below this amount. |
min_total_limit | number | Invoices with a total above this amount. |
page | integer | Page number, starting at 1. |
page_size | integer | Items per page, 1-300. Default set by Cuéntica. |
serie | string | Invoice series name (from cuentica_list_series). |
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. |
cuentica_get_invoice Get invoice
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. |
cuentica_get_invoice_public_link Get invoice public link
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. |
cuentica_list_incomes List incomes
List incomes (money received records), paged. Cuéntica API: GET /income.
| Parameter | Type | Description |
|---|---|---|
customer | integer | Only incomes of this customer id. |
end_date | string | Incomes dated before this date, yyyy-MM-dd. |
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. |
page | integer | Page number, starting at 1. |
page_size | integer | Items per page, 1-300. Default set by Cuéntica. |
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. |
cuentica_get_income Get income
Get one income by id. Cuéntica API: GET /income/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | integer | Numeric id from the matching list tool. |
cuentica_list_expenses List expenses
List expenses (costs), paged. draft=true also shows drafts. Cuéntica API: GET /expense.
| Parameter | Type | Description |
|---|---|---|
draft | boolean | true = include drafts. |
end_date | string | Expenses dated before this date, yyyy-MM-dd. |
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 | Expenses with a total above this amount. |
page | integer | Page number, starting at 1. |
page_size | integer | Items per page, 1-300. Default set by Cuéntica. |
provider | integer | Only expenses of this provider id. |
tags | string | Comma-separated tags. A result must contain all of them. |
cuentica_get_expense Get expense
Get one expense by id. Cuéntica API: GET /expense/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | integer | Numeric id from the matching list tool. |