...
Service | Billing Period | Price (excl. VAT) | Tax | Total (incl VAT) |
«TableStart: invoice.invoiceLineItems.mrc.» «serviceName» | «periodStart» - «periodEnd» | «amount» | «invoiceItemTaxTotal» | «invoiceItemTotal»«TableEnd«invoiceItemTotal»«TableEnd: invoice.invoiceLineItems.mrc.in» |
Conditions
IF conditions can be used to determine the value (if any) of what shows up on your template.
The IF condition must be inside field tags and can evaluate the value of a token/variable
The following would display “Amount Owing” if the amount owing is greater than 0, or “Credit” if there is a negative balance, prior to displaying the balance on the invoice:
{IF {MERGEFIELD invoice.balance} >= 0 “Amount Owing” “Credit”}{MERGEFIELD invoice.balance}