Collmex MCP by usefulapi

v1.12.1
io.usefulapi/collmex Checked 2 days ago Published 22 hours ago

Review Collmex customers, products, invoices and orders; create customers and addresses.

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

collmex_list_customers List customers

Search Collmex customers (record CUSTOMER_GET): by customer number, free text (name, city, e-mail ...), postal code or country. Returns address, contact, bank (IBAN/BIC), VAT id, payment terms, agent and status fields. Inactive customers are left out unless asked for.

ParameterTypeDescription
address_groupintegerOnly customers of this address group number.
company_nointegerCollmex company number (Verwaltung → Firma anzeigen und ändern). Default 1.
customer_nointegerOnly this customer number.
follow_up_duebooleanOnly customers due for follow-up (Wiedervorlage).
include_inactivebooleanAlso return inactive customers.
limitintegerRecords returned, 1-500 (default 25; invoices and orders with many positions may need a smaller limit).
offsetintegerRecords to skip (use next_offset from the previous reply).
postcode_countrystringPostal code or country code to search by.
textstringFree-text search (max 80 characters).

collmex_list_vendors List vendors

Search Collmex vendors/suppliers (record VENDOR_GET): by vendor number, free text, postal code or country. Returns address, contact, bank, VAT id, payment terms and expense account fields.

ParameterTypeDescription
company_nointegerCollmex company number (Verwaltung → Firma anzeigen und ändern). Default 1.
follow_up_duebooleanOnly vendors due for follow-up (Wiedervorlage).
limitintegerRecords returned, 1-500 (default 25; invoices and orders with many positions may need a smaller limit).
offsetintegerRecords to skip (use next_offset from the previous reply).
postcode_countrystringPostal code or country code to search by.
textstringFree-text search (max 80 characters).
vendor_nointegerOnly this vendor number.

collmex_list_addresses List addresses

Search the Collmex address book (record ADDRESS_GET): customers, vendors and address-book entries in one list, optionally with their contact persons. address_type: 0 all, 1 customers, 2 vendors, 3 address-book entries.

ParameterTypeDescription
address_groupintegerOnly addresses of this address group number.
address_nointegerOnly this address number.
address_typeinteger0 or empty = all, 1 = customers, 2 = vendors, 3 = address-book entries.
company_nointegerCollmex company number (Verwaltung → Firma anzeigen und ändern). Default 1.
follow_up_duebooleanOnly addresses due for follow-up (Wiedervorlage).
include_contactsbooleanAlso return contact persons (address_type 4 rows).
include_inactivebooleanAlso return inactive addresses.
limitintegerRecords returned, 1-500 (default 25; invoices and orders with many positions may need a smaller limit).
offsetintegerRecords to skip (use next_offset from the previous reply).
postcode_countrystringPostal code or country code to search by.
textstringFree-text search (max 80 characters).

collmex_list_products List products

Search Collmex products (record PRODUCT_GET): by product number, product group, free text (number, description, remark, GTIN, manufacturer) or price group. Returns description, unit, tax class, sales price, purchase data and stock settings.

ParameterTypeDescription
company_nointegerCollmex company number (Verwaltung → Firma anzeigen und ändern). Default 1.
limitintegerRecords returned, 1-500 (default 25; invoices and orders with many positions may need a smaller limit).
offsetintegerRecords to skip (use next_offset from the previous reply).
only_with_pricebooleanOnly products that have a price.
price_groupstringReturn the price of this price group (default: standard price group 0).
product_groupintegerOnly products of this product group (and its subgroups).
product_nostringOnly this product number.
textstringFree-text search (max 80 characters).

collmex_get_available_stock Get available stock

Currently available stock per product (record STOCK_AVAILABLE_GET): on-hand stock of the available stock types minus demand due today or earlier. A service product shows (NULL). Leave product_no empty for every product.

ParameterTypeDescription
company_nointegerCollmex company number (Verwaltung → Firma anzeigen und ändern). Default 1.
limitintegerRecords returned, 1-500 (default 25; invoices and orders with many positions may need a smaller limit).
offsetintegerRecords to skip (use next_offset from the previous reply).
product_nostringOnly this product number.

collmex_list_invoices List invoices

Search Collmex customer invoices and credit notes (record INVOICE_GET): by invoice number, customer, invoice date range, customer order or product. Each invoice has its header (customer address, dates, payment terms, status code: 0 new, 10 to be posted, 20 open, 30 dunned, 40 settled, 100 deleted) and its positions with quantities, prices and values. Reads only; no PDF/XML export.

