# Generate Invoice

In the Real Estate plugin, invoices are automatically created and prepared for all rental payments associated with each contract. These payments occur based on the [payment frequency](https://docs.ottu.com/user-guide/real-estate/tenant-and-contract-management/contract-management/add-new-contract#payment-period) defined within the [contract form](https://docs.ottu.com/user-guide/real-estate/tenant-and-contract-management/contract-management/add-new-contract#new-contract-form). Through the **Generate Invoice** section, merchants have the ability to explore all prepared invoices. They have the option to specify the desired [property](https://docs.ottu.com/user-guide/real-estate/tenant-and-contract-management/contract-management/add-new-contract#property-name), [profile,](https://docs.ottu.com/user-guide/real-estate/property-management#invoice-profile) or period to view all invoices prepared thus far.

{% hint style="info" %}
&#x20;Merchants can only choose the period for previewing the invoice within the range of the plugin activation date till the current month.
{% endhint %}

### [Generate Invoices Dashboard](#generate-invoices-dashboard)

The **Generate Invoices Dashboard** helps merchants easily manage rental invoices with tools for viewing, printing, and sharing payment links.

#### **Key Features:**

* **Automatic Invoices:** Invoices are generated based on the payment frequency set in each contract.
* **Filter and Display:** View invoices by selecting **Property**, **Profile**, or **Time Period** (from the plugin activation date to the current month).
* **Quick Preview:** Click the **SHOW** button to display all relevant invoices.
* **Print Invoices:** Easily print invoices as professional PDF files using the **Print** button.
* **Send Payment Links:** Share payment links directly with customers using the **Send Payment Link** button.
* **Apply Discounts:** Discounts are automatically calculated based on unit rates and free periods between the contract start and payment start dates.
* **Invoice Details:** Each invoice includes property info, unit details, contract data, tenant information, and financial summaries.

This dashboard simplifies invoice management, making it faster and more efficient.

## [Display Invoices](#display-invoices)

This example demonstrates how to display, generate, and send invoice links. The displayed invoices can be filtered by property name, profile, or date. In this case, we specify the period as January 2025 and the property as **Doc Building** and **Doc Building and Villa**.

When the **SHOW** button is clicked, all relevant invoices from the activation date of the Real Estate plugin up to the selected month are displayed, as shown in the figure below.

<figure><img src="https://2847651520-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiUKrMb9zLt5ZzGPUYDsK%2Fuploads%2FThjZ7dAzjlkNVKM5eoMl%2Fimage.png?alt=media&#x26;token=59f38fd7-679f-4e58-a683-3b6c7c025062" alt=""><figcaption></figcaption></figure>

## [Add Discount ](#add-discount)

Each invoice will be displayed with information such as [property](https://docs.ottu.com/user-guide/real-estate/tenant-and-contract-management/contract-management/add-new-contract#property-name), [unit information](https://docs.ottu.com/user-guide/real-estate/tenant-and-contract-management/contract-management/add-new-contract#add-unit), [contract number](https://docs.ottu.com/user-guide/real-estate/tenant-and-contract-management/contract-management/add-new-contract#contract-reference), contract [start](https://docs.ottu.com/user-guide/real-estate/tenant-and-contract-management/contract-management/add-new-contract#contract-start-date) and [end](https://docs.ottu.com/user-guide/real-estate/tenant-and-contract-management/contract-management/add-new-contract#contract-end-date) dates, [due](https://docs.ottu.com/user-guide/real-estate/tenant-and-contract-management/contract-management/add-new-contract#payment-start-date) date, [termination details](https://docs.ottu.com/user-guide/real-estate/regular-activities/tenant-and-contract-management/contract-management/contract-action/terminate-contract), and [tenant information](https://docs.ottu.com/user-guide/real-estate/regular-activities/tenant-and-contract-management/tenant-management), along with the following amount information:

<figure><img src="https://2847651520-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiUKrMb9zLt5ZzGPUYDsK%2Fuploads%2FkahaB9qAGzDRRpy6dr5v%2Fimage.png?alt=media&#x26;token=f1112758-efbe-4275-b35f-d2cc4c4b8397" alt=""><figcaption></figcaption></figure>

Merchant can easily update the collected amount through the **Actual PAID Amt** field.

## [Print Invoices](#print-invoices)

Printing invoices is quick and straightforward. After [displaying](#display-invoices) the relevant invoices, simply click on the **Print** button. The system will automatically format and generate a printable PDF version of the selected invoices.

## [Generate Invoices and Send Payment Links](#generate-invoices-and-send-payment-links)

After clicking the **SHOW** button, check [here](#display-invoices), the **Generate Invoices and Send Links** buttons become active. Clicking this button will:

* Create the invoices.
* Send the payment link to the tenant.
