DocMake
The PDF DocMake makes from the Weekly Timesheet template

The first page of the document DocMake makes from the sample values on this page.

HR

Weekly Timesheet

Hours by day and project, one row per entry, totals at the bottom, approval line included.

Render a filled timesheet per employee per week straight from your time-tracking export.

Blanks to fill

employee_name Employee
week Week
manager_name Manager
total_hours Total hours
overtime_hours Overtime hours
absence Time away this week
company_name Company
entries[] One per item, so a row is added for every item in the list

The data behind the preview

This is the exact JSON that produced the document above. Change the values, POST them to the API, and you get your version back as DOCX or PDF. Lists grow and shrink with your data; the layout adapts.

  1. 01 Sign up free and duplicate this template into your workspace.
  2. 02 Adjust the wording and branding in the visual editor.
  3. 03 Fill it in the app, share it as a form link, or call the API.
sample-data.json
{
  "company_name": "Tellmark Studio",
  "employee_name": "Priya Sandhu",
  "week": "August 3 to 7, 2026",
  "manager_name": "Greta Lindqvist",
  "entries": [
    {
      "day": "Monday",
      "project": "BRAM-24",
      "work_done": "Booking flow, second round of revisions",
      "hours": "8"
    },
    {
      "day": "Tuesday",
      "project": "BRAM-24",
      "work_done": "Reminder email templates and copy",
      "hours": "8"
    },
    {
      "day": "Wednesday",
      "project": "INT-03",
      "work_done": "Studio design review, half day off",
      "hours": "4"
    },
    {
      "day": "Thursday",
      "project": "BRAM-24",
      "work_done": "Prototype and handover to the build team",
      "hours": "8"
    },
    {
      "day": "Friday",
      "project": "INT-01",
      "work_done": "Planning for the next two weeks",
      "hours": "8"
    }
  ],
  "total_hours": "36",
  "overtime_hours": "0",
  "absence": "Half a day of unpaid leave on Wednesday afternoon, agreed with the manager in advance."
}

Generate this document via the API

One template plus changing data is the whole point. The list of blanks above is the contract, and every new set of values comes back in the same layout: fill it in the app, hand someone a form link, or POST the JSON and get the file straight back.

The request below carries this page's own values, so it runs as soon as the template exists in your workspace. Swap the values for yours and the response is your document.

make-timesheet.sh
curl -X POST https://app.docmake.io/api/v1/render \
  -H "Authorization: Bearer $DOCMAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  --output timesheet.pdf \
  --data-binary @- <<'JSON'
{
  "template_id": "tmpl_your_template_id",
  "format": "pdf",
  "data": {
    "company_name": "Tellmark Studio",
    "employee_name": "Priya Sandhu",
    "week": "August 3 to 7, 2026",
    "manager_name": "Greta Lindqvist",
    "entries": [
      {
        "day": "Monday",
        "project": "BRAM-24",
        "work_done": "Booking flow, second round of revisions",
        "hours": "8"
      },
      {
        "day": "Tuesday",
        "project": "BRAM-24",
        "work_done": "Reminder email templates and copy",
        "hours": "8"
      },
      {
        "day": "Wednesday",
        "project": "INT-03",
        "work_done": "Studio design review, half day off",
        "hours": "4"
      },
      {
        "day": "Thursday",
        "project": "BRAM-24",
        "work_done": "Prototype and handover to the build team",
        "hours": "8"
      },
      {
        "day": "Friday",
        "project": "INT-01",
        "work_done": "Planning for the next two weeks",
        "hours": "8"
      }
    ],
    "total_hours": "36",
    "overtime_hours": "0",
    "absence": "Half a day of unpaid leave on Wednesday afternoon, agreed with the manager in advance."
  }
}
JSON

tmpl_your_template_id is a stand-in: build this template in the visual editor and copy the id it shows, or create one with POST /api/v1/templates. Keys, formats, strict mode and batches are in the API reference.

Or let an AI assistant do it

The DocMake MCP server lets Claude and other assistants make this document the same way. Install it once:

claude mcp add docmake \
  --env DOCMAKE_API_KEY=dm_your_api_key \
  -- npx -y @docmake/mcp@latest

Then ask for the document in plain words:

Make a PDF from my Weekly Timesheet template with employee "Priya Sandhu" and week "August 3 to 7, 2026".

How the MCP server works →

More hr templates