# Receipt Template

A styled receipt Flex Message itemising purchases with subtotals, tax, and the grand total — suitable for post-purchase confirmation messages.

## When to use

- E-commerce order confirmation
- In-store purchase receipt (LINE Pay integration)
- Subscription renewal invoices


## Customization

| Field | How to customize |
|  --- | --- |
| `contents.body.contents[*] (item rows)` | Loop through purchased items via activation payload; bind name and price. |
| `contents.body.contents[*] (total)` | Bind to `{{ event.total_amount }}` and currency formatting. |
| `contents.styles` | Control per-block background colors; adjust for brand theme. |


Attribution
This template is adapted from the official [LINE Flex Message Simulator](https://developers.line.biz/flex-simulator/). Review and customize the payload to match your brand and campaign context before sending.

## Back to gallery

[← All Flex Message templates](/products/marketing-cloud/engage-studio/channels/line/line-oa-flex-message-gallery)