> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bbrands.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Sign documents

> The customer reviews their contract and annex and signs them with a 6-digit code sent by e-mail.

## At a glance

| Field | Value |
| - | - |
| Status | **Available** |
| Route | `/{locale}/contract/{id}` (public, with a one-time link) |
| Menu | Outside the menu: entered from the contract e-mail |
| Feature flag | None |
| Who sees it | The account holder and, in companies, each signing administrator |
| Last verified | 2026-11-10 against `develop` (`c10d24f33d`) |

## What it is for

The customer reviews their contract and annex and signs them electronically at once with a 6-digit code sent by e-mail. The simple electronic signature is legally valid (Chilean Law 19.799).

## How to get there

After confirming the payment method (or after the Summary, for a later company administrator).

![Digital contract journey: e-mail link, Welcome, Validate ID, Contract summary, Payment method, Sign documents and Create password, which leads to the portal. The Reject button is available from Validate ID to Sign; Summary and Payment can be revisited before signing.](https://mintcdn.com/bbrands/w6DX1nTsRjzB7VQp/images/portal-customer-manual/digital-contract-navigation.svg?fit=max\&auto=format\&n=w6DX1nTsRjzB7VQp\&q=85\&s=c6f4b2e7eb8bed0af3f1e07a3d49850c)

Digital contract journey

## What the customer sees

> [tab] Desktop
>
> ![Documents to sign step with the You have documents to review notice, the Contract and Annex cards with View, and the signer list.](https://mintcdn.com/bbrands/_NKN45Wilc9LnqQU/images/portal-customer-screens/digital-contract/signature.en.desktop.webp?fit=max\&auto=format\&n=_NKN45Wilc9LnqQU\&q=85\&s=d7fbf03e1a2498624efe0a2b2da94f88)

> [tab] Mobile
>
> ![Documents to sign step with the You have documents to review notice, the Contract and Annex cards with View, and the signer list.](https://mintcdn.com/bbrands/RmQmo8S4AibSINhm/images/portal-customer-screens/digital-contract/signature.en.mobile.webp?fit=max\&auto=format\&n=RmQmo8S4AibSINhm\&q=85\&s=2eef8e6b02c5666e4499cf6ea174c37a)

| Element | What it does |
| - | - |
| Notice | "You have documents to review. To sign your documents you will receive a 6-digit email code that you must enter" |
| Document cards | **View** opens the PDF; at the end the customer ticks "I confirm that I reviewed the contract preview and accept its legal terms to proceed with signing." |
| **Signers** | Signer list with their status; the customer appears as "(you)" with the **Sign** button |

## Step by step

**1. Wait for the documents**

If they are still being generated, they see "Preparing your documents…". It usually takes a few seconds.

**2. Review each document**

Taps **View**, scrolls the PDF to the end, ticks the box and taps **Continue**. Repeats with the annex.

**3. Sign**

Once the documents are reviewed, **Sign** is enabled. "Sign your documents" opens and a code is sent to the e-mail.

> [tab] Desktop
>
> ![Sign your documents window with six boxes for the verification code and the Sign documents button.](https://mintcdn.com/bbrands/faC9xD4-ppUP5Q_S/images/portal-customer-screens/digital-contract/signing-modal.en.desktop.webp?fit=max\&auto=format\&n=faC9xD4-ppUP5Q_S\&q=85\&s=1bbeb99b9ed24e36940e0e1e0ddce891)

> [tab] Mobile
>
> ![Sign your documents window with six boxes for the verification code and the Sign documents button.](https://mintcdn.com/bbrands/faC9xD4-ppUP5Q_S/images/portal-customer-screens/digital-contract/signing-modal.en.mobile.webp?fit=max\&auto=format\&n=faC9xD4-ppUP5Q_S\&q=85\&s=99ed828d3d4e7ff89c0dbd6980867237)

**4. Enter the code and sign**

Types the 6 digits and taps **Sign documents**. They see "Signed successfully" and the **Create password** button.

> [tab] Desktop
>
> ![Signed successfully confirmation with the Create password button.](https://mintcdn.com/bbrands/faC9xD4-ppUP5Q_S/images/portal-customer-screens/digital-contract/signed.en.desktop.webp?fit=max\&auto=format\&n=faC9xD4-ppUP5Q_S\&q=85\&s=fbf68855a5cb72c022080db07319aac8)

> [tab] Mobile
>
> ![Signed successfully confirmation with the Create password button.](https://mintcdn.com/bbrands/faC9xD4-ppUP5Q_S/images/portal-customer-screens/digital-contract/signed.en.mobile.webp?fit=max\&auto=format\&n=faC9xD4-ppUP5Q_S\&q=85\&s=5adce0e5198d61a59245dd38405c056c)

## Business rules

| ID | Rule |
| - | - |
| R-01 | Each document must be reviewed to the end and marked as read before signing |
| R-02 | A single code signs all of the customer's documents |
| R-03 | In companies, administrators sign in order: the next one can only sign once the previous one did, and gets their link at that moment |
| R-04 | Someone who came back with a new link must enter their document number again in the signing window |
| R-05 | After signing there is no going back |
| R-06 | When the customer's last signer signs, the contract goes to operations review; then Maihue countersigns and activates it |

## States and messages

| State | What the customer sees | Why | What to do |
| - | - | - | - |
| Preparing | "Preparing your documents…" | PDFs and the signing group are being generated | Wait |
| Delay | "This is taking longer than expected" | Generation takes longer than usual | **Retry** |
| To review | "You have documents to review" | Documents left to mark | Review each one |
| Signed | "Signed successfully" | Signature recorded | **Create password** |
| Finalizing | "Finalizing…" — Maihue is applying the company signature. No action is required from you. | Maihue applies its signature | Nothing |
| In review | "Contract under review" — Your contract is under internal review. We will notify you when you can continue. | Operations reviews the contract | Wait for the e-mail |

## Errors

| Message | Cause | Backend code | Support action |
| - | - | - | - |
| "The code you entered is not valid. Check your email and try again." | Wrong code | `invalid-otp` | Check the latest e-mail; resend the code |
| "The code has expired. Request a new one to continue." | The code expired | `expired-otp` | **Resend code** |
| "Too many attempts. Wait a few minutes and request a new code." | Too many attempts | 429 | Wait a few minutes |
| "Check the document number and the code you entered." | Document number or code entered wrong (re-entry) | `422 reentry-serial-required` | Enter the current ID card number |
| "You cannot sign on behalf of this signer." | Trying to sign for someone else or before their turn | `403`, `409 prior-signer-pending` | Wait for the previous administrator to sign |
| "We could not start the signature. We could not send your documents to be signed. Please try again." | The signature could not start | `POST …/signature/send` | Retry |

## Why it works this way

![Signing: documents prepared, each document reviewed, code by e-mail, all documents signed, password and, without the customer, operations review, Maihue countersignature and activation.](https://mintcdn.com/bbrands/w6DX1nTsRjzB7VQp/images/portal-customer-manual/digital-contract-signing-process.svg?fit=max\&auto=format\&n=w6DX1nTsRjzB7VQp\&q=85\&s=20bc59bb4feb842e40f1303320d44552)

How the contract is signed

Reviewing each document and confirming with a code sent by e-mail leaves evidence that the customer read and accepted, which is what makes the simple electronic signature legally valid. Maihue signs last, after reviewing, so no contract with errors is activated.

## Technical detail

| Aspect | Detail | |
| - | - | - |
| Components | `components/digital-contract/steps/signature-*.tsx` | |
| API | `POST /api/v3/signature/{id}/signer/{signer}/otp`, `…/sign`, `POST /api/v3/contract/{id}/signature/send`, \`GET …/preview\.pdf?kind=contract | annex\` |
| Engine | MaihueSigner | |
| Texts | `messages` › `contract.signature` | |

More detail in [Signing](https://docs.bbrands.io/digital-contracting/signing.md).

## FAQ and support cases

> [accordion] The code does not arrive
>
> Check spam and that the contract e-mail is right (it is shown masked in the window). Use Resend code.

> [accordion] The Sign button is disabled
>
> A document is not marked as read yet, or in a company the previous administrator has not signed.

> [accordion] Can they sign from their phone?
>
> Yes, the wizard works on mobile.

## Related and history

* [Create password](https://docs.bbrands.io/portal-customer/digital-contract/create-password.md)
* [Signing (technical)](https://docs.bbrands.io/digital-contracting/signing.md)

| Date | Change |
| - | - |
| 2026-11-10 | First version |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.