The billing statement is sent to a customer each month after the fees have been calculated and any automated payment has been attempted. It includes the following tokens:
In addition, the following tokens are included:
$OfferName$ | The name of the offer |
$Invoice.InvoiceNumber$ | The statement/invoice id |
$CollectionMethodCode$ | The code indicating how payment is made by the customer (“C” for credit card, “I” for invoice, “P” for PayPal) |
$StatementDate$ | The date of the statement/invoice |
$Charges$ | List of charges for this statement. Use the looping construct to expand list within template. |
$Payments$ | List of payments for this statement. Use the looping construct to expand list within template. |
$Discounts$ | List of discounts for this statement. Use the looping construct to expand list within template. |
$Taxes$ | List of taxes for this statement. Use the looping construct to expand list within template. |
$SummarizedTaxes$ | List of summarized taxes (by tax type/code) for this statement. Use the looping construct to expand list within template. |
$TotalCharges$ | The total charges for this statement |
$TotalPayments$ | The total payments for this statement |
$TotalDiscounts$ | The total discounts for this statement |
$TotalTaxes$ | The total taxes for this statement |
$Balance$ | The outstanding balance |
$PreviousBalance$ | The previous outstanding balance |
For each charge, payment, discount, or tax entry: |
|
$entry.Name$ | The name of the entry |
$entry.Amount$ | The amount of the entry |
Below is the default template for this notification:
Dear $CustomerName$, Thank you for your business. Below is a statement of your recent account activity. Please contact us if you have any questions. Sincerely, $CompanyName$ Customer Care $CustomerServiceEmail$ $CustomerServicePhone$ $CompanyAddress.AddressLine1$ $CompanyAddress.AddressLine2$ $CompanyAddress.City$, $CompanyAddress.StateProvince$ $CompanyAddress.PostalCode$ Statement Summary --------------------------------------------------------------- Account ID: $CustomerID$ Statement Date: $StatementDate;format={0:MMMM d, yyyy}$ Previous Balance: $PreviousBalance;format="{11:C}"$ Current Charges: $TotalCharges;format="{11:C}"$ Current Payments: $TotalPayments;format="{11:C}"$ =========== Current Balance: $Balance;format="{11:C}"$ Current Activity --------------------------------------------------------------- $Charges: {entry|$entry.PostDate;format="{-10:MM/dd/yyyy}"$ $entry.Name;format="{-34}"$ $entry.Amount;format="{12:C}"$ $n$}$ ============ Total Current Charges $TotalCharges;format={12:C}$ $Payments: {entry|$entry.PostDate;format="{-10:MM/dd/yyyy}"$ $entry.Name;format="{-34}"$ $entry.Amount;format="{12:C}"$ $n$}$ ============ Total Current Payments $TotalPayments;format="{12:C}"$