## Overview

After the customer accepts an offer built from a plan template, the agreement becomes charges through a **commitment**. VL2A Chat takes the plan the customer accepted, exactly as it was shown, and turns it into the agreement: the part that can already be charged becomes a charge right away; the parts that depend on something (the deposit being paid, the contract being signed) wait and are charged when that happens. With the policy's rolling issue, each charge is created a few days before its own due date.

There are three doors to the same commitment, with the same checks and the same effects on the deal, the payment and the evidence:

- **The Maestro robot**, when the customer accepts in the conversation.
- **A person**, with the **Generate charges for the accepted agreement** button in the **Commercial agreement** panel of the conversation or the deal.
- **The API**, with a person's token.

Nobody types amounts: whoever asks only names the accepted offer. Each offer produces a single commitment. Repeating the request returns the same commitment and never creates a second charge. No AI tool through the MCP generates these charges.

Sending to the customer follows the **Send charges to the customer** option of the [closing policy](/hc/ajuda/articles/sales-gamification-politica-de-fechamento-en). On the robot's commitment, the default is **On issue**: the platform sends each charge to the conversation as soon as it is created, including the ones created later. A person chooses in the dialog.

## Prerequisites

- **Versioned offers** turned on for the account. For the robot, also **Robot commitment on the accepted offer** (off by default, because it moves money).
- **CRM Orders Registry** turned on for the account: every charge the commitment emits belongs to an order of the customer. Without it the commitment is refused before any charge, and the button does not appear.
- An active payment connection and an offer built from a **plan template**, accepted by the customer.
- For a person: permission to create charges and, when the policy marks the deal as won or creates a deal, permission to edit or create deals. Without these permissions the button does not appear.
- For automatic sending outside the WhatsApp 24-hour window: an approved charge template on the account.

## Step by step

1. The robot or a person proposes the offer from a plan template and sends it to the customer. When it is the robot, the platform writes the message as the robot.
2. The customer replies accepting; the acceptance is recorded on the offer.
3. **Through the robot**: the robot asks for the commitment on the accepted offer. By default, the charges go to the conversation as soon as they are created.
4. **Through a person**: in the **Commercial agreement** panel, on the accepted version, click **Generate charges for the accepted agreement**. The dialog shows the preview: the charges generated now (method, amount, card installments, installment book of N installments, due date), the ones created later and what they depend on (with rolling issue, **Created on** with the issue date and the due date), who pays, the deal and when it is won, and the contract (this agreement does not create one).
5. Check or uncheck **Send each issued charge to the customer** and click **Generate charges**. Checked, the box sends the charges of now and also the ones created later; the dialog says whether the next ones will be sent. The charges come exactly from the preview you saw; if something changed meanwhile, the preview is refreshed and you confirm again.
6. Follow the **agreement timeline** in the same panel: who generated it, each charge (waiting for a condition, issued, **Sent**, **Waiting to be sent** with the reason, **Waiting for the person**, **Created on** with the date, installment book of N installments, paid) and when the deal is won. The **Send to the customer now** and **Continue** buttons are there.

## Settings & options

| What the platform checks | When it refuses |
|---|---|
| The door | Robot: with the robot commitment off, nothing is created. Person: must confirm the preview they saw |
| The offer | Must be the current, accepted, unexpired version, built by the platform from a template |
| The acceptance | The acceptance message must still be the customer's last one — also for the robot, which cannot rely only on the last message it read. If the customer wrote after accepting, clarify and ask for a new confirmation (record the acceptance again on the new message) |
| Who is in charge | For the robot: a read-only conversation, a person in charge or a paused robot refuse, according to the robot's money rules |
| Who pays | The contact or company frozen on the proposal must exist and have the data the gateway requires — already checked on the proposal, before the acceptance |
| The dates | An accepted date already past: refused (default) or moved to today, as the policy says |
| The deal | If the policy creates the deal, the chosen pipeline and stage must exist |
| What already exists | A charge the robot already created separately for a part of the agreement: blocks (default) or is adopted if identical, as the policy says |

