Ask the assistant
Chat with your books: the assistant reads the ledger, documents and tasks through the same tools the API uses, links every answer to its sources, knows the record on your page, follows your organisation's instructions, scores the health of the books, explains a statement's changes, answers questions about the software, and never posts anything without your approval.
The Assistant button in the top bar (the robot icon) opens a panel on the side of every page. Ask in English or Arabic about anything in your books: total AR and a chart, how healthy are the books, why is this flagged, create a journal for the March rent. The assistant reads your data through the same functions the app and the API use, under your role: a viewer gets read-only answers, an accountant can be offered changes, and nothing changes until you approve it.
What it reads, and how you see it
Every answer shows its work:
- Tool calls: one row per tool the assistant ran (the same tools an AI connected over MCP would use), with its parameters and the result in a word (12 rows, preview: 1 record would change, refused: period_locked). Open a row to read the exact arguments. There is no hidden step.
- Sources: the records the answer relied on, as links (an invoice, a journal entry, a bank line, a statement). Click through to check the figure yourself.
- Chart: when the question asks for one (AR and a chart, revenue by month), the profit and loss runs month over month and the panel draws the columns.
The assistant can read everything your role can read: statements and the report library, the trial balance and general ledger, receivables and payables ageing, invoices, bills, expenses, bank lines and the review queue, schedules, fixed assets, loans, budgets, documents, close periods, tasks and findings, VAT returns and corporate tax computations.
Action cards: changes you approve
When you ask for a change (post this invoice, create a journal: debit 6100 rent 1,500 credit 1100 dated 2026-03-15, categorise this line to utilities), the assistant does not change anything. It runs the write tool once, which answers a preview (the same preview every write shows), and the panel renders it as an action card: the records that would change with before and after, the period impact and any warnings.
- Approve applies the change with the card's token. The record changed since the preview? The card says so and you ask again. The token lasts ten minutes.
- Edit puts the request back in the box so you can correct it; the assistant prepares a new card.
- Dismiss discards the card. Nothing ran.
The posting carries the attribution Assistant on behalf of you in the audit log and lands in a change batch you can undo in one step from Compliance → Batches (a tab of its own beside Audit Trail). A change dated in a locked period never posts: it becomes a proposed change on the close checklist for an approver, and the card says so. Sending and filing tools (send an invoice, file a VAT return, submit to the FTA) are blocked for the assistant unless an admin allows them under Settings → AI.
It knows the page you are on
Open an invoice, a bill, an expense, a journal entry, a bank line, a contact, an account, a close period or a document and the panel says On this page: Invoice. Then post this, why is this flagged, what is still open on it need no number: the assistant reads a compact summary of the record (totals, status, what is open, the posting error if any, the open close findings on it) before it answers. Files you attach from the document hub are summarised the same way, and the answer cites the file by name and lists it among its sources.
Organisation instructions
Owners and admins write instructions under Settings → AI: the tone and the policy the assistant follows in every chat (answer briefly, quote invoice numbers, never suggest changing a VAT treatment). They sit in the system prompt of every conversation of every member. Procedures (how we close the month) are skills, not instructions: see Ledger tools for assistants.
The same tab holds the assistant switch (off hides the panel for everyone, conversations are kept), the model tier (Fast or Powerful, labelled by what you get, never by a vendor's model name), the tool policy per tool (always runs without a card, ask is a card you approve and the default for every write, blocked hides the tool) and this month's usage: every call to the provider is metered from day one, so you can see what the assistant would cost before any charge applies.
Without the AI add-on the assistant still works: it answers deterministically from your data (a question naming a report runs it and summarises the top rows; a request for a change prepares the matching card) and the panel says so. No model is called.
Books health
The dashboard shows a Books health card: a score out of 100, the top findings and a cleanup estimate in minutes. The findings come from the ledger check (the doctor), the open close findings, negative cash or bank balances, a balance on the suspense account, bank lines waiting in needs review, documents that did not post, reconciliations with a difference and duplicate counterparties. Each finding carries one sentence on how to fix it, and Fix opens the page with the record highlighted (the flagged account on the trial balance, or the row of the ledger check); the minutes per finding kind are data from the country pack (health_effort.csv), so an adviser can disagree with a figure. Ask how healthy are the books and the assistant answers from the same function.
Insights on a statement
Under Reports → Financial statements, the Insights panel sits beside the statement. It lists, deterministically, every row that moved more than the close materiality against the comparison column (amount and percent), flipped sign, appeared or disappeared, dominates its section, or broke its trend over the last three months, with the largest entries behind each. A lightbulb marks the row in the table; hover to read the insight. Above the list, the narrative writes the summary, the risks and the opportunities from those rows (templated without the add-on, written by the model with it). Ask the assistant hands the statement to the chat for a year-over-year question; in the chat, how did revenue change against last year, vs last year or year over year runs the insights against the previous year and the answer names each row above the materiality with its variance.
Ask about the software
Help → Ask about the software opens the panel in help mode. A question about using Alya Books (how do I file the VAT return, where do I set the lock date) is answered from the help pages in your language, with links to read more. When nothing matches, the assistant says so and offers Contact support.
Search from anywhere
The Search field in the top bar opens the search on every page; so does Ctrl K (⌘K on a Mac). One box searches the records of your organisation and the pages of the app.
- Press Ctrl K or click Search.
- Type an invoice number, a name or an amount. Results appear as you type, grouped by kind (Invoices, Bills, Contacts, Journal entries …), each with its status, date and amount. Under them, Pages lists the pages of the app that match.
- Press Enter on a row, or click it, to open the record or the page.
What it searches: invoices, credit notes, quotes and other sales documents, bills, expenses, journal entries, contacts, items, documents, bank transactions, projects, close tasks and spend requests (by number, justification and line description). A firm also finds its clients, jobs, tasks, held mail and client questions. You only ever find what your role lets you open: a member who is not an owner, admin or accountant finds only the spend requests they raised or are asked to approve.
You can write the search in plain words. It understands:
| You type | It reads |
|---|---|
over 2,000, under 500, between 1,000 and 5,000 | an amount range |
1,250.00 | that exact amount |
october, oct 2026, 2026-10, 2026-10-14, this month, last month, this year, last year, today, yesterday | the date or the month |
bills, invoices, credit notes, quotes, expenses, journals, contacts, items, documents, projects, tasks, spend requests | the kind of record |
unpaid, overdue, paid, draft | the payment state of an invoice, a credit note or a bill |
from Al Noor, to Al Noor, for Al Noor, by Al Noor | the customer or supplier |
So unpaid bills from Al Noor over 2,000 lists exactly those bills. Every other word must appear in the record. In Arabic the search reads the amount words (أكثر من, أقل من), the payment states, the kinds and the name after من; write a month as 2026-10.
When nothing is found, the list says No record or page matches. Press Enter to ask the assistant. and Ask the assistant: your words is the first row. Press Enter: the assistant panel opens with your words as the first message of a new chat. The same row sits at the bottom of every result list, so a question such as why did rent double in October can go to the assistant at any time.
Saved prompts
A saved prompt is an instruction you run again and again with one click, on the record or the text in front of you. The Prompts button appears in four places:
- on an invoice, in the page header;
- on a bill, in the page header;
- in the firm's client messages: the Ask the client dialog and the dialog of a client question;
- on each comment of the flux analysis in the close (Final review, flux and footnotes).
Five prompts come with the pack:
| Prompt | Appears on | The answer |
|---|---|---|
| Summarise | everywhere | is copied to the clipboard |
| Translate to Arabic | client messages, invoices, bills, flux comments | is inserted into the field |
| Translate to English | client messages, invoices, bills, flux comments | is inserted into the field |
| Draft a reply | client messages | is drafted as a reply |
| Explain the variance | flux comments | is inserted into the field |
To run one:
- Click Prompts and choose a prompt. The button reads Running “name”… while the assistant works.
- The answer goes where the prompt says: Insert into the field puts it into the field beside the button (the notes of an invoice or a bill, the message, the comment); Draft a reply puts it into the reply; Copy to the clipboard copies it, with the toast The answer was copied.
- Read it and change it: nothing is saved or sent until you save or send as usual.
On a record you cannot edit (an issued invoice, for example), every answer is copied to the clipboard instead. A run is one assistant turn and counts in this month's usage like a chat message. Without the AI add-on the answer is deterministic: a translation only swaps a few fixed phrases and says so.
Your own prompts. Settings → AI → the Prompts tab (or Manage prompts at the bottom of the menu) lists the defaults, the organisation's prompts and yours, with the filters All, Defaults, Organisation and Mine.
- Click New prompt.
- Fill in Name, Prompt (what the assistant should do, in plain words), Where it appears and What happens with the answer.
- Under Who can use it choose Only me, or Everyone in the organisation if you are an owner or admin.
- Save. The prompt is in the menu at once.
Two prompts may share a name: a new prompt named like one you already have is saved as a prompt of its own, beside the first. A new prompt named like a default (Summarise, for example) is also saved as its own prompt and leaves the default as it is. To change a default, use its Customise action instead.
Who may do what:
- Every member runs the prompts and keeps prompts of their own (Only me).
- An owner or admin saves, edits and deletes the organisation's prompts.
- An owner or admin can Customise a default: the copy replaces the default for everyone in the organisation. Delete the copy and the default comes back.
Where an answer comes from
Under an answer you find Where this comes from: a numbered list of what the answer rests on. The numbers in the text, such as [1], point at the rows of the list. The list appears in three places:
- under each answer of the assistant;
- under the narrative of the Insights panel on Reports → Financial statements;
- under each comment of the flux analysis in the close.
Each row is one of four kinds:
| Kind | What it shows |
|---|---|
| Record | a record the answer read (an invoice, a bill, a contact), as a link |
| Ledger lines | how many ledger lines stand behind a figure and for which dates, with a link to the general ledger of the account |
| Calculation | the arithmetic written out, for example October 2026 AED 18,400.00 minus September 2026 AED 12,100.00 = AED 6,300.00 |
| Report figure | the cell of a report the answer read, with its value |
A long list shows three rows; Show all opens the rest.
The citations of a flux comment are not written by the model. The system writes them from the ledger when the comment is drafted: the ledger lines of the account in the period, the lines in the comparison period, and the calculation between the two figures. So you can re-perform every comment yourself: open the two sets of lines and check the subtraction. In an assistant answer, a reference the assistant cannot tie to something it actually read is dropped.
What it never does without you
- It never posts, sends, submits, deletes or edits anything on its own: every write is a card you approve, or a proposal an approver decides.
- It never exceeds your role: a viewer's assistant has no write tools at all.
- It never routes around a refusal: a locked period, a missing permission or a changed record is explained with its code and the next step, and left to you.
- It never hides a step: every tool call and its parameters are in the transcript, every answer lists its sources.
Over the API and MCP
Developers reach the same assistant with an API key: POST /assistant/conversations, POST /assistant/conversations/{id}/messages (the answer, the tool calls, the sources, the action cards), the card routes …/cards/{cardId}/approve and …/dismiss, POST /assistant/help, GET /ledger/health, GET /reports/statements/{key}/insights, GET /settings/ai, PATCH /settings/ai and GET /settings/ai/usage. Over MCP, get_books_health and get_report_insights read the same functions; the assistant itself is not an MCP tool.
The search and the saved prompts have their own routes: GET /search?q= (the answer says how the words were read under parsed, and handoff is true when nothing matched), GET /assistant/prompts, POST /assistant/prompts, PATCH and DELETE /assistant/prompts/{id} and POST /assistant/prompts/{key}/run. Every assistant message carries its citations. The MCP tools are search, list_assistant_prompts, run_assistant_prompt and save_assistant_prompt; the last two ask before they run.
Walkthrough
- Open the dashboard: the Books health card shows the score and the estimate. Open the assistant and ask how healthy are the books: the answer lists the same findings with minutes, and the tool row shows
get_books_health. - Ask total AR and a chart: the transcript shows
get_aged_receivablesandget_financial_statementwith their parameters, the answer names the customers and their balances, the chart draws the months, and the sources link to the invoices. - Open an invoice and ask why is this flagged: the panel says On this page: Invoice; the answer reads the invoice without you naming it and quotes its open findings or its posting error.
- Ask create a journal: debit 6100 rent 1,500 credit 1100 dated 2026-03-15: an action card shows the two lines and the period impact. Press Dismiss: nothing posted. Ask again and press Approve: the entry posts, attributed to the assistant on your behalf, and the card links to the change batch.
- Switch to Arabic with the language switcher: the panel docks on the left, the answer and the card read right to left.
- Settings → AI: write an instruction (always quote the invoice number), ask the same question again and see the number quoted. Read this month's usage: one call per answer.
- Reports → Financial statements, this year with previous year: the Insights panel lists the rows above the materiality with the entries behind them; the table marks them; Ask the assistant opens the chat with the statement.
- Help → Ask about the software: ask how do I lock a period; the answer quotes the help page with a link. Ask about something that does not exist; the answer offers Contact support.