Placeholders used in Notification Templates for specific Event Handlers

The table lists the Placeholders that can be used in Notification Templates only for specific Event Handlers (see Creating an Event Handler):

Event HandlerPlaceholderDescription

Account credit hold is coming


Account changed


Account created


Financial blocking threshold was changed


Account manager changed


Low balance

All Placeholders for the Account, Owner, Reseller entities

See Placeholders for the Account entity, A common set of Placeholders for all events, Placeholders for the Reseller entity

The Placeholder account.owner_reset_password_url can be used with the Event only.

hostURL of the installation

Invoice closed


The Invoice was approved

All Placeholders for the Account, Invoice entitiesSee Placeholders for the Account entity, Placeholders for the Invoice entity
Password reset requestAll Placeholders for the User entitySee Placeholders for the User entity
tokenUnique security code used for authentication
urlLink for resetting the password
localeLanguage of the UI for the User
User invitationinviter.short_nameName of a User that has sent the invitation
invite_urlLink that allows the invited person to go to Customer Control Panel
Verify emailAll Placeholders for the User entity

See Placeholders for the User entity

user.middle_name will always be empty because the middle name is not specified during the User registration (see Quick registration).

confirmation_urlLink for confirmation of an email that was specified during registration in Customer Control Panel
tokenUnique security code used for authentication
localeLanguage of the UI for the User
Manager password reset requestAll Placeholders for the Manager entity

See Placeholders for the Manager entity

tokenUnique security code used for authentication
After subscription expirationDAYS_PASSEDNumber of days passed after the Subscription has expired
subscription.payment_model

Displays information about a Subscription with the specified payment model:

  • If subscription.payment_model == 'prepay', displays information about a prepaid Subscription only.

Only subscription.payment_model == 'prepay' is supported since the Event itself is implemented for the Prepay model only.

Upload CSP net costscsp_price_file.accepted_atDate when the new base prices for Microsoft Office 365 Plans were applied
After subscription switched from trial to non-trialsubscription.payment_model

Displays information about a Subscription with the specified payment model:

  • If subscription.payment_model == 'postpay', displays information about a postpaid Subscription only.
  • If subscription.payment_model == 'prepay', displays information about a prepaid Subscription only.
Subscription changedsubscription['notification_settings']['office365']['password']Automatically generated password to the Microsoft Office 365 control panel, which is sent to customer after the first order of Microsoft Azure or Microsoft Office 365 Subscription
subscription['notification_settings']['office365']['login']Customer login to Microsoft Office 365 control panel
subscription.responsible_managers_by_product_id[PRODUCT_ID]['KEY_MANAGER_ROLE']['email']Email of a Responsible Manager (см. Managing Responsible Managers) by the Product ID and Manager Role key
subscription.responsible_managers_by_product_id[PRODUCT_ID]['KEY_MANAGER_ROLE']['name']Name of a Responsible Manager (см. Managing Responsible Managers) by the Product ID and Manager Role key
subscription.payment_model

Displays information about a Subscription with the specified payment model:

  • If subscription.payment_model == 'postpay', displays information about a postpaid Subscription only.
  • If subscription.payment_model == 'prepay', displays information about a prepaid Subscription only.
sales_order_creator.email

Email of the Manager or the Account's User who created the Sales Order for the Subscription

Specified in the To field of an Email Template

sales_order_creator.nameFirst and last name of the Manager or the Account's User who created the Sales Order for the Subscription
subscription.application_attributes.'plugin_slug'.'attribute_key'

Placeholder contains the value of an additional attribute by the given key (see Viewing details about an Application Instance) of a Subscription based on the Plugin defined by plugin_slug:

plugin_slugPlugin name
office365Office365
microsoft_csp_productsMicrosoftCspProducts
vendor_serviceVendor Service Plugin (VSP)


PlaceholderDescription
subscription.application_attributes.office365.user_manualSubscription activation instruction

subscription.application_attributes.vendor_service.user_manual
subscription.application_attributes.microsoft_csp_products.user_manual
subscription.application_attributes.vendor_service.external_idSubscription External ID
reseller.managers_admin_emails

