Shift schedule template

A monthly A4 landscape shift schedule with shift codes for each employee and day (1 to 31), rows for weekdays and headcount, workdays and days off per employee, a legend of codes, notes and approval stamps. Weekend and day-off codes can be colored.

  • A4 landscape
  • 45 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 shift schedule template (first page of a PDF issued with DocRelay)

Use cases

  • Monthly shifts for retail, restaurants and care facilities
  • Printable PDFs from shift management systems
  • Duty rosters for security and call centers

Merge fields

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

FieldDescription
monthMonth (e.g. 2026年10月)
storeStore or site name
created_atCreated on (YYYY-MM-DD)
authorPrepared by
staffEmployee rows (array; weekday and headcount rows use the same shape)
staff.nameEmployee name
staff.d1Code for day 1 (text or colored segments)
staff.d2Code for day 2 (text or colored segments)
staff.d3Code for day 3 (text or colored segments)
staff.d4Code for day 4 (text or colored segments)
staff.d5Code for day 5 (text or colored segments)
staff.d6Code for day 6 (text or colored segments)
staff.d7Code for day 7 (text or colored segments)
staff.d8Code for day 8 (text or colored segments)
staff.d9Code for day 9 (text or colored segments)
staff.d10Code for day 10 (text or colored segments)
staff.d11Code for day 11 (text or colored segments)
staff.d12Code for day 12 (text or colored segments)
staff.d13Code for day 13 (text or colored segments)
staff.d14Code for day 14 (text or colored segments)
staff.d15Code for day 15 (text or colored segments)
staff.d16Code for day 16 (text or colored segments)
staff.d17Code for day 17 (text or colored segments)
staff.d18Code for day 18 (text or colored segments)
staff.d19Code for day 19 (text or colored segments)
staff.d20Code for day 20 (text or colored segments)
staff.d21Code for day 21 (text or colored segments)
staff.d22Code for day 22 (text or colored segments)
staff.d23Code for day 23 (text or colored segments)
staff.d24Code for day 24 (text or colored segments)
staff.d25Code for day 25 (text or colored segments)
staff.d26Code for day 26 (text or colored segments)
staff.d27Code for day 27 (text or colored segments)
staff.d28Code for day 28 (text or colored segments)
staff.d29Code for day 29 (text or colored segments)
staff.d30Code for day 30 (text or colored segments)
staff.d31Code for day 31 (text or colored segments)
staff.work_daysWorkdays
staff.days_offDays off
legendLegend (array)
legend.codeCode
legend.nameShift type
legend.timeHours
legend.noteNotes
notesNotes

How to use it

  1. In the dashboard, choose Create template, select "Start from a template" and pick "Shift schedule". 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 (shift) 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": "Shift schedule", "from": "shift" }'
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 @shift.json \
  -o shift.pdf
shift.json (sample data; arrays show the first item and long text is shortened)
{
  "template": "Shift schedule",
  "format": "pdf",
  "data": {
    "month": "2026年10月",
    "store": "サンプルマート 見本町店",
    "created_at": "2026-09-20",
    "author": "店長 見本 一郎",
    "staff": [
      {
        "name": "曜日",
        "work_days": "",
        "days_off": "",
        "_align": "center",
        "d1": "木",
        "d2": "金",
        "d3": [
          {
            "text": "土",
            "color": "#1f5fbf"
          }
        ],
        "d4": [
          {
            "text": "日",
            "color": "#c0392b"
          }
        ],
        "d5": "月",
        "d6": "火",
        "d7": "水",
        "d8": "木",
        "d9": "金",
        "d10": [
          {
            "text": "土",
            "color": "#1f5fbf"
          }
        ],
        "d11": [
          {
            "text": "日",
            "color": "#c0392b"
          }
        ],
        "d12": [
          {
            "text": "月",
            "color": "#c0392b"
          }
        ],
        "d13": "火",
        "d14": "水",
        "d15": "木",
        "d16": "金",
        "d17": [
          {
            "text": "土",
            "color": "#1f5fbf"
          }
        ],
        "d18": [
          {
            "text": "日",
            "color": "#c0392b"
          }
        ],
        "d19": "月",
        "d20": "火",
        "d21": "水",
        "d22": "木",
        "d23": "金",
        "d24": [
          {
            "text": "土",
            "color": "#1f5fbf"
          }
        ],
        "d25": [
          {
            "text": "日",
            "color": "#c0392b"
          }
        ],
        "d26": "月",
        "d27": "火",
        "d28": "水",
        "d29": "木",
        "d30": "金",
        "d31": [
          {
            "text": "土",
            "color": "#1f5fbf"
          }
        ]
      }
    ],
    "legend": [
      {
        "code": "A",
        "name": "早番",
        "time": "7:00 〜 16:00",
        "note": "休憩 60 分"
      }
    ],
    "notes": "・シフトの交代を希望する場合は、前日までに店長へ申し出てください。…"
  }
}

API reference

Early access is open

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