> For the complete documentation index, see [llms.txt](https://wiki.dieagenturverwaltung.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.dieagenturverwaltung.de/die-agenturverwaltung-en/finanzen-1/kva/abrechnung-von-kostenvoranschlaegen/schlussrechnung-erstellen.md).

# Create final invoice

## What is a final invoice?

The final invoice is the last invoice document generated from an estimate. It is thereafter considered settled.

A final invoice can be generated as the first invoice from an estimate or as the last in a series of interim or partial invoices.

{% hint style="info" %}
The final invoice lists all services from the estimate again and automatically offsets all interim or partial invoices previously generated from that estimate.
{% endhint %}

## How to create a final invoice

In the "Billing" tab of your estimate select a billing method:

![](https://4063991107-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-La4YdZ1Gw5iHapqZfIo%2F-M1tMmiaJh0bSphYBoVO%2F-M1tN1A08NiEX8gr4XRX%2FBildschirmfoto%202020-03-08%20um%2015.43.45.png?alt=media\&token=b5e844bf-d19e-4168-8d72-43ed8e119d65)

Different billing methods are suggested; select "Create final invoice" here.

![](https://4063991107-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-La4YdZ1Gw5iHapqZfIo%2F-MiBquZ8Us6JyIOc-lLJ%2F-MiBrRKRdQfvr-TIN9O9%2FBildschirmfoto%202021-08-28%20um%2015.05.29.png?alt=media\&token=6e16fac9-68c2-4913-9977-8197af3251dd)

Then, if applicable, enter the desired invoice date and — if different from the estimate — the job, and click "Create invoice now".

### Billing of incurred external services

The checkbox when creating the invoice allows us to automatically adjust the totals of certain line items if external services are billable "based on actual costs".

{% hint style="info" %}
**Example of application**\
In an estimate line item "travel expenses" we calculated EUR 500, but agreed with the customer that we will bill travel expenses based on receipts — i.e., as they are incurred.

Two receipts are incurred for the trip: a ticket for a train ride (EUR 200) and a receipt for an overnight hotel stay (EUR 150).\
In total, EUR 350 have therefore been incurred against the "travel expenses" line item.\
\
So if I leave the checkbox enabled when creating the final invoice, the value of the "travel expenses" line item automatically changes to EUR 350, the sum of the incurred *billable based on actual costs* external services.
{% endhint %}

## Estimate status change when billing

When generating a final invoice, the status of the estimate automatically changes from "approval" to "settled".


---

# 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://wiki.dieagenturverwaltung.de/die-agenturverwaltung-en/finanzen-1/kva/abrechnung-von-kostenvoranschlaegen/schlussrechnung-erstellen.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.
