WeFact MCP by usefulapi

v1.8.1
io.usefulapi/wefact Checked 4 days ago Published 1 day ago

Look up customers, invoices, products and subscriptions in WeFact.

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

wefact_list_debtors List customers

List customers (debtors) with name, customer code, email and last change. Search with searchfor, pick fields with searchat, filter by customer group. WeFact action: debtor/list.

ParameterTypeDescription
groupintegerOnly customers in this customer group id.
limitintegerResults per call (1 to 1000; WeFact default 1000).
modified_fromstringOnly records changed at or after this time (yyyy-mm-dd hh:mm:ss).
modified_tostringOnly records changed at or before this time (yyyy-mm-dd hh:mm:ss).
offsetintegerSkip this many results (paging, default 0).
orderstringSort direction.
searchatstringFields to search, separated by |. Example: CompanyName|SurName|EmailAddress. Default: DebtorCode|CompanyName|SurName.
searchforstringSearch term.
sortstringField to sort by (default DebtorCode).

wefact_get_debtor Get a customer

Get one customer with address, VAT and tax number, invoice settings, payment mandate and contacts. Give identifier or debtor_code. WeFact action: debtor/show.

ParameterTypeDescription
debtor_codestringThe customer number, for example DB10000.
identifierintegerThe WeFact internal id (Identifier).

wefact_list_invoices List invoices

List invoices with customer, amounts, paid and outstanding amounts, status and dates. Filter by status, search text, or invoice date and change date ranges. WeFact action: invoice/list.

ParameterTypeDescription
date_fromstringInvoice date from (yyyy-mm-dd).
date_tostringInvoice date to (yyyy-mm-dd).
limitintegerResults per call, 1 to 1000 (default 25; WeFact alone defaults to 1000). Use offset to page.
modified_fromstringOnly records changed at or after this time (yyyy-mm-dd hh:mm:ss).
modified_tostringOnly records changed at or before this time (yyyy-mm-dd hh:mm:ss).
offsetintegerSkip this many results (paging, default 0).
orderstringSort direction.
searchatstringFields to search, separated by |. Default: InvoiceCode|CompanyName|SurName.
searchforstringSearch term.
statusstringInvoice status code (see WeFact variable list, for example 4 = paid).

wefact_get_invoice Get an invoice

Get one invoice with its lines, totals, paid and outstanding amounts, payment method, reminders and sent dates. Give identifier or invoice_code. WeFact action: invoice/show.

ParameterTypeDescription
identifierintegerThe WeFact internal id (Identifier).
invoice_codestringThe invoice number, for example F2024-0001.

wefact_list_products List products

List products and services with code, name, price excluding VAT and VAT rate. Search or filter by product group. WeFact action: product/list.

ParameterTypeDescription
groupintegerOnly products in this product group id.
limitintegerResults per call (1 to 1000; WeFact default 1000).
modified_fromstringOnly records changed at or after this time (yyyy-mm-dd hh:mm:ss).
modified_tostringOnly records changed at or before this time (yyyy-mm-dd hh:mm:ss).
offsetintegerSkip this many results (paging, default 0).
orderstringSort direction.
searchatstringFields to search, separated by |. Default: ProductCode|ProductName|ProductKeyPhrase.
searchforstringSearch term.

wefact_get_product Get a product

Get one product with its description, price, VAT rate, price period and groups. Give identifier or product_code. WeFact action: product/show.

ParameterTypeDescription
identifierintegerThe WeFact internal id (Identifier).
product_codestringThe product number, for example P0001.

wefact_list_subscriptions List subscriptions

List recurring subscriptions (abonnementen) with customer, product, price and next invoice date. Default status: active. WeFact action: subscription/list.

ParameterTypeDescription
limitintegerResults per call (1 to 1000; WeFact default 1000).
modified_fromstringOnly records changed at or after this time (yyyy-mm-dd hh:mm:ss).
modified_tostringOnly records changed at or before this time (yyyy-mm-dd hh:mm:ss).
offsetintegerSkip this many results (paging, default 0).
orderstringSort direction.
searchatstringFields to search, separated by |. Default: DebtorCode|ProductCode|Description.
searchforstringSearch term.
statusstringSubscription status code (see WeFact variable list). Default: active.