# The supplier portal

> Invite a supplier's contact person to your own portal: they sign in with an emailed link, see the purchase orders you sent them, upload a bill against an order as a draft for you to review, follow its payment and read the remittance, and ask for a change to their bank details, which waits until a member who may move money approves it.

Source: /help/en/portal/supplier-portal

Your suppliers' 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 purchase orders you sent their company, upload a bill against an order, follow what you have paid and read each remittance advice. They also see the contact details and bank accounts you hold for them, and ask for a change. A bill they upload is a draft for you to review, and a bank change applies only once a member approves it.

The first half of this page is for the organisation that invites. From [What the person sees](#what-the-person-sees-the-home) on, it describes the portal itself, so it also answers the questions of a person who was invited. The customer's half of the same portal is described in [The customer portal](/help/en/portal/customer-portal).

## Switch the portal on

The portal is closed until you open it for suppliers: **Settings → Workspace → Portal** → **Who the portal is open to** → **Suppliers**. Only owners and admins change this switch. The supplier portal is part of the Professional and Enterprise plans; on another plan the switch is disabled beside the badge *In Professional*. While the switch is off, the **Portal** card of a supplier reads *The supplier portal is switched off* with the button **Open Settings → Portal**. On a plan without the supplier portal the card says so instead, *The supplier portal is not in this plan*, names your plan and carries the badge *In Professional*.

The card **Supplier bank details** on the same page holds the two settings described in [Bank details and why a change waits](#bank-details-and-why-a-change-waits).

## Invite a supplier's contact person

Owners, admins and accountants invite and revoke.

1. Open **Contacts**, open the supplier and choose the tab **Group and portal**. The tab is there once the contact is saved. For a supplier (or a customer & supplier) it holds the **Portal** card, the **Bank accounts** card and the **Change requests** card.
2. In the **Portal** card click **Invite a person**. The dialog **Invite to the portal** opens with the **Party** *Supplier* and this supplier already chosen; neither can be changed here.
3. When the supplier 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**.
4. 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.
5. Under **May see**, leave ticked what the person may open: **Purchase orders**, **Bills**, **Remittances**, **Your details** and **Signatures**. Every box is ticked when the dialog opens.
6. **Send invitation**. The toast reads *Invitation sent* and the card lists the person with the status **Invited**, the email, *May see: …* and the date.

The person's row menu holds **Resend link** and **Revoke**. After the first sign-in the status reads **Active**. Every customer's and supplier's person is also listed under **Settings → Workspace → Portal** → **Who is invited**. The sign-in email is the one of the customer portal (the document type **Portal sign-in link (a customer's or a supplier's person)** under **Settings → Documents → Document dispatch** → **Email templates**); its link works once and for 15 minutes.

An address speaks for one customer or supplier of your organisation at a time. An address whose access is live or invited is refused as another customer's or supplier's person: revoke that access first, or use another address. Once the access is revoked, the same address can be invited again, as a supplier's or a customer's person and for any contact. A member of your own organisation cannot be invited (members use the app); a member of another organisation can.

## What the person sees: the home

The top of the page reads *Supplier portal* with your organisation's name, the language switcher, **How to use the portal** (this page) and **Sign out**. The home greets the person by name, names the supplier they speak for and your organisation, and shows one card for each thing they may see:

| Card | Shows | Opens |
|---|---|---|
| **Purchase orders** | how many orders are open; *No open purchase order.* otherwise | the order list |
| **Bills** | how many bills are unpaid and what is outstanding per currency, and *n waiting* while bills wait for your review | the bill list |
| **Remittances** | how many payments you made, and *Last: AED 1,260.00 on …* | the remittance list |
| **Your details** | how many bank accounts are on file, *n change waiting* while a change waits, and *Payments on hold* when you hold payments | the details page |
| **Signatures** | how many requests wait for their signature | nothing: the requests are listed under the cards |

Under the cards: **Open purchase orders** (the five newest, each with its number, expected date, status and total, and **All purchase orders**) and **Your latest bills** (the five newest, and **All bills**).

## Purchase orders

**Purchase orders** lists the orders you sent the supplier, with the chips **All**, **Open** and **Billed** and a search by number or reference. The columns are **Number**, **Date**, **Expected**, **Total** and **Status**; a line above the table says how many are open and how many are billed. The status reads **Sent**, **Open**, **Partly billed** or **Billed**. A draft, a cancelled order and an order whose approval is still waiting or was declined never appear.

Opening an order shows:

- **Order**: the issue and expected dates, the reference, **Deliver to**, the notes, every line with **Ordered** and **Billed** (*3 of 10 billed*), the unit price and the net, and the subtotal, the tax and the total. **Download PDF** in the header gives the order as a file, drawn as it is drawn when you email it.
- **Bills against this order**: each bill linked to it, with its status.
- **Upload a bill**: *Send your bill for this order: … receives it as a draft to review.* with the button **Upload a bill**. A fully billed order reads *This order is fully billed: no further bill can be uploaded against it.*

## Upload a bill

**Upload a bill** (on an order, on the bill list or on the home) opens the page *Send a bill to …: it arrives as a draft for them to review*.

1. **Files**: **Choose files**. The invoice first, then any supporting pages: PDF, image, XML, Word, Excel or text, ten files at most. The first file is marked *The invoice*.
2. **Purchase order**: the order the bill is for, or **No purchase order**. Only orders that can still be billed are listed; opened from an order, that order is already chosen.
3. **Your bill number**, **Bill date** and **Total** (the total with tax, in the currency of the bill).
4. **Send the bill**. The page reads *Bill received* and *… has your bill … as a draft to review.*, with **Open the bill** and **Upload another bill**.

When the file could not be read yet, the page adds *The file is waiting to be read: … already has it with what you typed, and reads it itself.* The file is tried again automatically: first at the next quarter of an hour, then at growing intervals, eight tries over about a day and a half. When it is read, the draft takes its lines by itself; after the last try a person at the organisation reads the file or completes the bill by hand. The upload is checked before any file is stored: a bill number already received from the supplier (*This invoice number was received from you already*), an order that is billed in full, or a missing number or total is refused at once, and nothing is stored. A corrected invoice goes under a new number.

## You review the draft

An uploaded bill arrives under **Incoming Invoices** with the status **To review**, exactly like a bill that came by email or over the network. It is a draft: **nothing accepts it by itself**. Your validation rules, your workflow rules and your bill approval tiers meet it at your own steps, and nothing is posted until you accept it.

- The bill page shows the line **Uploaded by the supplier in the portal** and, after *What the supplier typed:*, the **Number**, the **Date** (only when the supplier typed one) and the **Total** the supplier entered, so you can compare them with what the file reads.
- When the reader read the first file as an invoice, the draft carries what it found. When the file waits to be read, the draft carries what the supplier typed and the note *The file has not been read yet: read it and add the bill's lines from it; the draft carries what the supplier typed.* The file is under **Files** on the bill's **Document** card.
- A file that waits is tried again automatically: first at the next quarter of an hour, then at growing intervals, eight tries over about a day and a half. The note shows where the file stands, for example *Waiting to be read. Tried 2 of 8 times; next try …*. When the file is read as an invoice, the draft takes the header and the lines by itself and the note goes; lines you entered meanwhile are not overwritten. Reading the file yourself in the document hub (**Read with AI**) fills the draft the same way, at once.
- After the eighth try the file is not tried again. The notification *A file could not be read* opens the draft, and the note becomes a warning: *The file could not be read after 8 tries and is not tried again. Read it from Documents (Read with AI), or add the bill's lines by hand; the draft carries what the supplier typed.*
- Where the reader found no amount, the draft shows the total the supplier typed, with a warning in its validation report to check it. A bill with no lines read cannot be accepted until you add its lines: the page says *No lines were read from the file yet*, and **Accept** is refused with *This bill has no lines yet* and that next step.
- The bill names its purchase order (**From purchase order**) when the supplier chose one. An order the bill cannot be linked to, for instance one in another currency, is said on the draft instead of refusing the upload. The order stays open, not billed, until you accept the uploaded bill; a draft waiting for your review never marks it billed.
- The files are filed in the document hub in the folder **From suppliers**, which is shared with nobody outside.
- The webhook `supplier_bill.uploaded` is sent to your endpoints (see [Webhooks](/help/en/account-and-setup/webhooks-overview)).

Then decide as for any bill: **Accept** or **Reject** (see [Review, accept or reject an incoming invoice](/help/en/incoming-invoices/review-accept-reject)).

### A rejected bill and the message to the supplier

The reason you give when you click **Reject** stays internal: the supplier never reads it. On a rejected bill the page shows the field **Message to the supplier**: write what the supplier should read (*For instance: the order number is missing; please upload the bill again with it.*), at most 1,000 characters, and click **Save the message**. The toast reads *Message saved*.

In the portal the bill reads **Rejected** with *This bill was rejected* and, under *Message from …*, your message. Without a message it reads *… left no message. Contact them if you do not know why.*

## Bills

**Bills** lists the bills received from the supplier, with the chips **All**, **Waiting**, **Unpaid**, **Paid** and **Rejected** and a search by number or order. The columns are **Number**, **Received**, **Due**, **Total**, **Outstanding**, **Status** and **Payment**; a line above the table says how many wait for review and how many are unpaid.

The list holds every bill received from the supplier, whether it was uploaded here, emailed or sent over the network, and every bill you recorded yourself once it is no longer a draft. The status reads **Received** (a draft waiting for you), **In review**, **Accepted**, **Rejected**, **Closed** (archived) or **Cancelled** (voided). An accepted bill also shows its payment: **Unpaid**, **Partially paid**, **Paid** or **Overpaid**.

Opening a bill shows the received, bill and due dates, the purchase order, *Uploaded in this portal* when it was, the total, what is payable, paid and outstanding, **Files** (the files the supplier uploaded) and **Payments** (each payment with its date, method, reference, amount and a link to its remittance advice).

## You pay, the supplier reads the remittance

You pay the bill as any bill: **Record payment** on the bill page, or a [batch](/help/en/bills/pay-bills-in-a-batch). The payment is stamped with the supplier's default approved bank account of that day.

In the portal the bill then reads **Accepted** with **Paid** (or **Partially paid**), and **Remittances** lists the payment with its **Date**, **Bill**, **Method**, **Reference** and **Amount**, with **From** and **To** dates. Opening a payment shows the **Remittance advice**: **Paid by**, **Paid to**, the payment date, method, reference and amount, any amount withheld, *Paid to the account ending 3456* (with the bank's name when it is on file), the bill with its date, total and what is still outstanding on it, the purchase order, **The advice as sent** (the text of the remittance email) and **Other payments in the same run** for a batch. **Download** gives the advice as a file.

## Bank details and why a change waits

A supplier's bank accounts are on the **Bank accounts** card of its **Group and portal** tab. Each account shows its status (**Waiting for approval**, **Active**, **Rejected** or **Retired**), **Default** on the account payments go to, *Ending 3456*, who approved it and when. **Show the full number** reveals the whole IBAN or account number to a member; **Show retired and rejected** lists the accounts that ended.

**Nobody edits a bank account directly.** Every new, replaced, retired or default account is a request that waits, whether a member asks for it or the supplier asks in the portal:

- **You ask.** On the **Bank accounts** card click **Add or change** (or **Replace**, **Retire** or **Make default** in an account's row menu). In **Change a bank account** choose **What to change**, then the **Account** it concerns, and fill **Account holder**, **IBAN** or **Account number**, **SWIFT / BIC**, **Bank**, **Country**, **Currency** and **Default account**. Add a **Note for the approver** and a **Supporting document** (for instance a letter from the bank on its letterhead) when you have one; you pick it from the document hub. **Send for approval**: the toast reads *Sent for approval*. An IBAN whose check digits fail is refused with *This IBAN does not look right: check its letters and digits.*
- **The supplier asks.** In the portal, **Your details** → **Bank accounts** → **Request a bank change** opens the same choices with a **Supporting document** (PDF or image), which is uploaded with the request and filed in the hub folder **From suppliers**; the request names it (*Supporting document: …*), and you open it in the hub. **Send the request**: the request waits for you, and the person can **Withdraw** it while it waits.

One bank change waits at a time per supplier; **Add or change** and **Request a bank change** are disabled meanwhile.

### Who approves

- A bank change is approved by **members who hold the money movement class** (owners and admins in the standard roles; see [Client groups and access](/help/en/firm/client-groups-and-access)), **never by the person who asked**.
- **One or two approvals**, by **Settings → Workspace → Portal** → **Supplier bank details** → **Approvals needed**: **One member** (the default) or **Two members**. With two, a second member approves after the first; the card reads *1 of 2 approvals* and the toast after the first approval reads *Approval recorded: a second member must approve too*. Two approvals are never asked of fewer members than may give them: with only one member besides the requester, one approval settles it.
- When the person who asked is the only member who may approve, they may approve their own request, and the card says *You are the only member who may approve this change, so you may approve your own request.* Once another member may approve, the requester can no longer approve their own request.
- Approve or reject on the supplier's **Change requests** card (**Approve**, or **Reject**, which asks for a **Reason**), or in **Approvals**, where the row *Bank details change* shows the current details beside the ones asked for. A replacement of the default account lists no **Default account** row: the new account takes the default over when it is approved. A member who may approve sees the buttons; the person who asked sees none.
- An agent, the assistant and a workflow rule never decide; an API key decides as the member who created it, and no AI assistant tool approves. When nobody may approve, the request is refused (`tier_without_approver`): invite a member who holds the class first.

A rejection keeps its reason on the request, and a supplier who asked in the portal reads it there. **Withdraw** ends a waiting request without changing anything; the member who asked, an owner or an admin may withdraw it.

### Payments wait meanwhile

While a bank change waits and **Hold payments while a change waits** is on (the default), money does not go to that supplier:

- **Record payment** on any of its bills is refused with *Payments to this supplier are held while a change to its bank details waits for approval.*
- A [payment batch](/help/en/bills/pay-bills-in-a-batch#a-supplier-whose-bank-change-is-waiting) skips its bills with the reason *Held: a change to the supplier's bank details waits for approval* and pays the rest.
- The **Bank accounts** card reads *Payments to this supplier are held*, and the supplier's **Your details** page reads *Payments are on hold*.

Any waiting bank change holds, an added account included: the question is whether you know where to send money. A bank line already booked and matched to the bill is still recorded, because that money has left; a vendor credit and a refund from the supplier are not held. Approving, rejecting or withdrawing the change lifts the hold. Switching the setting off pays the account already on file while a change waits.

### The previous address is told

Once a change is approved, an email goes to the supplier's email address as it stood when the change was asked for (for a change of the email address itself, the old one). It names what changed and the account by its last four characters, and tells the reader to contact you, using contact details they already know, if they did not ask for it. The request then reads *The previous address was told on …*; a failure reads *The notice to the previous address could not be sent:* with the reason. The wording is yours to change: **Settings → Documents → Document dispatch** → **Email templates**, the document type **Bank or details change notice (to the supplier's previous address)**.

### Account numbers in the portal

The supplier sees its accounts by their last four characters only (*Ending 3456*), its own included, and its requests show the IBAN and the account number the same way (*Account numbers show their last four characters only.*). The audit log keeps the last four characters too. Only a member reads a whole number, with **Show the full number**.

### The supplier's other details

**Your details** also shows the company (**Name**, **Trading name**, **Tax number**: read only, *To change the company's name or tax number, contact …*) and the **Contact details**: the contact person, email, phone, website and address. **Request a change** sends a change of those to you; nothing changes until a member who may prepare accepts it with **Approve** on the **Change requests** card (no approval request is opened for it), and the previous address is told as for a bank change. You change a contact's details yourself as before.

## 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 supplier's contract, or of one never sent, reads *This contract is not available*, exactly like one that does not exist. See [Contracts as documents](/help/en/documents/contracts-as-documents) and [Signatures and approvals](/help/en/documents/signatures-and-approvals).

## What a supplier can never see

- **Another supplier's records.** Every page reads only the supplier the invitation names. An address of another supplier's order, bill or payment answers *not available*, exactly like one that does not exist.
- **Your drafts and your internal work.** An order appears once sent; a bill you are still typing never appears. A bill shows its number, dates, total, status, payment, order, files and payments, never a line as you coded it, an approval, a comment or the reason you gave when you rejected it.
- **A whole account number**, its own included.
- **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 order, the advice and the files are drawn 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 customer's person or an accounting firm's client contact cannot open the supplier pages.

## When access ends

**Revoke** in the person's row menu on the supplier's **Portal** card (or **Revoke access** under **Settings → Workspace → Portal**) ends the access at once and signs the person out everywhere; the row then reads **Revoked**. The address can be invited again, for this supplier, for another supplier or as a customer's person; the earlier invitation and the revocation stay in the audit log as they were. Switching **Suppliers** off closes the portal for every supplier's person until it is switched on again.

## Walkthrough

1. **Settings → Workspace → Portal**: switch **Suppliers** on. Under **Supplier bank details** leave **One member** and **Hold payments while a change waits** on.
2. Send *Gulf Packaging LLC* a purchase order, *PO-0007* for AED 1,260.00.
3. **Contacts** → *Gulf Packaging LLC* → **Group and portal** → **Portal** → **Invite a person** → **Email** `omar@gulfpackaging.example`, **Name** *Omar Haddad* → **Send invitation**.
4. Omar opens the link: the home reads *for Gulf Packaging LLC* with **Purchase orders** `1`. He opens *PO-0007*, clicks **Upload a bill**, chooses his PDF, types *GP-2231*, the date and `1260`, and clicks **Send the bill**.
5. **Incoming Invoices** lists *GP-2231* as **To review**, with **Uploaded by the supplier in the portal** and what Omar typed. Check the lines and **Accept**. In the portal the bill reads **Accepted** and **Unpaid**.
6. **Record payment** for AED 1,260.00. Omar's bill reads **Paid**, and **Remittances** shows the advice.
7. Omar opens **Your details** → **Request a bank change** → **Replace an account**, types the new IBAN and attaches the bank's letter → **Send the request**. His page reads *Payments are on hold*.
8. On the supplier's **Change requests** card an admin who did not ask clicks **Approve**. The new account reads **Active**, the old one **Retired**, the hold ends and the previous address is told.

## API and webhooks

The portal's own routes (`/portal/purchase-orders`, `/portal/bills`, `/portal/remittances`, `/portal/profile`) 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:

- `GET` and `POST /portal-contacts` (`party` `supplier`) list and invite the people.
- `GET /vendors/{id}/bank-accounts` reads the accounts with the waiting change and whether payments are held; `POST /vendors/{id}/bank-accounts` asks for a change (it waits like any other).
- `GET /contact-change-requests` lists the requests; `POST /contact-change-requests/{id}/decide` (`decision` `approved` or `rejected`, `reason`) decides one and sends the notice; `POST /contact-change-requests/{id}/withdraw` withdraws one.
- `PUT /bills/{id}/supplier-message` saves the message to the supplier.
- The assistant's tools `list_contact_bank_accounts`, `request_contact_bank_change` (it asks before it sends) and `list_contact_change_requests`; no tool approves or rejects a change.
- The webhook `supplier_bill.uploaded` carries the bill, its number, the supplier and the portal person who uploaded it.

## Related

- [Purchase orders](/help/en/bills/purchase-orders)
- [Review, accept or reject an incoming invoice](/help/en/incoming-invoices/review-accept-reject)
- [Pay a bill and send a remittance advice](/help/en/bills/pay-bills-and-remittance-advice)
- [Pay bills in a batch](/help/en/bills/pay-bills-in-a-batch)
- [Add a company or person](/help/en/contacts/add-a-contact)
- [The customer portal](/help/en/portal/customer-portal)
