# What the AI can do

> Every tool, and the permission it needs.

These are the tools Morzepay gives an AI app. The app only sees the tools allowed by the permissions you granted when you connected. Amounts are whole Ugandan shillings.

| Tool | What it does | Permission |
| get_account | Which business and mode (live or test) the connection uses, and what it may do. | Any |
| list_invoices, get_invoice | Find invoices by status, customer, number or reference; get one with its payment link and PDF. | invoices:read |
| get_invoice_summary | What’s outstanding, past due and paid this month, with the overdue invoices. | invoices:read |
| search_customers | Customers you’ve invoiced before, with their saved email, phone and address. | invoices:read |
| create_invoice | Create an invoice as a draft (the default), finalize it, or send it by email and/or SMS. | invoices:write |
| update_invoice, finalize_invoice | Edit a draft; give it its number and payment link. | invoices:write |
| send_invoice | Email the PDF with a pay button and/or text the link. Also used for reminders. | invoices:write |
| mark_invoice_paid | Record a cash or bank payment and issue a receipt. | invoices:write |
| void_invoice, delete_draft_invoice | Cancel an open invoice; delete a draft. | invoices:write |
| list_receipts, get_receipt | Find receipts; get one with its link and PDF, or create the receipt for a mobile money collection. | transactions:read |
| email_receipt | Email a receipt to the payer or another address. | invoices:write |
| create_payment_link | A hosted page with a fixed price, line items, or an amount the payer types. Reusable or one-time. | checkout:write |
| list_payment_links, get_payment_link | Links with how many payments each took and how much it collected. | checkout:read |
| deactivate_payment_link | Stop a link from taking payments. | checkout:write |
| list_wallets | Wallets and sub-wallets with balances, so invoices and links can pay into a specific one. | wallets:read |
