Placeholders for the Invoice entity
The following Placeholders can be used for the Invoice entities.
Placeholder | Description |
---|---|
invoice.id | Invoice ID |
invoice.document_number | 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 | Total amount of the Invoice payment. With the number_in_words filter and the localization key, returns the localized total amount of the Invoice payment in words |
invoice.total_in_words | Total amount of the Invoice payment in words |
invoice.created_at | Date of the Invoice creation |
invoice.from_date | Period of the Invoice: from (in the following format: Sun, 01 May 2016) |
invoice.to_date | Period of the Invoice: to (in the following format: Sun, 01 May 2016) |
invoice.to_date_human | Period of the Invoice: to (in the following format: "01.01.2016") |
invoice.status | Status of the Invoice |
invoice.date_today | Current date (in the following format: "01.01.2016") |
invoice.plan_custom_attributes.item | Value of the attributes of the plan, where the item is a key of the attribute |
invoice.plan_resources_custom_attributes.item | Value of the attributes of the plan resource, where the item is a key of the attribute |
invoice.has_attached | Indication that the file of the third-party invoice is attached to a Payment for a postpaid Invoice |
invoice.attached.name | The Placeholder is deprecated. It is recommended to use invoice.link.name and invoice.file.name instead. File name of the 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 invoice.link.data and invoice.file.data instead. Link to the file of the third-party invoice attached to a Payment for a postpaid Invoice with external management |
invoice.due_date | Due date set for a Payment after approving the linked postpaid Invoice with external management |
invoice.link.name | Third-party invoice file name from the link — if a third-party ERP system attached to the 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 | Link to a third-party invoice — if a third-party ERP system attached to the Payment a link to the third-party invoice rather than the file itself |
invoice.file.name | Third-party invoice file name — if a third-party ERP system attached to the 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 | Third-party invoice file in the base64 encoding — if a third-party ERP system attached to the Payment a file of the third-party invoice rather than a link to the file |