# Bestellung - Mehrfachänderung - Dokument herunterladen Error

**URL:** <https://forum.shopware.com/t/bestellung-mehrfachaenderung-dokument-herunterladen-error/107038>\
**Category:** Allgemein\
**Tags:** administration\
**Created:** [15. April 2025 um 15:26 UTC](https://forum.shopware.com/t/bestellung-mehrfachaenderung-dokument-herunterladen-error/107038 "2025-04-15T15:26:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TS29](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/ts29/32/26299_2.png) [@TS29](https://forum.shopware.com/u/TS29)\
**Post date:** [15. April 2025 um 15:26 UTC](https://forum.shopware.com/t/bestellung-mehrfachaenderung-dokument-herunterladen-error/107038/1 "2025-04-15T15:26:40Z")

</div>

Hey zusammen,

wir sind letzte Woche von Shopware 5 zu Shopware 6 migriert. Das hat auch soweit alles reibungslos funktioniert, jedoch haben wir gerade Probleme mit der Bestellverarbeitung.

Wenn wir über die Mehrfachänderung gehen und das erstellte Dokument Lieferschein herunterladen wollen, bekommen wir einen 500er status error. Dabei ist es egal, ob wir nur eine Bestellung bearbeiten oder mehrere. Zudem auch, ob ein Lieferschein im gleichen Zug erstellt wurde, oder schon erstellt war.

 ![Bildschirmfoto 2025-04-15 um 17.20.07](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/f/8/f8196457a64449032ce480a51e3fa7422ac34759.png)

Fehlermeldung aus dem Log:

```auto
[2025-04-15T15:20:04.990372+00:00] request.CRITICAL: Uncaught PHP Exception TypeError: "Cannot assign array to property Shopware\Core\Checkout\Document\DocumentConfiguration::$companyCountry of type ?Shopware\Core\System\Country\CountryEntity" at DocumentConfiguration.php line 298 {"exception":"[object] (TypeError(code: 0): Cannot assign array to property Shopware\\Core\\Checkout\\Document\\DocumentConfiguration::$companyCountry of type ?Shopware\\Core\\System\\Country\\CountryEntity at /var/www/clients/client2/web50/web/sw6/vendor/shopware/core/Checkout/Document/DocumentConfiguration.php:298)"} []

```

Hatte das Problem schon mal jemand und weiß, wie man das lösen kann?

Liebe Grüße  
Tom

---

<div class="post-metadata">

**Author:** ![Julian.Richter](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/julian.richter/32/22744_2.png) [@Julian.Richter](https://forum.shopware.com/u/Julian.Richter)\
**Post date:** [20. Mai 2025 um 08:47 UTC](https://forum.shopware.com/t/bestellung-mehrfachaenderung-dokument-herunterladen-error/107038/2 "2025-05-20T08:47:40Z")

</div>

> [@TS29](#):
>
> `$companyCountry of type`

Hi Tom,

zwar ist Dein Post schon etwas her - hier dennoch das Feedback für die Allgemeinheit.  
Der hier beschriebene Sachverhalt wurde im Rahmen des Issues [6.6.10.0: Download XML ZUGFeRD not possible · Issue #6969 · shopware/shopware · GitHub](https://github.com/shopware/shopware/issues/6969) gelöst.
