## Overview

The **Contracts settings** area brings together two groups of account-level options: the **module
defaults** — values applied to new contracts (signature level, language, link validity, retention
and region) — and the **visual identity** of your documents, defined in the **theme designer**. The
same place is where you upload the **account A1 certificate** (for qualified signing) and the
contract **header logo**.

Settings are **unique per account** (one set per account): what you define here becomes the default
for every contract, and each contract can still adjust specific points case by case.

## Prerequisites

- The Contracts module **enabled** for the account.
- To **open this screen and edit** the settings, you must be an **administrator** or have
  **permission to manage Contracts**. Standard agents do not have read-only access to this screen.
- To use the **qualified** level, have a valid **A1 certificate** (`.pfx`/`.p12`) and its
  **password** — on the account and/or on the issuing company.
- For the **logo**, a **PNG or JPEG** file (these are the formats rendered in the PDF).

## Step by step

1. Under **Contracts**, open the **Settings** section.
2. Adjust the **module defaults** (signature level, language, link validity, retention, region and
   reminder policy).
3. (Optional) Upload the **account A1 certificate** to enable qualified signing by default.
4. Set the **visual identity**: **upload the header logo** or **reuse** an existing logo (from an
   issuing company or from the Media Library).
5. Open the **theme designer** and adjust colors, fonts, page, footer and signatures.
6. Use the **live preview**: the platform renders a **sample PDF** with the current theme, without
   saving anything.
7. **Save**. The changes then apply to the next contracts.

## Settings & options

### Module defaults

| Setting | What it does | Default |
|---|---|---|
| **Default signature level** | Level applied to new contracts: simple, advanced (with OTP) or qualified (A1). | Simple |
| **Default language** | Language of the generated document. | English |
| **Default signer verification** | Verification for a signer added with no method chosen — including the signer created from the contract's contact. Each template can inherit it or choose its own. | Automatic (WhatsApp code when the contract comes from a WhatsApp conversation or the signer only has a phone; e-mail code otherwise) |
| **Company signature** | Who signs for the issuing company (see "Internal and external signing"). Companies, templates and draft contracts can inherit or override it. | Automatic (as before) |
| **Default link validity** | Days until the signature link expires. | 30 days |
| **Document retention** | How many years signed documents are kept. | 5 years |
| **Region / legal framework** | Region that drives the legal framework and the applied retention. | BR |
| **Reminder policy** | Enables automatic reminders for pending signers and, optionally, links a follow-up sequence. | Enabled |

These are only the **default values**: the platform starts from the code settings and layers what
you defined on the account on top. When generating a contract, you can still adjust the level and
other points individually.

### AI agent

These options define what each robot may do with a contract on its own. There is **one group per robot**, each with
its own switches: turning on one robot's options **never** allows the other. **All are off by default** and can be
changed by anyone with management access to this screen, in **Contracts > Settings > AI agent**. Each change is
recorded with who made it and when.

| Group | Applies to |
|---|---|
| **Inbox robot** | The AI agent connected to the inbox, when it sends in the conversation it is handling. Includes the Maestro when it handles the conversation as the inbox robot. |
| **Maestro** | The Maestro when it acts for the account with its own service user: through the MCP, in tasks outside a conversation and when it asks to sign for the company on the contract page. |

Each group has the same two options:

| Option | Off (default) | On |
|---|---|---|
| **Can send contracts for signature** | That robot does not send contracts. It reports that a person must send. | That robot sends the contract. The inbox robot sends only to the contact of the conversation it is handling; the Maestro delivers to each signer on that signer's channel. |
| **Can sign for the company automatically** | A contract sent by that robot stays **waiting for the company signature**, which a person applies on the contract page. | That robot's send also applies the company signature, as it does when a person sends. |

What each combination does, in each group:

- **Sending off**: no contract goes out through that robot, whatever the second option says.
- **Sending on, company signature off**: the robot delivers the signature request and the company side stays pending.
  Open the contract and click **Sign for the company** to complete it.
- **Sending on, company signature on**: the robot delivers the request and the company signs in the same step, with
  no person reviewing it.

