KashFlow MCP by usefulapi

v1.20.1
io.usefulapi/kashflow Checked 2 days ago Published 1 day ago

Read KashFlow invoices, customers, suppliers, banking and reports; add customers, notes.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

kashflow_get_company_details Get company details

The KashFlow company: name, address, contact, VAT registration, currency, payment terms and business type. SOAP GetCompanyDetails.

kashflow_list_customers List customers

All customers (name, code, contact, email, phone, address, VAT number, payment terms, notes), paged here: the reply says total and next_offset. SOAP GetCustomers.

ParameterTypeDescription
limitintegerHow many records to return (default 100, max 500).
offsetintegerHow many records to skip (default 0), to get the next page.

kashflow_get_customer Get customer by code

One customer by its KashFlow customer code (the short code shown in the customer list, e.g. ACME01). SOAP GetCustomer.

ParameterTypeDescription
customer_code *stringThe customer code, e.g. ACME01.

kashflow_get_customer_by_id Get customer by id

One customer by its numeric CustomerID (as returned in other replies). SOAP GetCustomerByID.

ParameterTypeDescription
customer_id *integerThe numeric CustomerID.

kashflow_find_customer_by_email Find customer by email

The customer whose e-mail address matches. SOAP GetCustomerByEmail.

ParameterTypeDescription
email *stringThe customer's e-mail address.

kashflow_get_customer_balance Get customer balance

What one customer owes: the total invoiced value and the outstanding balance. SOAP GetCustomerBalance.

ParameterTypeDescription
customer_code *stringThe customer code, e.g. ACME01.

kashflow_create_customer Create customer

WRITE: create a new customer. The code must be unique (KashFlow refuses a code that exists) and nothing existing is changed. Returns the new CustomerID. SOAP InsertCustomer.

ParameterTypeDescription
code *stringA unique customer code, e.g. ACME01.
name *stringThe customer / company name.
address1string
address2string
address3string
address4string
contactstringContact person.
country_codestringTwo-letter ISO country code, e.g. GB.
country_namestringCountry name, e.g. United Kingdom.
emailstring
mobilestring
notesstring
payment_terms_daysintegerPayment terms in days.
postcodestring
tax_regionstringVAT classification of the customer: uk (default, domestic), eu (EC customer) or outside_eu. Set it for customers outside the UK.
telephonestring
vat_numberstring
websitestring

kashflow_list_suppliers List suppliers

All suppliers (name, code, contact, email, phone, address, VAT number, payment terms), paged here: the reply says total and next_offset. SOAP GetSuppliers.

ParameterTypeDescription
limitintegerHow many records to return (default 100, max 500).
offsetintegerHow many records to skip (default 0), to get the next page.

kashflow_get_supplier Get supplier by code

One supplier by its KashFlow supplier code. SOAP GetSupplier.

ParameterTypeDescription
supplier_code *stringThe supplier code.

kashflow_create_supplier Create supplier

WRITE: create a new supplier. The code must be unique (KashFlow refuses a code that exists) and nothing existing is changed. Returns the new SupplierID. SOAP InsertSupplier.

ParameterTypeDescription
code *stringA unique supplier code, e.g. OFFICE01.
name *stringThe supplier / company name.
address1string
address2string
address3string
address4string
contactstringContact person.
emailstring
eu_supplierbooleanTrue for a supplier in another EU country (EC supplier). Default false (UK).
mobilestring
notesstring
payment_terms_daysintegerPayment terms in days.
postcodestring
telephonestring
vat_numberstring
websitestring

kashflow_get_invoice Get invoice by number

One sales invoice by its invoice number: customer, dates, lines (description, quantity, rate, VAT), net, VAT, amount paid and a link. SOAP GetInvoice.

ParameterTypeDescription
invoice_number *integerThe invoice number, e.g. 1042.

kashflow_list_invoices List invoices by date range

Sales invoices dated within a range (inclusive; a bare end date means the end of that day), paged here. Dates are yyyy-mm-dd. SOAP GetInvoicesByDateRange.

