# Rechnung Vorschau funktioniert nicht

**URL:** https://forum.shopware.com/t/rechnung-vorschau-funktioniert-nicht/106127
**Category:** Shopware 6 (German)
**Created:** [18. Dezember 2024 um 08:39 UTC](https://forum.shopware.com/t/rechnung-vorschau-funktioniert-nicht/106127 "2024-12-18T08:39:19Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![brettvormkopp](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/brettvormkopp/32/7788_2.png) [@brettvormkopp](https://forum.shopware.com/u/brettvormkopp)
#### Post date: [18. Dezember 2024 um 08:39 UTC](https://forum.shopware.com/t/rechnung-vorschau-funktioniert-nicht/106127/1 "2024-12-18T08:39:19Z")

</div>

Hallo.  
Ich habe eine

- Bestellung mit der API erstellt.
- Lieferschein generiert.
- Dann alle Status geliefert.
- Rechnung „Vorschau“ funktioniert nicht.
- Rechnung „Erstellen“ funktioniert.

Error Log:

`[2024-12-18T08:29:29.426861+00:00] request.ERROR: Uncaught PHP Exception Shopware\Core\Checkout\Document\DocumentException: "Unable to generate document. " at DocumentException.php line 59 {"exception":"[object] (Shopware\\Core\\Checkout\\Document\\DocumentException(code: 0): Unable to generate document. at /www/htdocs/xxx/vendor/shopware/core/Checkout/Document/DocumentException.php:59)"} []`

Weiss jemand warum?  
Danke und Gruss
