PDF templates / Receipt

Cafe Receipt Template

A thermal-roll cafe check for coffee shops and counters: quantity, item, and amount in register type, with tax, tip, and tender. The circular paid stamp and perforated head read as a torn slip, not a letterhead invoice.

Receipt80mm × 142mmcafe-receiptreceiptcafethermalstamptip

Clone this layout in the dashboard to get an account-owned draft you can edit and publish. After publish, send your slug or UUID as templateId with JSON templateData.

Sample templateData

JSON
{
  "number": "1842",
  "placedOn": "2026-08-21",
  "placedAt": "8:14 AM",
  "storeName": "Hearth & Cup",
  "company": {
    "name": "Hearth & Cup",
    "address": "11 Court Street, Hudson, NY 12534",
    "phone": "+1 518 555 0177",
    "taxId": "83-1102944"
  },
  "server": "Maya",
  "table": "4",
  "currency": "USD",
  "items": [
    {
      "name": "Oat latte",
      "quantity": 2,
      "price": 5.5,
      "amount": 11
    },
    {
      "name": "Cardamom bun",
      "quantity": 1,
      "price": 4.25,
      "amount": 4.25
    },
    {
      "name": "Drip, bottomless",
      "quantity": 1,
      "price": 3.5,
      "amount": 3.5
    }
  ],
  "subtotal": 18.75,
  "tax": 1.5,
  "tip": 3,
  "total": 23.25,
  "tender": "Visa 4419",
  "notes": "Thank you. Afternoon pour starts at two."
}

Clone from the gallery

POST /v1/templates
curl https://api.relaypdf.com/v1/templates \
  -H "Authorization: Bearer pdf_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Cafe Receipt Template",
    "galleryId": "cafe-receipt"
  }'