Income and expenditure report template

An income and expenditure report listing budget, actual and variance by account under income and expenditure sections, with totals, the closing balance, and signature boxes for the treasurer and auditor.

  • A4 portrait
  • 17 merge fields
  • Issued as PDF
  • Company names, people, addresses and amounts in the sample are fictional.
  • The sample layout is in Japanese. You can change any text in the template editor.
Sample of the income and expenditure report template (first page of a PDF issued with DocRelay)

Use cases

  • Accounts for neighborhood associations and PTAs
  • Budget reports for company events and social clubs
  • Reports generated from accounting software totals

Merge fields

The data fields you send to the API. Fields inside an array are shown as array.field.

FieldDescription
organizationOrganization or account name
period.startPeriod start (YYYY-MM-DD)
period.endPeriod end (YYYY-MM-DD)
rowsAccount rows (array; _span: true for section headings, _bold: true for subtotals)
rows.itemAccount
rows.budgetBudget
rows.actualActual
rows.diffVariance (actual − budget)
rows.noteNotes
income_totalTotal income
expense_totalTotal expenditure
balanceBalance
balance_noteHow the balance is handled
reported_atReport date (YYYY-MM-DD)
treasurerTreasurer
audited_atAudit date (YYYY-MM-DD)
auditorAuditor

How to use it

  1. In the dashboard, choose Create template, select "Start from a template" and pick "Income and expenditure report". The layout and sample data are copied into your project.
  2. Edit the company name, logo and field positions in the template editor to match your own format.
  3. Send the template name and data to POST /v1/renders to issue a PDF.

With a test API key (sk_test_) you can issue documents from the draft. Publish a version before issuing with a production API key. From an AI assistant, specify the same template in the from of the MCP create_template tool.

Create and issue via the API

Create a template by setting from to the template ID (income-statement) in POST /v1/templates, then send the template name and data to POST /v1/renders.

1. Create a template from the ready-made one
curl https://api.docrelay.jp/v1/templates \
  -H "Authorization: Bearer $DOCRELAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "name": "Income and expenditure report", "from": "income-statement" }'
2. Send data and issue a PDF
curl https://api.docrelay.jp/v1/renders \
  -H "Authorization: Bearer $DOCRELAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d @income-statement.json \
  -o income-statement.pdf
income-statement.json (sample data; arrays show the first item and long text is shortened)
{
  "template": "Income and expenditure report",
  "format": "pdf",
  "data": {
    "organization": "見本町一丁目自治会 2026 年度 夏祭り会計",
    "period": {
      "start": "2026-06-01",
      "end": "2026-09-30"
    },
    "rows": [
      {
        "_span": true,
        "item": "収入の部"
      }
    ],
    "income_total": 790650,
    "expense_total": 610040,
    "balance": 180610,
    "balance_note": "差引残高 180,610 円は、自治会の一般会計へ繰り戻します。",
    "reported_at": "2026-10-18",
    "treasurer": "見本 花子",
    "audited_at": "2026-10-20",
    "auditor": "例示 一郎"
  }
}

API reference

Early access is open

We are preparing for launch. Pre-register and we will notify you when the service becomes available.