Payment Receipt PDF Template — Multi-Engine Code Generator

A modern payment confirmation receipt with dynamic variable bindings ({{receiptNumber}}, {{amountPaid}}, {{customerEmail}}, etc.). Highlights transaction reference, payment method, tax summary, and refund policy.

Customize Visually in Studio | Export Full Source Code (22 Libraries) | Open Sample PDF

Payment Receipt PDF template preview

Generate Payment Receipt Programmatically (Code & JSON Schema)

Bind dynamic JSON data and compile this layout into standalone production code for @react-pdf/renderer, pdf-lib, Python ReportLab, PHP Dompdf, C# QuestPDF, and 17 more engines.

React / TypeScript (@react-pdf/renderer) Excerpt

import React from 'react';
import { Document, Page, View, Text, StyleSheet, Font } from '@react-pdf/renderer';

// This code is generated using codepdf.dev

Font.registerHyphenationCallback((word) => [word]);

// Document-wide defaults configured in the editor.
export const DOCUMENT_DEFAULTS = {
  "fontFamily": "Helvetica",
  "fontSize": 12,
  "textColor": "#000000",
  "locale": "en-US",
  "currency": "USD",
  "currencyDisplay": "symbol",
  "timeZone": "GMT",
  "dateFormat": "DD/MM/YYYY",
  "timeFormat": "HH:mm",
  "showPageNumbers": false,
  "pageNumberFormat": "{{page}} / {{total}}",
  "pageNumberPosition": "center",
  "compress": true
};

// … (353 more lines in full generated file)

Python (ReportLab) Excerpt

from reportlab.lib.colors import HexColor
from reportlab.pdfgen import canvas
from reportlab.pdfbase import pdfmetrics

# This code is generated using codepdf.dev

class _NumberedCanvas(canvas.Canvas):
    _DOC_KEYS = frozenset({
        "_page_states", "_page_stamps", "_active_page", "_num_pages",
        "AcroForm", "_doc", "_filename", "_destinations", "_outlines",
        "_annotationCount", "_extgstate", "_namedCB", "_onPage",
    })

    def __init__(self, *args, **kwargs):
        super().__init__(*args, **kwargs)
        self._page_states = {}
        self._page_stamps = {}
        self._active_page = 1
        self._num_pages = 1

    def _save_active_state(self):
        self._page_states[self._active_page] = {
# … (430 more lines in full generated file)

Sample Dynamic JSON Payload (sample.json)

{
  "companyName": "CodePDF Cloud Services",
  "paymentStatus": "PAID IN FULL",
  "receiptNumber": "REC-88294",
  "paymentDate": "21 Feb 2026, 14:32 UTC",
  "paymentMethod": "Visa ending in 4242",
  "customerName": "Alex Morgan",
  "customerEmail": "alex.morgan@company.com",
  "customerTier": "Enterprise Seat Tier",
  "subtotal": "$249.00",
  "taxRate": "0.0% Digital",
  "taxAmount": "$0.00",
  "amountPaid": "$249.00",
  "supportNote": "Thank you for choosing CodePDF. For support inquiries, contact billing@codepdf.dev.",
  "transactionId": "tx_99a81f3e2b704c",
  "items": [
    {
      "description": "CodePDF Enterprise Annual Plan (1 Seat)",
      "qty": "1",
      "unitPrice": "$220.00",
// … (10 more lines in full generated file)

Template Specifications

Category
Business
Page Size
A4 (portrait)
Default Engine
react-pdf-renderer
License
Free / MIT Commercial Code Ownership

Key Features

  • Clean receipt layout with paid stamp indicator
  • Customer details, invoice reference and transaction ID
  • Itemized payment summary with discounts and taxes
  • Customer support contact and payment guarantee notes

Payment Receipt Template FAQs

Where can I use the Payment Receipt template?

Use it to send instant payment confirmation after checkout, settled invoices, subscription renewals, or in-person service payments for customer bookkeeping and expense claims.

What transaction details does this receipt show?

It displays a paid status badge, receipt and transaction IDs, payment date and method, customer info, itemized charges with tax, total amount paid, and support notes.

How is a Payment Receipt different from an Invoice?

An invoice requests money owed before payment, while this receipt confirms funds were already collected and provides the transaction reference for accounting records.

Related Business PDF Templates

  • Professional Invoice — Line-item invoice with billing details, totals and payment terms.
  • Business Letter — Formal letterhead with sender block, subject line and signature area.
  • Quarterly Report Cover — Bold cover page with title block, reporting period and contents list.
  • Purchase Order — Procurement PO with vendor, ship-to, line items and approval block.
  • Project Proposal — Enterprise project proposal with executive summary, deliverables, timeline and budget table.