Even with sending on, the **inbox robot** only sends when every pending signer is the contact of the conversation it
is handling. If a signer is reached by e-mail, is in another conversation or needs a new conversation, it sends nothing
and a person must send the contract.

> **Caution when turning on automatic signing**: the AI agent will sign legally binding documents on
> behalf of your company, with no person reviewing them. Turn it on only if your contract templates and
> amounts are already reviewed before they reach the robot.

In each group, the second option can only be changed while the same group's sending is on; turning sending off also
turns it off.

#### Where each value comes from

Under each option, the screen says **where the saved value comes from**:

- **The platform default (off)**: nobody changed the option.
- **Set by a person on this screen on (date)**: an administrator chose the value.
- **Turned on by the update of (date) to keep the behavior**: see below. It only appears on the Maestro's options.
- **Stored in the account with no record of who set it**: the value came from an import.
- **Change not saved yet**: you changed the option and have not clicked **Save** yet.

#### Maestro

- With the Maestro's sending off, it does not send the contract: the request is refused with
  `contract_ai_send_disabled` and a person sends it. Turning on the inbox robot's options does not allow the Maestro.
- With sending on and the company signature off, the Maestro delivers the signature request and the contract stays
  **waiting for the company signature**. The Maestro's tool result says the company signature is pending, and it tells
  the contact the company will sign next. A person of the company clicks **Sign for the company** on the contract
  page.
- **Sign for the company** after the send follows the Maestro's signature option: when it is off, the Maestro's
  request is refused with `contract_ai_sign_disabled` and nothing is signed. With the option on, the signature records
  the setting that authorized it. A person signs as before.
- A robot cannot grant itself permission to send or sign. An administrator may manage these preferences in the dashboard or delegate them to a high-impact account connection. A change to a robot switch records the connection and appears beside the switch in the dashboard.

**In the update that brought the Maestro's options**, accounts where the Maestro was already sending contracts had
**The Maestro can send contracts for signature** turned on automatically; where it was also signing for the company,
**The Maestro can sign for the company automatically** was turned on too. A Maestro signature is an automatic
signature recorded with it as the author and, for old signatures without an author, one that happened inside a send
proven to be the Maestro's (the same contract and the same send). So nothing changed for those accounts. The **inbox
robot**'s options were not changed: they stay as they were. Next to each option the update turned on, the screen shows
**"Turned on by the update of (date) to keep the behavior"** while nobody changes it. A choice an administrator had
already made was kept. Every other account keeps the Maestro's options off and can turn them on in this screen.

### Account A1 certificate

For **qualified** signing (ICP-Brasil), you need a **digital A1 certificate** — a password-protected
`.pfx`/`.p12` file. You can upload an **account A1 certificate** that acts as the **default** for the
operation. Each **issuing company** can also have **its own A1**, which takes precedence for the
contracts it issues.

- The certificate is **sensitive** data: it is stored securely and never shown back on screen.
- The **A3** certificate (hardware token/card) is **not** supported in this version — only A1 (a
  file).

### Visual identity and header logo

The logo that appears in the contract header follows a **cascade**, top to bottom:

