Resignation letter template

A horizontal-format Japanese resignation letter with the reason and last day, submission date, department, name and seal box, and the company and representative as addressee. An HR section at the bottom records the date received, last working day and approval stamps.

  • A4 portrait
  • 8 merge fields
  • Issued as PDF
  • Company names, people, addresses and amounts in the sample are fictional.
  • Clauses and fields are general examples. Review the content against applicable laws and your own terms.
  • The sample layout is in Japanese. You can change any text in the template editor.
Sample of the resignation letter template (first page of a PDF issued with DocRelay)

Use cases

  • Resignation requests in HR systems and workflows
  • Creating resignation letters from an employee portal
  • Records for offboarding procedures

Merge fields

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

FieldDescription
reasonReason (e.g. personal reasons)
retire_dateResignation date (YYYY-MM-DD)
submitted_atDate submitted (YYYY-MM-DD)
employee.departmentDepartment
employee.numberEmployee number
employee.nameEmployee name
company.nameCompany name
company.representativeRepresentative title and name

How to use it

  1. In the dashboard, choose Create template, select "Start from a template" and pick "Resignation letter". 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 (resignation) 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": "Resignation letter", "from": "resignation" }'
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 @resignation.json \
  -o resignation.pdf
resignation.json (sample data; arrays show the first item and long text is shortened)
{
  "template": "Resignation letter",
  "format": "pdf",
  "data": {
    "reason": "一身上の都合",
    "retire_date": "2026-12-31",
    "submitted_at": "2026-10-30",
    "employee": {
      "department": "営業本部 第一営業部",
      "number": "E-102345",
      "name": "見本 太郎"
    },
    "company": {
      "name": "サンプル商事株式会社",
      "representative": "代表取締役社長 見本 一郎"
    }
  }
}

API reference

Early access is open

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