Quire PDFStatement of account

All templates

Statement of account

Customer statement for a period: balance-due panel with opening, invoiced, paid and closing balances, an activity table with a running balance, an optional aging summary and payment instructions. Multi-page with a repeating table header.

statement.pdf1 page
Statement of account sample, page 1 of 1

Rendered by the engine from the sample data below.

Render it

curl "https://api.quirepdf.dev/v1/render?template=statement" \
  -H "Authorization: Bearer $QUIRE_API_KEY" \
  -H "Content-Type: application/json" \
  -d @statement.json -o statement.pdf

Edit the sample in the playground

Fields

Required at the top level: date, period, opening_balance, seller, customer, entries. Everything else is optional.

FieldTypeNotes
dateRequiredstringStatement date, pre-formatted for display, e.g. 30 Sep 2026
periodRequiredstringStatement period, pre-formatted, e.g. 1 Sep – 30 Sep 2026
due_datestringWhen the balance is due, pre-formatted for display
status"due" | "overdue" | "paid" | "credit"Badge next to the balance. Defaults to 'due' when the closing balance is positive, 'paid' when it is zero and 'credit' when it is negative.
currencystringCurrency symbol prefix
accentstringBrand colour, e.g. #b45309
opening_balanceRequirednumberBalance at the start of the period. Negative means the customer is in credit.
sellerRequiredobjectThe business issuing the statement. The address is shown under 'Remit to'.
seller.nameRequiredstring
seller.emailstringShown under the brand name
seller.addressstring[]
customerRequiredobjectThe account holder (shown as 'Statement for')
customer.nameRequiredstring
customer.companystring
customer.accountstringCustomer account number
customer.addressstring[]
customer.emailstring
entriesRequiredobject[]Activity in the period, oldest first. The running balance is computed from opening_balance. Put invoices and debits in 'charge', payments and credits in 'payment'.
entries[].dateRequiredstringPre-formatted, e.g. 4 Sep
entries[].referencestringe.g. INV-2026-0431
entries[].descriptionRequiredstring
entries[].chargenumber
entries[].paymentnumber
agingobjectOutstanding balance by age
aging.currentRequirednumber
aging.days_1_30Requirednumber
aging.days_31_60Requirednumber
aging.days_61_90Requirednumber
aging.days_90_plusRequirednumber
paymentobjectPayment instructions
payment.methodstring
payment.linkstring
payment.bankstring
payment.referencestringReference the customer should quote when paying
notesstring
statement.jsonShow sample data
{
  "date": "30 Sep 2026",
  "period": "1 Sep – 30 Sep 2026",
  "due_date": "15 Oct 2026",
  "currency": "$",
  "accent": "#b45309",
  "opening_balance": 1840.5,
  "seller": {
    "name": "Fernwood Coffee Roasters",
    "email": "[email protected]",
    "address": [
      "1180 Industrial Way, Unit 6",
      "Portland, OR 97210",
      "United States"
    ]
  },
  "customer": {
    "name": "Daniel Okafor",
    "company": "Little Owl Café",
    "account": "WS-00418",
    "address": [
      "402 Hawthorne Boulevard",
      "Portland, OR 97214"
    ],
    "email": "[email protected]"
  },
  "entries": [
    {
      "date": "2 Sep",
      "reference": "PAY-8812",
      "description": "Payment received — thank you",
      "payment": 1840.5
    },
    {
      "date": "4 Sep",
      "reference": "INV-0431",
      "description": "Wholesale order — House espresso blend, 24 kg",
      "charge": 528
    },
    {
      "date": "8 Sep",
      "reference": "INV-0437",
      "description": "Wholesale order — Ethiopia Guji single origin, 10 kg",
      "charge": 312.5
    },
    {
      "date": "11 Sep",
      "reference": "INV-0440",
      "description": "Grinder service visit",
      "charge": 145
    },
    {
      "date": "15 Sep",
      "reference": "PAY-8907",
      "description": "Payment received — thank you",
      "payment": 528
    },
    {
      "date": "18 Sep",
      "reference": "INV-0446",
      "description": "Wholesale order — House espresso blend, 24 kg",
      "charge": 528
    },
    {
      "date": "19 Sep",
      "reference": "CN-0019",
      "description": "Credit — two bags damaged in transit",
      "payment": 44
    },
    {
      "date": "22 Sep",
      "reference": "INV-0452",
      "description": "Barista training, half day (3 staff)",
      "charge": 260
    },
    {
      "date": "25 Sep",
      "reference": "INV-0455",
      "description": "Wholesale order — Swiss water decaf, 6 kg",
      "charge": 151.2
    },
    {
      "date": "29 Sep",
      "reference": "PAY-8990",
      "description": "Payment received — thank you",
      "payment": 457.5
    },
    {
      "date": "30 Sep",
      "reference": "INV-0461",
      "description": "Wholesale order — House espresso blend, 24 kg",
      "charge": 528
    }
  ],
  "aging": {
    "current": 1207.2,
    "days_1_30": 216,
    "days_31_60": 0,
    "days_61_90": 0,
    "days_90_plus": 0
  },
  "payment": {
    "method": "ACH transfer or card",
    "link": "pay.fernwood.coffee/WS-00418",
    "bank": "Fernwood Coffee LLC · Acct 7710 2245 · Routing 123006800",
    "reference": "WS-00418"
  },
  "notes": "Thanks for another great month, Daniel. Orders placed before 2 pm ship the same day."
}