The document collection / Account statement

Account Statement Template

Summarize an account period with opening balance, dated debits and credits, transaction balances, and closing balance. A readable ledger for customer accounts and finance exports.

Paper format
A4
Included
HTML layout + sample JSON
Customization
Content, colors, typography
Rendering
Handlebars + Chromium

Preview the sample document, then make it yours. Change the layout in your editor or clone it into your RelayPDF dashboard to create an editable draft.

Open full-size preview
Make it work for you

From a sample to
your next document.

This layout uses standard HTML and CSS with Handlebars fields. The preview is rendered from the downloadable source and sample data shown below.

Use the sample as a starting point. Your application supplies dates, labels, and calculated amounts; the template handles their presentation.

  1. Personalize the design

    Update the organization name, typography, and CSS accent colors. Replace the sample wording with content appropriate to your business.

  2. Connect your data

    Keep the field structure in the sample JSON and replace its values. Repeating arrays create the document’s rows or sections.

  3. Preview, publish, generate

    Test with your longest content. Publish the draft, then generate PDFs using its templateId and fresh templateData.

What you can customize

FieldPurpose
accountNameEditable document content. Replace the sample value with your own data.
accountNumberEditable document content. Replace the sample value with your own data.
periodFromDate supplied by your application; ISO dates work with the template’s date formatter.
periodToDate supplied by your application; ISO dates work with the template’s date formatter.
currencyISO currency code used by the money formatter, such as USD.
openingBalanceEditable document content. Replace the sample value with your own data.
closingBalanceEditable document content. Replace the sample value with your own data.
companyYour business identity and contact details.
transactionsDated ledger entries and balances calculated by your system.

Start with real sample data

Download sample JSON ↓
Inspect sample JSON
templateData / JSON
{
  "accountName": "Meridian Architecture Ltd.",
  "accountNumber": "4481-209",
  "periodFrom": "2026-01-01",
  "periodTo": "2026-01-31",
  "currency": "USD",
  "openingBalance": 1840,
  "closingBalance": 457.5,
  "company": {
    "name": "Northline Press",
    "email": "accounts@northlinepress.com"
  },
  "transactions": [
    {
      "date": "2026-01-03",
      "description": "Payment received — wire",
      "credit": 1840,
      "balance": 0
    },
    {
      "date": "2026-01-08",
      "description": "Invoice AS-2201 · identity system",
      "debit": 960,
      "balance": 960
    },
    {
      "date": "2026-01-12",
      "description": "Invoice AS-2204 · environmental graphics",
      "debit": 420,
      "balance": 1380
    },
    {
      "date": "2026-01-15",
      "description": "Payment received — ACH",
      "credit": 960,
      "balance": 420
    },
    {
      "date": "2026-01-19",
      "description": "Invoice AS-2211 · presentation boards",
      "debit": 280,
      "balance": 700
    },
    {
      "date": "2026-01-22",
      "description": "Credit adjustment — overprint",
      "credit": 40,
      "balance": 660
    },
    {
      "date": "2026-01-24",
      "description": "Invoice AS-2218 · type specimens",
      "debit": 175,
      "balance": 835
    },
    {
      "date": "2026-01-27",
      "description": "Invoice AS-2220 · signage proofs",
      "debit": 310,
      "balance": 1145
    },
    {
      "date": "2026-01-29",
      "description": "Payment received — cheque",
      "credit": 700,
      "balance": 445
    },
    {
      "date": "2026-01-31",
      "description": "Finance charge",
      "debit": 12.5,
      "balance": 457.5
    }
  ]
}

Clone through the API

POST /v1/templates
curl https://api.relaypdf.com/v1/templates \
  -H "Authorization: Bearer $RELAYPDF_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Account Statement Template","galleryId":"account-statement"}'

This creates an account-owned draft. Publish it before using its slug or UUID as templateId with templateData on POST /v1/pdf. Follow the complete template workflow →

Will the PDF match this preview?

The preview uses the same HTML and sample data included with this template. RelayPDF renders HTML using Chromium. Use the document’s intended A4 paper size and enable print backgrounds. Review page breaks when you add longer content or more rows.

Can I use my own branding and data?

Yes. Edit the HTML and CSS, replace the sample values, and keep the field names your template expects. Save your customized draft in the dashboard and publish a version when it is ready for your application.

Keep exploring.