SUMIT MCP by usefulapi
v1.6.1Read documents, customer debts, stock levels and VAT and exchange rates in SUMIT.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
sumit_list_documents List documents
List accounting documents (invoices, receipts, credit notes, quotes, and more) in the SUMIT account, filtered by type, number, and date. Returns Documents and HasNextPage; page with start_index and page_size. SUMIT API: POST /accounting/documents/list/.
| Parameter | Type | Description |
|---|---|---|
date_from | string | First document date, yyyy-mm-dd. |
date_to | string | Last document date, yyyy-mm-dd. |
document_number_from | integer | First document number. |
document_number_to | integer | Last document number. |
document_types | array | Only these types, for example ["Invoice", "Receipt"]. |
include_drafts | boolean | Include draft documents (default false). |
page_size | integer | Items per page, 10 to 1000 (SUMIT default 10). |
start_index | integer | Paging start index. Leave empty for the first page. |
sumit_get_document Get a document
Get one document with its customer, items, payments, and totals. Give document_id, or document_type with document_number (the number printed in the title). SUMIT API: POST /accounting/documents/getdetails/.
| Parameter | Type | Description |
|---|---|---|
document_id | integer | The SUMIT document id (from sumit_list_documents). |
document_number | integer | Document number, with document_type. |
document_type | string | Document type, with document_number. |
sumit_get_next_document_number Get next document number
Get the number SUMIT would give the next document of this type. It reserves nothing. SUMIT API: POST /accounting/general/getnextdocumentnumber/.
| Parameter | Type | Description |
|---|---|---|
document_type * | string | Document type, for example Invoice. |
sumit_get_customer_debt Get a customer's debt
Get how much one customer owes, by comparing the debit types (documents that raise debt) with the credit types (documents that settle it). SUMIT API: POST /accounting/documents/getdebt/.
| Parameter | Type | Description |
|---|---|---|
credit_source * | string | Credit side, for example Receipt. |
customer_id * | integer | The SUMIT customer id. |
debit_source * | string | Debit side, for example TaxInvoice. |
include_draft_documents | boolean | Count draft documents too (default false). |
sumit_get_debt_report Get the debt report
Get the debt of every customer who owes money, using the same debit and credit types as sumit_get_customer_debt. SUMIT API: POST /accounting/documents/getdebtreport/.
| Parameter | Type | Description |
|---|---|---|
credit_source * | string | Credit side, for example Receipt. |
debit_source * | string | Debit side, for example TaxInvoice. |
include_draft_documents | boolean | Count draft documents too (default false). |
sumit_list_income_items List income items
List the income items (products and services) in the SUMIT catalog, with price, cost, SKU, and external identifier. SUMIT marks this API alpha, so its shape may change. SUMIT API: POST /accounting/incomeitems/list/.
| Parameter | Type | Description |
|---|---|---|
page_size | integer | Items per page, 10 to 1000 (SUMIT default 10). |
start_index | integer | Paging start index. Leave empty for the first page. |
sumit_list_stock_levels List stock levels
List the stock level of catalog items. Leave item_ids empty for all items. SUMIT API: POST /stock/stock/list/.
| Parameter | Type | Description |
|---|---|---|
exclude_zero_stock | boolean | Leave out items with no stock (default false). |
item_ids | array | Income item ids to check (up to 500). |
sumit_get_vat_rate Get the VAT rate
Get the VAT rate (Rate, in percent) that applies on a date. Leave date empty for today. SUMIT API: POST /accounting/general/getvatrate/.
| Parameter | Type | Description |
|---|---|---|
date | string | Date, yyyy-mm-dd (default today). |
sumit_get_exchange_rate Get an exchange rate
Get the exchange rate from one currency to another on a date (SUMIT defaults: USD to ILS, today). SUMIT API: POST /accounting/general/getexchangerate/.
| Parameter | Type | Description |
|---|---|---|
currency_from | string | Original currency code (default USD). |
currency_to | string | Target currency code (default ILS). |
date | string | Date, yyyy-mm-dd (default today). |