- **Card installments**: become a single card charge with the accepted number of installments.
- **Boleto and Pix installments**: by default, one charge per installment. With **Gateway installment book** in the policy, they become a single monthly installment book at the gateway, where possible; the preview and the timeline show "installment book of N installments". Where it is not possible, they go out as separate charges.
- **Rolling issue**: with **Rolling, before each due date**, each charge is created a few days before its due date (30 by default). The timeline shows **Created on** with the date of each charge and "The next charges are created N days before each due date".
- **Early-payment discount**: the charge is created with the discount the offer promised.
- **Recurrence**: cannot be committed yet; the request is refused with the reason.
- **Deal**: the commitment marks the offer's deal as won, with the accepted total, at the moment set by the [closing policy](/hc/ajuda/articles/sales-gamification-politica-de-fechamento-en) frozen on the offer — by default, at the commitment itself. An offer without a deal stays without one, unless the policy says **Create the deal**, in the pipeline and stage it chooses. A win made by the robot counts as an automation close for points and commission.
- **Who pays**: the contact, by default; the contact's company when the policy says so or when the person chose it on the proposal.
- **Past date moved to today**: the charge is issued dated today, the agreement records the agreed date and the charge message tells the customer: "Due date moved to today".
- **Identical charge adopted**: amount, due date, method, payer, connection and deal exactly the same; no new charge is created for that part and the adoption is recorded.
- **Sending to the customer**: follows **Send charges to the customer**. Robot: **On issue** by default. Person: the **Send each issued charge to the customer** box starts unchecked (**Manual**); checked, it applies to now and later. Each charge goes out once, with the link, Pix and boleto, using the robot's own send key: a repeated card is never sent.
- **Outside the WhatsApp 24-hour window**: the automatic send only goes out through the account's approved charge template. Without one, the charge stays **Waiting to be sent**, with the reason "outside the WhatsApp 24-hour window and without an approved charge template", and goes out when the customer writes again or when a person clicks **Send to the customer now**.
- **Messages saved but not queued for sending**: if the platform's sending queue fails at the moment of the send, the charge's messages are saved in the conversation, but the customer has not received them yet. The charge stays **Waiting to be sent**, with that reason, and is never shown as **Sent** before it really goes out. In the first 24 hours, the platform queues exactly those messages by itself, once, as soon as the queue is back; after that, they only go out when a person clicks **Send to the customer now** (the team gets a note in the conversation). To send earlier, click the same button. No message or charge is created again.
- **Customer wrote after accepting**: with **Ask a person** in the policy, before a later charge is created, if the customer wrote after the acceptance, the agreement stops with "Confirmation missing: the customer wrote after the acceptance..." and the **I read the message — continue anyway** button. If the customer writes again meanwhile, the platform asks to read the newest message. The commitment's default is still **Continue**.
- **A person took over the conversation (robot's agreement only)**: the next charges follow the robot's **After a person takes over the conversation** option: **Keep issuing and sending** (default); **Issue and wait for the person to send**, where the charge is created but stays **Waiting for the person**, with the **Send to the customer now** button, and the conversation gets a private note once; or **Stop issuing**, where nothing is created until the robot answers again or a person clicks **Continue** on the agreement. A commitment made by a person never stops for this.
- **API**: besides the commitment request, `POST .../sales/offers/{id}/commitment/continue` continues an agreement stopped for a person, `POST .../sales/offers/{id}/commitment/deliver` sends now the charges issued and not sent yet, and `POST .../sales/offers/{id}/commitment/cancel` cancels the commitment (after the preview at `GET .../commitment/cancel_preview`). The three routes are for people only: a robot — through the Maestro, one of its own tools or the MCP — gets `robot_guard_native_only` and nothing changes. None is exposed to AI tools or the MCP.
- **The acceptance the robot checks**: on the robot's commitment, the platform checks the message in which the customer accepted the offer, not only the last message the robot saw in its turn. Any customer message after the acceptance refuses with `acceptance_stale`: the robot answers, shows the proposal again and, when a NEW customer message confirms, records the acceptance again on it and only then generates the charges.
- **No charge on the side while the agreement holds the robot**: once the commitment exists, the robot creates no other charge, installment book or subscription for that customer outside the agreement — in any of their conversations, even without naming the conversation; the request is refused with `commitment_owns_charges` and the refusal says what is allowed now. The robot resends the agreement's own charge. By default, the agreement stops holding the robot once it is paid in full or cancelled; the closing policy (**The robot after the agreement**) may keep it until the cancellation, allow a new agreement or an upsell of products outside the agreement. A part of the agreement is never charged again.
- **Who signs the later sends**: a charge or a contract sent later goes out signed by the robot that answers the conversation at that moment. If no robot answers anymore (the robot was switched off in the inbox, for example), the send stays **Waiting for the person** — it never goes out in the name of a robot that left. The robot that answers the conversation is the robot assigned to the conversation itself; without one, the inbox robot — the same rule that decides who answers the customer's messages. So replacing the inbox robot does not change who signs in conversations that already have their own robot.
- **Installment book paid out of order**: on a gateway installment book, paying any installment first counts as the first payment — for the deal won at the first payment and for the contract created after the deposit.

### Contract, recurring payment and the completion notice

- **Contract**: when the closing policy creates a contract, the commitment creates it at the chosen moment (before the
  first payment, after the deposit is paid or after full payment), from the policy's template and company. The robot
  keeps the contract as a **draft** by default; with "Send for signature", it sends following the account's rules for AI
  contract sending. A person chooses in the dialog, with the **Send the contract for signature** box.
- **Deal won at the signature** now works on a proposal: the deal is won when the contract the commitment created is
  signed.
- **Recurring payment**: the monthly fee (or another recurrence) the customer accepted becomes a **subscription** at the
  gateway when its condition happens — by default, when the setup fee is paid, plus the days the template gives before the
  first due date. It is created once, even if the gateway answer is lost. On Mercado Pago, a person creates the
  subscription (that gateway's subscription notifications are not proven yet); the proposal and the preview say so.
- **Closing completed**: once everything the agreement provides was issued (charges, installment books and
  subscriptions), the platform fires the `sales_closing_completed` event for automations and webhooks.

### After the commitment: what the robot may still do

The robot reads the **robot after the agreement** line in the agreement status, which the platform computes from the policy frozen on the proposal, and tells the customer only what is allowed now:

| Situation | The robot may |
|---|---|
| Agreement open, default | Resend the agreement's charges; nothing standalone, no new proposal |
| Agreement paid in full (default **Until paid in full or cancelled**) | Charge and propose again, normally (the new proposal becomes a separate agreement) |
| **While the agreement exists** | Nothing standalone until a person cancels the commitment |
| **New agreement** allowed | Propose a new, separate agreement; the previous one keeps holding standalone charges |
| **Upsell** allowed | Charge only products that are not in the agreement, naming the catalog variant, at its current price |
| Cancellation in progress (of this or another agreement of the customer) | Nothing new — no charge, installment book, subscription, upsell, proposal or commitment — and no re-send of a charge or installment book of the agreement being cancelled, until a person completes the cancellation |

Two rules are fixed and no policy option changes them:

- **Cancellation in progress**: until a person completes the cancellation of the commitment of an agreement of the customer, the robot creates nothing new for them, even with **New agreement** or **Upsell** set to **Allow**, and it does not re-send into the conversation a charge or an installment book of the agreement being cancelled either. The request is refused with `commitment_cancellation_in_progress`, and the status of every agreement of the customer shows the cancellation in progress and nothing allowed. A person is not affected.
- **Upsell price**: a robot upsell is charged at the current price of the catalog item it names (quantity × the variant's price, in the charge currency), never at a free amount. A different amount, discount or currency, an item with no price in that currency or a charge at a deal's value is refused with `upsell_price_mismatch`, and the refusal carries the catalog price. The customer pays exactly that price: the interest of a card installment plan is always absorbed by the merchant (the installments are the same total split in N parts), whatever the connection default or the robot asked, and a fine, interest or early-payment discount the robot asked for is dropped — the gateway panel's own defaults apply, as on any charge. For the one-click upsell offer, an offer a **person** configured (a promotion) is charged at its own price, in the charge currency; an offer the robot created or changed passes only at the catalog price; an offer from before this version (until a person saves it) is charged at the **lower** of its own price and the catalog price — a promotion below the catalog keeps its price, an offer above the catalog is charged at the catalog. The customer never pays more than the offer they saw nor more than the catalog.

If the robot answering the conversation is replaced by another kind of robot (a webhook robot, for example), the agreement's messages wait for a person instead of going out signed by it.

## Use cases

- Pix deposit right away and three boleto installments after the deposit is paid: the deposit is charged at the commitment; the installments are created when the deposit payment is confirmed and, with **On issue**, go to the conversation at once. Before, an installment created later reached nobody.
- A 24-installment agreement with rolling issue: each boleto is created 30 days before its due date and sent on the day it is created.
- The seller closed by phone and recorded the acceptance: they click **Generate charges for the accepted agreement**, check the preview, check **Send each issued charge to the customer**, and the deposit and the following installments reach the customer.
- The robot closed and an agent took over the conversation: with **Issue and wait for the person to send**, the charges are created on time and the agent decides when to send them.
- The robot lost the answer to its request and asks again: it gets the same commitment, with no new charge.

## Tips, limits & best practices

- The robot's scope, approval and money limits still apply before the request; see the safety of the robot's actions.
- If the gateway does not answer while creating a charge, the outcome stays **unknown** and is checked later with the same key; the charge is never created twice.
- Charges created later (depending on a payment, the contract or the rolling day) follow the same sending: with **On issue**, they go to the conversation as soon as they are created; with **Manual**, they appear in the timeline and are sent with **Send to the customer now** or from the charge itself.
- The automatic send, the robot and the person use the same send key per charge: two cards of the same charge are never sent.
- When the robot sends a proposal, the platform writes the message as the robot, with the same **Proposal closing sentence** people use. That is why the Maestro does not pause itself when it sends its own proposal.
- If no robot answers the conversation at the moment of sending (for example, the robot was turned off or answers only the other inbox of the pair), the robot's request is refused with the code `bot_not_conversation_responder` and nothing is written: the robot's proposal never goes out as if a person wrote it.
- The robot never sends a charge, an installment book or the contract of an agreement on its own: the generic send tools refuse those items and point the robot to the agreement status. The platform sends them, following **Send charges to the customer** and the policy's contract delivery; with **Manual**, a person sends them.
- When a charge is waiting or set to **Manual**, the check of the robot's reply stops sentences such as "here is your Pix" or "I sent the charge".
- Turning a door off for the account stops the charges it has not created yet.

## Troubleshooting

- **The robot says the cancellation of an agreement of this customer is in progress** (`commitment_cancellation_in_progress`): this is the fixed rule. Open the agreement being cancelled (the refusal says which one and in which conversation), handle the charge the gateway refused and click **Complete cancellation**. After that, the robot follows the agreement's policy again.
- **The robot says the upsell price does not match** (`upsell_price_mismatch`): the robot asked for another amount, a discount or another currency. The refusal carries the catalog price (`expected_amount`); the robot asks again naming only the variant and the quantity. If the catalog price is wrong, fix it on the product; to sell at another amount, a person creates the charge.
- **The robot says this customer already has a committed agreement** (`commitment_owns_charges`): see the **Robot** line on the commercial agreement, which says until when the agreement holds the robot and what is allowed. A person may cancel the commitment, or the manager adjusts **The robot after the agreement** in the closing policy for the next agreements.
- **The agreement's charge is "Waiting for the person" after the robot was replaced**: the robot answering now (the conversation's own or, when it has none, the inbox robot) is not the Maestro. A person sends it with **Send to the customer now**.
- **"The agreement changed since the preview you saw"**: a date, a payment, a charge or the policy changed. The preview is refreshed; check it and confirm again.
- **"A due date the customer accepted has already passed"**: make a new proposal with current dates, or ask the manager for the **Move to today** option in the policy.
- **"Part of this agreement was already created separately"**: the robot already created a charge of this agreement on its own. The refusal names the differing field when the policy adopts identical charges.
- **"The company that pays this proposal no longer exists"** or **"lacks data the gateway requires"**: complete the payer's record or make a new proposal. A new proposal already checks this data before the acceptance.
- **"The configured pipeline or stage no longer exists"**: adjust the deal destination in the closing policy.
- **Charge "Waiting to be sent"**: read the reason beside it. Outside the 24-hour window without an approved charge template, it goes out when the customer writes; to send it earlier, click **Send to the customer now**.
- **"Waiting for the person"**: a person took over the conversation of a robot's agreement. Send the charges with **Send to the customer now** or, if the robot stopped issuing, click **Continue**.
- **"Confirmation missing: the customer wrote after the acceptance"**: read the conversation. If the message does not change the agreement, click **I read the message — continue anyway**; if it does, renegotiate.
- **The robot says the customer wrote after the acceptance** (`acceptance_stale`): this is on purpose. The robot clarifies, shows the proposal and, when the customer confirms in a new message, records the acceptance on it and generates the charges. A person can do the same with **Record a new acceptance**.
- **The robot says this agreement's charges are already generated by its commitment** (`commitment_owns_charges`): the robot tried to create a charge outside the agreement. Check the agreement timeline; to charge something else, a person takes over the conversation.
- **The robot cannot continue, send now or cancel the commitment** (`robot_guard_native_only`): these are a person's actions, in the conversation's sales agreement.
- **"Waiting for the person" with nobody having taken over**: no robot answers the conversation anymore. Turn the robot back on in the inbox or send with **Send to the customer now**.
- **The button does not appear**: the version must be accepted, current and without a commitment, and you need the charge permissions (and the deal ones, when the policy changes the deal).
- **The robot did not send the proposal and says a person is in charge** (`bot_not_conversation_responder`): no robot answers this conversation right now. Turn the robot back on in the inbox or send the proposal from the conversation screen.
- **The robot says it cannot send a charge, an installment book or the contract because they belong to an agreement**: this is on purpose. Check the agreement timeline and send with **Send to the customer now** (charges) or from the Contracts screen (a draft contract).

- **"The agreement needs the contract before the payment"** (`commitment_contract_required`): a part waits for the signed
  contract, or the deal is won at the signature, and the frozen policy does not create the contract before the first
  payment. Adjust "When the contract is created" and make a new proposal.
- **"The contract of this agreement cannot be created"** (`commitment_contract_unavailable`): the prepared template, the
  issuing company or the paying company's legal name and tax id are missing.
- **The subscription shows "A person creates the subscription"**: the gateway (Mercado Pago) has no proven subscription
  notifications yet; create the subscription in **Payments → Subscriptions**.

## See also

- [Versioned offers and acceptance evidence](/hc/ajuda/articles/maestro-brain-ofertas-versionadas-e-aceite-en)
- [Agreement closing policy](/hc/ajuda/articles/sales-gamification-politica-de-fechamento-en)
- [Complete an agreement with the copilot as a Seller](/hc/ajuda/articles/maestro-brain-fechamento-integrado-vendedor-en)
- [When the robot can create and send charges and contracts](/hc/ajuda/articles/maestro-brain-robo-dinheiro-e-aceite-en)