> For the complete documentation index, see [llms.txt](https://docs.xyb.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xyb.co/credit/create-and-manage-contracts/manage-credit-contracts-and-terms.md).

# Manage Credit Contracts and Terms

Once a credit contract has been created, it may evolve throughout its lifecycle. Operations teams need the tools to **review, edit, and manage all contract elements** to keep the facility accurate, active, and aligned with the customer’s activity.

#### Contract Activation & Versioning

After a new contract is created, it is often in **Passive** status. Before it becomes usable, it must go through:

1. **Signing:** Confirming term dates and conditions.
2. **Activation:** Making the contract live.<br>

   <figure><img src="https://689052484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3cyJXtDL0DgAGdkhCKYE%2Fuploads%2FKxE0oAhm4PN0akivHYu7%2Fimage.png?alt=media&amp;token=e72fc97e-64a6-4d80-832e-92988589bd25" alt=""><figcaption></figcaption></figure>

<p align="center"><img src="https://689052484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3cyJXtDL0DgAGdkhCKYE%2Fuploads%2FKP4kGTC6gB14z7BzE3j7%2Fimage.png?alt=media&amp;token=89de21a3-c0fe-46b9-8e3d-9be1f24f2b5f" alt=""></p>

Once a contract is edited (e.g., change in amount, schedule, or terms), a **new version** is created. This version needs to be:\
![](https://689052484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3cyJXtDL0DgAGdkhCKYE%2Fuploads%2FGgTzrK95ppzLBoerX69r%2Fimage.png?alt=media\&token=06312653-5b2c-4df3-aece-94963bf11b24)

* Signed and approved
* Activated again

***

#### Financials

View a breakdown of principal, interest, penalty, fees, VAT, and total balance. Click **"View transactions"** to see all ledger movements and repayment activity tied to the contract.<br>

<figure><img src="https://689052484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3cyJXtDL0DgAGdkhCKYE%2Fuploads%2FA8j335lJR18AqVvg0aw2%2Fimage.png?alt=media&amp;token=c52140eb-e952-47b8-92cb-78948703a422" alt=""><figcaption></figcaption></figure>

***

#### Manage Contract Terms

The **Contract Terms** section displays all contractual parameters, such as product, amount, interest, and validity dates.&#x20;

<figure><img src="https://689052484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3cyJXtDL0DgAGdkhCKYE%2Fuploads%2FkufElEB0lFiQhAK4WNZg%2Fimage.png?alt=media&amp;token=03f765fb-6188-4a5e-a295-720047e0c30e" alt=""><figcaption></figcaption></figure>

Click **New term** to apply changes like extra payout, early termination, or repayment. You can also select **View all** to see a complete history of terms applied to the contract.

<figure><img src="https://689052484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3cyJXtDL0DgAGdkhCKYE%2Fuploads%2F9it2nsRzjh61N6avY5Jo%2Fimage.png?alt=media&amp;token=c4494f89-3ea5-47c8-9007-5424fd04022e" alt="" width="563"><figcaption></figcaption></figure>

Note that every change must be: Signed, approved, and activated again to come into effect.

Under **Edit Term**, you can also update existing terms by selecting a specific term change type such as termination, full repayment, partial payback, extra payout, or regular term adjustments. Once the necessary values are entered, the system recalculates the schedule, updates invoices where needed, and applies the appropriate new contract status.

#### **Schedule Parameters and Active Schedule**

The **Schedule parameters** section defines how the contract is structured over time, including schedule type (e.g. annuity), frequency, and duration. Below that, **Schedule active** lists each scheduled payment with a breakdown of principal, interest, and fees—plus current status and payment details.

#### Relations

The **Relations** section allows you to associate the contract with other entities, such as a guarantor, co-borrower, or a business. You can search for an existing entity by name, ID, or registration number, then specify the type of relationship and its valid duration. This ensures transparency and traceability of all related parties involved in the contract.

<p align="center"><img src="https://689052484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3cyJXtDL0DgAGdkhCKYE%2Fuploads%2FnR5iVpBtmJl9vB2Q4nmB%2Fimage.png?alt=media&amp;token=4d91a51e-e34c-4b13-bf70-06dcc52fcc82" alt=""></p>

#### Documents

In the **Documents** section, you can upload any files tied to the contract, such as signed agreements, identification documents, or supporting materials. You can specify the document type and give it a name, and also choose whether it's visible to external users (such as the borrower) or kept internal. This helps centralize all relevant documentation in one place.<br>

<div align="center"><figure><img src="https://689052484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3cyJXtDL0DgAGdkhCKYE%2Fuploads%2F36OlykI2JSJe8rMiqkUy%2Fimage.png?alt=media&amp;token=e0de8b7c-7721-4d62-ac8f-8b91d124aacd" alt="" width="375"><figcaption></figcaption></figure></div>

#### Related Tasks

If any pending actions are linked to the contract such as approvals or manual steps, they appear under **Related tasks**, helping you keep track of what’s needed next.

#### Write off

You also have the option to write off outstanding amounts if a customer is unable to repay their debt; this action is available from the top-right of the contract page.&#x20;

![](https://689052484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3cyJXtDL0DgAGdkhCKYE%2Fuploads%2FsbTeeaRU7NWdC1xqyw6I%2Fimage.png?alt=media\&token=778b35a6-96ee-4f78-86a3-22b4026eaec0)

When you open the write-off dialog, you can adjust the amounts for principal, loan balance, interest, accrued interest, penalties, fees, and tax/VAT to partially or fully reduce the receivables. After saving, the system automatically generates the necessary ledger write-off transactions, allocates the written-off amounts to invoices starting from the oldest, and updates the contract and invoice statuses accordingly.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.xyb.co/credit/create-and-manage-contracts/manage-credit-contracts-and-terms.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
