OfficeGest MCP by usefulapi
v1.6.1Read 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.
| Parameter | Type | Description |
|---|---|---|
active | boolean | true for active customers only, false for inactive ones. |
cursor | string | Cursor from meta.next of the previous page. Omit it for the first page. |
email | string | Filter by e-mail address. |
limit | integer | Rows per page, 1 to 250 (default 50). |
name | string | Filter by customer name. |
tax_id | string | Filter by tax id. |
type | string | E = 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}.
| Parameter | Type | Description |
|---|---|---|
customer * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
customer * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
country_code * | string | Country code, for example PT or ES. |
name * | string | Customer name. |
address | string | Street address. |
city | string | City. |
email | string | E-mail address. |
mobile_phone | string | Mobile phone number. |
phone | string | Phone number. |
postal_code | string | Postal code. |
tax_id | string | Tax id. |
type | string | E = 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.
| Parameter | Type | Description |
|---|---|---|
active | boolean | true for active suppliers only, false for inactive ones. |
email | string | Filter by e-mail address. |
limit | integer | Rows per page, 1 to 250 (default 50). |
name | string | Filter by supplier name. |
page | integer | Page number, starting at 1. |
search | string | Free-text search over supplier fields. |
tax_id | string | Filter 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}.
| Parameter | Type | Description |
|---|---|---|
supplier * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
active | boolean | true for active articles only, false for inactive ones. |
barcode | string | Barcode, exact match. |
family_id | string | Filter by family id. |
limit | integer | Rows per page, 1 to 250 (default 50). |
page | integer | Page number, starting at 1. |
txt | string | Free-text search: code, description or reference. |
warehouse_id | integer | Filter 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}.
| Parameter | Type | Description |
|---|---|---|
article * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
article_id | string | Filter by article id. |
include_zero_stock | boolean | true to include rows with zero stock. |
limit | integer | Rows per page, 1 to 250 (default 50). |
page | integer | Page number, starting at 1. |
warehouse_id | integer | Filter 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}.
| Parameter | Type | Description |
|---|---|---|
type * | string | Document type code (from officegest_list_sale_document_types). |
canceled | string | T for cancelled documents only, F for the others. |
cursor | string | Cursor from meta.next of the previous page. Omit it for the first page. |
customer_id | string | Filter by customer id. |
customer_tax_id | string | Filter by customer tax id. |
end_date | string | Date as YYYY-MM-DD. |
limit | integer | Rows per page, 1 to 250 (default 50). |
serie | string | Filter by document series. |
start_date | string | Date 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}.
| Parameter | Type | Description |
|---|---|---|
id * | string | The document id (from officegest_list_sale_documents). |
type * | string | Document 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.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Rows per page, 1 to 250 (default 50). |
order | string | Sort field. |
sorder | string | Sort direction. |
officegest_list_top_debtors List top debtors
List the customers who owe the most, with their balance. Uses GET /sales/reports/top-debtors.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Rows per page, 1 to 250 (default 50). |
order | string | Sort field. |
sorder | string | Sort 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.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Rows per page, 1 to 250 (default 50). |
order | string | Sort field. |
sorder | string | Sort direction. |