KashFlow MCP by usefulapi
v1.20.1Read 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.
| Parameter | Type | Description |
|---|---|---|
limit | integer | How many records to return (default 100, max 500). |
offset | integer | How 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.
| Parameter | Type | Description |
|---|---|---|
customer_code * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
customer_id * | integer | The numeric CustomerID. |
kashflow_find_customer_by_email Find customer by email
The customer whose e-mail address matches. SOAP GetCustomerByEmail.
| Parameter | Type | Description |
|---|---|---|
email * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
customer_code * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
code * | string | A unique customer code, e.g. ACME01. |
name * | string | The customer / company name. |
address1 | string | |
address2 | string | |
address3 | string | |
address4 | string | |
contact | string | Contact person. |
country_code | string | Two-letter ISO country code, e.g. GB. |
country_name | string | Country name, e.g. United Kingdom. |
email | string | |
mobile | string | |
notes | string | |
payment_terms_days | integer | Payment terms in days. |
postcode | string | |
tax_region | string | VAT classification of the customer: uk (default, domestic), eu (EC customer) or outside_eu. Set it for customers outside the UK. |
telephone | string | |
vat_number | string | |
website | string |
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.
| Parameter | Type | Description |
|---|---|---|
limit | integer | How many records to return (default 100, max 500). |
offset | integer | How 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.
| Parameter | Type | Description |
|---|---|---|
supplier_code * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
code * | string | A unique supplier code, e.g. OFFICE01. |
name * | string | The supplier / company name. |
address1 | string | |
address2 | string | |
address3 | string | |
address4 | string | |
contact | string | Contact person. |
email | string | |
eu_supplier | boolean | True for a supplier in another EU country (EC supplier). Default false (UK). |
mobile | string | |
notes | string | |
payment_terms_days | integer | Payment terms in days. |
postcode | string | |
telephone | string | |
vat_number | string | |
website | string |
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.
| Parameter | Type | Description |
|---|---|---|
invoice_number * | integer | The 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.
| Parameter | Type | Description |
|---|---|---|
end_date * | string | Last invoice date, yyyy-mm-dd. |
start_date * | string | First invoice date, yyyy-mm-dd. |
limit | integer | How many records to return (default 100, max 500). |
offset | integer | How 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.
| Parameter | Type | Description |
|---|---|---|
customer_id * | integer | The numeric CustomerID. |
limit | integer | How many records to return (default 100, max 500). |
offset | integer | How 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.
| Parameter | Type | Description |
|---|---|---|
limit | integer | How many records to return (default 100, max 500). |
offset | integer | How 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.
| Parameter | Type | Description |
|---|---|---|
limit | integer | How many records to return (default 100, max 500). |
offset | integer | How 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.
| Parameter | Type | Description |
|---|---|---|
count | integer | How 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.
| Parameter | Type | Description |
|---|---|---|
invoice_number * | integer | The 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.
| Parameter | Type | Description |
|---|---|---|
end_date * | string | Last payment date, yyyy-mm-dd. |
start_date * | string | First payment date, yyyy-mm-dd. |
page_number | integer | Page 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.
| Parameter | Type | Description |
|---|---|---|
invoice_id * | integer | The 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.
| Parameter | Type | Description |
|---|---|---|
invoice_id * | integer | The invoice's InvoiceDBID. |
note * | string | The note text. |
note_date | string | Note 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.
| Parameter | Type | Description |
|---|---|---|
limit | integer | How many records to return (default 100, max 500). |
offset | integer | How 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.
| Parameter | Type | Description |
|---|---|---|
receipt_number * | integer | The purchase (receipt) number. |
kashflow_list_recent_receipts List recent purchases
The most recently created purchases (supplier invoices / receipts). SOAP GetReceipts_Recent.
| Parameter | Type | Description |
|---|---|---|
count | integer | How 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.
| Parameter | Type | Description |
|---|---|---|
supplier_id * | integer | The numeric SupplierID. |
limit | integer | How many records to return (default 100, max 500). |
offset | integer | How 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.
| Parameter | Type | Description |
|---|---|---|
limit | integer | How many records to return (default 100, max 500). |
offset | integer | How 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.
| Parameter | Type | Description |
|---|---|---|
account_id * | integer | The bank account's AccountID. |
limit | integer | How many records to return (default 100, max 500). |
offset | integer | How 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.
| Parameter | Type | Description |
|---|---|---|
account_id * | integer | The bank account's AccountID. |
date | string | Balance 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.
| Parameter | Type | Description |
|---|---|---|
limit | integer | How many records to return (default 100, max 500). |
offset | integer | How 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.
| Parameter | Type | Description |
|---|---|---|
end_date * | string | End of the period, yyyy-mm-dd. |
start_date * | string | Start 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.
| Parameter | Type | Description |
|---|---|---|
date | string | Balance 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.
| Parameter | Type | Description |
|---|---|---|
end_date * | string | End of the period, yyyy-mm-dd. |
start_date * | string | Start of the period, yyyy-mm-dd. |
limit | integer | How many records to return (default 100, max 500). |
offset | integer | How 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.
| Parameter | Type | Description |
|---|---|---|
date | string | Report date, yyyy-mm-dd (default today, UTC). |
limit | integer | How many records to return (default 100, max 500). |
offset | integer | How 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.
| Parameter | Type | Description |
|---|---|---|
date | string | Report date, yyyy-mm-dd (default today, UTC). |
limit | integer | How many records to return (default 100, max 500). |
offset | integer | How 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.
| Parameter | Type | Description |
|---|---|---|
end_date * | string | End of the VAT period, yyyy-mm-dd. |
start_date * | string | Start 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.
| Parameter | Type | Description |
|---|---|---|
end_date * | string | End of the period, yyyy-mm-dd. |
start_date * | string | Start of the period, yyyy-mm-dd. |
exclude_same_day_payments | boolean | Leave out invoices paid the day they were issued (default false). |
exclude_vat | boolean | Leave VAT out of the figures (default false). |