> For the complete documentation index, see [llms.txt](https://docs.rillet.com/EjmEP4KZ9BVp9j2ho4Mh/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rillet.com/EjmEP4KZ9BVp9j2ho4Mh/accounts-receivable/contracts/add-a-contract.md). Agents can also search and read this documentation through its [MCP server](https://docs.rillet.com/EjmEP4KZ9BVp9j2ho4Mh/~gitbook/mcp).

# Add a Contract

A contract is a formal agreement between a seller and a buyer that outlines pricing, duration, and the products or services provided. In **Rillet**, contracts support managing revenue, tracking obligations, and measuring performance, and can affect revenue schedules and **ARR** depending on the associated products. Before creating a contract, make sure you have already created the corresponding **Customer** and **Product**.

### Create and Configure Contract Details

Follow these steps to add a contract:

{% stepper %}
{% step %}
Go to **Accounts Receivable > Contracts**.
{% endstep %}

{% step %}
Select **Add Contract** in the upper-right corner to open the contract wizard, which moves through **General Details**, **Products**, **Invoicing**, **Revenue**, and **Summary**.

<figure><img src="https://612265232-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNpXFVFZpTQck3vIrjmHB%2Fuploads%2FQn8JIHmqbRW1h4mAVFqt%2Fimage.png?alt=media&#x26;token=49d9c6c1-f99c-497f-83ad-419ec69599b8" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Enter the **General Details** of the contract:

* **Customer:** Search for the customer with **Find a customer**, or add a new customer inline. When you start from a customer's **Contracts** tab, Rillet prefills the customer and grays it out so it cannot be modified.
* **(Optional) Shipping Customer:** Click **Add shipping customer** to associate an additional customer who will receive the shipment for this contract (e.g., "Adobe").
* **Contract Name:** Enter a descriptive name for the contract (e.g., "Demo Contract").
* **Contract Type:** Choose one from the following: New Sales, Existing, Expansion, Reactivation, or Contraction.
* **Close Date:** Select the date of finalizing the deal.
* **Start Date:** Select the start date for the contract.
* **Duration:** Choose from the following options: 6 months, 1 year, 2 years, 3 years, Open-ended, or Custom.
* **(Optional) End Date:** Select the end date for the contract.
* **(Optional) Purchase Order Number:** Enter the purchase order number for the contract.
* **Custom fields:** Fill in any custom fields your organization has set up.
  {% endstep %}

{% step %}
Advance with **Next Step** in the lower-right corner, where **Contract total** appears at the lower left.

<figure><img src="https://612265232-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNpXFVFZpTQck3vIrjmHB%2Fuploads%2FUJLWIiLRJGPknSHI1Daj%2Fimage.png?alt=media&#x26;token=9386ee1d-1eff-47eb-8a4b-1d34bafd5bbc" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Click **Add Product** under **No products added yet** to open the **Add to contract** dialog.

<figure><img src="https://612265232-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNpXFVFZpTQck3vIrjmHB%2Fuploads%2FW8WU5XTko6rIb4Hlllnu%2Fimage.png?alt=media&#x26;token=6d70fa84-a5bc-40b5-a394-9e85b1223563" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Choose the product or products you wish to include from the **Products** tab (e.g., "Demo Product"), or use the **Product bundles** tab to add a bundle.
{% endstep %}

{% step %}
Select **Add** to place the products on the contract.

<figure><img src="https://612265232-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNpXFVFZpTQck3vIrjmHB%2Fuploads%2FPVseq6WxZnUibH7rj3f0%2Fimage.png?alt=media&#x26;token=b7657c10-d691-4e69-b6d5-f3421df16448" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Fill in the product line details:

* **Pricing:** Review the price per month and the **Quantity**, which together give the **Subtotal**.
* **Description, Dates, Tax, and Discount:** Update each as needed. **Dates** holds **Start**, **Duration**, and **End**, and offers **Add Go-Live Date**.

<figure><img src="https://612265232-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNpXFVFZpTQck3vIrjmHB%2Fuploads%2FpSbsCgnsyoR1Ky79KOn5%2Fimage.png?alt=media&#x26;token=311ceb45-a5fa-4a03-936f-bf3ebdfe12b8" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**(Optional):** Enter a new value in **SSP per unit**, in the product line's **SSP** section, to override that product's SSP for this contract and update the **Allocated Revenue** of every product line without changing the contract total.
{% endstep %}

{% step %}
Press **Next Step** to move to **Invoicing**.

<figure><img src="https://612265232-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNpXFVFZpTQck3vIrjmHB%2Fuploads%2FmxVUxhjh2G4VtzdH8lP5%2Fimage.png?alt=media&#x26;token=59344b53-c597-4d07-82c3-075f81f0958a" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Fill in the following fields in the **Invoicing** section:

* **Frequency:** Select Monthly, Quarterly, Semi-Annual, or Yearly for invoicing frequency.
* **First Invoice Date:** Select the date of the first invoice.
* **Payment Terms:** Specify payment terms (Due on Receipt, Net 10, Net 30, Net 60, or Custom).
* **Invoicing and shipping name:** Confirm the name used for invoicing and shipping.
* **Address:** Select the billing address to use for this contract from the addresses saved on the customer record.
* **Email Recipients:** Turn on **Send to specific recipients only** and select **Add email address** to choose which of the customer's email addresses receive invoices, then choose **To**, **CC**, or **BCC** for each one.
* **(Optional) Shipping Address:** If you added a shipping customer, select the address to use for shipping from the addresses saved on that customer's record.
* **Fixed Price Invoice Breakdown:** Select **Add Invoice** in this table to add an invoice to the schedule.
  {% endstep %}

{% step %}
Select **Next Step** to move to **Revenue**.

<figure><img src="https://612265232-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNpXFVFZpTQck3vIrjmHB%2Fuploads%2FV5URyRqYQpcjb0IOzpou%2Fimage.png?alt=media&#x26;token=68e0a7b8-acdf-4cc5-bd6b-35303a193158" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Choose the **Revenue Pattern** that best suits your needs, and Rillet displays the **Start Date**, **End Date**, **Total SSP**, **Allocated Revenue**, and a **Revenue Schedule** where you can select **Add entry** to add a line; for a milestone product, this step shows a **Milestone plan** instead, which you set up as described in **Set Up and Track Milestone-Based Revenue**.
{% endstep %}

{% step %}
Proceed with **Next Step** to reach the **Summary**.

<figure><img src="https://612265232-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNpXFVFZpTQck3vIrjmHB%2Fuploads%2Fa7mn42pchkA8yo2ow4yB%2Fimage.png?alt=media&#x26;token=8e368ca1-aeea-4f4e-86ae-2a31bb268564" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Review the **Summary**, which shows the **Contract details**, the revenue metrics **MRR**, **ARR**, and **TCV**, the **Products**, and the **Revenue summary** (**Invoiced**, **Recognized**, and **Deferred**), before confirming the creation.
{% endstep %}

{% step %}
Click **Confirm contract** to activate the contract.

<figure><img src="https://612265232-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNpXFVFZpTQck3vIrjmHB%2Fuploads%2FqBYEGekp1Tn80uzHWria%2Fimage.png?alt=media&#x26;token=3f76bf0c-6310-4f20-8402-3e444163f6c8" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

{% hint style="info" %} <mark style="color:$info;">**Note:**</mark>

When filling in the product details, you can edit details such as price or quantity after adding the product. See [**Create a New Product**](https://docs.rillet.com/EjmEP4KZ9BVp9j2ho4Mh/accounts-receivable/products/create-a-new-product.md) for more.
{% endhint %}

Rillet creates the contract and shows the notice **Contract created** with a **View Contract** link, and the contract is ready for invoicing and revenue recognition. If you added a shipping customer, the billing and shipping addresses selected in the **Invoicing** section carry over to the resulting invoice.

### **See Also**

To learn more about working with contracts in **Rillet**, review these articles:

* [**Managing Contracts**](https://docs.rillet.com/EjmEP4KZ9BVp9j2ho4Mh/accounts-receivable/contracts/managing-contracts.md)
* [**Copy Contracts**](https://docs.rillet.com/EjmEP4KZ9BVp9j2ho4Mh/accounts-receivable/contracts/copy-contracts.md)
* [**How to Create An Auto-Renewing Contract**](https://docs.rillet.com/EjmEP4KZ9BVp9j2ho4Mh/accounts-receivable/contracts/how-to-create-an-auto-renewing-contract.md)
* [**View GL Impact for Usage Cycles**](https://docs.rillet.com/EjmEP4KZ9BVp9j2ho4Mh/accounts-receivable/contracts/view-gl-impact-for-usage-cycles.md)
* [**Smart Contract Upload**](https://docs.rillet.com/EjmEP4KZ9BVp9j2ho4Mh/accounts-receivable/contracts/smart-contract-upload.md)&#x20;
* [**Generate 606 Analysis in Rillet**](https://docs.rillet.com/EjmEP4KZ9BVp9j2ho4Mh/accounts-receivable/contracts/generate-606-analysis-in-rillet.md)
* [**Import Contracts in Bulk**](https://docs.rillet.com/EjmEP4KZ9BVp9j2ho4Mh/accounts-receivable/contracts/import-contracts-in-bulk.md)


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.rillet.com/EjmEP4KZ9BVp9j2ho4Mh/accounts-receivable/contracts/add-a-contract.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
