Skip to content
CastPDF

Receipt PDF template

A compact receipt for your own shop, café or online store. It lists what was bought, shows the VAT and the total, and carries a paid stamp.

  • 80 × 170 mm
  • 1 page
  • Free to start
The receipt template filled with sample data. A compact till receipt on a narrow page, with itemised purchases, VAT, totals and a paid stamp.

What this receipt template is for

Use it to send each customer a receipt after a sale, with your business details. It suits cafés, small shops, online stores and anyone who takes payment on the spot.

The receipt has the shape of a till slip, 80 mm wide. It reads well on a phone and prints on narrow paper. Prices include VAT, and the template works out the net amount and the VAT for you.

It is made for real sales in your own business. Always use your own shop’s name and details.

What a good receipt includes

  • Your business name and address, so the customer knows who they paid.
  • A receipt number, and the date and time of the sale.
  • Each item bought, with the quantity and the price.
  • The total paid, and the tax included in it.
  • How the customer paid, such as card or cash.
  • Your VAT or tax number, if you are registered.
  • Your returns policy, if you have one.
The data

The fields it fills

Each field below fills one part of the receipt. Change the data and keep the design, or change both.

Fields of the receipt template and what each one fills
FieldWhat it fills
General
currencyCurrency for every amount, such as GBP.
localeHow amounts are written, such as en-GB.
Shop
shop.nameYour shop’s name.
shop.taglineA short line under the name.
shop.streetYour street address.
shop.cityYour city and postcode.
shop.phoneYour phone number.
shop.vat_numberYour VAT registration number.
Receipt
receipt.numberThe receipt number.
receipt.dateThe date of the sale.
receipt.timeThe time of the sale.
receipt.served_byWho served the customer.
receipt.vat_rateThe VAT rate, in percent.
receipt.thanksA thank-you line.
receipt.returnsYour returns policy.
Payment
payment.methodHow the customer paid.
payment.auth_codeThe card payment’s code.
Items
items[].nameWhat was bought.
items[].noteA short note, such as oat milk (optional).
items[].quantityHow many.
items[].priceThe price of one, VAT included.
How to use it

How to make your receipt PDF

Two ways to get your receipt: try it in the dashboard, then connect your app when you are ready.

Without code: the dashboard

  1. 1Sign up free. You don’t need a card.
  2. 2Pick the receipt template.
  3. 3Put your own details into the receipt’s sample data, and change the words and colours.
  4. 4Watch the free preview as you type. It carries a “CASTPDF TEST” watermark.
  5. 5Verify your email and press Generate PDF for a clean copy. It counts as one PDF on your plan.

To make each receipt from your own app instead, send your data with a live key, as shown here.

For developers: one request

Copy the template ID from the editor. Save your receipt data in a file with that ID, then send it in one request. The reply is the finished PDF.

curl
curl https://api.castpdf.com/v1/pdf \
  -H "Authorization: Bearer $CASTPDF_API_KEY" \
  -H "Content-Type: application/json" \
  -d @request.json \
  --output receipt.pdf
request.json (the sample data)
{
  "template_id": "YOUR_TEMPLATE_ID",
  "data": {
    "currency": "GBP",
    "locale": "en-GB",
    "shop": {
      "name": "Copper Kettle Roasters",
      "tagline": "Coffee & bakery",
      "street": "14 Chandos Place",
      "city": "Bristol BS1 4HQ",
      "phone": "0117 496 0381",
      "vat_number": "GB 284 7713 05"
    },
    "receipt": {
      "number": "CK-104582",
      "date": "2026-09-30",
      "time": "08:42",
      "served_by": "Tomasz",
      "vat_rate": 20,
      "thanks": "Thank you, see you again soon.",
      "returns": "Keep this receipt for returns and exchanges within 14 days."
    },
    "payment": {
      "method": "Visa debit •••• 4417",
      "auth_code": "0K7Q21"
    },
    "items": [
      {
        "name": "Flat white",
        "note": "Oat milk",
        "quantity": 2,
        "price": 3.6
      },
      {
        "name": "Cardamom bun",
        "quantity": 2,
        "price": 3.25
      },
      {
        "name": "Ethiopia Guji, 250 g",
        "note": "Whole bean",
        "quantity": 1,
        "price": 11.5
      },
      {
        "name": "Sourdough loaf",
        "quantity": 1,
        "price": 4.8
      },
      {
        "name": "Keep cup, 12 oz",
        "quantity": 1,
        "price": 14
      }
    ]
  }
}

Read the quickstart

Make it yours

  • Put your logo in place of the round mark at the top.
  • Change the colours and fonts to match your brand.
  • It is designed for an 80 × 170 mm page. To change the size, change the page format in the template settings.
  • Remove the VAT lines if you are not registered for VAT.
  • Change the thank-you line and the returns note in your data.
  • Every save is a new version, and your last 50 versions are kept.

Sized like a real receipt

The page is 80 mm wide and 170 mm tall, the size of a long till slip. It looks right on a phone and prints well on narrow paper.

A long order simply carries on to a second page. If most of your orders are long, make the page taller in the template settings.

FAQ

Questions about receipt PDFs

What must a receipt include?

Your business name, the date, what was bought and the amount paid. If you charge VAT or sales tax, many countries also ask for your tax number and the tax amount. The exact rules depend on where you trade.

What is the difference between a receipt and an invoice?

An invoice asks for payment. A receipt confirms that payment was made. Many businesses send an invoice first and a receipt once the customer pays. Our invoice template covers the first step.

Is a PDF receipt valid?

Usually, yes. A PDF receipt is accepted in most places when it has the details local rules require. Check with your accountant if you are unsure. This is general information, not legal or tax advice.

How do I make a receipt PDF?

Sign up, pick this template and type your details into the sample data. The preview shows the receipt as you go. For real sales, send each sale’s data with one request and get the PDF back.

How do I send a receipt automatically after each sale?

When a payment succeeds, your shop sends the sale to CastPDF and receives the receipt as a PDF. Your system then emails it to the customer. CastPDF makes the PDF, and sending the email stays with your system.

Can I show VAT or sales tax on the receipt?

Yes. Send your tax rate with each sale. The template treats prices as tax included and shows the net amount, the tax and the total. If you add tax on top instead, change the sum in the template.
More templates

All templates

Make your first receipt PDF

Sign up free, pick the receipt template and make it yours. The Free plan includes 100 PDFs a month, and you don’t need a card.