OfficeGest MCP by usefulapi

v1.6.1
io.usefulapi/officegest Checked 2 days ago Published 1 day ago

Read customers, stock, sales documents and debt reports; create customers in OfficeGest.

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

officegest_list_customers List customers

List customers with tax id, contacts and status. Filter by name, tax id, email, active flag or type. Pass meta.next as cursor for the next page. Uses GET /entities/customers.

ParameterTypeDescription
activebooleantrue for active customers only, false for inactive ones.
cursorstringCursor from meta.next of the previous page. Omit it for the first page.
emailstringFilter by e-mail address.
limitintegerRows per page, 1 to 250 (default 50).
namestringFilter by customer name.
tax_idstringFilter by tax id.
typestringE = company, I = company in an individual's name, P = private individual.

officegest_get_customer Get a customer

Get one customer by id: name, tax id, address, contacts, type and status. Uses GET /entities/customers/{customer}.

ParameterTypeDescription
customer *stringThe customer id (from officegest_list_customers).

officegest_get_customer_balance Get a customer balance

Get the current balance of one customer: what the customer owes the company. Uses GET /entities/customers/{customer}/balance.

ParameterTypeDescription
customer *stringThe customer id (from officegest_list_customers).

officegest_create_customer Create a customer

Create a customer record. Creates data in OfficeGest; it does not merge with an existing customer, so search first. Uses POST /entities/customers.

ParameterTypeDescription
country_code *stringCountry code, for example PT or ES.
name *stringCustomer name.
addressstringStreet address.
citystringCity.
emailstringE-mail address.
mobile_phonestringMobile phone number.
phonestringPhone number.
postal_codestringPostal code.
tax_idstringTax id.
typestringE = company, I = company in an individual's name, P = private individual.

officegest_list_suppliers List suppliers

List suppliers with tax id, contacts and status. Filter by search text, name, tax id, e-mail or active flag. Uses GET /entities/suppliers.

ParameterTypeDescription
activebooleantrue for active suppliers only, false for inactive ones.
emailstringFilter by e-mail address.
limitintegerRows per page, 1 to 250 (default 50).
namestringFilter by supplier name.
pageintegerPage number, starting at 1.
searchstringFree-text search over supplier fields.
tax_idstringFilter by tax id.

officegest_get_supplier Get a supplier

Get one supplier by id: name, tax id, address and contacts. Uses GET /entities/suppliers/{supplier}.

ParameterTypeDescription
supplier *stringThe supplier id (from officegest_list_suppliers).

officegest_search_articles Search articles

Search articles (products and services) by text, barcode, family or warehouse. Uses GET /stocks/articles/search.

ParameterTypeDescription
activebooleantrue for active articles only, false for inactive ones.
barcodestringBarcode, exact match.
family_idstringFilter by family id.
limitintegerRows per page, 1 to 250 (default 50).
pageintegerPage number, starting at 1.
txtstringFree-text search: code, description or reference.
warehouse_idintegerFilter by warehouse id.

officegest_get_article Get an article

Get one article by id: description, prices, measurement unit, VAT and stock totals. Uses GET /stocks/articles/{article}.

ParameterTypeDescription
article *stringThe article id (from officegest_search_articles).

officegest_list_stock_quantities List stock quantities

List stock quantities per article and warehouse. Zero-stock rows are left out unless include_zero_stock is true. Uses GET /stocks/quantities.

ParameterTypeDescription
article_idstringFilter by article id.
include_zero_stockbooleantrue to include rows with zero stock.
limitintegerRows per page, 1 to 250 (default 50).
pageintegerPage number, starting at 1.
warehouse_idintegerFilter by warehouse id.

officegest_list_sale_document_types List sale document types

List the sale document types of the company, with their codes. Use a code with officegest_list_sale_documents. Uses GET /sales/documents.

officegest_list_sale_documents List sale documents

List sale documents of one type (for example invoices), with number, customer, date, due date and state. Pass meta.next as cursor for the next page. Uses GET /sales/documents/{type}.

ParameterTypeDescription
type *stringDocument type code (from officegest_list_sale_document_types).
canceledstringT for cancelled documents only, F for the others.
cursorstringCursor from meta.next of the previous page. Omit it for the first page.
customer_idstringFilter by customer id.
customer_tax_idstringFilter by customer tax id.
end_datestringDate as YYYY-MM-DD.
limitintegerRows per page, 1 to 250 (default 50).
seriestringFilter by document series.
start_datestringDate as YYYY-MM-DD.

officegest_get_sale_document Get a sale document

Get one sale document by type and id: header, customer, lines and totals. Uses GET /sales/documents/{type}/{id}.

ParameterTypeDescription
id *stringThe document id (from officegest_list_sale_documents).
type *stringDocument type code (from officegest_list_sale_document_types).

officegest_get_sales_summary Get the sales summary

Get the sales summary: the current month, the previous month, the monthly average and the current year. Uses GET /sales/reports/sales-summary.

officegest_list_customer_invoices_due List customer invoices due

List customer invoices that are not yet fully paid, with the amount pending. Uses GET /sales/reports/customer-invoices-due.

ParameterTypeDescription
limitintegerRows per page, 1 to 250 (default 50).
orderstringSort field.
sorderstringSort direction.

officegest_list_top_debtors List top debtors

List the customers who owe the most, with their balance. Uses GET /sales/reports/top-debtors.

ParameterTypeDescription
limitintegerRows per page, 1 to 250 (default 50).
orderstringSort field.
sorderstringSort direction.

officegest_list_supplier_invoices_due List supplier invoices due

List supplier invoices that are not yet fully settled, with the amount pending. Uses GET /purchases/reports/supplier-invoices-due.

ParameterTypeDescription
limitintegerRows per page, 1 to 250 (default 50).
orderstringSort field.
sorderstringSort direction.