Placeholders for the Invoice entity
The following placeholders are used for the Invoice entity.
Placeholder | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
invoice.id | The invoice ID | ||||||||
invoice.document_number | The invoice number assigned by the platform or modified by a third-party ERP system for a postpaid invoice with external management in accordance with the third-party invoice name (see Approve postpaid invoice) | ||||||||
invoice.total | The total amount of the invoice payment. With the number_in_words filter and the localization key, it returns the localized total amount of the invoice payment in words | ||||||||
invoice.total_in_words | The total amount of the invoice payment in words | ||||||||
invoice.created_at | The date of the invoice creation | ||||||||
invoice.from_date | The period of an invoice: from (in the following format: Sun, 01 May 2016) | ||||||||
invoice.to_date | The period of an invoice: to (in the following format: Sun, 01 May 2016) | ||||||||
invoice.to_date_human | The period of an invoice: to (in the following format: "01.01.2016") | ||||||||
invoice.status | The status of an invoice | ||||||||
invoice.date_today | The current date (in the following format: "01.01.2016") | ||||||||
invoice.plan_custom_attributes.item | The value of an attribute of a plan where | ||||||||
invoice.plan_resources_custom_attributes.item | The value of an attribute of a plan resource where | ||||||||
invoice.has_attached | Indicates whether a file of a third-party invoice is attached to a payment for a postpaid invoice | ||||||||
invoice.attached.name | The placeholder is deprecated. It is recommended to use The file name of a third-party invoice attached to a payment for a postpaid invoice with external management (see Managing invoices for the Postpay model by a third-party ERP system) | ||||||||
invoice.attached.url | The placeholder is deprecated. It is recommended to use A link to a file of a third-party invoice attached to a payment for a postpaid invoice with external management | ||||||||
invoice.due_date | The due date set for a payment after approving the linked postpaid invoice with external management | ||||||||
invoice.link.name | The third-party invoice file name from the link — if a third-party ERP system attached to a payment a link to the third-party invoice rather than the file itself (see Managing invoices for the Postpay model by a third-party ERP system) | ||||||||
invoice.link.data | A link to a third-party invoice — if a third-party ERP system attached to a payment a link to the third-party invoice rather than the file itself | ||||||||
invoice.file.name | The third-party invoice file name — if a third-party ERP system attached to a payment a file of the third-party invoice rather than a link to the file (see Managing invoices for the Postpay model by a third-party ERP system) | ||||||||
invoice.file.data | The third-party invoice file in the base64 encoding — if a third-party ERP system attached to a payment a file of the third-party invoice rather than a link to the file | ||||||||
invoice.subscriptions | An iterator to display an array of subscriptions related to the invoice
|