Twig template variables: Remote payments
The remote payment variables show a URL for an online payment of an invoice or a statement. The remote payment variables work only with a payment integration.
Variables
| Name | Classic template system equivalent? | Function |
|---|---|---|
{{invoice.RemotePaymentLink}} | {InvoiceRemotePaymentLink} | Shows a remote payment link that clients can select to make a payment. Note: You can only use this template variable for invoices. |
{{invoice.HasBalanceOutstanding}} | {InvoiceHasBalanceOutstanding} | Shows if the invoice has an outstanding balance. The possible values are:
Note: You can only use this template variable for invoices. Note: To show a remote payment link only when the invoice has an outstanding balance, enter: |
{{statement.remotePaymentLink}} | {StatementRemotePaymentLink} | Shows a remote payment link that clients can select to make a payment. Note: You can only use this template variable with a document template for client statements. |
{{remotePaymentLink}} | {RemotePaymentLink} | Shows a remote payment link that clients can select to make a payment. Note: You can only use this template variable with an email template. |