Certificate of enrollment template

A certificate of enrollment with fields for name, date of birth, period of enrollment, department and title, and duties, a table of career history (hiring, transfers, promotions), a certifying statement, and issuer details with a company seal box. The sections below move up to fit the number of history rows.

  • A4 portrait
  • 19 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 certificate of enrollment template (first page of a PDF issued with DocRelay)

Use cases

  • Proof of enrollment for a new employer or bank
  • Certifying staff on leave or on secondment
  • Issuing from transfer history in an HR system

Merge fields

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

FieldDescription
numberCertificate number
employee.nameEmployee name
employee.birth_dateDate of birth (YYYY-MM-DD)
period.fromEnrolled from (YYYY-MM-DD)
period.toEnrolled until (e.g. present)
employee.departmentDepartment
employee.positionTitle
employee.dutiesDuties
historyCareer history (array)
history.dateDate (YYYY-MM-DD)
history.departmentDepartment
history.positionTitle or job type
history.noteNote (hired, transfer, promotion)
issued_atIssue date (YYYY-MM-DD)
company.addressCompany address
company.nameCompany name
company.representativeRepresentative title and name
company.telPhone number
purposeSubmitted to or purpose

How to use it

  1. In the dashboard, choose Create template, select "Start from a template" and pick "Certificate of enrollment". 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 (enrollment-certificate) 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": "Certificate of enrollment", "from": "enrollment-certificate" }'
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 @enrollment-certificate.json \
  -o enrollment-certificate.pdf
enrollment-certificate.json (sample data; arrays show the first item and long text is shortened)
{
  "template": "Certificate of enrollment",
  "format": "pdf",
  "data": {
    "number": "HR-E-2026-0042",
    "employee": {
      "name": "見本 花子",
      "birth_date": "1988-11-03",
      "department": "管理本部 経理部",
      "position": "主任",
      "duties": "月次・年次決算、支払業務、経理システムの運用"
    },
    "period": {
      "from": "2015-04-01",
      "to": "現在に至る"
    },
    "history": [
      {
        "date": "2015-04-01",
        "department": "営業本部 営業管理部",
        "position": "一般職",
        "note": "入社"
      }
    ],
    "issued_at": "2026-10-22",
    "company": {
      "address": "東京都千代田区見本町1-2-3 サンプルビル5F",
      "name": "サンプル商事株式会社",
      "representative": "代表取締役 見本 一郎",
      "tel": "03-0000-0000"
    },
    "purpose": "見本銀行(住宅ローンのお申込み)"
  }
}

API reference

Early access is open

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