ParameterTypeDescription
end_date *stringLast invoice date, yyyy-mm-dd.
start_date *stringFirst invoice date, yyyy-mm-dd.
limitintegerHow many records to return (default 100, max 500).
offsetintegerHow many records to skip (default 0), to get the next page.

kashflow_list_customer_invoices List a customer's invoices

All sales invoices of one customer, by numeric CustomerID (see kashflow_get_customer for the id), paged here. SOAP GetInvoicesForCustomer.

ParameterTypeDescription
customer_id *integerThe numeric CustomerID.
limitintegerHow many records to return (default 100, max 500).
offsetintegerHow many records to skip (default 0), to get the next page.

kashflow_list_unpaid_invoices List unpaid invoices

All sales invoices not yet paid in full, paged here. SOAP GetInvoices_Unpaid.

ParameterTypeDescription
limitintegerHow many records to return (default 100, max 500).
offsetintegerHow many records to skip (default 0), to get the next page.

kashflow_list_overdue_invoices List overdue invoices

All sales invoices past their due date and not paid in full, paged here. SOAP GetInvoices_Overdue.

ParameterTypeDescription
limitintegerHow many records to return (default 100, max 500).
offsetintegerHow many records to skip (default 0), to get the next page.

kashflow_list_recent_invoices List recent invoices

The most recently created sales invoices. SOAP GetInvoices_Recent.

ParameterTypeDescription
countintegerHow many invoices (default 20, max 500).

kashflow_list_invoice_payments List payments of an invoice

The payments recorded against one sales invoice (date, amount, method, bank account, note), by invoice number. SOAP GetInvoicePayment.

ParameterTypeDescription
invoice_number *integerThe invoice number.

kashflow_list_payments_by_date List invoice payments by date range

Customer payments received within a date range (date, amount, invoice, method, bank account). KashFlow returns them a page at a time: set page_number 1, 2, ... until a page comes back empty. Dates are yyyy-mm-dd. SOAP GetInvoicePaymentsByDateRange.

ParameterTypeDescription
end_date *stringLast payment date, yyyy-mm-dd.
start_date *stringFirst payment date, yyyy-mm-dd.
page_numberintegerPage number, starting at 1 (default 1).

kashflow_get_invoice_notes Get invoice notes

The notes attached to one sales invoice, by its InvoiceDBID (the numeric id in invoice replies, not the invoice number). SOAP GetInvoiceNotes.

ParameterTypeDescription
invoice_id *integerThe invoice's InvoiceDBID.

kashflow_add_invoice_note Add invoice note

WRITE: add a note to a sales invoice, by its InvoiceDBID (the numeric id in invoice replies). Existing notes and the invoice are not changed. SOAP InsertInvoiceNote.

ParameterTypeDescription
invoice_id *integerThe invoice's InvoiceDBID.
note *stringThe note text.
note_datestringNote date, yyyy-mm-dd or yyyy-mm-ddThh:mm:ss (default: now, UTC).

kashflow_list_quotes List quotes

All sales quotes (same shape as invoices), paged here. SOAP GetQuotes.

ParameterTypeDescription
limitintegerHow many records to return (default 100, max 500).
offsetintegerHow many records to skip (default 0), to get the next page.

kashflow_get_receipt Get purchase by number

One purchase (supplier invoice / receipt) by its receipt number: supplier, dates, lines, net, VAT, amount paid. SOAP GetReceipt.

ParameterTypeDescription
receipt_number *integerThe purchase (receipt) number.

kashflow_list_recent_receipts List recent purchases

The most recently created purchases (supplier invoices / receipts). SOAP GetReceipts_Recent.

ParameterTypeDescription
countintegerHow many purchases (default 20, max 500).

kashflow_list_supplier_receipts List a supplier's purchases

All purchases (supplier invoices / receipts) of one supplier, by numeric SupplierID (see kashflow_get_supplier), paged here. SOAP GetReceiptsForSupplier.

ParameterTypeDescription
supplier_id *integerThe numeric SupplierID.
limitintegerHow many records to return (default 100, max 500).
offsetintegerHow many records to skip (default 0), to get the next page.

kashflow_list_products List products

