Difference between `$amount`, `$total`, and `$balance`?

This software really sets itself apart from others by being completely customizable in so many ways, I really appreciate all the hard work of the development team!

Is there anything written up yet about the variables that can be used in email templates? Specifically would like to know the difference between:

  • $amount
  • $total
  • $balance

I am trying to figure out if one of these can be used to show the total amount due, after a late fee has been applied (eg. …your new balance is $total)?

As far as I’m aware, $balance is going to be the remaining amount that has yet to be paid.

from what i have found. $Balance is the amount unpaid by that customer. so the total outstanding by that customer.
$Amount is the invoice amount so the total invoice.
As for $Total i have not found that in all my JSON mapping.

Thanks! Yeah… the ‘amount’ name can be improved.

The amount field is the default value, it takes into account the partial/deposit field.

For example, a $100 invoice which has a $20 partial payment and $50 set as the partial/deposit.

Total: 100
Balance: 80
Amount: 50

Is there any variable for the original invoice amount (ie. does not include fees added later)? For example, let’s say an invoice was issued for $100, then a $5 late payment fee was added later. Is there a way to show this in an email template like so:

Invoice Number: 001
Invoice Amount: $100
Due Date: Jan 1, 2019
Balance Due: $105

Right now the totals are all updated with the new amount due, so none reflect the original invoice amount.


Sorry, no