Placeholders for the Order and Charge entities

The following placeholders are used for the Order and Charge entities.

EntityPlaceholderDescription

Order


order.idThe order ID

order.number

The order number
order.status

The order status

order.created_atThe date and time of the order creation
order.charges

Full information about charges of an order

{% for charge in order.charges %}
  charge
{% endfor %}

Charge attributes: description, quantity, unit_price, unit_price_in_original_currency, unit_price_without_tax, discount_amount, discount_amount_in_original_currency, discounted_unit_price_without_tax, amount_in_original_currency, amount_without_tax, period, tax_percent, amount, discount_ids, operate_from, operate_to, resource_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 format_as_currency
order.days_passed

The number of days passed after creating an order. Used for the Resend the order event only


EntityPlaceholderDescription

Charge

charge.descriptionDetailed information about a charge
charge.quantityThe total quantity of the ordered resources
charge.unit_price_without_tax

The placeholder is deprecated.

The price of a unit of the service excluding VAT

charge.unit_priceThe unit price in the reseller currency. The placeholder can be used to display the amount with the reseller currency units {{ charge.unit_price | format_as_currency }}
charge.unit_price_in_original_currencyThe unit price in the plan currency with the plan currency units. Does not require format_as_currency
charge.discount_amountThe amount of a discount in the reseller currency. The placeholder can be used to display the amount with the reseller currency units {{ charge.discount_amount | format_as_currency }}
charge.discount_amount_in_original_currencyThe amount of a discount in the plan currency with the plan currency units. Does not require format_as_currency
charge.discounted_unit_price_without_tax

The placeholder is deprecated.

The amount of a discount per unit of the service excluding VAT

charge.amount_without_tax

The placeholder is deprecated.

The amount of a charge excluding VAT

charge.periodThe period of using the service covered by a charge
charge.tax_percent

The placeholder is deprecated.

The VAT rate

charge.amountThe amount of a charge in the reseller currency. The placeholder can be used to display the amount with the reseller currency units {{ charge.amount | format_as_currency }}
charge.amount_in_original_currencyThe amount of a charge in the plan currency with the plan currency units. Does not require format_as_currency
charge.operate_fromThe start date of a period covered by a charge (DD.MM.YYYY). Used to display the "Operate from" parameter in invoices
charge.operate_toThe end date of a period covered by a charge (DD.MM.YYYY). Used to display the "Operate to" parameter in invoices
charge.name

The name of a resource, subscription, and the covered period for invoices in the following format: from {DD.MM.YYYY} to {DD.MM.YYYY}. The displayed paid period is defined by the operate_from and operate_to parameters of a charge. See also Charges for the subscriptions with different billing types)

charge.resource_nameThe name of a resource related to a charge