Home Forums Support Difference between `$amount`, `$total`, and `$balance`?

This topic contains 5 replies, has 4 voices, and was last updated by  Hillel Coren 3 weeks, 4 days ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #20064

    jmadrone
    Participant

    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)?

    #20065

    Titanfail
    Participant

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

    #20072

    Paul Mellor
    Participant

    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.

    #20078

    Hillel Coren
    Keymaster

    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

    #20250

    jmadrone
    Participant

    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.

    Thanks

    #20251

    Hillel Coren
    Keymaster

    Sorry, no

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

Posted in: