WeFact MCP by usefulapi
v1.8.1Look 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.
| Parameter | Type | Description |
|---|---|---|
group | integer | Only customers in this customer group id. |
limit | integer | Results per call (1 to 1000; WeFact default 1000). |
modified_from | string | Only records changed at or after this time (yyyy-mm-dd hh:mm:ss). |
modified_to | string | Only records changed at or before this time (yyyy-mm-dd hh:mm:ss). |
offset | integer | Skip this many results (paging, default 0). |
order | string | Sort direction. |
searchat | string | Fields to search, separated by |. Example: CompanyName|SurName|EmailAddress. Default: DebtorCode|CompanyName|SurName. |
searchfor | string | Search term. |
sort | string | Field 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.
| Parameter | Type | Description |
|---|---|---|
debtor_code | string | The customer number, for example DB10000. |
identifier | integer | The 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.
| Parameter | Type | Description |
|---|---|---|
date_from | string | Invoice date from (yyyy-mm-dd). |
date_to | string | Invoice date to (yyyy-mm-dd). |
limit | integer | Results per call, 1 to 1000 (default 25; WeFact alone defaults to 1000). Use offset to page. |
modified_from | string | Only records changed at or after this time (yyyy-mm-dd hh:mm:ss). |
modified_to | string | Only records changed at or before this time (yyyy-mm-dd hh:mm:ss). |
offset | integer | Skip this many results (paging, default 0). |
order | string | Sort direction. |
searchat | string | Fields to search, separated by |. Default: InvoiceCode|CompanyName|SurName. |
searchfor | string | Search term. |
status | string | Invoice 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.
| Parameter | Type | Description |
|---|---|---|
identifier | integer | The WeFact internal id (Identifier). |
invoice_code | string | The 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.
| Parameter | Type | Description |
|---|---|---|
group | integer | Only products in this product group id. |
limit | integer | Results per call (1 to 1000; WeFact default 1000). |
modified_from | string | Only records changed at or after this time (yyyy-mm-dd hh:mm:ss). |
modified_to | string | Only records changed at or before this time (yyyy-mm-dd hh:mm:ss). |
offset | integer | Skip this many results (paging, default 0). |
order | string | Sort direction. |
searchat | string | Fields to search, separated by |. Default: ProductCode|ProductName|ProductKeyPhrase. |
searchfor | string | Search 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.
| Parameter | Type | Description |
|---|---|---|
identifier | integer | The WeFact internal id (Identifier). |
product_code | string | The 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.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per call (1 to 1000; WeFact default 1000). |
modified_from | string | Only records changed at or after this time (yyyy-mm-dd hh:mm:ss). |
modified_to | string | Only records changed at or before this time (yyyy-mm-dd hh:mm:ss). |
offset | integer | Skip this many results (paging, default 0). |
order | string | Sort direction. |
searchat | string | Fields to search, separated by |. Default: DebtorCode|ProductCode|Description. |
searchfor | string | Search term. |
status | string | Subscription status code (see WeFact variable list). Default: active. |