---
title: Finance vendor onboarding by link
description: Send a vendor a private link where they enter their own company and bank details and upload evidence, with no account; what they submit waits for a second person to verify, and the same link later shows them their bills' status.
section: finance
order: 45
audience: [user, operator, agent]
sources: [services/nodejs-cloud/lib/finance/payables/vendor-pure.ts, services/nodejs-cloud/lib/finance/payables/invites.ts, services/nodejs-cloud/lib/finance/payables/vendor-portal.ts, services/nodejs-cloud/lib/finance/payables/vendor-bills.ts, services/nodejs-cloud/lib/finance/payables/mcp.ts, services/nodejs-cloud/app/(finance-public), services/nodejs-cloud/components/finance/vendor, services/nodejs-cloud/components/finance/parties/InvitePanel.tsx, services/nodejs-cloud/migrations/0452_fin_party_invites.sql]
features: [cloud.page-finance]
---

Typing a vendor's bank details from an email is how most payment fraud starts. Instead, send the vendor a private link:
they enter their own registered name, tax id, billing contact and bank account, and upload their tax registration and a
bank letter or statement header. Nothing they send is trusted until someone in your organisation checks it. Vendor
onboarding is part of Payables: it needs the `finance.payables` module.

## Send the link {#invite}

On a vendor's page in **Finance > Parties**, the **Onboarding link** section has **Invite vendor**. You need a Finance
role that writes parties on the vendor's entity (ap_clerk, vendor_admin or controller). Choose the address (the vendor's
billing contact by default) and how many days the link works (14 by default, at most 30).

- When your organisation has a [Comms email](/docs/comms/email.md) provider, the link goes to that address
  through Comms, in the contact's language when one is set.
- Otherwise nothing is sent, and Petawork says so: copy the link and send it to the vendor yourself. Petawork never sends
  it any other way.

Either way the link is shown to you once. Petawork keeps only a SHA-256 hash of it, so it cannot show it again: **Send a
new link** makes a new one and ends the open one at once. **Revoke** ends a link without a new one.

The section lists each link with its state:

| State | Meaning |
|---|---|
| Sent | Made (and emailed, when it says to whom), not opened yet |
| Opened | The vendor has opened the page |
| Submitted | The vendor sent their details |
| Expired | The days ran out before they submitted, or a year passed after |
| Revoked | Ended by a member, by a new link, or after 20 refused submissions |

## What the vendor sees {#page}

The link opens `/finance/vendor/<token>`: a page with no sign-in and no Petawork menus. It shows your organisation's
name and, when the vendor belongs to an entity, that entity's legal name, so the vendor knows who is asking. It is in the
vendor's language: their billing contact's language when one is set, otherwise their browser's. The page asks for:

| Field | Notes |
|---|---|
| Registered legal name, tax or company registration number | Required |
| Country | Optional, two letters |
| Billing contact name and email | Replaces the party's billing contact; remittance contacts stay |
| Bank name, bank code, name on the account, account number, currency | The bank code is optional |
| Bank letter or statement showing the account | Required, a PDF or a photo up to 2 MB |
| Tax registration certificate | Optional, a PDF or a photo up to 2 MB |

Every field is checked by the same rules as [`finance_party_update` and `finance_partybank_create`](/docs/finance/parties.md). The
uploads go into Capture's [document store](/docs/finance/documents.md), with their type read from the bytes. The link takes one
submission. To change anything later, the vendor asks you for a new link.

A link that is unknown, revoked, replaced, expired or used up, a blocked vendor, or an organisation that no longer has
Payables all get the same "Link not found" page. It never names your organisation, the vendor or why.

## After the vendor submits {#verify}

The submission changes only the vendor the link was made for:

- The party's legal name, tax id and country are updated, and it goes to **pending verification**.
- The bank account is added **pending**, sealed in the vault at once. Only its last four characters are ever shown: on
  the vendor's page, on the party page, in events and in the audit log. Its evidence is the uploaded bank letter. If the
  vendor already had an account in the same currency, that one is retired, so nothing is paid until the new one is
  verified.
- Every change is recorded on the [event chain](/docs/finance/audit-trail.md) by the vendor (`vendor:<invite id>`), not by a member.

So any member with vendor_admin (or a controller) counts as a different person and can verify the account against the
evidence (the **Evidence** link on the account) and then verify the party, as in [Finance parties](/docs/finance/parties.md#bank-accounts).
An agent never verifies either.

If the account number is already on another party, or the name or tax id matches another party, an exception is raised
on the [exceptions queue](/docs/finance/exceptions.md) for staff (`bank_account_reused`, or `duplicate` from Payables). The vendor is
never told: their page shows the same thanks either way.

## Bill status {#bills}

After submitting, the same link shows the vendor each of their bills with this organisation and where it is: received,
approved, scheduled or paid. Read only, and only that vendor's bills. The section stays hidden while there are none;
bills arrive with Payables' bills. A submitted link keeps working for a year, unless you revoke it.

## Limits and safety {#limits}

- Each link and each address may open the page 30 and 60 times a minute, and upload or submit 10 and 20 times a minute.
- 20 refused submissions or uploads revoke the link.
- The page is never cached, indexed, shown in a frame or sent on as a referrer, and it is listed in `robots.txt`.
- The page reads no session: each upload and submission carries the link and is checked against it, and a post from
  another site is refused.
- An organisation that turns Payables off ends every link's page at once; turning it back on restores the links that
  have not expired.

## For agents {#agents}

| Tool | Scope | What it does |
|---|---|---|
| `finance_party_invite` | `finance:write` | `action` send (default): a vendor's link for `party_id`, emailed to `email` or the billing contact through Comms when the organisation has Comms email; the link is in the answer once. `action` revoke with `id` ends a link |

It needs `parties.write` on the party's entity and the organisation's `finance.payables`. An agent may send a link, but
never verifies what comes back.

REST twins: `POST /api/v1/finance/party-invites` (send) and `POST /api/v1/finance/party-invites/{id}` with
`{"action":"revoke"}`.
