The customer portal
Invite a customer's contact person to your own portal: they sign in with an emailed link, see the invoices and quotes you sent them, accept or decline a quote, pay an invoice and read their statement of account, and never see anything else.
Your customers' people can sign in to your portal with an emailed link, without a password and without an account in Alya Books. There they see the invoices, credit notes and quotes you sent their company, accept or decline a quote, pay an invoice and read their statement of account.
The first half of this page is for the organisation that invites. From What the person sees on, it describes the portal itself, so it also answers the questions of a person who was invited. No accounting firm is involved: a firm's client portal is described in Using the client portal.
Switch the portal on
The portal is closed until you open it for customers: Settings → Workspace → Portal → Who the portal is open to → Customers. Only owners and admins change this switch. While it is off, the Portal card of a customer reads The customer portal is switched off with the button Open Settings → Portal.
Invite a customer's contact person
Owners, admins and accountants invite and revoke.
- Open Contacts, open the customer and choose the tab Group and portal. The tab is there once the contact is saved; the Portal card shows for a customer (or a customer & supplier).
- In the Portal card click Invite a person. The dialog Invite to the portal opens with the Party Customer and this customer already chosen; neither can be changed here.
- When the customer has people on its People tab, pick one under Contact person: the Email, the Name and the Language are filled from that person. Otherwise leave Someone else and type the Email and the Name.
- Choose the Language (English or Arabic): the sign-in email is written in it. In the portal the person switches the language at the top of every page.
- Under May see, leave ticked what the person may open: Invoices, Quotes, Statements, Payments and Signatures. Every box is ticked when the dialog opens.
- Tick Include the group when the customer is the parent of other customers and this person should also see the records of the customers under it (see Customer groups).
- Send invitation. The toast reads Invitation sent and the card lists the person with the status Invited, the email, May see: … (with Includes the group when you ticked it) and the date.
The person's row menu holds Resend link (a new sign-in link by email) and Revoke (the access ends and the link stops working at once). After the first sign-in the status reads Active. The same people are listed for every customer and supplier together under Settings → Workspace → Portal → Who is invited.
An address speaks for one customer or supplier of your organisation at a time: an address whose access here is live or invited, for another customer, as a supplier's person or as an accounting firm's client contact, is refused, so revoke that access first or use another address. Once the access is revoked, the same address can be invited again, as a customer's or a supplier's person and for any contact. Inviting the same person again for the same customer replaces what they may see. A member of your own organisation cannot be invited (members use the app); a member of another organisation can.
The sign-in link email
The invitation is an email in your organisation's own name and in the person's language. Its subject is your company's name followed by your sign-in link; the message says who invited them, that they can see their invoices and quotes, accept a quote, pay an invoice online and read their statement of account, and carries the link. An invitation made with an API key names the member who made the key, or else your organisation: never the key's label.
- The link works once and expires 15 minutes after it was sent. Resend link sends a new one; the person needs no password.
- You can change the wording: Settings → Documents → Document dispatch → Email templates → the document type Portal sign-in link (a customer's or a supplier's person), in English and in Arabic (see Email templates).
- When no email provider is set up for your environment, the toast says that the invitation was recorded without an email: use Resend link once email works.
What the person sees: the home
The top of the page reads Customer portal with your organisation's name, the language switcher and Sign out. The home greets the person by name, names the customer they speak for and your organisation, and shows one card for each thing they may see:
| Card | Shows | Opens |
|---|---|---|
| Invoices | how many invoices are to pay, the amount outstanding per currency and, when some are late, n overdue; Nothing to pay. otherwise | the invoice list |
| Quotes | how many quotes wait for an answer; No quote to answer. otherwise | the quote list |
| Statements | the balance of the account, read as You owe, In credit or Nothing owed (with With the group when the invitation includes the group) | the statement |
| Payments | how many payments are recorded against their invoices | the invoice list on Paid (each invoice shows its payments) |
| Signatures | how many requests wait for their signature | nothing: the requests are listed under the cards |
Under the cards: Invoices to pay (up to five, each with its number, due date, status and what is outstanding, and All invoices) and Quotes to answer (up to five, and All quotes).
Invoices
Invoices lists the invoices and credit notes you issued to the customer, with the chips All, To pay, Overdue and Paid and a search by number or reference. The columns are Number, Date, Due, Total, Outstanding and Status (and Customer when the invitation includes the group); a line above the table says how many are to pay, how many are overdue and what is outstanding per currency. On a phone the table keeps the number with its due date and status, and what is outstanding with Pay under it.
The status is about money: Unpaid, Partially paid, Overdue, Paid, or Credit note.
Opening an invoice shows three cards:
- Document: the issue and due dates, the customer, the order reference, the customer's own reference, the subject, every line, the subtotal, the tax, the total, what is paid and what is outstanding, the payment terms and the notes. Download PDF in the header gives the invoice as a file, drawn the way it is drawn when you email it.
- Payments: each payment applied, with its date, method, reference and amount.
- Pay this invoice: see the next section. A credit note has no such card.
Pay an invoice
What the person can do depends on your payment gateways (see Online payments) and on whether their invitation includes Payments.
- With an active gateway. The invoice shows Pay AED 3,076.50 (the amount outstanding) in the header and in the card, which says You pay on the secure page of the payment provider; the invoice is marked paid when the provider confirms. The button opens the pay page of Pay by link: the portal uses the invoice's pending payment link, or creates one when none is live. When the gateway confirms, the payment is recorded and posted exactly as any link payment, and the invoice reads Paid in the portal with This invoice is paid. Thank you. The invoice's bank details, when it carries any, stay visible under the button.
- Without a gateway. The card reads Pay by bank transfer: Online payment is not available for this invoice. Pay by bank transfer with the details below. Under it, Bank details as the invoice itself shows them: Account name, Bank, IBAN, BIC and Payment reference, with the reminder to quote the invoice number with the payment. An invoice without bank details reads Ask … how to pay with your organisation's name. You record the transfer on the invoice as usual, and the portal then shows it under Payments.
- Without Payments on the invitation. There is no Pay button; the card reads as it does without a gateway and shows the bank details.
Pay also sits on each row of the invoice list that has something outstanding (when the invitation includes Payments); without a gateway it opens the invoice, where the bank details are. The portal stores no card and charges nothing by itself: every payment is one the person makes on the gateway's page.
A progress invoice whose total includes retention is paid online like any other, for what is due now. The totals show the retention still withheld on its own line, Retention held (not due yet), and Outstanding and the Pay button leave it out. Once what is due now is paid the invoice reads Paid; when you release retention, the released part becomes due and the invoice reads Partially paid with Pay for that part. See Progress invoicing and retention.
Quotes
Quotes lists the quotes you sent, with the chips All, To answer, Accepted, Declined and Expired and a search by number or subject. The statuses read To answer, Accepted, Declined, Expired and Invoiced (the quote became an invoice).
Opening a quote shows the Document card (the dates, Valid until, the customer, the subject, your introduction, the lines, the totals, your closing text, the payment terms and the notes) and Download PDF. While the quote can be answered, the header and the card Your answer offer Accept and Decline.
Accept a quote
- Accept. The dialog Accept quote QT-0012 names the amount and says that your organisation keeps a copy of exactly what was accepted, with the name, the time and the address.
- The person types Your full name (at least three characters) and ticks the box I have read the quote and accept it; I understand this has the same effect as my handwritten signature. Without the name the dialog reads Type your full name.; without the tick, Tick the box to accept.
- Accept the quote. The toast reads Quote accepted, the quote reads Accepted and the page shows Accepted by … on … and the card Acceptance: Accepted by, Typed name, Accepted at and the Document hash.
What you keep as evidence:
- The exact copy. The quote is drawn as a PDF at the moment of the click and stored in your document hub; its SHA-256 hash is the Document hash the person sees.
- A signed signature request of the kind acceptance on the quote, with the person as its only signer: the typed name, the time, the network address and the browser, kept as a signature event nobody can change or delete, with a certificate and a signed copy (the accepted pages plus a certificate page).
- The same status change as Mark accepted. The quote's Document trail records it and your workflow rules on a status change run, as when a member marks the quote accepted.
On your side the quote's page shows the note Accepted online: who accepted it in the customer portal and when, the typed name when it differs from the person's name, and Open the signature request, which opens the request with its Document, Signers and History cards and the signed copy. See Quotes.
If you change the quote after the person opened it, their acceptance is refused and the page reads The quote changed after you opened it. Read it again before you answer.: what was read is what is accepted.
Decline a quote with a reason
Decline opens Decline quote QT-0012, which says that your organisation is told that they declined and why. The Reason is required (3 to 500 characters; otherwise Give a reason of at least three characters.). Decline the quote: the toast reads Quote declined, the quote reads Declined and the page keeps This quote was declined: followed by the reason.
A decline is not a signature. It sets the status as Mark declined does and keeps the reason on the quote; who declined, from which address and with which browser is in your audit log.
Who is told
The member who wrote the quote gets a notification, Quote accepted online or Quote declined online (the decline with its reason), which opens the quote. When that person is no longer an active member, the owners and admins get it instead. The webhooks quote.accepted and quote.declined are sent to your endpoints (see Webhooks).
A quote that can no longer be answered
A quote already accepted or declined, one past its Valid until date, or one you converted shows where it stands as a calm note, never an error: This quote expired on … Ask … for a new one., or This quote was accepted and has become an invoice. Once the invoice made from an accepted quote is issued, the Acceptance card links to it.
The statement
Statement is the customer's statement of account with you. From and To set the period (the year to date at first). The page shows the Opening balance, what was Invoiced, what was Paid and credited and the Closing balance, then every line with its date, document, kind, due date and a running balance, and Open items: what is still unsettled. An invoice's number opens the invoice (when the invitation includes Invoices). Download PDF gives the same statement as a file, with each line's document, kind and amounts. When To is before From the page reads The end date is before the start date.
When retention is withheld from the customer at the end date, one line under the Closing balance reads Retention withheld, not yet due with the amount. It is not part of the balance.
When the invitation includes the group and the customer has customers under it, the switch Include the group shows and starts on: Every company under … on one statement. Each line then names its customer, and the card Companies on this statement lists every company of the group with its balance. Switch it off to read the customer's own account. Without the group on the invitation the switch is not there.
Contracts
A person whose access includes Signatures also sees the contracts you sent their company. There is no box of its own under May see: the contracts come with Signatures. A person invited only to sign a contract sees nothing but this.
- On the home the card Contracts reads 1 to sign while a contract waits for the person's signature, and n contracts otherwise. Under the cards the list Contracts names each contract with its number, name and status, the ones marked To sign first, and View all.
- Contracts lists them with the chips All and To sign and a search by number or name. The columns are Contract, Period, Version and Status. Version names the version in force with the badge In force; an amendment that still waits for its signature stands on a line of its own with its status. Only a contract with a version you sent or that was signed appears: a draft never does.
- Opening a contract shows The contract (its name, Your side, when it starts and ends, the currency), The document (the PDF of the version in force or of the one sent for signature; the signed copy once there is one), the Versions that were sent or signed with their dates, and Your signature.
- Signing. While a request waits for the person, the card Your signature reads … asks you to sign version 1 of this contract. with Sign. It opens the signing page: the document with its SHA-256, the signers in order, the full name and the consent box. A person whose turn has not come reads who signs first. When nothing waits, the card reads Nothing waits for your signature on this contract.
- An amendment arrives the same way: the contract reads To sign again for version 2, and its page lists both versions.
- An approval you asked for (a statement and a figure, answered Yes or No) is listed under Waiting for your signature on the home, like any signature request.
The address of another customer's contract, or of one never sent, reads This contract is not available, exactly like one that does not exist. See Contracts as documents and Signatures and approvals.
What a customer can never see
- Another customer's records. Every page reads only the customer the invitation names. An address of another customer's invoice or quote answers not found, exactly like one that does not exist.
- A draft. Invoices and credit notes appear once issued; archived, replaced and test documents never appear. Quotes appear once sent; a draft or a cancelled quote never does.
- The rest of a group. Without Include the group, a parent's person sees the parent only. A child's person sees that child (and what is under it, with the group included), never its parent or its sister companies.
- Your books. The statement carries each line's document and amounts and never the ledger's own references: no entry number, account, description or matching reference. An invoice's status says whether it is paid, not where it stands in the e-invoicing network.
- The app. A portal sign-in opens the portal's pages only; every other page and every API route of the app refuses it. The invoice, the quote and the statement are drawn as files for the person on request, never handed out as a storage link.
- What they were not invited to. A box left unticked under May see removes its card and its pages. A supplier's person or an accounting firm's client contact cannot open the customer pages at all.
When access ends
Revoke in the person's row menu on the customer's Portal card (or Revoke access under Settings → Workspace → Portal) ends the access at once; the row then reads Revoked, and the same address can be invited again, for this customer, for another or as a supplier's person. Switching Customers off under Who the portal is open to closes the portal for every customer's person until it is switched on again.
Walkthrough
- Settings → Workspace → Portal: switch Customers on.
- Contacts → Gulf Group Holdings → Group and portal → Invite a person → Email
mariam@gulfgroup.example, Name Mariam Al Suwaidi, every box under May see ticked → Send invitation. The card lists Mariam as Invited. - Send the customer a quote, QT-0012 for AED 3,150.00, and issue an invoice to them.
- Mariam opens the link in the email: the home reads Hello Mariam Al Suwaidi, for Gulf Group Holdings, with Invoices
1, Quotes1and her balance under Statements. Your card now reads Active. - She opens the quote under Quotes to answer, reads it, clicks Accept, types her full name, ticks the box and clicks Accept the quote. The page reads Accepted with the Acceptance card.
- You get the notification Quote accepted online; the quote's page shows Accepted online with Open the signature request. Click Convert to tax invoice and issue the invoice.
- Mariam opens the new invoice under Invoices to pay and clicks Pay AED 3,150.00. With a gateway she pays on the pay page and the invoice reads Paid; without one the card shows Pay by bank transfer and your bank details.
- She opens Statement: the invoice and the payment are both there, the Closing balance is what she still owes, and Download PDF gives the file.
API and webhooks
The portal's own routes (/portal/…) serve the signed-in person only: an API key and an AI assistant cannot call them, and a portal sign-in cannot call the rest of the API. As a member you list and invite the people with GET and POST /portal-contacts (party customer) or the assistant's list_party_contacts and invite_party_contact. The webhooks quote.accepted and quote.declined carry the quote, the customer and, for an acceptance, the signature request and the hash of the accepted copy.