← All templates

Payment Receipt

Clean payment receipt for freelancers and small businesses. Itemized list of services or goods with automatic total. Optional payment method and notes fields. Configurable currency. Pure Typst, no external dependencies.

Example output

Payment Receipt example

Download example PDF →

Fields

FieldTypeStatus
receipt_numberstringrequired
datestringrequired
from_namestringrequired
to_namestringrequired
items[ReceiptItem]required
currencystringdefault: "EUR"
payment_methodstring | nulloptional
notesstring | nulloptional

Example

Request
POST https://api.lobsterpdf.com/render/receipt
Authorization: Bearer $LOBSTER_KEY
Content-Type: application/json

{
  "receipt_number": "R-2026-0042",
  "date": "March 15, 2026",
  "from_name": "Schneider Web Solutions",
  "to_name": "Weber Digital GmbH",
  "items": [
    {
      "description": "Website redesign",
      "amount": 2400.0
    },
    {
      "description": "SEO optimization",
      "amount": 600.0
    },
    {
      "description": "Hosting setup (1 year)",
      "amount": 180.0
    }
  ],
  "currency": "EUR",
  "payment_method": "Bank transfer",
  "notes": "Payment due within 14 days."
}
Response
{"url": "https://api.lobsterpdf.com/pdf/a1b2c3d4e5f6"}

JSON Schema

{
  "$defs": {
    "ReceiptItem": {
      "properties": {
        "description": {
          "title": "Description",
          "type": "string"
        },
        "amount": {
          "title": "Amount",
          "type": "number"
        }
      },
      "required": [
        "description",
        "amount"
      ],
      "title": "ReceiptItem",
      "type": "object"
    }
  },
  "properties": {
    "receipt_number": {
      "title": "Receipt Number",
      "type": "string"
    },
    "date": {
      "title": "Date",
      "type": "string"
    },
    "from_name": {
      "title": "From Name",
      "type": "string"
    },
    "to_name": {
      "title": "To Name",
      "type": "string"
    },
    "items": {
      "items": {
        "$ref": "#/$defs/ReceiptItem"
      },
      "title": "Items",
      "type": "array"
    },
    "currency": {
      "default": "EUR",
      "title": "Currency",
      "type": "string"
    },
    "payment_method": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Payment Method"
    },
    "notes": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Notes"
    }
  },
  "required": [
    "receipt_number",
    "date",
    "from_name",
    "to_name",
    "items"
  ],
  "title": "ReceiptData",
  "type": "object"
}