The product catalogue (name, code, description, price, stock level), paged here. SOAP GetProducts.

ParameterTypeDescription
limitintegerHow many records to return (default 100, max 500).
offsetintegerHow many records to skip (default 0), to get the next page.

kashflow_list_bank_accounts List bank accounts

The bank accounts (AccountID, name, nominal code). SOAP GetBankAccounts.

kashflow_list_bank_transactions List bank transactions

The transactions of one bank account (date, money in/out, VAT, type, comment, customer/supplier), by AccountID from kashflow_list_bank_accounts, paged here. SOAP GetBankTransactions.

ParameterTypeDescription
account_id *integerThe bank account's AccountID.
limitintegerHow many records to return (default 100, max 500).
offsetintegerHow many records to skip (default 0), to get the next page.

kashflow_get_bank_balance Get bank balance

The balance of one bank account on a date (default today). SOAP GetBankBalance.

ParameterTypeDescription
account_id *integerThe bank account's AccountID.
datestringBalance date, yyyy-mm-dd (default today, UTC).

kashflow_list_nominal_codes List nominal codes

The chart of accounts: nominal codes with their names. SOAP GetNominalCodes.

ParameterTypeDescription
limitintegerHow many records to return (default 100, max 500).
offsetintegerHow many records to skip (default 0), to get the next page.

kashflow_list_vat_rates List VAT rates

The VAT rates set up in the account. SOAP GetVATRates.

kashflow_list_projects List projects

The projects defined in the account (id, name). SOAP GetProjects.

kashflow_get_profit_and_loss Get profit and loss

The profit and loss report for a date range: turnover, cost of sales, gross profit, expenses and net profit, with the lines of each section. SOAP GetProfitAndLoss.

ParameterTypeDescription
end_date *stringEnd of the period, yyyy-mm-dd.
start_date *stringStart of the period, yyyy-mm-dd.

kashflow_get_balance_sheet Get balance sheet

The balance sheet at a date (default today): fixed assets, current assets, current liabilities, capital and reserves with the lines of each. SOAP GetBalanceSheet.

ParameterTypeDescription
datestringBalance sheet date, yyyy-mm-dd (default today, UTC).

kashflow_get_trial_balance Get trial balance

The trial balance for a date range: every nominal code with debit, credit and balance. SOAP GetTrialBalance.

ParameterTypeDescription
end_date *stringEnd of the period, yyyy-mm-dd.
start_date *stringStart of the period, yyyy-mm-dd.
limitintegerHow many records to return (default 100, max 500).
offsetintegerHow many records to skip (default 0), to get the next page.

kashflow_get_aged_debtors Get aged debtors

Who owes you money at a date (default today), aged into current, three periods and older, per customer. SOAP GetAgedDebtors.

ParameterTypeDescription
datestringReport date, yyyy-mm-dd (default today, UTC).
limitintegerHow many records to return (default 100, max 500).
offsetintegerHow many records to skip (default 0), to get the next page.

kashflow_get_aged_creditors Get aged creditors

Who you owe money to at a date (default today), aged into current, three periods and older, per supplier. SOAP GetAgedCreditors.

ParameterTypeDescription
datestringReport date, yyyy-mm-dd (default today, UTC).
limitintegerHow many records to return (default 100, max 500).
offsetintegerHow many records to skip (default 0), to get the next page.

kashflow_get_vat_report Get VAT report

The VAT return figures (boxes 1 to 9) for a period, and whether it was submitted to HMRC. SOAP GetVATReport.

ParameterTypeDescription
end_date *stringEnd of the VAT period, yyyy-mm-dd.
start_date *stringStart of the VAT period, yyyy-mm-dd.

kashflow_get_kpis Get KPIs

Key figures for a date range (income, expenses, profit and similar, as name/value pairs). SOAP GetKPIs.

ParameterTypeDescription
end_date *stringEnd of the period, yyyy-mm-dd.
start_date *stringStart of the period, yyyy-mm-dd.
exclude_same_day_paymentsbooleanLeave out invoices paid the day they were issued (default false).
exclude_vatbooleanLeave VAT out of the figures (default false).