> ## Documentation Index
> Fetch the complete documentation index at: https://zenskar.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Payment receipt template variables

## Overview

This page documents every Mustache variable used in the payment receipt HTML template, organized by functional section, with its type and whether it is always present. For how Mustache syntax itself works (`{{variable}}`, sections, inverted sections) and the data type conventions used in the tables below, see the [Templating guide](/docs/20260301/product-modules/more/communications/templating-guide).

<Note>
  The payment receipt template covers payment confirmation only. It does not carry invoice line items or credit note variables. See [Invoice template variables](/docs/20260301/product-modules/more/communications/invoice-template-variables) or [Credit note template variables](/docs/20260301/product-modules/more/communications/credit-note-template-variables) for those.
</Note>

***

## 1. Basic payment receipt information

### 1.1 Header information

| Variable                                   | Type         | Description                                              | Required |
| ------------------------------------------ | ------------ | -------------------------------------------------------- | -------- |
| `{{logo}}`                                 | String (URL) | Organization's logo URL                                  | Yes      |
| `{{zenskar_redirect_url_pay_receipt_doc}}` | String (URL) | Zenskar redirect URL for the payment receipt footer link | Yes      |

### 1.2 Payment information

| Variable                          | Type              | Description                   | Required |
| --------------------------------- | ----------------- | ----------------------------- | -------- |
| `{{payment_info.id}}`             | String            | Payment ID                    | Yes      |
| `{{payment_info.receipt_number}}` | String            | Receipt number                | Yes      |
| `{{payment_info.created_at}}`     | String (Date)     | Date the payment was received | Yes      |
| `{{payment_info.amount}}`         | String (Currency) | Payment amount                | Yes      |
| `{{payment_info.payment_method}}` | String            | Payment method details        | Yes      |

***

## 2. Party information

### 2.1 Customer information

| Variable                          | Type           | Description                                                                                      | Required |
| --------------------------------- | -------------- | ------------------------------------------------------------------------------------------------ | -------- |
| `{{customer.name}}`               | String         | Customer's name                                                                                  | Yes      |
| `{{customer.email}}`              | String (Email) | Customer's email address                                                                         | Yes      |
| `{{{customer.address}}}`          | String (HTML)  | Customer's billing address; render with the unescaped `{{{ }}}` form                             | Yes      |
| `{{{customer.ship_to_address}}}`  | String (HTML)  | Customer's shipping address, if different from billing; render with the unescaped `{{{ }}}` form | No       |
| `{{customer.invoice_recipients}}` | Array          | List of invoice recipient email addresses                                                        | No       |
| `{{customer.tax_id}}`             | String         | Customer's tax ID                                                                                | No       |
| `{{customer.id}}`                 | String         | Customer's internal ID                                                                           | No       |
| `{{customer.external_id}}`        | String         | Customer's external ID                                                                           | No       |
| `{{customer.custom_data}}`        | Object         | Custom key-value data associated with the customer; see [section 4](#4-custom-attributes)        | No       |

### 2.2 Seller information

| Variable                | Type          | Description                                                | Required |
| ----------------------- | ------------- | ---------------------------------------------------------- | -------- |
| `{{seller.name}}`       | String        | Seller's name                                              | Yes      |
| `{{{seller.address}}}`  | String (HTML) | Seller's address; render with the unescaped `{{{ }}}` form | Yes      |
| `{{seller.tax_config}}` | Object        | Seller's tax configuration                                 | No       |

***

## 3. Invoice information

| Variable                           | Type   | Description                                                | Required |
| ---------------------------------- | ------ | ---------------------------------------------------------- | -------- |
| `{{invoice_data.invoice_numbers}}` | String | Comma-separated invoice numbers the payment was applied to | No       |

***

## 4. Custom attributes

Customer custom attributes are available under `customer.custom_data`, keyed by the attribute's name:

```mustache theme={null}
{{#customer.custom_data.account_manager}}
  Account Manager: {{customer.custom_data.account_manager}}
{{/customer.custom_data.account_manager}}
```

Wrap each custom attribute in a section, as shown above, since a customer may not have every attribute set.
