Answers.Body: <p>Initially i thought the address are rendered using format defined at Address Settings but i was wrong when i checked the message template. The message template is designed to use address format as</p>
  
  <pre><code>Street Address Supplement Address
  Supplement Address State Abbreviation
  City Postal Code
  Country
  </code></pre>
  
  <p>I did some modification to message template so that State Abbreviation is between City and Postal Code. Can you try after replacing the content of <strong>Contributions - Invoice</strong> message template with the content from <a href="https://gist.github.com/pradpnayak/6a3c10d598634068b8e7cbc16c7322d9" rel="noreferrer">here</a>?</p>
  
  <p>HTH</p>
  
  <p>Pradeep</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-24T16:27:53.577Z
Answers.Text: wow... cheerz!!!
Answers.UserDisplayName: Pradeep Nayak
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-24T08:07:10.100Z
Answers.LastActivityDate: 2018-04-24T08:07:10.100Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>I am on Civi 5.0.1 and Wordpress 4.9
  Please see screenshots.
  I need to print and mail some Contribution invoices. I noticed that the address layout for the invoices is incorrect.  I went to Administrator > Communications > Messages Templates > System Workflow Messages.  Then I clicked to Edit Contributions - Invoice.  </p>
  
  <p>I tried rearranging some of the tables and short codes to make it show up the way I need it to, but that just messed it up even more.  </p>
  
  <p>Can someone tell me the proper table and shortcode arrangement in Contributions - Invoice to get the address layout I need?</p>
  
  <p>Thank you. </p>
  
  <p><a href="https://i.sstatic.net/UgdvX.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/UgdvX.jpg" alt="enter image description here"></a>
  <a href="https://i.sstatic.net/b66AS.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/b66AS.jpg" alt="enter image description here"></a></p>
  
Tags: <pdf><invoice>
Title: Contribution - Invoice Address layout is wrong. How to fix?
ThreadText: # Contribution - Invoice Address layout is wrong. How to fix?
  
  (Asked by: username_0 on 2018-04-24)
  
  I am on Civi 5.0.1 and Wordpress 4.9
  Please see screenshots.
  I need to print and mail some Contribution invoices. I noticed that the address layout for the invoices is incorrect. I went to Administrator > Communications > Messages Templates > System Workflow Messages. Then I clicked to Edit Contributions - Invoice.
  
  I tried rearranging some of the tables and short codes to make it show up the way I need it to, but that just messed it up even more.
  
  Can someone tell me the proper table and shortcode arrangement in Contributions - Invoice to get the address layout I need?
  
  Thank you.
  
  [![enter image description here](https://i.sstatic.net/UgdvX.jpg)](https://i.sstatic.net/UgdvX.jpg)
  [![enter image description here](https://i.sstatic.net/b66AS.jpg)](https://i.sstatic.net/b66AS.jpg)
  
  **Tags:** pdf, invoice
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-04-24. Score: 4 | Accepted answer
  
  Initially i thought the address are rendered using format defined at Address Settings but i was wrong when i checked the message template. The message template is designed to use address format as
  Street Address Supplement Address
  Supplement Address State Abbreviation
  City Postal Code
  Country
  
  I did some modification to message template so that State Abbreviation is between City and Postal Code. Can you try after replacing the content of Contributions - Invoice message template with the content from here?
  HTH
  Pradeep
  
  > **Comments:**
  > **username_1**: wow... cheerz!!!  
  
  ---
  
  