Happy Business Starts Here

Suppress Blank Invoice Address Line 2 in Invoice Template

Zuora Support

Suppress Blank Invoice Address Line 2 in Invoice Template


Is it possible to have lines within the billing address be hidden if they are blank? If you look at the PDF I have attached, you can see that because we have a blank country code and a blank address line 2, those lines are showing up as spaces on the invoice and it looks bad. Please advise.



We might need to use the IF condition in the Address 2 Line along with a Table where we can hide the table borders.



Also, we can hide "IF" condition format, leaving the "BillToContact.Address2" mergefield. This is to remove the additional empty spaces in the Template.


Template Sample:


PDF With Address 2:


PDF Without Address 2:



Attached the sample template where this could be achieved. 

If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √