Skip to main content
Glama

CashCtrl MCP by usefulapi

Create an order

cashctrl_create_order
Destructive

WRITE: changes the accounting records. Makes one request that is never repeated; check the result before trying again. Creates ONE order document for ONE customer or vendor: a quote, invoice, credit note, purchase bill and so on, depending on category_id. Without status_id the first status of the category is used; a booking status (for example Open) also creates journal entries, so use a draft status unless the user asks otherwise. No e-mail is sent. POST /order/create.json.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nrNoOrder number. Leave empty to use the sequence number of the category.
dateYesDocument date, yyyy-mm-dd.
itemsYes1-200 order items.
due_daysNoDays until payment is due.
languageNoLanguage of the document.
status_idNoStatus id (cashctrl_list_order_categories). Default: the first status of the category.
account_idNoDebtors or creditors account id; default from the category.
category_idYesOrder category id (cashctrl_list_order_categories), for example the Invoice category.
descriptionNoDescription of the document (max 200).
associate_idYesThe customer or vendor (cashctrl_list_persons).
sequence_number_idNoSequence number for the order number (cashctrl_list_sequence_numbers).
discount_percentageNoDiscount of the whole order in percent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.