Tillhub MCP by usefulapi

v1.12.1
io.usefulapi/tillhub Checked 2 days ago Published 1 day ago

Read Tillhub products, stock, transactions, customers and retail reports from your AI assistant.

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

tillhub_get_account Get API user and account

The Tillhub user behind the API key: role, scopes, account id and name (no credentials). GET /api/v0/me.

tillhub_list_products List products

List products (articles, variants, vouchers) with name, number, barcode, prices, taxes and product group. Filter by type, group, tag, barcode or custom id (barcode and custom_id are fast exact lookups and ignore the other filters). Page with next_query. GET /api/v1/products/{account}.

ParameterTypeDescription
activebooleanOnly active (true) or inactive (false) products.
barcodestringExact barcode (ignores the other filters).
custom_idstringExact product number / custom id (ignores the other filters).
deletedbooleantrue = deleted products only; default non-deleted.
limitintegerItems per page, 1-100 (default 50).
next_querystringnext_query from the previous reply to get the following page. It already contains the filters, so the other arguments are ignored.
product_groupstringProduct group id.
sellablebooleanOnly products suitable for sale (true) or not (false).
tagstringTag name.
typestringProduct type.
updated_sincestringOnly products updated at or after this time. ISO 8601 date (2026-10-01) or date-time (2026-10-01T00:00:00Z).

tillhub_search_products Search products

Fuzzy search products by name and description (max 20 hits per page, with relevance score). GET /api/v2/products/{account}/search.

ParameterTypeDescription
query *stringSearch text; partial words are matched.
limitintegerHits per page, 1-20.
offsetintegerResult offset for paging search results.
sellablebooleanOnly sellable products.

tillhub_get_product Get product

One product by id, optionally with the stock and prices of one branch. GET /api/v1/products/{account}/{id}.

ParameterTypeDescription
product_id *stringTillhub product id (uuid).
branchstringBranch id for branch-specific stock data.

tillhub_list_product_groups List product groups

List product groups (categories) with id and name. GET /api/v0/product_groups/{account}.

ParameterTypeDescription
activebooleanOnly active (true) or inactive (false) groups.
deletedbooleantrue = deleted groups only.
next_querystringnext_query from the previous reply to get the following page. It already contains the filters, so the other arguments are ignored.

tillhub_list_tags List tags

List product tags. GET /api/v1/tags/{account}.

ParameterTypeDescription
deletedbooleantrue = deleted tags only.
next_querystringnext_query from the previous reply to get the following page. It already contains the filters, so the other arguments are ignored.
querystringText search on the tag name.

tillhub_list_transactions List transactions

List sales and other register transactions (type, date, branch, register, staff, customer, amounts, payments, cart items). Always pass a date range for busy shops. Page with next_query. GET /api/v1/transactions/{account}.

ParameterTypeDescription
branchstringBranch id.
customerstringCustomer id.
date_endstringOnly transactions before this time. ISO 8601 date (2026-10-01) or date-time (2026-10-01T00:00:00Z).
date_startstringOnly transactions on or after this time. ISO 8601 date (2026-10-01) or date-time (2026-10-01T00:00:00Z).
limitintegerItems per page, 1-100 (default 50).
next_querystringnext_query from the previous reply to get the following page. It already contains the filters, so the other arguments are ignored.
receipt_numberstringReceipt number (custom id).
registerstringRegister id.
staffstringCashier staff id.
typestringTransaction type, for example sale, sale_cancel, expense, deposit.

tillhub_get_transaction Get transaction

One transaction by id with its full cart, payments and taxes. GET /api/v1/transactions/{account}/{id}.

ParameterTypeDescription
transaction_id *stringTillhub transaction id (uuid).

tillhub_transactions_report Transactions report

Detailed transactions report for a period, filterable by branch, register, staff, customer, type and currency. GET /api/v3/analytics/{account}/reports/transactions/overview.

