Skip to content
Preview of the Standard delivery note template

210 × 297 mm

Delivery notes

Standard delivery note

An A4 delivery note with a consignment barcode, delivery address, order and carrier details, lines comparing ordered and delivered quantities with a back-ordered badge and expected date, a list of items to follow, and received-by and driver signature blocks.

PDFA4 portraitLocale en-GBHTML + JinjaHeader & footer

Opens Dynamic Document API with this template preloaded in a free workspace.

Template language features

  • Loops
  • Conditionals
  • Macros
  • Filters
  • Number formatting
  • Date formatting
  • Barcode
  • 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: 5 top-level fields, 31 paths in total. Send the same shape as data.

PathTypeExample
supplierobject
supplier.namestring"Calderbank Office Interiors Ltd"
supplier.addressstring"Calder Works, 2 Tanyard Road ⏎ Halifax HX3 5AL…"
supplier.phonestring"+44 20 7946 0615"
supplier.emailstring"deliveries@calderbank.example.com"
supplier.vat_idstring"GB 135 7924 68"
customerobject
customer.namestring"Tarnside Architects LLP"
customer.accountstring"C-10457"
customer.delivery_addressstring"3rd Floor, Wharfside House ⏎ 18 Navigation Wal…"
customer.contactstring"Farida Ellingham"
customer.phonestring"+44 20 7946 0642"
deliveryobject
delivery.note_numberstring"DN-240613"
delivery.consignment_numberstring"CBK4471093026GB"
delivery.datedate"2026-09-16"
delivery.order_numberstring"SO-58217"
delivery.customer_referencestring"TA-PO-1193"
delivery.carrierstring"Brackenfield Logistics"
delivery.servicestring"Two-person delivery and installation"
delivery.vehiclestring"Van 12"
delivery.driverstring"Kwame Holloway"
delivery.packagesnumber14
delivery.total_weight_kgnumber412.5
itemsarray<object> · 9
items[].codestring"CB-DSK-1600-OAK"
items[].descriptionstring"Sit-stand desk, 1600 × 800 mm, oak-effect top"
items[].orderednumber6
items[].deliverednumber6
items[].back_order_datedate"2026-09-30"
notesstring"Installation team on site from 08:00 to 13:00.…"

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": {
    "supplier": {
      "name": "Calderbank Office Interiors Ltd",
      "address": "Calder Works, 2 Tanyard Road\nHalifax HX3 5AL\nUnited Kingdom",
      "phone": "+44 20 7946 0615",
      "email": "deliveries@calderbank.example.com",
      "vat_id": "GB 135 7924 68"
    },
    "customer": {
      "name": "Tarnside Architects LLP",
      "account": "C-10457",
      "delivery_address": "3rd Floor, Wharfside House\n18 Navigation Walk\nLeeds LS10 1JR\nUnited Kingdom",
      "contact": "Farida Ellingham",
      "phone": "+44 20 7946 0642"
    },
    "delivery": {
      "note_number": "DN-240613",
      "consignment_number": "CBK4471093026GB",
      "date": "2026-09-16",
      "order_number": "SO-58217",
      "customer_reference": "TA-PO-1193",
      "carrier": "Brackenfield Logistics",
      "service": "Two-person delivery and installation",
      "vehicle": "Van 12",
      "driver": "Kwame Holloway",
      "packages": 14,
      "total_weight_kg": 412.5
    },
    "items": [
      {
        "code": "CB-DSK-1600-OAK",
        "description": "Sit-stand desk, 1600 × 800 mm, oak-effect top",
        "ordered": 6,
        "delivered": 6,
        "back_order_date": null
      },
      {
        "code": "CB-CHR-ERG-GRY",
        "description": "Ergonomic task chair, grey mesh back",
        "ordered": 8,
        "delivered": 5,
        "back_order_date": "2026-09-30"
      }
    ],
    "notes": "Installation team on site from 08:00 to 13:00. All packaging taken away for recycling. Back-ordered items are delivered free of charge and do not need a new order."
  },
  "output": {
    "format": "pdf",
    "filename": "delivery-note-standard.pdf"
  }
}'