ParameterTypeDescription
company_nointegerCollmex company number (Verwaltung → Firma anzeigen und ändern). Default 1.
customer_nointegerOnly invoices of this customer number.
customer_order_nointegerOnly invoices for this customer order number.
date_fromstringInvoice date from (yyyy-mm-dd).
date_tostringInvoice date to (yyyy-mm-dd).
invoice_nointegerOnly this invoice number.
limitintegerRecords returned, 1-500 (default 25; invoices and orders with many positions may need a smaller limit).
offsetintegerRecords to skip (use next_offset from the previous reply).
only_issuedbooleanOnly invoices already printed or sent.
product_nostringOnly invoices with this product on at least one position.

collmex_list_sales_orders List sales orders

Search Collmex customer orders (record SALES_ORDER_GET): by order number, customer, order date range or the customer's own order number. Each order has its header (customer address, dates, payment terms, status code: 0 new, 10 confirmed, 30 paid, 50 delivered, 90 invoiced, 100 done, 1000 cancelled) and its positions. Reads only; no PDF export.

ParameterTypeDescription
company_nointegerCollmex company number (Verwaltung → Firma anzeigen und ändern). Default 1.
customer_nointegerOnly orders of this customer number.
customer_purchase_order_nostringThe customer's own order number.
date_fromstringOrder date from (yyyy-mm-dd).
date_tostringOrder date to (yyyy-mm-dd).
limitintegerRecords returned, 1-500 (default 25; invoices and orders with many positions may need a smaller limit).
offsetintegerRecords to skip (use next_offset from the previous reply).
order_nointegerOnly this order number.

collmex_list_payment_terms List payment terms

The payment terms defined in Collmex (record TERMS_OF_PAYMENT_GET): number, description, payment method and discount periods. The number is what customers, vendors and invoices refer to as payment_terms.

ParameterTypeDescription
limitintegerRecords returned, 1-500 (default 25; invoices and orders with many positions may need a smaller limit).
offsetintegerRecords to skip (use next_offset from the previous reply).

collmex_list_open_items List open items

Open items (unpaid invoices) from the Collmex accounting (record OPEN_ITEMS_GET), for customers (receivables, default) or vendors (payables). Returns invoice number, document and due date, days overdue, dunning level, amount, paid and outstanding. Optionally as of a key date.

ParameterTypeDescription
company_nointegerCollmex company number (Verwaltung → Firma anzeigen und ändern). Default 1.
customer_nointegerOnly this customer number.
key_datestringKey date (yyyy-mm-dd); default today.
kindstringcustomer (default) = receivables, vendor = payables.
limitintegerRecords returned, 1-500 (default 25; invoices and orders with many positions may need a smaller limit).
offsetintegerRecords to skip (use next_offset from the previous reply).
vendor_nointegerOnly this vendor number.

collmex_list_accounting_documents List accounting postings

Accounting postings (record ACCDOC_GET), one row per posting position: posting number, date, text, account, debit/credit (0 debit, 1 credit), amount, customer/vendor, invoice number. Filter by fiscal year, account, cost centre, customer, vendor, invoice or document date range. Cancelled postings are excluded unless asked for.

ParameterTypeDescription
account_nointegerOnly this account number.
company_nointegerCollmex company number (Verwaltung → Firma anzeigen und ändern). Default 1.
cost_centerintegerOnly this cost centre.
customer_nointegerOnly this customer number.
date_fromstringDocument date from (yyyy-mm-dd).
date_tostringDocument date to (yyyy-mm-dd).
fiscal_yearintegerFiscal year (for example 2026); default all years.
include_reversalsbooleanAlso return cancelled and cancellation postings.
invoice_nointegerOnly this invoice number.
limitintegerRecords returned, 1-500 (default 25; invoices and orders with many positions may need a smaller limit).
offsetintegerRecords to skip (use next_offset from the previous reply).
posting_nointegerOnly this posting number.
textstringFree text in the posting text and memo (max 80 characters).
vendor_nointegerOnly this vendor number.

collmex_get_account_balances Get account balances