1. **Issuing company logo** (if the contract's company has its own logo).
2. **Account default logo** (the one you set here in Settings).
3. **Theme logo** (an external logo URL configured in the theme designer).

The **account default logo** can be added by **upload** (a file) or **reused** from an existing logo
— for example an issuing company logo or a **Media Library** file — without re-uploading the bytes.
When you **remove** the account logo, the header falls back to the company logo or the theme URL. The
logo is kept **separate** from the JSON theme.

### Document theme designer

The **theme designer** controls the entire look of the PDF. The effective theme is resolved as a
**cascade**: system default ← **account** ← **issuing company** ← **template** ← unsaved designer
overrides. When a contract is **sent**, the theme is **frozen** into the document, so a signed
contract never changes appearance afterwards.

Among others, you adjust:

- **Header**: logo position and show/hide the company name, document (CNPJ/CPF) and address.
- **Brand and colors**: primary, secondary, accent, heading and text colors; **font** (Helvetica —
  the default —, Times, Courier or Inter, a modern font embedded in the PDF) and the body and title sizes.
  The preview beside it switches between **PDF** (default, the real file) and **Sheet** (the same page the
  signer sees when signing). Contracts already sent keep the theme and font they were sent with. The payment
  book of installment plans uses the same font, from the next payment book generated.
- **Page**: size (A4 or Letter), orientation, margins, border and watermark.
- **Footer**: page numbering (position and format) and legal disclaimer.
- **Signatures**: layout, role order, show witnesses and show the A1 seal.

The **live preview** renders a **sample PDF** (with a sample company, styled clauses, an items table
and a full set of signatures) **without saving** anything. If you point to a company and/or a
template, the preview reflects the full cascade, exactly as a real send would look. With a
**template** selected, the sample uses **that template's real body**, with example values in the merge
fields (the field's default value or its label in brackets). If rendering
fails, the preview degrades to a one-page notice — it **never** stops responding.

### Reviewing settings through an integration

An authorized account administrator can review the changes with the Contracts module enabled and write access on a high-impact profile. Submit the preferences first, then confirm the returned revision using the same connection. A concurrent edit can make the revision stale. Repeating an applied preference leaves the saved value and its original author intact.

The integration reads typed preferences, including language, region, retention, signature defaults and document appearance. Certificate files, external logo links, free-form text and unrecognized historical fields stay outside this response. Set a company certificate under **Contracts → Companies**. Changing a default leaves a contract already sent and each signer's personal acceptance intact.

## Use cases

- **Standardize the look** of every contract with your brand (colors, font and logo).
- Enable the **qualified level by default** for an operation that always requires A1.
- Tune the **link validity** and the **reminder policy** to speed up closing.
- Keep **different logos per issuing company**, with the account logo as a **fallback**.

## Tips, limits & best practices

- Keep the **A1 certificate valid** — an expired certificate blocks new qualified signatures.
- **Check the appearance in the preview before sending**: the theme of a sent contract is **frozen**
  and does not change afterwards.
- Use **hexadecimal colors**. Every font in the list is safe in the PDF: a character Helvetica, Times or
  Courier lack is printed in Inter automatically. Logos in **PNG or JPEG**.
- **Access to contracts does not grant access to settings**: this screen requires an administrator
  role or permission to manage Contracts and contains editing controls.

## Troubleshooting

- **I can't open or edit the settings**: check that your role is administrator or has permission to
  manage Contracts. Agent access to contracts does not include a read-only version of this screen.
- **The preview shows an "unavailable" notice**: the sample render failed; try again and review the
  theme adjustments.
- **The logo doesn't appear in the contract**: check the **cascade** (company → account → theme URL)
  and use a valid **PNG/JPEG** file.
- **Qualified signing is unavailable**: confirm there is a **valid A1** on the account or on the
  selected issuing company.

- **The Maestro stopped sending contracts**: turn on **The Maestro can send contracts for signature** in the
  **Maestro** group, in **Contracts > Settings > AI agent**. The update only turned it on in accounts where the Maestro
  was already sending contracts. The inbox robot's options do not apply to the Maestro.
- **The contract the Maestro sent is waiting for the company signature**: the Maestro group's signature option is off.
  Open the contract and click **Sign for the company**, or turn the option on if the company accepts that the Maestro
  signs for it.
- **I turned on the Maestro's options, but the inbox robot still does not send**: each group applies only to its own
  robot. Turn on the **Inbox robot** group's options too, if the company wants that.

## See also

- [Contracts & E-signature overview](/hc/ajuda/articles/contracts-esignature-overview-en)
- [Issuing companies and A1 digital certificate](/hc/ajuda/articles/contracts-esignature-empresas-emissoras-certificado-a1-en)
- [Templates, variables and auto-fill](/hc/ajuda/articles/contracts-esignature-templates-variaveis-auto-fill-en)
- [Internal and external signing](/hc/ajuda/articles/contracts-esignature-assinatura-interna-externa-en)
- [Public contract page and validator](/hc/ajuda/articles/contracts-esignature-pagina-publica-e-validador-en)