Cuéntica MCP by usefulapi

v1.6.1
io.usefulapi/cuentica Checked 2 days ago Published 1 day ago

Read 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}.

ParameterTypeDescription
id *integerNumeric 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.

ParameterTypeDescription
pageintegerPage number, starting at 1.
page_sizeintegerItems per page, 1-300. Default set by Cuéntica.
qstringText 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}.

ParameterTypeDescription
id *integerNumeric 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.

ParameterTypeDescription
pageintegerPage number, starting at 1.
page_sizeintegerItems per page, 1-300. Default set by Cuéntica.
qstringText 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}.

ParameterTypeDescription
id *integerNumeric 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.

ParameterTypeDescription
address *stringStreet, number, floor.
business_type *stringindividual = sole trader, company = legal company, others = community of goods or institution.
postal_code *stringPostal code.
town *stringTown or city.
business_namestringLegal name. Required when business_type is company or others.
contact_personstringContact person name.
country_codestringISO country code.
default_invoice_languagestringInvoice language code, or 'default'.
default_payment_methodstringDefault payment method for this party.
emailstringEmail address.
faxstringFax number.
has_surchargebooleanApply the equivalence surcharge to this customer.
namestringFirst name. Required when business_type is individual.
personal_commentstringInternal comment.
phonestringPhone number.
regionstringProvince (Spain only).
surname_1stringFirst surname. Required when business_type is individual.
surname_2stringSecond surname.
tax_idstringTax id (NIF, CIF or foreign id).
tax_id_typestringType of tax id. Cuéntica uses the country default when omitted.
tradenamestringTrade name. Required for companies. Cuéntica creates one for individuals when omitted.
webstringWebsite.

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.

ParameterTypeDescription
address *stringStreet, number, floor.
business_type *stringindividual = sole trader, company = legal company, others = community of goods or institution.
postal_code *stringPostal code.
town *stringTown or city.
business_namestringLegal name. Required when business_type is company or others.
contact_personstringContact person name.
country_codestringISO country code.
default_expense_typestringDefault expense type code for this provider.
default_payment_methodstringDefault payment method for this party.
default_retentionnumberDefault withholding percentage for this provider.
emailstringEmail address.
faxstringFax number.
namestringFirst name. Required when business_type is individual.
personal_commentstringInternal comment.
phonestringPhone number.
regionstringProvince (Spain only).
surname_1stringFirst surname. Required when business_type is individual.
surname_2stringSecond surname.
tax_idstringTax id (NIF, CIF or foreign id).
tax_id_typestringType of tax id. Cuéntica uses the country default when omitted.
tradenamestringTrade name. Required for companies. Cuéntica creates one for individuals when omitted.
webstringWebsite.

cuentica_list_invoices List invoices

List sales invoices, paged. issued=true lists issued invoices; issued=false lists drafts. Cuéntica API: GET /invoice.

ParameterTypeDescription
customerintegerOnly invoices of this customer id.
descriptionstringText the description must contain.
end_datestringInvoices dated before this date, yyyy-MM-dd.
initial_datestringInvoices dated after this date, yyyy-MM-dd.
issuedbooleantrue = issued invoices, false = drafts.
max_total_limitnumberInvoices with a total below this amount.
min_total_limitnumberInvoices with a total above this amount.
pageintegerPage number, starting at 1.
page_sizeintegerItems per page, 1-300. Default set by Cuéntica.
seriestringInvoice series name (from cuentica_list_series).
sortstringSort as key:order pairs, e.g. customer:desc. Keys: customer, description, total_base, total_invoice, number, date. Orders: asc, desc.
tagsstringComma-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}.

ParameterTypeDescription
id *integerNumeric id from the matching list tool.

cuentica_list_incomes List incomes

List incomes (money received records), paged. Cuéntica API: GET /income.

ParameterTypeDescription
customerintegerOnly incomes of this customer id.
end_datestringIncomes dated before this date, yyyy-MM-dd.
initial_datestringIncomes dated after this date, yyyy-MM-dd.
max_total_limitnumberIncomes with a total below this amount.
min_total_limitnumberIncomes with a total above this amount.
pageintegerPage number, starting at 1.
page_sizeintegerItems per page, 1-300. Default set by Cuéntica.
sortstringSort as key:order pairs, e.g. customer:desc. Keys: customer, document_number, total_base, total_income, date. Orders: asc, desc.
tagsstringComma-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}.

ParameterTypeDescription
id *integerNumeric 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.

ParameterTypeDescription
draftbooleantrue = include drafts.
end_datestringExpenses dated before this date, yyyy-MM-dd.
expense_typestringExpense type code. A prefix works: 625 also matches 6250000.
initial_datestringExpenses dated after this date, yyyy-MM-dd.
investment_typestringOnly expenses with this investment type.
max_total_limitnumberExpenses with a total below this amount.
min_total_limitnumberExpenses with a total above this amount.
pageintegerPage number, starting at 1.
page_sizeintegerItems per page, 1-300. Default set by Cuéntica.
providerintegerOnly expenses of this provider id.
tagsstringComma-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}.

ParameterTypeDescription
id *integerNumeric id from the matching list tool.