eGestor MCP by usefulapi

v1.10.1
io.usefulapi/egestor Checked 2 days ago Published 1 day ago

Read 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.

ParameterTypeDescription
fieldsstringComma-separated list of fields to return.
filtrostringText search over the main fields of the record.
orderBystringSort as "field,asc" or "field,desc".
pageintegerPage number (default 1, 50 rows per page).
tipostringOnly this kind of contact.

egestor_get_contact Get a contact

Get full data of one contact by code. eGestor API: GET /v1/contatos/{codigo}.

ParameterTypeDescription
codigo *integerThe 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.

ParameterTypeDescription
nome *stringFull name or company name.
tipo *arrayContact kinds.
cepintegerPostal code (CEP), digits only.
cpfcnpjstringCPF or CNPJ, digits only.
emailsarrayEmail addresses.
fantasiastringTrade name.
fonesarrayPhone numbers, digits only.
logradourostringStreet.
numerostringStreet number.
ufstringState code, 2 letters.

egestor_list_products List products

List products with prices and stock data. eGestor API: GET /v1/produtos.

ParameterTypeDescription
fieldsstringComma-separated list of fields to return.
filtrostringText search over the main fields of the record.
orderBystringSort as "field,asc" or "field,desc".
pageintegerPage 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}.

ParameterTypeDescription
codigo *integerThe record code (from the matching list tool).

egestor_list_services List services

List services the company sells. eGestor API: GET /v1/servicos.

ParameterTypeDescription
filtrostringText search over the main fields of the record.
orderBystringSort as "field,asc" or "field,desc".
pageintegerPage 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.

ParameterTypeDescription
codContatointegerOnly sales of this contact code.
dtFimstringEnd date yyyy-mm-dd.
dtInistringStart date yyyy-mm-dd.
dtTipostringWhich date field dtIni/dtFim filter on.
fieldsstringComma-separated list of fields to return.
filtrostringText search over the main fields of the record.
orderBystringSort as "field,asc" or "field,desc".
pageintegerPage number (default 1, 50 rows per page).
situacao10 = quote, 50 = sale.

egestor_get_sale Get a sale

Get full data of one sale: items, payments, totals. eGestor API: GET /v1/vendas/{codigo}.

ParameterTypeDescription
codigo *integerThe record code (from the matching list tool).
listarCanceladasbooleanInclude cancelled sales.

egestor_list_receivables List receivables

List accounts receivable (situacao 20 = open, 40 = received), filterable by date range. eGestor API: GET /v1/recebimentos.

ParameterTypeDescription
dtFimstringEnd date yyyy-mm-dd.
dtInistringStart date yyyy-mm-dd.
filtrostringText search over the main fields of the record.
orderBystringSort as "field,asc" or "field,desc".
pageintegerPage number (default 1, 50 rows per page).
situacao20 = open, 40 = received.

egestor_get_receivable Get a receivable

Get one receivable by code. eGestor API: GET /v1/recebimentos/{codigo}.

ParameterTypeDescription
codigo *integerThe 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.

ParameterTypeDescription
dtFimstringEnd date yyyy-mm-dd.
dtInistringStart date yyyy-mm-dd.
filtrostringText search over the main fields of the record.
orderBystringSort as "field,asc" or "field,desc".
pageintegerPage number (default 1, 50 rows per page).
situacao10 = open, 30 = paid.

egestor_get_payable Get a payable

Get one payable by code. eGestor API: GET /v1/pagamentos/{codigo}.

ParameterTypeDescription
codigo *integerThe 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.

ParameterTypeDescription
dtFimstringEnd date yyyy-mm-dd.
dtInistringStart date yyyy-mm-dd.
dtTipostringWhich date field dtIni/dtFim filter on.
fieldsstringComma-separated list of fields to return.
filtrostringText search over the main fields of the record.
notastringFilter by invoice number.
orderBystringSort as "field,asc" or "field,desc".
pageintegerPage number (default 1, 50 rows per page).
situacao10 = quote, 50 = confirmed.

egestor_get_purchase Get a purchase

Get full data of one purchase. eGestor API: GET /v1/compras/{codigo}.

ParameterTypeDescription
codigo *integerThe 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.

ParameterTypeDescription
filtrostringText search over the main fields of the record.
orderBystringSort as "field,asc" or "field,desc".
pageintegerPage number (default 1, 50 rows per page).

egestor_list_categories List categories

List product and finance categories. eGestor API: GET /v1/categorias.

ParameterTypeDescription
filtrostringText search over the main fields of the record.
orderBystringSort as "field,asc" or "field,desc".
pageintegerPage 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.

ParameterTypeDescription
fieldsstringComma-separated list of fields to return.
filtrostringText search over the main fields of the record.
orderBystringSort as "field,asc" or "field,desc".
pageintegerPage number (default 1, 50 rows per page).
vendedorbooleantrue = 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.