ParameterTypeDescription
branchstringBranch id.
currencystringCurrency ISO code, e.g. EUR.
customerstringCustomer id.
date_endstringOnly transactions before this time. ISO 8601 date (2026-10-01) or date-time (2026-10-01T00:00:00Z).
date_startstringOnly transactions on or after this time. ISO 8601 date (2026-10-01) or date-time (2026-10-01T00:00:00Z).
next_querystringnext_query from the previous reply to get the following page. It already contains the filters, so the other arguments are ignored.
registerstringRegister id.
staffstringCashier staff id.
typestringTransaction type, for example sale, sale_cancel, expense, deposit.

tillhub_list_receipts List receipts

List receipts (printed or digital) of the account. Page with next_query. GET /api/v1/receipts/{account}.

ParameterTypeDescription
limitintegerItems per page, 1-100 (default 50).
next_querystringnext_query from the previous reply to get the following page. It already contains the filters, so the other arguments are ignored.

tillhub_revenue_sum Revenue total for a period

Total revenue between two points in time, optionally for one branch number. GET /api/v0/analytics/{account}/aggregates/revenues/sum.

ParameterTypeDescription
end *stringEnd of the period. ISO 8601 date (2026-10-01) or date-time (2026-10-01T00:00:00Z).
start *stringStart of the period. ISO 8601 date (2026-10-01) or date-time (2026-10-01T00:00:00Z).
branch_numberstringBranch number (not the id).
next_querystringnext_query from the previous reply to get the following page. It already contains the filters, so the other arguments are ignored.

tillhub_sales_aggregate Sales per hour or day

Sales and revenue aggregated per hour or per day between two points in time. GET /api/v0/analytics/{account}/aggregates/sales.

ParameterTypeDescription
end *stringEnd of the period. ISO 8601 date (2026-10-01) or date-time (2026-10-01T00:00:00Z).
start *stringStart of the period. ISO 8601 date (2026-10-01) or date-time (2026-10-01T00:00:00Z).
branch_numberstringBranch number (not the id).
next_querystringnext_query from the previous reply to get the following page. It already contains the filters, so the other arguments are ignored.
precisionstringInterval size (default day).

tillhub_top_products Top products

Best-selling products in a period, optionally for one branch number. GET /api/v0/analytics/{account}/reports/products/top.

ParameterTypeDescription
branch_numberstringBranch number (not the id).
endstringEnd of the period (exclusive). ISO 8601 date (2026-10-01) or date-time (2026-10-01T00:00:00Z).
next_querystringnext_query from the previous reply to get the following page. It already contains the filters, so the other arguments are ignored.
startstringStart of the period (inclusive). ISO 8601 date (2026-10-01) or date-time (2026-10-01T00:00:00Z).

tillhub_list_balances List cash-register balances

List cash-register closings (balances / Z-reports) with totals per register and day. Filter by branch, register or staff. Page with next_query. GET /api/v0/analytics/{account}/reports/balances.

ParameterTypeDescription
branchstringBranch id.
limitintegerItems per page, 1-100 (default 50).
next_querystringnext_query from the previous reply to get the following page. It already contains the filters, so the other arguments are ignored.
querystringText search.
registerstringRegister id.
staffstringStaff id.

tillhub_list_customers List customers

List customers with name, company, email, phone numbers and addresses. Filter by text, name, email, company or customer number. Page with next_query. GET /api/v1/customers/{account}.

ParameterTypeDescription
activebooleanOnly active (true) or inactive (false) customers.
companystringCompany name substring.
customer_numberstringExact customer number (ignores the other filters).
emailstringEmail substring.
firstnamestringFirst name substring.
lastnamestringLast name substring.
limitintegerItems per page, 1-100 (default 50).
next_querystringnext_query from the previous reply to get the following page. It already contains the filters, so the other arguments are ignored.
querystringText search over first name, last name, email, company and number.
updated_sincestringOnly customers updated at or after this time. ISO 8601 date (2026-10-01) or date-time (2026-10-01T00:00:00Z).

tillhub_search_customers Search customers

Fuzzy search customers by name, email and description (max 100 hits, with relevance score). GET /api/v2/customers/{account}/search.

ParameterTypeDescription
query *stringSearch text; partial words are matched.
limitintegerHits per page, 1-100.
offsetintegerResult offset for paging search results.

tillhub_get_customer Get customer