Account balances from the Collmex accounting (record ACCBAL_GET) for a fiscal year: account number, name and balance. Filter by account, account group (1 other, 2 fixed assets, 3 bank/cash, 4 income, 5 expenses, 6 output VAT, 7 input VAT, 8 receivables, 9 payables, 10 depreciation, 11 provisions, 12 inventory, 13 private, 14 non-deductible expenses), cost centre or an up-to date. With a customer or vendor given, the date is ignored.

ParameterTypeDescription
fiscal_year *integerFiscal year, for example 2026.
account_groupintegerOnly this account group (1-14).
account_nointegerOnly this account number.
company_nointegerCollmex company number (Verwaltung → Firma anzeigen und ändern). Default 1.
cost_centerstringOnly this cost centre.
customer_nointegerBalance of this customer.
date_tostringBalance up to this date (yyyy-mm-dd).
limitintegerRecords returned, 1-500 (default 25; invoices and orders with many positions may need a smaller limit).
offsetintegerRecords to skip (use next_offset from the previous reply).
vendor_nointegerBalance of this vendor.

collmex_list_projects List projects

Collmex projects (record PROJECT_GET) with customer, budget, value of recorded activities, completion state and the project's rates (rate number, description, product, hourly or daily rate).

ParameterTypeDescription
company_nointegerCollmex company number (Verwaltung → Firma anzeigen und ändern). Default 1.
customer_nointegerOnly projects of this customer.
limitintegerRecords returned, 1-500 (default 25; invoices and orders with many positions may need a smaller limit).
offsetintegerRecords to skip (use next_offset from the previous reply).
project_nointegerOnly this project number.
statusstringall (default), active or completed.

collmex_list_activities List project activities

Recorded time-tracking activities (record ACTIVITIES_GET): project, employee, date, from/to times, breaks, description, and the invoice that billed it. Filter by project, employee (needs company), date range, only not-yet-billed or only invoice-relevant activities.

ParameterTypeDescription
billable_onlybooleanOnly activities of customer projects with an amount above zero.
company_nointegerCollmex company number (Verwaltung → Firma anzeigen und ändern). Default 1.
date_fromstringActivity date from (yyyy-mm-dd).
date_tostringActivity date to (yyyy-mm-dd).
employee_nointegerOnly activities of this employee number (company_no applies).
limitintegerRecords returned, 1-500 (default 25; invoices and orders with many positions may need a smaller limit).
not_billedbooleanOnly activities not yet invoiced.
offsetintegerRecords to skip (use next_offset from the previous reply).
project_nointegerOnly activities of this project.

collmex_create_customer Create customer

WRITE: create a NEW customer in Collmex (record CMXKND without a customer number, so Collmex assigns the next number; an existing customer is never overwritten). Each call creates another customer: check collmex_list_customers first to avoid duplicates. Nothing is sent to the customer. Give at least a company or a last name. Returns the new customer number.

ParameterTypeDescription
citystringCity.
companystringCompany name.
company_nointegerCollmex company number (Verwaltung → Firma anzeigen und ändern). Default 1.
countrystring2-letter ISO country code (DE, AT, CH ...).
currencystring3-letter currency code, for example EUR.
departmentstringDepartment.
emailstringE-mail address.
faxstringFax.
first_namestringFirst name.
last_namestringLast name.
payment_termsintegerPayment terms number (see collmex_list_payment_terms); empty = Collmex default.
phonestringPhone.
postal_codestringPostal code.
remarkstringInternal remark.
salutationstringSalutation (for example Herr, Frau).
streetstringStreet and house number.
titlestringTitle (for example Dr.).
vat_idstringEU VAT id.

collmex_create_address Create address-book entry

WRITE: create a NEW entry in the Collmex address book (record CMXADR, address type 3, no address number so Collmex assigns one; existing addresses are never overwritten). Each call creates another entry: check collmex_list_addresses first to avoid duplicates. Nothing is sent to the person. Give at least a company or a last name. Returns the new address number.

ParameterTypeDescription
citystringCity.
companystringCompany name.
countrystring2-letter ISO country code (DE, AT, CH ...).
departmentstringDepartment.
emailstringE-mail address.
faxstringFax.
first_namestringFirst name.
last_namestringLast name.
no_mailingsbooleanMark as 'no mailings'.
phonestringPhone.
postal_codestringPostal code.
remarkstringInternal remark.
salutationstringSalutation (for example Herr, Frau).
streetstringStreet and house number.
titlestringTitle (for example Dr.).
urlstringWebsite.