# Invoice projects
Create invoices directly from a project — billed by **Time & material** or as a **Fixed price** — then edit, delete, and export them.

:::lock{title="Required rights"}
Project management
:::

With an active **easybill** integration, invoices can be transferred automatically and timesheets attached as a PDF.

## Overview

The invoice overview shows, per issued invoice, the invoice number, invoice notes, invoice date, billing period, amount, and the billing status (indicated by the row's background color).

![](/images/guides/invoice-projects/image-mqjpyooi.png)

### Invoice states

Aerion supports the following invoice states, set automatically via a connected invoicing service (e.g. easybill) or manually:

* **Due (grey)** — unpaid, but still within the payment term.
* **Paid (green)** — paid.
* **Overdue (red)** — unpaid and past the payment term.

### Invoice options

![](/images/guides/invoice-projects/image-mqjq3qm4.png)

Each invoice row offers several options in its context menu:

* **Edit** — opens the invoice's edit dialog.
* **Open invoice in the invoicing service** — opens the invoice in the connected service. Available only when a service like easybill is connected and the invoice was created through it.
* **Open external invoice page** — opens the external invoice link. Available only when easybill is connected and the invoice was created with easybill.
* **Copy external invoice link** — copies the external invoice link to the clipboard. Same conditions as above.
* **Show billing report** — shows the billing report created at invoicing.
* **Delete** — opens the invoice's delete dialog.

## Create an invoice

![](/images/guides/invoice-projects/image-mqjq70jh.png)

Click the **+** icon to create a new invoice with these options:

* **Billing mode** — with **Time & material**, the amount is generated from the billable project time. With **Fixed price**, you set the amount manually.
* **Billing period** — project days within the period are set to *Reviewed*, and users without Project management rights can no longer create time entries for the project.
* **Amount** — the invoice amount, excluding expenses.
* **Link entries to the invoice** — ensures all time entries within the billing period are automatically linked to this invoice.
* **Lock project days** — optionally lock all project days within the billing period to prevent later changes.
* **Expenses** — the list of all billable expenses. Select them individually to add them to the invoice total.

When easybill is connected to Aerion, additional options are available:

* **Create invoice with easybill** — automatically creates an invoice in easybill with all line items defined in Aerion.
* **Attach PDF timesheet** — attaches a timesheet (with all time entries) as a PDF to the easybill invoice.
* **Line item options** — control how line items are created in easybill:
  * **Create one line item per task** — one easybill line item per task, using the task's name.
  * **Create one line item per staff member** — one easybill line item per staff member, using the staff member's name.
  * **Merge tasks into services/articles** — tasks are mapped to the services or articles stored in easybill. Whether a task maps to a service or an article is set in the easybill settings in Aerion.
  * **Merge staff into services/articles** — staff work is mapped to the services or articles stored in easybill, configured the same way.
  * **Merge all items into one line item** — all tasks are combined into a single line item.

Click **Next** to open either a billing report or, when easybill is linked, the [timesheet configuration settings](/guides/invoice-automation-with-easybill).

## Edit an invoice

![](/images/guides/invoice-projects/image-mqjq9zos.png)

Click an entry in the list, or choose **Edit**, to open the invoice's edit dialog. You can adjust all of the invoice's fields, and set the payment status manually here. Changes to an invoice have no effect on invoices already issued through a connected invoicing service.

## Delete an invoice

![](/images/guides/invoice-projects/image-mqjqb765.png)

The delete dialog lets you unlink the time entries connected to the invoice and reset their billing state to *Uninvoiced*. The entries can then be billed again — useful if an invoice was issued by mistake.

:::warning
Deleting an invoice can't be undone. It also has no effect on invoices already issued through a connected service (e.g. easybill) — those must be deleted there separately.
:::
