Template Variables: Difference between revisions

Jump to navigation Jump to search
Line 228: Line 228:
[INVOICEBALANCE:-100] - invoice balance with offset amount
[INVOICEBALANCE:-100] - invoice balance with offset amount


[INVOICEPARTBALANCE:status1,status2,status4] - Calculate the balance of all invoice items with matching status, the status items can be a comma separated list. To exclude status items prefix them with an exclamation mark, for example !status1.
[INVOICEPARTBALANCE:status1,status2,status4:10%] - Calculate the balance of all invoice items with matching status and apply optional multiplier or offset. The status items can be a comma separated list. To exclude status items prefix them with an exclamation mark, for example !status1. The offset optional and can be specified after a second colon (:) and it can be a percentage by ending the number with the percent (%) symbol or a numeric value offset.


[INVOICECHARGES] - invoice sum of all charges  
[INVOICECHARGES] - invoice sum of all charges