
210 × 297 mm
Reports
Site inspection report
An A4 facility inspection report with an overall result, pass and fail counts, findings ranked by severity with due dates, a checklist grouped by area with status badges, photo reference placeholders and a separate sign-off page with page numbers.
Opens Dynamic Document API with this template preloaded in a free workspace.
Generating this from your own data? See the Report Generation API.
Template language features
- Loops
- Conditionals
- Macros
- Filters
- Grouping
- Date formatting
- Number formatting
- Markdown
- Page breaks
- Repeating table headers
- Header & footer
- Page numbers
Filters such as format_currency and qrcode are described in the template language reference.
Variables
Derived from the sample data: 8 top-level fields, 50 paths in total. Send the same shape as data.
| Path | Type | Example |
|---|---|---|
| inspector_company | object | |
| inspector_company.name | string | "Blackbutt Facility Assurance Pty Ltd" |
| inspector_company.short_name | string | "Blackbutt Facility Assurance" |
| inspector_company.abn | string | "11 222 333 444" |
| inspector_company.address | string | "Level 2, 60 Denham Street, Townsville QLD 4810" |
| inspector_company.email | string | "reports@blackbutt.example.com" |
| inspector_company.website | string | "blackbutt.example.com" |
| site | object | |
| site.name | string | "Riverbend Community Aquatic Centre" |
| site.address | string | "18 Mangrove Parade ⏎ Riverbend QLD 4815" |
| site.contact | string | "Priya Venkataraman, Centre Manager" |
| inspection | object | |
| inspection.reference | string | "INS-2026-0915-04" |
| inspection.type | string | "Quarterly facility safety inspection" |
| inspection.date | date | "2026-09-15" |
| inspection.start_time | date | "2026-09-15T07:30:00+10:00" |
| inspection.end_time | date | "2026-09-15T11:10:00+10:00" |
| inspection.timezone | string | "Australia/Brisbane" |
| inspection.inspector | string | "Callum Ashworth" |
| inspection.inspector_role | string | "Senior Facility Inspector" |
| inspection.accreditation | string | "QFA-00417" |
| inspection.weather | string | "Fine, 27 °C" |
| inspection.next_inspection_months | number | 3 |
| inspection.locale | string | "en-AU" |
| checklist | array<object> · 18 | |
| checklist[].id | string | "CR-01" |
| checklist[].area | string | "Change rooms" |
| checklist[].item | string | "Floors dry and clean, non-slip matting in plac…" |
| checklist[].status | string | "pass" |
| checklist[].note | string | "Measured 47 °C at basin 3" |
| checklist[].photo | string | "P-01" |
| findings | array<object> · 4 | |
| findings[].id | string | "F-01" |
| findings[].severity | string | "high" |
| findings[].title | string | "Acid and chlorine stored too close together" |
| findings[].checklist_ref | string | "CS-02" |
| findings[].action | string | "Move the acid drums to the segregated bay and …" |
| findings[].owner | string | "Centre Manager" |
| findings[].due_in_days | number | 1 |
| photos | array<object> · 4 | |
| photos[].ref | string | "P-01" |
| photos[].checklist_ref | string | "CR-03" |
| photos[].caption | string | "East wall baby-change table, loose hinge brack…" |
| photos[].file | string | "IMG_4471.jpg" |
| summary | string | "The centre is generally **well maintained** an…" |
| sign_off | object | |
| sign_off.declaration | string | "I inspected the areas listed in this report on…" |
| sign_off.site_representative | string | "Priya Venkataraman" |
| sign_off.site_representative_role | string | "Centre Manager" |
| sign_off.distribution | array<string> · 3 | "Centre Manager" |
Render it with the API
After adding the template to your workspace, render it by ID and pass your data. Arrays are shortened here.
curl -X POST https://api-eu.dynamicdocumentapi.com/v1/renders \
-H "Authorization: Bearer $DYNAMIC_DOCUMENT_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"input": {
"type": "template",
"template_id": "tpl_01J9ZK3M7Q8V5W2X4Y6Z8A0B1C"
},
"data": {
"inspector_company": {
"name": "Blackbutt Facility Assurance Pty Ltd",
"short_name": "Blackbutt Facility Assurance",
"abn": "11 222 333 444",
"address": "Level 2, 60 Denham Street, Townsville QLD 4810",
"email": "reports@blackbutt.example.com",
"website": "blackbutt.example.com"
},
"site": {
"name": "Riverbend Community Aquatic Centre",
"address": "18 Mangrove Parade\nRiverbend QLD 4815",
"contact": "Priya Venkataraman, Centre Manager"
},
"inspection": {
"reference": "INS-2026-0915-04",
"type": "Quarterly facility safety inspection",
"date": "2026-09-15",
"start_time": "2026-09-15T07:30:00+10:00",
"end_time": "2026-09-15T11:10:00+10:00",
"timezone": "Australia/Brisbane",
"inspector": "Callum Ashworth",
"inspector_role": "Senior Facility Inspector",
"accreditation": "QFA-00417",
"weather": "Fine, 27 °C",
"next_inspection_months": 3,
"locale": "en-AU"
},
"checklist": [
{
"id": "CR-01",
"area": "Change rooms",
"item": "Floors dry and clean, non-slip matting in place",
"status": "pass",
"note": null,
"photo": null
},
{
"id": "CR-02",
"area": "Change rooms",
"item": "Hot water at outlets at or below 50 °C",
"status": "pass",
"note": "Measured 47 °C at basin 3",
"photo": null
}
],
"findings": [
{
"id": "F-01",
"severity": "high",
"title": "Acid and chlorine stored too close together",
"checklist_ref": "CS-02",
"action": "Move the acid drums to the segregated bay and check both spill trays for residue.",
"owner": "Centre Manager",
"due_in_days": 1
},
{
"id": "F-02",
"severity": "high",
"title": "North exit sign not illuminated",
"checklist_ref": "EX-01",
"action": "Replace the lamp or battery pack, retest the sign and record the repair in the maintenance log.",
"owner": "Maintenance contractor",
"due_in_days": 3
}
],
"photos": [
{
"ref": "P-01",
"checklist_ref": "CR-03",
"caption": "East wall baby-change table, loose hinge bracket",
"file": "IMG_4471.jpg"
},
{
"ref": "P-02",
"checklist_ref": "CS-02",
"caption": "Acid drum beside the chlorine pallet",
"file": "IMG_4478.jpg"
}
],
"summary": "The centre is generally **well maintained** and staff were helpful throughout the inspection. Plant room controls, rescue equipment and change room hygiene were all in good order.\n\nTwo high-severity findings need attention **within three days**: chemical storage separation and the north exit sign. The remaining items are minor and can be closed through routine maintenance.",
"sign_off": {
"declaration": "I inspected the areas listed in this report on the date shown. The findings describe the conditions observed at the time of the inspection and are not a guarantee of ongoing compliance.",
"site_representative": "Priya Venkataraman",
"site_representative_role": "Centre Manager",
"distribution": [
"Centre Manager",
"Council Facilities Coordinator"
]
}
},
"output": {
"format": "pdf",
"filename": "report-site-inspection.pdf"
}
}'const response = await fetch("https://api-eu.dynamicdocumentapi.com/v1/renders", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.DYNAMIC_DOCUMENT_API_KEY}`,
"Content-Type": "application/json",
"Idempotency-Key": crypto.randomUUID(),
},
body: JSON.stringify({
"input": {
"type": "template",
"template_id": "tpl_01J9ZK3M7Q8V5W2X4Y6Z8A0B1C"
},
"data": {
"inspector_company": {
"name": "Blackbutt Facility Assurance Pty Ltd",
"short_name": "Blackbutt Facility Assurance",
"abn": "11 222 333 444",
"address": "Level 2, 60 Denham Street, Townsville QLD 4810",
"email": "reports@blackbutt.example.com",
"website": "blackbutt.example.com"
},
"site": {
"name": "Riverbend Community Aquatic Centre",
"address": "18 Mangrove Parade\nRiverbend QLD 4815",
"contact": "Priya Venkataraman, Centre Manager"
},
"inspection": {
"reference": "INS-2026-0915-04",
"type": "Quarterly facility safety inspection",
"date": "2026-09-15",
"start_time": "2026-09-15T07:30:00+10:00",
"end_time": "2026-09-15T11:10:00+10:00",
"timezone": "Australia/Brisbane",
"inspector": "Callum Ashworth",
"inspector_role": "Senior Facility Inspector",
"accreditation": "QFA-00417",
"weather": "Fine, 27 °C",
"next_inspection_months": 3,
"locale": "en-AU"
},
"checklist": [
{
"id": "CR-01",
"area": "Change rooms",
"item": "Floors dry and clean, non-slip matting in place",
"status": "pass",
"note": null,
"photo": null
},
{
"id": "CR-02",
"area": "Change rooms",
"item": "Hot water at outlets at or below 50 °C",
"status": "pass",
"note": "Measured 47 °C at basin 3",
"photo": null
}
],
"findings": [
{
"id": "F-01",
"severity": "high",
"title": "Acid and chlorine stored too close together",
"checklist_ref": "CS-02",
"action": "Move the acid drums to the segregated bay and check both spill trays for residue.",
"owner": "Centre Manager",
"due_in_days": 1
},
{
"id": "F-02",
"severity": "high",
"title": "North exit sign not illuminated",
"checklist_ref": "EX-01",
"action": "Replace the lamp or battery pack, retest the sign and record the repair in the maintenance log.",
"owner": "Maintenance contractor",
"due_in_days": 3
}
],
"photos": [
{
"ref": "P-01",
"checklist_ref": "CR-03",
"caption": "East wall baby-change table, loose hinge bracket",
"file": "IMG_4471.jpg"
},
{
"ref": "P-02",
"checklist_ref": "CS-02",
"caption": "Acid drum beside the chlorine pallet",
"file": "IMG_4478.jpg"
}
],
"summary": "The centre is generally **well maintained** and staff were helpful throughout the inspection. Plant room controls, rescue equipment and change room hygiene were all in good order.\n\nTwo high-severity findings need attention **within three days**: chemical storage separation and the north exit sign. The remaining items are minor and can be closed through routine maintenance.",
"sign_off": {
"declaration": "I inspected the areas listed in this report on the date shown. The findings describe the conditions observed at the time of the inspection and are not a guarantee of ongoing compliance.",
"site_representative": "Priya Venkataraman",
"site_representative_role": "Centre Manager",
"distribution": [
"Centre Manager",
"Council Facilities Coordinator"
]
}
},
"output": {
"format": "pdf",
"filename": "report-site-inspection.pdf"
}
}),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const result = await response.json();
console.log(result);import os
import uuid
import requests
response = requests.post(
"https://api-eu.dynamicdocumentapi.com/v1/renders",
headers={
"Authorization": f"Bearer {os.environ['DYNAMIC_DOCUMENT_API_KEY']}",
"Idempotency-Key": str(uuid.uuid4()),
},
json={
"input": {
"type": "template",
"template_id": "tpl_01J9ZK3M7Q8V5W2X4Y6Z8A0B1C",
},
"data": {
"inspector_company": {
"name": "Blackbutt Facility Assurance Pty Ltd",
"short_name": "Blackbutt Facility Assurance",
"abn": "11 222 333 444",
"address": "Level 2, 60 Denham Street, Townsville QLD 4810",
"email": "reports@blackbutt.example.com",
"website": "blackbutt.example.com",
},
"site": {
"name": "Riverbend Community Aquatic Centre",
"address": "18 Mangrove Parade\nRiverbend QLD 4815",
"contact": "Priya Venkataraman, Centre Manager",
},
"inspection": {
"reference": "INS-2026-0915-04",
"type": "Quarterly facility safety inspection",
"date": "2026-09-15",
"start_time": "2026-09-15T07:30:00+10:00",
"end_time": "2026-09-15T11:10:00+10:00",
"timezone": "Australia/Brisbane",
"inspector": "Callum Ashworth",
"inspector_role": "Senior Facility Inspector",
"accreditation": "QFA-00417",
"weather": "Fine, 27 °C",
"next_inspection_months": 3,
"locale": "en-AU",
},
"checklist": [
{
"id": "CR-01",
"area": "Change rooms",
"item": "Floors dry and clean, non-slip matting in place",
"status": "pass",
"note": None,
"photo": None,
},
{
"id": "CR-02",
"area": "Change rooms",
"item": "Hot water at outlets at or below 50 °C",
"status": "pass",
"note": "Measured 47 °C at basin 3",
"photo": None,
},
],
"findings": [
{
"id": "F-01",
"severity": "high",
"title": "Acid and chlorine stored too close together",
"checklist_ref": "CS-02",
"action": "Move the acid drums to the segregated bay and check both spill trays for residue.",
"owner": "Centre Manager",
"due_in_days": 1,
},
{
"id": "F-02",
"severity": "high",
"title": "North exit sign not illuminated",
"checklist_ref": "EX-01",
"action": "Replace the lamp or battery pack, retest the sign and record the repair in the maintenance log.",
"owner": "Maintenance contractor",
"due_in_days": 3,
},
],
"photos": [
{
"ref": "P-01",
"checklist_ref": "CR-03",
"caption": "East wall baby-change table, loose hinge bracket",
"file": "IMG_4471.jpg",
},
{
"ref": "P-02",
"checklist_ref": "CS-02",
"caption": "Acid drum beside the chlorine pallet",
"file": "IMG_4478.jpg",
},
],
"summary": "The centre is generally **well maintained** and staff were helpful throughout the inspection. Plant room controls, rescue equipment and change room hygiene were all in good order.\n\nTwo high-severity findings need attention **within three days**: chemical storage separation and the north exit sign. The remaining items are minor and can be closed through routine maintenance.",
"sign_off": {
"declaration": "I inspected the areas listed in this report on the date shown. The findings describe the conditions observed at the time of the inspection and are not a guarantee of ongoing compliance.",
"site_representative": "Priya Venkataraman",
"site_representative_role": "Centre Manager",
"distribution": ["Centre Manager", "Council Facilities Coordinator"],
},
},
"output": {
"format": "pdf",
"filename": "report-site-inspection.pdf",
},
},
timeout=90,
)
response.raise_for_status()
print(response.json())More reports templates

Incident postmortem (Markdown)
A4A blameless incident postmortem in Markdown: severity and impact at a glance, a minute-by-minute timeline table, root cause and contributing factors, what went well, and follow-up actions with owners and due dates — rendered to an A4 PDF.

Release notes (Markdown)
A4Product release notes written in Markdown: a version header, highlights, changes grouped by type from one JSON list, an optional breaking-changes warning, upgrade steps and contributor thanks — rendered to a clean A4 PDF with the GitHub theme.

Meeting minutes
A4An A4 meeting record that is easy to edit visually: key facts, an attendee table, optional apologies, one section per agenda item with an optional highlighted decision, an action-item table and a next-meeting note.