
210 × 148 mm
Delivery notes
Proof of delivery form
An A5 landscape proof-of-delivery form for courier stops: route and stop number, consignee and delivery window, a parcel list with a Code 128 barcode per parcel, condition tick boxes, recipient name, signature and time boxes, and driver notes.
PDFA5 landscapeLocale en-IEHTML + Jinja
Opens Dynamic Document API with this template preloaded in a free workspace.
Template language features
- Loops
- Conditionals
- Macros
- Filters
- Number formatting
- Date formatting
- Barcode
Filters such as format_currency and qrcode are described in the template language reference.
Variables
Derived from the sample data: 7 top-level fields, 27 paths in total. Send the same shape as data.
| Path | Type | Example |
|---|---|---|
| carrier | object | |
| carrier.name | string | "Brannock Couriers" |
| carrier.depot | string | "Galway depot" |
| carrier.support_email | string | "pod@brannock.example.com" |
| run | object | |
| run.route | string | "G-14" |
| run.stop_number | number | 7 |
| run.stops_total | number | 22 |
| run.vehicle | string | "Van 08" |
| run.driver | string | "Aoife Brennan-Kelleher" |
| run.window_start | date | "2026-09-17T10:00:00+01:00" |
| run.window_end | date | "2026-09-17T12:00:00+01:00" |
| run.timezone | string | "Europe/Dublin" |
| shipper | object | |
| shipper.name | string | "Cairnfield Kitchen Supply Ltd" |
| shipper.reference | string | "CKS-SO-30917" |
| consignee | object | |
| consignee.name | string | "Lough Arrow Bakehouse" |
| consignee.contact | string | "Niamh Costigan" |
| consignee.address | string | "Unit 4, Cloonfad Business Park ⏎ Dublin Road ⏎…" |
| delivery_instructions | string | "Use the rear loading door. Ring twice; if nobo…" |
| parcels | array<object> · 4 | |
| parcels[].tracking | string | "BRC0917G1400701" |
| parcels[].description | string | "Stainless mixing bowls, set of 5" |
| parcels[].weight_kg | number | 6.4 |
| parcels[].handling | string | "Fragile" |
| conditions | array<string> · 4 | "All parcels received" |
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": {
"carrier": {
"name": "Brannock Couriers",
"depot": "Galway depot",
"support_email": "pod@brannock.example.com"
},
"run": {
"route": "G-14",
"stop_number": 7,
"stops_total": 22,
"vehicle": "Van 08",
"driver": "Aoife Brennan-Kelleher",
"window_start": "2026-09-17T10:00:00+01:00",
"window_end": "2026-09-17T12:00:00+01:00",
"timezone": "Europe/Dublin"
},
"shipper": {
"name": "Cairnfield Kitchen Supply Ltd",
"reference": "CKS-SO-30917"
},
"consignee": {
"name": "Lough Arrow Bakehouse",
"contact": "Niamh Costigan",
"address": "Unit 4, Cloonfad Business Park\nDublin Road\nTuam, Co. Galway"
},
"delivery_instructions": "Use the rear loading door. Ring twice; if nobody answers, knock at the bakery window.",
"parcels": [
{
"tracking": "BRC0917G1400701",
"description": "Stainless mixing bowls, set of 5",
"weight_kg": 6.4,
"handling": null
},
{
"tracking": "BRC0917G1400702",
"description": "Proving baskets, 12 pieces",
"weight_kg": 3.1,
"handling": null
}
],
"conditions": [
"All parcels received",
"Packaging undamaged"
]
},
"output": {
"format": "pdf",
"filename": "delivery-note-proof-of-delivery.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": {
"carrier": {
"name": "Brannock Couriers",
"depot": "Galway depot",
"support_email": "pod@brannock.example.com"
},
"run": {
"route": "G-14",
"stop_number": 7,
"stops_total": 22,
"vehicle": "Van 08",
"driver": "Aoife Brennan-Kelleher",
"window_start": "2026-09-17T10:00:00+01:00",
"window_end": "2026-09-17T12:00:00+01:00",
"timezone": "Europe/Dublin"
},
"shipper": {
"name": "Cairnfield Kitchen Supply Ltd",
"reference": "CKS-SO-30917"
},
"consignee": {
"name": "Lough Arrow Bakehouse",
"contact": "Niamh Costigan",
"address": "Unit 4, Cloonfad Business Park\nDublin Road\nTuam, Co. Galway"
},
"delivery_instructions": "Use the rear loading door. Ring twice; if nobody answers, knock at the bakery window.",
"parcels": [
{
"tracking": "BRC0917G1400701",
"description": "Stainless mixing bowls, set of 5",
"weight_kg": 6.4,
"handling": null
},
{
"tracking": "BRC0917G1400702",
"description": "Proving baskets, 12 pieces",
"weight_kg": 3.1,
"handling": null
}
],
"conditions": [
"All parcels received",
"Packaging undamaged"
]
},
"output": {
"format": "pdf",
"filename": "delivery-note-proof-of-delivery.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": {
"carrier": {
"name": "Brannock Couriers",
"depot": "Galway depot",
"support_email": "pod@brannock.example.com",
},
"run": {
"route": "G-14",
"stop_number": 7,
"stops_total": 22,
"vehicle": "Van 08",
"driver": "Aoife Brennan-Kelleher",
"window_start": "2026-09-17T10:00:00+01:00",
"window_end": "2026-09-17T12:00:00+01:00",
"timezone": "Europe/Dublin",
},
"shipper": {
"name": "Cairnfield Kitchen Supply Ltd",
"reference": "CKS-SO-30917",
},
"consignee": {
"name": "Lough Arrow Bakehouse",
"contact": "Niamh Costigan",
"address": "Unit 4, Cloonfad Business Park\nDublin Road\nTuam, Co. Galway",
},
"delivery_instructions": "Use the rear loading door. Ring twice; if nobody answers, knock at the bakery window.",
"parcels": [
{
"tracking": "BRC0917G1400701",
"description": "Stainless mixing bowls, set of 5",
"weight_kg": 6.4,
"handling": None,
},
{
"tracking": "BRC0917G1400702",
"description": "Proving baskets, 12 pieces",
"weight_kg": 3.1,
"handling": None,
},
],
"conditions": ["All parcels received", "Packaging undamaged"],
},
"output": {
"format": "pdf",
"filename": "delivery-note-proof-of-delivery.pdf",
},
},
timeout=90,
)
response.raise_for_status()
print(response.json())