eGestor MCP by usefulapi
v1.10.1Read contacts, products, sales, receivables and payables; create contacts in eGestor.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
egestor_list_contacts List contacts
List customers, suppliers and carriers. Good first call to find a contact code. eGestor API: GET /v1/contatos.
| Parameter | Type | Description |
|---|---|---|
fields | string | Comma-separated list of fields to return. |
filtro | string | Text search over the main fields of the record. |
orderBy | string | Sort as "field,asc" or "field,desc". |
page | integer | Page number (default 1, 50 rows per page). |
tipo | string | Only this kind of contact. |
egestor_get_contact Get a contact
Get full data of one contact by code. eGestor API: GET /v1/contatos/{codigo}.
| Parameter | Type | Description |
|---|---|---|
codigo * | integer | The record code (from the matching list tool). |
egestor_create_contact Create a contact
Create a new contact (customer, supplier or carrier) in eGestor. This writes data and is not idempotent: calling it twice creates two contacts. Returns the new code. eGestor API: POST /v1/contatos.
| Parameter | Type | Description |
|---|---|---|
nome * | string | Full name or company name. |
tipo * | array | Contact kinds. |
cep | integer | Postal code (CEP), digits only. |
cpfcnpj | string | CPF or CNPJ, digits only. |
emails | array | Email addresses. |
fantasia | string | Trade name. |
fones | array | Phone numbers, digits only. |
logradouro | string | Street. |
numero | string | Street number. |
uf | string | State code, 2 letters. |
egestor_list_products List products
List products with prices and stock data. eGestor API: GET /v1/produtos.
| Parameter | Type | Description |
|---|---|---|
fields | string | Comma-separated list of fields to return. |
filtro | string | Text search over the main fields of the record. |
orderBy | string | Sort as "field,asc" or "field,desc". |
page | integer | Page number (default 1, 50 rows per page). |
egestor_get_product Get a product
Get full data of one product by code. eGestor API: GET /v1/produtos/{codigo}.
| Parameter | Type | Description |
|---|---|---|
codigo * | integer | The record code (from the matching list tool). |
egestor_list_services List services
List services the company sells. eGestor API: GET /v1/servicos.
| Parameter | Type | Description |
|---|---|---|
filtro | string | Text search over the main fields of the record. |
orderBy | string | Sort as "field,asc" or "field,desc". |
page | integer | Page number (default 1, 50 rows per page). |
egestor_list_sales List sales
List sales (situacao 10 = quote, 50 = sale), filterable by date range and contact. eGestor API: GET /v1/vendas.
| Parameter | Type | Description |
|---|---|---|
codContato | integer | Only sales of this contact code. |
dtFim | string | End date yyyy-mm-dd. |
dtIni | string | Start date yyyy-mm-dd. |
dtTipo | string | Which date field dtIni/dtFim filter on. |
fields | string | Comma-separated list of fields to return. |
filtro | string | Text search over the main fields of the record. |
orderBy | string | Sort as "field,asc" or "field,desc". |
page | integer | Page number (default 1, 50 rows per page). |
situacao | 10 = quote, 50 = sale. |
egestor_get_sale Get a sale
Get full data of one sale: items, payments, totals. eGestor API: GET /v1/vendas/{codigo}.
| Parameter | Type | Description |
|---|---|---|
codigo * | integer | The record code (from the matching list tool). |
listarCanceladas | boolean | Include cancelled sales. |
egestor_list_receivables List receivables
List accounts receivable (situacao 20 = open, 40 = received), filterable by date range. eGestor API: GET /v1/recebimentos.
| Parameter | Type | Description |
|---|---|---|
dtFim | string | End date yyyy-mm-dd. |
dtIni | string | Start date yyyy-mm-dd. |
filtro | string | Text search over the main fields of the record. |
orderBy | string | Sort as "field,asc" or "field,desc". |
page | integer | Page number (default 1, 50 rows per page). |
situacao | 20 = open, 40 = received. |
egestor_get_receivable Get a receivable
Get one receivable by code. eGestor API: GET /v1/recebimentos/{codigo}.
| Parameter | Type | Description |
|---|---|---|
codigo * | integer | The record code (from the matching list tool). |
egestor_list_payables List payables
List accounts payable (situacao 10 = open, 30 = paid), filterable by date range. eGestor API: GET /v1/pagamentos.
| Parameter | Type | Description |
|---|---|---|
dtFim | string | End date yyyy-mm-dd. |
dtIni | string | Start date yyyy-mm-dd. |
filtro | string | Text search over the main fields of the record. |
orderBy | string | Sort as "field,asc" or "field,desc". |
page | integer | Page number (default 1, 50 rows per page). |
situacao | 10 = open, 30 = paid. |
egestor_get_payable Get a payable
Get one payable by code. eGestor API: GET /v1/pagamentos/{codigo}.
| Parameter | Type | Description |
|---|---|---|
codigo * | integer | The record code (from the matching list tool). |
egestor_list_purchases List purchases
List purchases (situacao 10 = quote, 50 = confirmed), filterable by date range. eGestor API: GET /v1/compras.
| Parameter | Type | Description |
|---|---|---|
dtFim | string | End date yyyy-mm-dd. |
dtIni | string | Start date yyyy-mm-dd. |
dtTipo | string | Which date field dtIni/dtFim filter on. |
fields | string | Comma-separated list of fields to return. |
filtro | string | Text search over the main fields of the record. |
nota | string | Filter by invoice number. |
orderBy | string | Sort as "field,asc" or "field,desc". |
page | integer | Page number (default 1, 50 rows per page). |
situacao | 10 = quote, 50 = confirmed. |
egestor_get_purchase Get a purchase
Get full data of one purchase. eGestor API: GET /v1/compras/{codigo}.
| Parameter | Type | Description |
|---|---|---|
codigo * | integer | The record code (from the matching list tool). |
egestor_list_accounts List financial accounts
List cash boxes and bank accounts (disponiveis). eGestor API: GET /v1/disponiveis.
| Parameter | Type | Description |
|---|---|---|
filtro | string | Text search over the main fields of the record. |
orderBy | string | Sort as "field,asc" or "field,desc". |
page | integer | Page number (default 1, 50 rows per page). |
egestor_list_categories List categories
List product and finance categories. eGestor API: GET /v1/categorias.
| Parameter | Type | Description |
|---|---|---|
filtro | string | Text search over the main fields of the record. |
orderBy | string | Sort as "field,asc" or "field,desc". |
page | integer | Page number (default 1, 50 rows per page). |
egestor_list_users List users
List users and sales people of the account. eGestor API: GET /v1/usuarios.
| Parameter | Type | Description |
|---|---|---|
fields | string | Comma-separated list of fields to return. |
filtro | string | Text search over the main fields of the record. |
orderBy | string | Sort as "field,asc" or "field,desc". |
page | integer | Page number (default 1, 50 rows per page). |
vendedor | boolean | true = only sales people. |
egestor_get_company Get company data
Get the registration data of the company that owns the token. eGestor API: GET /v1/empresa.