Placeholders for the Order and Charge entities
The following placeholders are used for the Order and Charge entities.
Entity | Placeholder | Description |
---|---|---|
Order | order.id | The order ID |
order.number | The order number | |
order.status | The order status | |
order.created_at | The date and time of the order creation | |
order.charges | The full information about charges of an order (data will be separated by ".": description, quantity, unit_price, unit_price_without_tax, discount_amount, discounted_unit_price_without_tax, amount_without_tax, period, tax_percent, amount, discount_ids)) | |
order.total | The 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_currency | The 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 |
Entity | Placeholder | Description |
---|---|---|
Charge | charge.description | Detailed information about a charge |
charge.quantity | The 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_price | The 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_currency | The unit price in the plan currency with the plan currency units. Does not require format_as_currency | |
charge.discount_amount | The 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_currency | The 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.period | The period of using the service covered by a charge | |
charge.tax_percent | The placeholder is deprecated. The VAT rate | |
charge.amount | The 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_currency | The amount of a charge in the plan currency with the plan currency units. Does not require format_as_currency | |
charge.operate_from | The start date of a period covered by a charge (DD.MM.YYYY). Used to display the "Operate from" parameter in invoices | |
charge.operate_to | The 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_name | The name of a resource related to a charge |