One customer by id. GET /api/v1/customers/{account}/{id}.

ParameterTypeDescription
customer_id *stringTillhub customer id (uuid).

tillhub_list_branches List branches

List branches (shops) with number, name and address. Use the ids to filter transactions, stock and prices. Page with next_query. GET /api/v1/branches/{account}.

ParameterTypeDescription
activebooleanOnly active (true) or inactive (false) branches.
limitintegerItems per page, 1-100 (default 50).
namestringName substring.
next_querystringnext_query from the previous reply to get the following page. It already contains the filters, so the other arguments are ignored.
querystringText search over several fields.

tillhub_list_registers List registers

List cash registers with number, name and branch. GET /api/v1/registers/{account}.

ParameterTypeDescription
activebooleanOnly active (true) or inactive (false) registers.
branchstringOnly registers of this branch id.
next_querystringnext_query from the previous reply to get the following page. It already contains the filters, so the other arguments are ignored.
querystringText search on the name.

tillhub_list_staff List staff

List staff members (cashiers) with name, number and branch. PINs and passwords are never returned. GET /api/v1/staff/{account}.

ParameterTypeDescription
activebooleanOnly active (true) or inactive (false) staff.
branchstringOnly staff of this branch id.
next_querystringnext_query from the previous reply to get the following page. It already contains the filters, so the other arguments are ignored.
querystringText search over name and email.

tillhub_list_payment_options List payment options

List payment options (cash, card, voucher, ...) configured for the account. GET /api/v0/payment_options/{account}.

ParameterTypeDescription
activebooleanOnly active (true) or inactive (false) options.
next_querystringnext_query from the previous reply to get the following page. It already contains the filters, so the other arguments are ignored.

tillhub_list_taxes List taxes

List tax (VAT) references with rates. GET /api/v0/taxes/{account}.

ParameterTypeDescription
activebooleanOnly active (true) or inactive (false) taxes.
next_querystringnext_query from the previous reply to get the following page. It already contains the filters, so the other arguments are ignored.

tillhub_list_discounts List discounts

List configured discounts. GET /api/v0/discounts/{account}.

ParameterTypeDescription
activebooleanOnly active (true) or inactive (false) discounts.
branchstringOnly discounts available in this branch id.
next_querystringnext_query from the previous reply to get the following page. It already contains the filters, so the other arguments are ignored.

tillhub_list_stock List stock levels

Current stock per product and location. Filter by location (branch/warehouse id) or product id. GET /api/v0/stock/{account}.

ParameterTypeDescription
locationstringLocation id (branch or warehouse).
next_querystringnext_query from the previous reply to get the following page. It already contains the filters, so the other arguments are ignored.
productstringProduct id.

tillhub_list_stock_locations List stock locations

List stock locations (branches and warehouses) with their ids. GET /api/v0/stock/{account}/locations.

ParameterTypeDescription
next_querystringnext_query from the previous reply to get the following page. It already contains the filters, so the other arguments are ignored.

tillhub_list_stock_book List stock movements

Stock book: every stock movement (sale, delivery, correction, transfer) with product, location, quantity and date. Filter by product, location, period or text. Page with next_query. GET /api/v1/stock/{account}/book.

ParameterTypeDescription
endstringOnly movements before this time. ISO 8601 date (2026-10-01) or date-time (2026-10-01T00:00:00Z).
limitintegerItems per page, 1-100 (default 50).
locationstringLocation id.
next_querystringnext_query from the previous reply to get the following page. It already contains the filters, so the other arguments are ignored.
productstringProduct id.
querystringText search over product name, barcode, group and location.
startstringOnly movements on or after this time. ISO 8601 date (2026-10-01) or date-time (2026-10-01T00:00:00Z).

tillhub_list_orders List orders

List incoming or outgoing orders (goods orders between locations/suppliers). Page with next_query. GET /api/v0/orders/{account}.

ParameterTypeDescription
deletedbooleantrue = deleted orders only.
directionstringOnly incoming or outgoing orders.
limitintegerItems per page, 1-100 (default 50).
next_querystringnext_query from the previous reply to get the following page. It already contains the filters, so the other arguments are ignored.