# Regenerate an enrolment's contract

> Rebuilding the document with current data — while it has not been signed.

## What you will get

A wrong contract fixed, without cancelling the enrolment. The **Regenerate
contract** button sits in the contract block inside the enrolment.

**It only works while the contract has not been signed.** After signature the
system refuses — a signed document is not rewritten.

## When to use it

Three situations cover nearly everything:

- **You fixed the contract template** after the enrolment was already created.
- **The student's record was incomplete** and you filled it in afterwards.
- **The cohort was picked later**, and the contract came out without a start
  date.

![Contract block inside the enrolment, with the download and regenerate buttons](/Apps/edupay/ajuda/matricula-contrato.png)
*The button sits here, beside the download one. The **Pendente** tag on the right is what allows it — once signed, that tag changes and the button stops working.*

## What it does

The document is rebuilt from scratch: the system reads the template's **current**
text, fills it with the enrolment's **current** details, and replaces the
previous contract.

The confirmation warns: *"This will reprocess the contract with current data.
Continue?"*

The old contract is replaced, not kept.

## What it does not do

- **It recalculates no instalment.** Amounts, count and dates stay as they were.
- **It does not change the enrolment's status.** It carries on awaiting the
  signature.
- **It does not notify the student.** If they already have the link, the link
  still works and will show the new document.

## How you know it worked

> [certo]
> The green banner says **Contract regenerated successfully.** Download the
> document and check the passage that was wrong.

## If something goes wrong

> [erro]
> **The button is missing or the system refuses.** The contract has been signed.
> From there, a correction becomes an amendment — a legal matter, not a system
> one.
>
> **The error is still there after regenerating.** You fixed the record but not
> the template, or the other way round. Check both.
>
> **The enrolment has no contract at all.** It was created without a template.
> One cannot be added afterwards; that would be a new enrolment.


---

https://edupay.estudiosite.com/en/ajuda/day-to-day/regenerate-the-contract
2026-08-05
