Categories

PDF Receipt / Ticket Generator

Create a thermal-width receipt PDF with bold title and QR code

Generate compact receipts for thermal printers.

Features

  • 58mm/80mm thermal widths
  • Bold title and compact totals
  • Optional QR code for links or order data

Input

  • JSON item list
  • Store name, order metadata, and totals

Output

  • Receipt-style PDF ready for printing

Example Results

1 examples

Receipt Ticket

POS receipt ticket sample

receipt-ticket-example1.pdf View File
View input parameters
{ "storeName": "Luna Coffee Bar", "receiptTitle": "Order Receipt", "items": "[{\"name\":\"Latte\",\"quantity\":2,\"unitPrice\":4.5},{\"name\":\"Croissant\",\"quantity\":1,\"unitPrice\":3.2}]", "currency": "USD", "taxRate": 8.25, "thermalWidth": "58" }

Key Facts

Category
Document Tools
Input Types
text, textarea, number, date, select
Output Type
file
Sample Coverage
4
API Ready
Yes

Overview

Generate professional, thermal-ready receipt and ticket PDFs instantly with customizable store details, itemized lists, and integrated QR codes.

When to Use

  • Creating physical receipts for small business transactions or pop-up shops.
  • Generating order confirmation tickets for event check-ins or pickup services.
  • Formatting digital invoices into compact, printer-friendly layouts for thermal hardware.

How It Works

  • Enter your store name and select the appropriate thermal paper width (58mm or 80mm).
  • Input your transaction items using the required JSON format, including names, quantities, and unit prices.
  • Add optional metadata like tax rates, payment methods, order numbers, and custom footer text.
  • Generate and download your formatted PDF, optimized for immediate thermal printing.

Use Cases

Retail point-of-sale systems requiring quick, on-demand receipt generation.
Event organizers issuing scannable entry tickets with order details.
Home-based businesses needing a professional way to document customer purchases.

Examples

1. Coffee Shop Receipt

Cafe Owner
Background
A local coffee shop needs a quick way to print receipts for customers without an expensive POS system.
Problem
Manual receipt writing is slow and unprofessional.
How to Use
Input the store name, select 58mm width, and paste the itemized JSON list of drinks and pastries.
Example Config
storeName: 'Luna Coffee Bar', items: '[{"name":"Latte","quantity":2,"unitPrice":4.5},{"name":"Croissant","quantity":1,"unitPrice":3.2}]', taxRate: 8.25, thermalWidth: '58'
Outcome
A clean, 58mm-wide PDF receipt with calculated totals and tax, ready for the thermal printer.

Try with Samples

json, html, pdf

Related Hubs

FAQ

Which thermal printer widths are supported?

The tool supports standard 58mm (classic) and 80mm (wide) thermal paper widths.

How should I format the item list?

Items must be provided as a JSON array of objects, each containing 'name', 'quantity', and 'unitPrice' keys.

Can I include a QR code on the receipt?

Yes, you can provide a URL or text string in the QR Code Data field to generate a scannable code at the bottom of the receipt.

Does the tool calculate totals automatically?

Yes, the tool automatically calculates the subtotal and applies the specified tax rate to provide a final total.

Is the output file ready for immediate printing?

Yes, the generated PDF is formatted specifically for thermal printer dimensions, ensuring a clean, professional printout.

API Documentation

Request Endpoint

POST /en/api/tools/pdf-receipt-ticket

Request Parameters

Parameter Name Type Required Description
storeName text Yes -
receiptTitle text No -
items textarea Yes -
currency text No -
taxRate number No -
paymentMethod text No -
orderNumber text No -
date date No -
thermalWidth select No -
qrData text No -
footerText textarea No -

Response Format

{
  "filePath": "/public/processing/randomid.ext",
  "fileName": "output.ext",
  "contentType": "application/octet-stream",
  "size": 1024,
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
File: File

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-pdf-receipt-ticket": {
      "name": "pdf-receipt-ticket",
      "description": "Create a thermal-width receipt PDF with bold title and QR code",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=pdf-receipt-ticket",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

If you encounter any issues, please contact us at [email protected]