> 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/allgemeines-zu-finanzdokumenten/druckversionseinstellungen/attach-documents-to-the-pdf-or-e-invoice.md).

# Attach documents (to the PDF or e-invoice)

The documents listed below can be attached to an invoice. By selecting the checkboxes in the print version settings, you can choose whether they are attached only to the PDF, embedded in the e-invoice XML, or both.

{% hint style="info" %}
The selection affects the PDF file size.
{% endhint %}

<figure><img src="https://4063991107-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-La4YdZ1Gw5iHapqZfIo%2Fuploads%2F1ZUVUZB69EctHVBP3ttA%2Fimage15.png?alt=media&amp;token=2cde3665-e8b3-4f73-b1ac-fcaefe95e068" alt=""><figcaption></figcaption></figure>

### Estimate

When an estimate is invoiced, it can be attached to the invoice as follows:

<figure><img src="https://4063991107-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-La4YdZ1Gw5iHapqZfIo%2Fuploads%2F24PtMxXSXUoo4ugpYI5S%2Fimage16.png?alt=media&amp;token=4e3de0ab-5ad2-4502-b93e-22bd89ed0f0c" alt=""><figcaption></figcaption></figure>

### General terms and conditions

If a PDF for invoices has been uploaded under Finance -> Document Appendix in the settings, it will be attached to the PDF, the XML, or both, according to the settings. It is not shown in the print preview.&#x20;

### Supplier receipts

If a receipt is booked as a billable external service against an estimate and the estimate is invoiced, the receipts also appear here in the print version settings and can be attached to the invoice. The checkboxes determine whether they are attached only to the PDF, the XML, or both.&#x20;

The following video explains how this works for invoices. Booking against an estimate works in the same way.&#x20;

{% @arcade/embed flowId="EgDd9gTqQacWD9jrioDv" url="<https://app.arcade.software/share/EgDd9gTqQacWD9jrioDv>" %}


---

# 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/allgemeines-zu-finanzdokumenten/druckversionseinstellungen/attach-documents-to-the-pdf-or-e-invoice.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.