List of emails of all Managers with the System administrator role (see Managers' Roles) of the Reseller linked to the Account and Subscription

Specified in the To field of an Email Template

Net cost has been changed

price_changed_total
Total amount of Plans, for which the net cost has been changed
price_changed_time
Date and time of net cost changing in Plans
plans[].nameNames of Plans, for which the net cost has been changed
plans[].idIDs of Plans, for which the net cost has been changed
plans[].linkLinks to Plans, for which the net cost has been changed
price_list.linkLink to Price list section
Payment due date is comingpayment.days_leftNumber of days prior to the end of the Payment expiration period
payment.idPayment ID
payment.totalTotal amount of Payment for the Invoice including discount and Corrections (see Viewing details of the Invoice for the Postpay charging model)
payment.expiration_datePayment due date
payment.created_atPayment creation date
payment.statusPayment current status
payment.commentAdditional information about the Payment
payment.subscriptions

Iterator that allows to display an array of Subscriptions that are related to the Payment

{% for subscription in payment.subscriptions %}
<tr>
<td>{{ subscription.id }}</td>
<td>{{ subscription.name }}</td>
<td>{{ subscription.status }}</td>
</tr>
{% endfor %}

subscription.idID of the Subscription from the array of the Subscriptions related to the Payment (see Paying for the Subscriptions that are linked to the Invoice for the Postpay charging model). It is used along with the payment.subscriptions iterator (see the example above)
subscription.nameName of the Subscription from the array of the Subscriptions related to the Payment. It is used along with the payment.subscriptions iterator (see the example above)
subscription.statusStatus of the Subscription from the array of the Subscriptions related to the Payment. It is used along with the payment.subscriptions iterator (see the example above)
payment.invoice_from_date

Start date of the period of the postpaid Invoice linked to the Payment (DD.MM.YYYY)

payment.invoice_to_dateEnd date of the period of the postpaid Invoice linked to the Payment (DD.MM.YYYY)
payment.link

Link to the Payments section of the Customer Control Payment filtered by the Payment number (for example, https://{{domain}}/accounts/{{account_id}}/payments?document_id=AP000000834)

payment.invoice_document_numberInvoice number linked to the Payment

Billing day for manager's subscriptions has come

(former Billing day has come)

previous_billing_period_start_dayThe start day of the previous Billing period regarding the Billing day triggered the Event (DD.MM.YYYY)
previous_billing_period_end_dayThe end day of the previous Billing period regarding the Billing day triggered the Event (DD.MM.YYYY)
manager_accountsAccounts of the Manager
manager_accounts[].idAccount ID
manager_accounts[].primary_nameAccount primary name
manager_accounts[].type_keyAccount type key
manager_accounts[].class_keyAccount class key
manager_accounts[].balanceAccount Balance
manager_accounts[].financial_blocking_threshold

Value of the Financial blocking threshold that is set in the Account class or redefined on the Account level

manager_accounts[].subscriptions[]Subscriptions of the Account
manager_accounts[].subscriptions[].idSubscription ID
manager_accounts[].subscriptions[].nameSubscription name
manager_accounts[].subscriptions[].payment_modelPayment model: prepay or postpay
manager_accounts[].subscriptions[].payment_model_parameters[]

Postpaid Subscription parameters (payment_model = postpay).

  • "credit_limit" — the Subscription credit limit
  • "current_debt" — the Current debt for the Subscription.

(see Viewing and updating Subscription's details)

manager_accounts[].subscriptions[].plan_category_key

Plan Category key that is used for the check whether the Account has non-deleted Subscriptions within the specified Plan Category

manager_accounts[].
subscriptions[].closed_charges_amount
The amount of closed Charges for the Subscription for the previous Billing period
Before subscription expirationpayment.linkLink to the Customer Control Panel, the Payment section, with the prefilled Payment number filter for the Payment related to the Order
billing_day_dateThe date of the billing day when the Event occurs
account.balanceAccount balance
account.idAccount ID
account.nameAccount name
subscription.nameSubscription name
subscription.payment_model

Displays information about a Subscription with the specified payment model:

  • If subscription.payment_model == 'postpay', displays information about a postpaid Subscription only.
  • If subscription.payment_model == 'prepay', displays information about a prepaid Subscription only.
subscription.renewal_amountThe amount of funds in the Reseller currency required to renew a Subscription. The Placeholder can be used to display the amount with the Reseller currency units {{ subscription.renewal_amount | format_as_currency }}
subscription.renewal_amount_in_original_currencyThe amount of funds in the Plan currency with the Plan currency units required to renew a Subscription. Does not require specifying the format_as_currency modifier
sales_order_creator.email

Email of the Manager or the Account's User who created the Sales Order for the Subscription

Specified in the To field of an Email Template

sales_order_creator.nameFirst and last name of the Manager or the Account's User who created the Sales Order for the Subscription
reseller.managers_admin_emails

List of emails of all Managers with the System administrator role (see Managers' Roles) of the Reseller linked to the Account and Subscription

Specified in the To field of an Email Template

Order created


Resend the order

payment.linkLink to the Customer Control Panel, the Payment section, with the prefilled Payment number filter for the Payment related to the Order
billing_day_dateDate of the Billing day when the Event occurs
account.balanceAccount balance
account.idAccount ID
account.nameAccount name
subscription.nameSubscription name
order.totalThe total amount of an Order in the Reseller currency. The Placeholder can be used to display the amount with the Reseller currency units {{ order.total | format_as_currency }}
order.total_in_original_currencyThe total amount of an Order in the Plan currency with the Plan currency units. Does not require specifying the format_as_currency modifier
reseller.managers_admin_emails

List of emails of all Managers with the System administrator role (see Managers' Roles) of the Reseller linked to the Account and Order

Specified in the To field of an Email Template

order.days_passed

Number of days passed after creating the Order

Used for the Resend the order Event only

Guaranteed payment created


Guaranteed payment changed


Guaranteed payment will expire

All Placeholders for the Account, Guaranteed payment entitiesSee Placeholders for the Account entity, Placeholders for the Payment and Guaranteed Payment entities
Billing day is comingnext_billing_period_start_dayThe first day of the next Billing period regarding the Billing day triggered the Event
next_billing_period_end_dayThe last day of the next Billing period regarding the Billing day triggered the Event
Manual OperationAll Placeholders for the Account, Owner, Reseller entities

See Placeholders for the Account entity, A common set of Placeholders for all events, Placeholders for the Reseller entity

The Placeholder account.owner_reset_password_url cannot be used with the Manual Operation Event.

subscription.id

Subscription ID

subscription.nameSubscription name
operation.idManual Operation ID (see Manual Operations)
operation.nameManual Operation type (see Viewing the List of Manual Operations). Example: manual_provisioning_plugin_application_install
order_resources (array: target_id, target_type, type, operation_value, description)Ordered items as an arrray. Example: {"target_id"=>3008674, "target_type"=>"Subscription", "type"=>"ProvisioningItem::New", "operation_value"=>1, "description"=>"CSPMonthly"}{"target_id"=>39874, "target_type"=>"SubscriptionResource", "type"=>"ProvisioningItem::Upgrade", "operation_value"=>2, "description"=>"Licenses"}
order_subscription_params (array: name, key, value)Additional attributes of a Subscription in a Sales order as an array
subscription_resources (array: id, name, count)Target configuration of a Subscription as an array. Example: {"id"=>39871, "name"=>"vRAM", "count"=>0}{"id"=>39872, "name"=>"Storage", "count"=>0}{"id"=>39873, "name"=>"CPU", "count"=>0}{"id"=>39874, "name"=>"Licenses", "count"=>4}
subscription_resources_was (array: name, count)Previous configuration of a Subscription as an array
manual_operation.linkLink to the Manual Operation in the Reseller's domain
shopping_cart_item.plan_idPlan ID in the Order that requires approve (see Ordering a postpaid Subscription to a commercial period)
shopping_cart_item.plan_namePlan name in the Order that requires approve
shopping_cart_item.period_idPlan period ID in the Order that requires approve
shopping_cart_item.period_duration_valuePlan period duration in the Order that requires approve
shopping_cart_item.period_duration_typePlan period duration type in the Order that requires approve (year, month, day)
shopping_cart_item.total
Total amount of the Sales Order in the Plan currency. If the Reseller and Plan currencies match, the Placeholder can be used to display the Order amount with the Reseller currency units {{ shopping_cart_item.total | format_as_currency }}
resource.name
  • The name of a Resource in the Sales Order for a Service based on the Manual Provisioning Plugin
  • The current name of a Resource in the Subscription for a Service based on the Manual Provisioning Plugin
resource.count
  • The amount of a Resource in the Sales Order for a Service based on the Manual Provisioning Plugin
  • The current amount of a Resource in the Subscription for a Service based on the Manual Provisioning Plugin
resource.description

The name of a Resource in the Change Order for a Service based on the Manual Provisioning Plugin

resource.type

The operation type for a Resource in the Change Order for a Service based on the Manual Provisioning Plugin:

  • ProvisioningItem::Upgrade — increasing the amount of the Resource
  • ProvisioningItem::Downgrade — decreasing the amount of the Resource
resource.operation_value
  • The difference between the current and new amount of a Resource in the Change Order for a Service based on the Manual Provisioning Plugin
param.name
  • The name of the additional attribute of the Subscription (the name of the Parameter of the Application Template applied to the Application) for a Service based on the Manual Provisioning Plugin
  • The name of the additional attribute of a Resource (the name of the Parameter of the Application Template applied to a Resource) for a Service based on the Manual Provisioning Plugin

For the specifics of Parameters of an Application Template based on the Manual Provisioning Plugin, see Managing Parameters of an Application Template.

param.resource_nameThe name of a Resource that has an additional attribute (a Parameter of the Application Template applied to a Resource) for a Service based on the Manual Provisioning Plugin
param.value
  • The value of the additional attribute of the Subscription (the value of the Parameter of the Application Template applied to the Application) for a Service based on the Manual Provisioning Plugin
  • The value of the additional attribute of a Resource (the value of the Parameter of the Application Template applied to a Resource) for a Service based on the Manual Provisioning Plugin
Postpay payment created



account.idAccount ID
account.nameAccount name

account.balance

including {{ account.balance | format_as_currency }}

Account balance

billing_day_date

including {{ billing_day_date | format_as_date:'long' }}

The date of the billing day when the Event occurs
payment.linkLink to the Payments section of the Customer Control Payment filtered by the Payment number (for example, https://{{domain}}/accounts/{{account_id}}/payments?document_id=AP000000834)
payment.idPayment ID
payment.totalTotal amount of Payment for the Invoice including discount and Corrections (see Viewing details of the Invoice for the Postpay charging model)
payment.statusPayment current status
payment.created_atPayment creation date
payment.expiration_datePayment due date
payment.commentAdditional information about the Payment
payment.document_numberPayment number
payment.days_leftNumber of days prior to the end of the Payment expiration period
payment.subscriptions

Iterator that allows to display an array of Subscriptions that are related to the Payment

{% for subscription in payment.subscriptions %}
<tr>
<td>{{ subscription.id }}</td>
<td>{{ subscription.name }}</td>
<td>{{ subscription.status }}</td>
</tr>
{% endfor %}

subscription.idID of the Subscription from the array of the Subscriptions related to the Payment (see Paying for the Subscriptions that are linked to the Invoice for the Postpay charging model). It is used along with the payment.subscriptions iterator (see the example above)

subscription.nameName of the Subscription from the array of the Subscriptions related to the Payment. It is used along with the payment.subscriptions iterator (see the example above)

subscription.statusStatus of the Subscription from the array of the Subscriptions related to the Payment. It is used along with the payment.subscriptions iterator (see the example above)
payment.invoice_from_dateStart date of the period of the postpaid Invoice linked to the Payment
payment.invoice_to_dateEnd date of the period of the postpaid Invoice linked to the Payment
Payment has been receivedpayment.invoice_document_numberInvoice number linked to the Payment

Joined payment created


Resend the joined payment

account.idAccount ID
account.nameAccount name

account.balance

including {{ account.balance | format_as_currency }}

Account balance
payment.idPayment ID

payment.total

including {{ payment.total | format_as_currency }}

Total amount of the Payment
payment.document_numberPayment number
payment.linkLink to the Payments section of the Customer Control Payment filtered by the Payment number (for example, https://{{domain}}/accounts/{{account_id}}/payments?document_id=AP000000834)

payment.earliest_charge_from_date

including {{ payment.earliest_charge_from_date | format_as_date }}

The earliest from date in the Charges linked to the Payment
payment.subscriptionsIterator that allows displaying the array of the Subscriptions linked to the Payment (see the example above)

subscription.idID of the Subscription from the array of the Subscriptions linked to the Payment. It is used with the payment.subscriptions iterator

subscription.nameName of the Subscription from the array of the Subscriptions linked to the Payment. It is used with the payment.subscriptions iterator
payment.days_passed

Number of days passed after creating the joined Payment

The payment.days_passed Placeholder can be used with the Resend the joined payment Event only.

Manager createdmanager.emailManager's email which will be used as the login
manager.nameManager's name
reseller.domainDomain name of the Manager's Reseller
tokenUnique key for setting the Manager's password on the first signing in
Billing day for account's subscription has comepast_billing_period_start_dayThe start day of the previous Billing period regarding the Billing day triggered the Event (DD.MM.YYYY or MM/DD/YYYY)
The "%m %Y" parameter is supported as follows: {{ past_billing_period_start_day | date: "%m %Y" }}
past_billing_period_end_dayThe end day of the previous Billing period regarding the Billing day triggered the Event (DD.MM.YYYY)
All Placeholders for the Account entitySee Placeholders for the Account entity
Placeholders for the Subscription entity

See Placeholders for the Subscription entity

The following Placeholders for the Subscription entity are not supported by the Event:

  • first_subscription

  • subscription.csp

  • subscription.renewal_payment.receipt_url

  • subscription.days_passed

  • subscription.days_left

  • subscriptions[]

  • subscriptions[].billing_type

  • subscriptions[].billing_day

  • subscriptions[].billing_day_date

  • subscriptions[].billing_day_charge

  • subscriptions[].payment_model

  • subscription['resources'][RESOURCE_PRIORITY].include

  • subscription['resources'][RESOURCE_PRIORITY].additional

  • subscription.responsible_managers_by_product_id[PRODUCT_ID]['KEY_MANAGER_ROLE']['name']

  • subscription.responsible_managers_by_product_id[PRODUCT_ID]['KEY_MANAGER_ROLE']['email']