Add or edit a client
This dialog lets you create a client profile or edit an existing one: company name, rates, payment terms, client code, address, and contacts.
The title shown is Add a Client when creating, and Edit Client when editing. Contextual help for the dialog covers both cases.

Prerequisites
- You must be signed in to Sequentia.
- A workspace must be selected.
- You need permission to manage clients to open the dialog (create or edit). Without it:
- the add button does not appear on the Clients page;
- an add attempt shows alert Insufficient Role / “You do not have the necessary permissions to add a client.”;
- an edit attempt shows the same header with “You do not have the necessary permissions to modify a client.”.
- To archive or restore a client (edit mode only): permission to archive a client. Without it, the archive icon is hidden.
Open the dialog
Create a client
- Open the Clients page.
- On the Active segment, click Add a client (list row or empty state).
- The Add a Client dialog opens.

You can also create a client from the client picker elsewhere in the app: Add a Client opens the same dialog; after confirmation, the new client is selected automatically.
Edit a client
- On the Clients page, click a profile (active or archived).
- The Edit Client dialog opens with the existing data.
From some billing screens, the dialog may open already focused on the address or contacts section (highlighted).
Fill in the profile
General information
| Field | Label | Required | Notes |
|---|---|---|---|
| Name | Company Name | Yes | Empty name (after trim) → warning “Please enter the company name.” and focus on the field. |
| Rate | Hourly Rate ($/h) | No | Numeric; rounded to 2 decimals on blur. Default on create: 0. |
| Markup | Premium (%) | No | Percentage; rounded to 2 decimals. Default: 0. |
| Terms | Days for Payment | No | Whole number of days. Default on create: 15. |
| Code | Client Code | No | Numeric field (example placeholder: 97312364891). |

Address
- No address yet: Add an Address → opens a sub-dialog Add an Address (map / entry), then confirm with the checkmark.
- With an address: formatted text is shown; pencil to edit, save icon to commit (main address line must be set), close icon (while editing) to remove the address.
Address fields (edit): address, secondary line (office, suite, etc.), city, state/province, postal code, country — plus a map.

Contacts
Section titled Contacts:
- When opening a profile without contacts, a contact form is offered automatically.
- Fields: Prefix (Mister / Miss or custom), First name, Last name, Title, Phone, Email.
- To save a contact: at least one of first name, last name, email, phone, or title must be filled (otherwise first name is marked invalid and save is blocked).
- Add: adds another contact.
- Reorder by drag-and-drop (unless read-only).
- Save / delete icons on the contact being edited.

If you confirm while a contact is still being edited, an alert Contact is being edited! asks you to confirm before saving (“You are currently editing a contact…”).
Confirm, close, or archive
| Action | Effect |
|---|---|
| Add the Client (create) | Saves the profile, closes the dialog, message “Client added”. |
| Confirm (edit) | Updates the profile, message “Client modified”. |
| Close icon (X) | Closes without saving. |
| Help icon (?) | Opens contextual help for this dialog. |
| Archive icon (edit, active client) | Asks for confirmation (“Archive the Client”), then archives. |
| Restore icon (edit, archived client) | Asks for confirmation (“Restore the Client”), then restores. |
After archiving, an advanced message “Client successfully archived!” may offer undo (immediate restore).

Archived client
On an archived profile:
- A banner states: “You cannot interact with this client because they are archived.”
- Fields and address / contact actions are read-only.
- Archive / restore remains available via the header icon if you have permission to archive a client.

What this dialog does not do
- Search or filter the client list: Clients page (Active / Archived segments, search bar).
- Enter a legal name separate from the company name: the field is not shown in this dialog (see To confirm with product).
- Configure client payment methods: not exposed in this interface.
- Manage related billing or tickets: other modules (invoices, quotes, etc.).
In-app help
In the dialog header, the help icon opens contextual help Add or edit a client, linked to the Clients page.
To confirm with product
- The client model includes a legal name and a payment method, but no matching fields appear in this dialog. Confirm whether they should be editable here, elsewhere, or only via import.
- On create, an empty contact form opens automatically; confirmation validates that contact (at least one field filled). Confirm whether saving a client without a contact should be allowed.
- After archive or restore via the icon, the success message shown is the archive message (“Client successfully archived!”), including on restore. Confirm the expected restore message.
- The archive-undo message uses the client’s legal name (often empty if never entered). Confirm whether company name should be used instead.
- Without permission to archive, the interface simply hides the button with no alert. Confirm the intended behavior.