Alya Books

    Help centre

    Guides for Alya Books and UAE e-invoicing

    Extract and review year-end documents

    Upload the audited financial statements, the prior-year return, loan and lease agreements and schedules; the provider reads each figure the corporate tax computation needs with its page and reference; verify, correct or accept every figure beside its source page; then draft the computation from the documents with every figure annotated and the open items listed.

    The Documents tab of Corporate tax holds the year-end documents of a fiscal year. The provider reads each file into one of the classes of the country pack and takes from it the figures the computation needs, each with the page it is printed on, the printed line and the box, line or note reference. Nothing flows into the computation until a person has accepted the figure: the review happens beside the source page, with a progress count and a banner that stays until every figure is accepted.

    Pick a class (or leave it for the provider to decide) and Upload documents, or Link from the hub to use a file already in the document hub. The classes are data of the pack:

    ClassWhat the provider reads from itExpected when
    Financial statementsRevenue, profit before tax, depreciation, interest expense and income, entertainment, fines, donations, whether the statements are auditedAlways
    Prior-year returnTaxable income, corporate tax paid, tax losses carried forwardOnce an earlier fiscal year exists, or opening losses are set
    Loan agreementPrincipal, interest rate, interest expenseThe ledger carries interest expense
    Lease agreementLease term, annual rentThe ledger carries rent
    Fixed asset scheduleDepreciationThe ledger carries depreciation
    Related-party scheduleRelated-party purchasesThe ledger carries related-party expenses

    The file lands in the hub's Tax returns or Contracts folder with a proposed name in the hub's own style (date, counterparty, type), so Apply on the hub renames it. A document the provider cannot read (a scan without text when no model is connected) is marked Failed with the reason; Extract again retries after you upload a text export or connect a model.

    Review each figure beside its page

    Select a document to see its figures: name, the value as read, the page (click it to open the source panel at that page with the printed line highlighted), the reference (Box 10, Note 7), the provider's confidence and the review state.

    • Verify confirms the value as read.
    • Correct stores a new value beside the extracted one; the draft reads the correction once the figure is accepted.
    • Accept is what lets the figure into the draft. Accept all accepts every remaining figure of the year (or of one document); a corrected value stays the effective one.
    • Back to unreviewed drops a decision.

    The banner above the documents says "12 of 19 verified · 10 accepted" and stays until every figure is accepted; it carries an icon and text, never a colour alone. Re-extracting a document keeps the figures you already verified, corrected or accepted and replaces only the unreviewed ones.

    Draft the computation from the documents

    On the Computation tab tick Draft from documents. The worksheet is the live computation with:

    • the loss carried forward from the prior return when no earlier computation is stored,
    • the prior-year column from the prior return when no earlier year is stored,
    • the audited flag from the statements when the settings do not carry it,
    • the adjustments the documents propose when the ledger carries none of that kind (for example donations printed in the statements but booked nowhere), with the account they would post to,
    • the loan and lease figures as notes.

    Every row carries a source badge: Ledger opens the trace to the accounts and entries (and shows the document figure beside it when one exists), Document p. 3 opens the source list with the page and reference, Stored computation, Settings or Entered say where an option came from.

    The Open items card lists what the preparer still has to settle:

    KindMeaning
    DisagreementThe ledger and an accepted document figure differ beyond the pack's tolerance (the larger of 1 % and AED 100).
    No sourceThe statements are missing, or a figure the uploaded documents should carry was not read or not accepted.
    No evidenceThe ledger carries interest, rent, depreciation or a posted adjustment and no document evidences it.
    Missing prior-year returnAn earlier year exists and no return is uploaded.
    Unmapped accountsAccounts with movement have no computation line.
    Figures not acceptedExtracted figures wait for review and do not flow yet.

    Store the draft keeps the snapshot with its annotations and open items (draft status, signed) and writes the proposed adjustments as rows on the Adjustments tab a person accepts or dismisses. Those rows key on account and kind, so a trial balance re-import leaves them in place.

    Through the API, the MCP server and the assistant

    POST /corporate-tax/documents (a file, contentBase64 or a hub documentFileId, with fiscalYearId and an optional class), GET /corporate-tax/documents?fiscalYearId=, POST …/documents/{id}/extract, GET …/documents/{id}/figures, PATCH /corporate-tax/figures/{id} (status verified, corrected, accepted or extracted, with correctedValue), POST /corporate-tax/figures/accept-all, GET /corporate-tax/draft?fiscalYearId= and POST /corporate-tax/draft/store. MCP: upload_ct_document, extract_ct_document, list_ct_documents, list_ct_figures, review_ct_figure, accept_all_ct_figures, draft_ct_computation. Asked to draft the CT computation, the assistant calls the same draft and reads the open items back.

    Walkthrough

    1. Open Corporate tax → Documents, choose the fiscal year, upload the audited statements and the prior-year return.
    2. Read the extraction state; open each document and walk its figures: click a page, compare the value to the printed line, Verify or Correct.
    3. Accept all when the figures are right; the banner turns to "every figure is accepted".
    4. On Computation tick Draft from documents; read the source badge on each row and the Open items.
    5. Settle the open items (upload the lease, map the account, fix the disagreement) and Store the draft; decide the proposed adjustments on the Adjustments tab.

    Still stuck? Contact support