Happy Business Starts Here

How to Divide 2 values on an Invoice PDF

Rajkumar
Zuora Support

How to Divide 2 values on an Invoice PDF

Question:

I want to create a field on the invoice template that divide 2 amount from other fields on the invoice that is pulled from the system.

so if one field have value 1000
another field have value 2
then the value in my field would be (value 1 / value 2) = 500

 

Solution:

 

All kinds of calculations are based out on MS Word features and not a Zuora provided one. Below are the some of the articles which covers the Division calculation using Mail Merge functionality.

 

Sample Testing from Local tenant:

 

Invoice Detail

 

Division Invoice Detail.png

Template Setup: Divided Extended Price with Unit Price

Division Invoice Template.png

Invoice PDF

Division Invoice PDF.png

 






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