> For the complete documentation index, see [llms.txt](https://docs.agilecase.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.agilecase.com/user-documentation/accounts-and-bills/creating-an-invoice.md).

# Creating an Invoice

This lesson will show you how to create invoices in AgileCase.

{% stepper %}
{% step %}

## Select a bill

<figure><img src="/files/zlWFSPtdUqz1WaI2e3SP" alt=""><figcaption></figcaption></figure>

To create an invoice, first of all select the bill that you want to create an invoice for.

To select a bill, click the hyperlinked ID number. This will take you to the "Invoice Details" page.
{% endstep %}

{% step %}

## Click "Create Invoice"

<figure><img src="/files/NoI0bre6YCB8RrgdBYv1" alt=""><figcaption></figcaption></figure>

On the invoice details page you can view the makeup of the invoice and the total fee under the "Fees" tab. In order to go ahead and create the invoice, click the "Create Invoice" button.
{% endstep %}

{% step %}

## Select an invoice and payment term

<figure><img src="/files/xgnoIGyaF4APrpHHR9gX" alt=""><figcaption></figcaption></figure>

You will now be prompted to select a template and a payment term. You can learn about the invoice template in [this](/administrator-documentation/templates/using-the-agilecase-invoice-template.md) lesson. The payment term governs when the bill will be due for payment by the client.

Once you have selected these, click "Create Invoice" to create the invoice.
{% endstep %}

{% step %}

## View the invoice

<figure><img src="/files/LcPB688BaQEkSFfddset" alt=""><figcaption></figcaption></figure>

Once you have created an invoice you can view it under the "Invoice" tab on the invoice details page. To download the invoice, click the hyperlinked document name.
{% endstep %}

{% step %}

## Downloaded invoice

<figure><img src="/files/2xub4j1Avv4l8zKSXlib" alt=""><figcaption></figcaption></figure>

Your invoice will download and be presented according to your invoice template, ready to be sent out to your client.
{% endstep %}
{% endstepper %}


---

# 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.agilecase.com/user-documentation/accounts-and-bills/creating-an-invoice.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.
