create_customer
ChatGPTCreate a new customer (individual or org) for the authenticated user's organization. Phone number is required and is used to detect duplicates — if a customer with the same phone already exists, nothing is created and the existing match is returned instead. By default this only previews what would be created; pass confirm: true to actually write it.
create_expense
ChatGPTCreate a new expense for the authenticated user's organization. Requires a categoryId (from list_expense_categories) and either a vendorId (from list_vendors) or a vendorName — if vendorName doesn't match an existing vendor, a new vendor is created automatically. By default this only previews what would be created; pass confirm: true to actually write it.
create_income
ChatGPTCreate a new income record for the authenticated user's organization. Requires a categoryId (from list_income_categories) — resolve that first by matching the user's description against the category list. When taxable is true, tax is calculated automatically from the organization's tax rate. By default this only previews what would be created; pass confirm: true to actually write it.
create_invoice
ChatGPTCreate a new invoice for the authenticated user's organization, including line items, with totals computed automatically (subtotal, tax, gratuity, discount, amount due). Requires a customerId (from search_customers or create_customer). Line items can reference the item catalog (itemId from list_items) or be custom one-off lines (itemName + rate). Which header fields are required (delivery method, event time, ready-by time, end time) depends on this organization's configuration — the preview will say what's missing. By default this only previews what would be created; pass confirm: true to actually write it.
create_invoice_payment
ChatGPTApply a payment to an existing invoice, looked up by invoiceNumber. Requires a categoryId (from list_payment_categories), a paymentType, and a dateOfPayment; checkNumber is required if paymentType is Check or Creditcard. paymentAmount defaults to the invoice's full amountDue if omitted. Updates the invoice's amountDue/amountPaid and marks it 'paid' once amountDue reaches zero, otherwise it stays 'active'. By default this only previews what would happen; pass confirm: true to actually write it.
create_item
ChatGPTCreate a new sellable/purchasable item for the authenticated user's organization. Before writing anything, this checks for an existing item with a matching name and refuses to create a duplicate if one is found. If the user didn't provide a description, generate a short, reasonable one from the item name yourself — don't leave it blank. Defaults to itemType SELL and no inventory tracking. By default this only previews what would be created; pass confirm: true to actually write it.
create_vendor
ChatGPTCreate a new vendor (individual or org) for the authenticated user's organization. Before writing anything, this checks for an existing vendor with a matching name or the same phone/email and refuses to create a duplicate if one is found. For well-known vendors (e.g. a national chain), fill in phone/email/address from public information when you know it rather than leaving those fields blank. By default this only previews what would be created; pass confirm: true to actually write it.
get_business
ChatGPTGet the business profile for the authenticated user's organization, including business name, contact info, address, tax and gratuity rates, and lead times.
get_financial_summary
ChatGPTGet a financial summary for the organization: total overdue invoices, outstanding (active) invoices, total expenses, and total income for a given period. Provides a snapshot of AR health.
get_invoice
ChatGPTGet full details for a specific invoice by ID, including line items (with item name, rate, quantity, totals), payments, and notes.
list_expense_categories
ChatGPTList expense categories for the authenticated user's organization. Use this to find the categoryId to pass to create_expense — match the user's description against categoryName.
list_expenses
ChatGPTList expenses for the authenticated user's organization. Supports filtering by date range. Returns vendor name, expense type, amount, category, and dates.
list_income_categories
ChatGPTList income categories for the authenticated user's organization. Use this to find the categoryId to pass to create_income — match the user's description against categoryName.
list_invoices
ChatGPTList invoices for the authenticated user's organization. Supports filtering by status. Returns invoice number, customer name, amounts, status, and dates.
list_items
ChatGPTList sellable/purchasable items for the authenticated user's organization. Use this to find the itemId to pass to create_invoice — match the user's description against itemName. A line item on an invoice doesn't have to come from this list — create_invoice also accepts a custom item name and rate directly.
list_payment_categories
ChatGPTList payment categories for the authenticated user's organization. Use this to find the categoryId to pass to create_invoice_payment — match the user's description against categoryName.
list_vendors
ChatGPTList vendors for the authenticated user's organization. Use this to find the vendorId to pass to create_expense — match the user's description against orgName or firstName/lastName.
payments_report
ChatGPTGenerate a payments report for the organization within a date range. Returns payment details linked to their invoices, including customer name, invoice number, payment type, amount, and dates.
search_customers
ChatGPTSearch customers by name, organization, email, or phone. Uses full-text search powered by Elasticsearch.
update_invoice
ChatGPTUpdate an existing invoice's header attributes (dates, delivery method, terms, discount, status, etc.) — never touches its line items. Any field you omit keeps its current value. Totals are recomputed from the invoice's existing line items plus the resulting discount. By default this only previews the changes; pass confirm: true to actually write them.
update_invoice_items
ChatGPTAdd, update, or delete line items on an existing invoice — never touches header attributes (dates, delivery, terms, etc; use update_invoice for those). Totals are recomputed from the resulting full set of line items plus the invoice's existing discount, exactly like the real app. Deleting a line item is permanent — it is not a soft delete. By default this only previews the changes; pass confirm: true to actually write them.