---
title: "Order receipt email template"
description: "An order confirmation with up to three line items and a total."
url: "https://openemail.uk/templates/receipt"
---

[Templates](https://openemail.uk/templates.md)[Orders and billing](https://openemail.uk/templates.md#commerce)

# Order receipt email template

An order confirmation with up to three line items and a total.

[Use this template](https://openemail.uk/mail/templates?starter=receipt) [Use this template](https://openemail.uk/signup.md?next=%2Fmail%2Ftemplates%3Fstarter%3Dreceipt)[All templates](https://openemail.uk/templates.md) 12 values to fill Plain-text part included

- **From**
  Northwind <hello@example.com>
- **Subject**
  Your Northwind Supply order NW-10482
- **Preview text**
  Your Northwind Supply order NW-10482

![Preview of the Order receipt template](https://openemail.uk/email-templates/previews/receipt-desktop.webp?v=7373999a2de8)

receipt.txt

```
Your {{merchantName}} order {{orderNumber}}

Thanks for your order

Order {{orderNumber}}, placed {{orderDate}}. We will email again when it ships.

{{itemName1}}

{{itemPrice1}}

{{itemName2}}

{{itemPrice2}}

{{itemName3}}

{{itemPrice3}}

Total

{{orderTotal}}

View your order [{{actionUrl}}]

{{footerNote}}
```

Shown with sample values. The HTML and plain-text tabs keep the placeholders.

About

## When to send it

Send it when an order is placed. It shows the order number and date, lists up to three items with their prices above a total, links to the order, and says another email will follow when it ships.

Values

## What each send fills in

Required values have to come with every send. The rest fall back to the default shown here.

| Placeholder | Kind | Required | Default |
| --- | --- | --- | --- |
| `{{merchantName}}` | Text | Required | None |
| `{{orderNumber}}` | Text | Required | None |
| `{{orderDate}}` | Text | Required | None |
| `{{itemName1}}` | Text | Required | None |
| `{{itemPrice1}}` | Text | Required | None |
| `{{itemName2}}` | Text | Optional | None |
| `{{itemPrice2}}` | Text | Optional | None |
| `{{itemName3}}` | Text | Optional | None |
| `{{itemPrice3}}` | Text | Optional | None |
| `{{orderTotal}}` | Text | Required | None |
| `{{actionUrl}}` | Link | Required | None |
| `{{footerNote}}` | Text | Optional | You are receiving this because you placed an order. |

API

## Send it from your code

Create a template from this design once, then send it with the values for each message.

send-receipt.ts

```
import { init, openemail } from '@openemail/sdk' init({ apiKey: process.env.OPENEMAIL_API_KEY }) const template = await openemail.templates.create({  name: 'Order receipt',  starter: 'receipt',  publish: true,}) const sent = await openemail.templates.send(template.slug, {  from: 'Northwind <hello@example.com>',  to: 'maya@example.com',  props: {    merchantName: 'Northwind Supply',    orderNumber: 'NW-10482',    orderDate: '30 September 2026',    itemName1: 'Linen overshirt',    itemPrice1: '£68.00',    itemName2: 'Canvas tote',    itemPrice2: '£22.00',    itemName3: 'Wool socks, two pairs',    itemPrice3: '£14.00',    orderTotal: '£104.00',    actionUrl: 'https://example.com/orders/NW-10482',  },}) console.log(sent.id, sent.status)
```

Orders and billing

## More templates like this

![Preview of the Order shipped template](https://openemail.uk/email-templates/previews/order-shipped-card.webp?v=d308f1dd6b64)

### Order shipped

A shipping notice with the order number, carrier and delivery estimate in a details table.

![Preview of the Shipping update template](https://openemail.uk/email-templates/previews/shipping-update-card.webp?v=d6393101dc81)

### Shipping update

A dispatch notice with the carrier, a tracking number set in mono and the delivery address.

![Preview of the Payment receipt template](https://openemail.uk/email-templates/previews/invoice-receipt-card.webp?v=9d256381a4f6)

### Payment receipt

A receipt with the amount charged, what it was for, the card used and a link to the invoice.

![Preview of the Invoice template](https://openemail.uk/email-templates/previews/invoice-card.webp?v=3799b9165668)

### Invoice

An invoice notice with the number, issue date, due date and amount due.

![Preview of the Renewal notice template](https://openemail.uk/email-templates/previews/subscription-renewal-card.webp?v=f5422769af92)

### Renewal notice

Advance notice of a renewal, with the plan, the date and the amount.

![Preview of the Trial ending template](https://openemail.uk/email-templates/previews/trial-ending-card.webp?v=75028138192c)

### Trial ending

A trial reminder that says what actually happens on the last day.

![Preview of the Payment failed template](https://openemail.uk/email-templates/previews/payment-failed-card.webp?v=6e103ed5a3e4)

### Payment failed

A declined charge, with the amount, the card, the retry date and what happens next.

Start from one

## Pick a design, change anything, and send it from your code.

Every template opens in the editor as blocks you can move, restyle or delete, and sends through the API with the values filled in.

[Open mail](https://openemail.uk/mail/inbox) [Get Started](https://openemail.uk/signup.md)[How templates work](https://openemail.uk/features/templates.md)
