adjust_stock
ChatGPTChange stock for a product: "add" (e.g. found or received stock), "reduce" (damaged, used, lost) or "set" (after a stock count). Every change is recorded in the stock history with the reason. Saves only a change that was previewed: requires the preview_id from a preview_change result for the same arguments, and saves that payload once.
create_customer
ChatGPTAdd a new customer to the business. Saves only a change that was previewed: requires the preview_id from a preview_change result for the same arguments, and saves that payload once.
create_invoice
ChatGPTCreate a sales invoice for a customer. Prices default to what this customer was last charged, else their pricing tier (retail / wholesale / VIP), exactly like the AIMZ app. Stock is deducted when saved (not for drafts). The due date follows the business's payment terms unless given. Saves only a change that was previewed: requires the preview_id from a preview_change result for the same arguments, and saves that payload once.
create_product
ChatGPTAdd a new product, optionally with its opening stock quantity. Saves only a change that was previewed: requires the preview_id from a preview_change result for the same arguments, and saves that payload once.
create_vendor
ChatGPTAdd a new supplier / vendor. Saves only a change that was previewed: requires the preview_id from a preview_change result for the same arguments, and saves that payload once.
create_vendor_bill
ChatGPTRecord a bill you owe a supplier. Either bill a purchase order (its lines are copied and the order is marked Billed, like the app) or give the lines / total directly. Saves only a change that was previewed: requires the preview_id from a preview_change result for the same arguments, and saves that payload once.
email_customer_statement
ChatGPTEmail a customer their statement of account (all invoices, payments and balance) as a PDF. Saves only a change that was previewed: requires the preview_id from a preview_change result for the same arguments, and saves that payload once.
email_invoice
ChatGPTEmail one invoice to the customer as a PDF. Saves only a change that was previewed: requires the preview_id from a preview_change result for the same arguments, and saves that payload once.
find_customers
ChatGPTSearch customers by name, phone or email. Returns ids, pricing tier and contact details.
find_products
ChatGPTSearch products by name or barcode and see prices and stock. Use stock="low" or "out" to list items that need reordering.
get_business_overview
ChatGPTThe connected AIMZ business (name, currency, plan and usage), today's date for the business, the user's role and allowed areas, and headline numbers for the last 30 days.
get_customer
ChatGPTA customer's details, what they owe, unapplied credit and their recent invoices.
get_invoice
ChatGPTOne invoice with its line items, payments and balance.
get_sales_report
ChatGPTInvoiced, received, expenses, receivables and payables for a period, plus best-selling products.
list_customer_balances
ChatGPTCustomers with an outstanding balance, largest first.
list_expenses
ChatGPTRecorded business expenses, optionally by category and date range.
list_invoices
ChatGPTInvoices, newest first, optionally filtered by customer, status or date range.
list_purchase_orders
ChatGPTPurchase orders to suppliers.
list_recent_activity
ChatGPTWhat has happened in the business recently and who did it (including actions made through ChatGPT or Claude).
list_vendor_bills
ChatGPTBills from suppliers and what is still unpaid.
list_vendors
ChatGPTSuppliers / vendors, optionally searched by name.
list_warehouses
ChatGPTThe business's warehouses, with their ids.
preview_change
ChatGPTShows exactly what a change would do, without saving anything: resolves customers and products, applies the customer's prices and the business's terms, and lists totals, stock effects and warnings. Returns a preview_id that the matching save tool accepts. action is the save tool's name (create_invoice, update_invoice, record_invoice_payment, record_customer_payment, create_customer, update_customer, create_product, update_product, adjust_stock, transfer_stock, receive_stock_purchase, create_vendor, create_vendor_bill, record_vendor_bill_payment, record_expense, record_return, email_customer_statement, email_invoice, send_payment_reminders); arguments has the same fields as that tool's input.
receive_stock_purchase
ChatGPTRecord stock bought from a supplier: creates a purchase order and (by default) receives it into stock straight away at the given unit cost, which also updates stock value (FIFO), exactly like "Add purchase order → receive now" in the AIMZ app. Saves only a change that was previewed: requires the preview_id from a preview_change result for the same arguments, and saves that payload once.
record_customer_payment
ChatGPTRecord money a customer paid and apply it to their open invoices, oldest first (or to the invoices named), exactly like the AIMZ app. Anything left over is kept as credit on the customer's account. Payment method: Cash, Bank Transfer, Cheque, Online, Card or Other. Saves only a change that was previewed: requires the preview_id from a preview_change result for the same arguments, and saves that payload once.
record_expense
ChatGPTRecord a business expense (fuel, rent, wages, utilities, …). Saves only a change that was previewed: requires the preview_id from a preview_change result for the same arguments, and saves that payload once.
record_invoice_payment
ChatGPTRecord money received against one specific invoice, up to that invoice's remaining balance. Payment method: Cash, Bank Transfer, Cheque, Online, Card or Other. Saves only a change that was previewed: requires the preview_id from a preview_change result for the same arguments, and saves that payload once.
record_return
ChatGPTRecord goods a customer returned from an invoice. Issues a credit note for the returned value and (by default) puts the items back in stock. Saves only a change that was previewed: requires the preview_id from a preview_change result for the same arguments, and saves that payload once.
record_vendor_bill_payment
ChatGPTRecord, in the AIMZ books, a payment already made to a supplier against a bill. No money is sent. Saves only a change that was previewed: requires the preview_id from a preview_change result for the same arguments, and saves that payload once.
send_payment_reminders
ChatGPTEmail payment reminders now to every customer with overdue invoices, using the business's reminder settings. Saves only a change that was previewed: requires the preview_id from a preview_change result for the same arguments, and saves that payload once.
transfer_stock
ChatGPTMove a quantity of a product from one warehouse to another. Saves only a change that was previewed: requires the preview_id from a preview_change result for the same arguments, and saves that payload once.
update_customer
ChatGPTChange a customer's details, pricing tier or credit limit. Saves only a change that was previewed: requires the preview_id from a preview_change result for the same arguments, and saves that payload once.
update_invoice
ChatGPTEdit an existing invoice: replace its items, change dates, notes, discount, tax or shipping, or finalize a draft (status "Sent"). Stock is re-balanced automatically. Void/cancel and delete are only available in the AIMZ app. Saves only a change that was previewed: requires the preview_id from a preview_change result for the same arguments, and saves that payload once.
update_product
ChatGPTChange a product's name, prices, cost, unit, category, barcode or low-stock level. Does not change the stock quantity. Saves only a change that was previewed: requires the preview_id from a preview_change result for the same arguments, and saves that payload once.