# Fehlerhafte Belegerstellung

**URL:** <https://forum.shopware.com/t/fehlerhafte-belegerstellung/35139>\
**Category:** Administration\
**Created:** [9. März 2016 um 10:03 UTC](https://forum.shopware.com/t/fehlerhafte-belegerstellung/35139 "2016-03-09T10:03:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![carl77](https://avatars.discourse-cdn.com/v4/letter/c/34f0e0/32.png) [@carl77](https://forum.shopware.com/u/carl77)\
**Post date:** [9. März 2016 um 10:03 UTC](https://forum.shopware.com/t/fehlerhafte-belegerstellung/35139/1 "2016-03-09T10:03:27Z")

</div>

Hallo! Ich hatte in einem der Dokumente **erstens keine Straße** (die Zeile fehlte komplett) und **zweitens fehlte** auch die **Belegnummer**.

Bei dem Dokument war scheinbar ein alter/nicht vorhandener Nummernkreis noch gespeichert. Den habe ich auf den neuen geändert, aber jetzt steht in der PDF nur eine 0 statt meiner 5040047

Un die Straße fehlt ebenfalls auch noch. Im Template steht aber die Straße drin:

&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;

&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;

{$Containers.Header\_Sender.value}

&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;{$User.$address.company}

&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;{$User.$address.firstname} {$User.$address.lastname}  
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;  
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;{$User.$address.street}

&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;{$User.$address.zipcode} {$User.$address.city}

&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;{if $User.$address.state.shortcode}{$User.$address.state.shortcode} - {/if}{$User.$address.country.countryen}

&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;

Hat jemand eine Idee worin der Fehler liegen könnten?
