Warehouse Packing Slip
Dense, large-type A4 packing slip for warehouse use: a near-black header bar with the company name, an oversized PACKING SLIP title above the order number, a date/shipping/tracking row, a bordered ship-to box, a four-column item table, a box and item totals bar, an optional notes block, and Packed by / Verified by signature lines.

DSL source
The whole template. Learn the language in the template DSL guide.
js
// Packing Slip — Warehouse / Utilitarian
// Dense layout, large text for warehouse readability, with Packed by / Verified by signature lines.
// Best for: Distribution centers, 3PL, fulfillment warehouses.
const dark = "#1a1a1a";
const cols = [["SKU", "20%"], ["Description", "46%"], ["Qty", "17%", "center"], ["Shipped", "17%", "center"]];
const template = doc({
size: "A4",
title: "Packing Slip — {{orderNumber}}",
padding: 24,
styles: {
".dark-bar": { "background-color": dark, padding: [10, 14, 10, 14], margin: [0, 0, 6, 0] },
".dark-bar-text": { "font-size": 14, "font-weight": "bold", color: "#ffffff" },
".big-title": { "font-size": 22, "font-weight": "bold", color: dark, margin: [4, 0, 2, 0] },
".order-num": { "font-size": 16, "font-weight": "bold", color: "#444444", margin: [0, 0, 6, 0] },
".ship-box": { border: [2, 2, 2, 2], "border-color": dark, padding: [10, 12, 10, 12], margin: [4, 0, 8, 0] },
".ship-label": { "font-size": 9, "font-weight": "bold", color: "#666666", margin: [0, 0, 2, 0] },
".ship-name": { "font-size": 14, "font-weight": "bold", margin: [0, 0, 2, 0] },
".ship-line": { "font-size": 11, margin: [1, 0, 1, 0] },
".table-header": { "font-size": 11, "font-weight": "bold", padding: [7, 8, 7, 8], "background-color": dark, color: "#ffffff", border: [0, 0, 0, 0] },
".table-cell": { "font-size": 11, padding: [7, 8, 7, 8], border: [0, 0, 1, 0], "border-color": "#cccccc" },
".totals-bar": { "font-size": 12, "font-weight": "bold", "background-color": "#f0f0f0", padding: [8, 10, 8, 10], margin: [4, 0, 0, 0] },
".notes-section": { "font-size": 11, border: [1, 1, 1, 1], "border-color": "#999999", padding: [8, 10, 8, 10], margin: [8, 0, 0, 0] },
".meta-row": { "font-size": 10, margin: [2, 0, 2, 0] },
},
},
// Dark header bar with company name
col(".dark-bar",
s(".dark-bar-text", "{{company.name}}"),
),
// Large PACKING SLIP title + order number
s(".big-title", "PACKING SLIP"),
s(".order-num", "{{orderNumber}}"),
// Metadata row
r(".meta-row",
col("25%", text(bold("Date: "), s("{{date}}"))),
col("35%", text(bold("Shipping: "), s("{{shippingMethod}}"))),
col("40%", text(bold("Tracking: "), s("{{trackingNumber}}"))),
),
gap(4),
// Ship To in bordered box
col(".ship-box",
s(".ship-label", "SHIP TO"),
s(".ship-name", "{{shipTo.name}}"),
s(".ship-line", "{{shipTo.attention}}"),
s(".ship-line", "{{shipTo.address}}"),
s(".ship-line", "{{shipTo.city}}, {{shipTo.country}}"),
s(".ship-line", "{{shipTo.phone}}"),
),
// Items table: SKU, description, ordered quantity, shipped quantity
table(cols, "item in items",
[["{{item.sku}}", "20%"], ["{{item.description}}", "46%"], ["{{item.qty}}", "17%", "center"], ["{{item.qtyShipped}}", "17%", "center"]],
),
// Totals bar
r(".totals-bar",
col("35%", s("Box: {{boxCount}}")),
col("35%", s("Total Items: {{totalItems}}")),
col({ width: "30%", align: "right" }, s("Shipped: {{totalShipped}}")),
),
// Notes
when("notes",
col(".notes-section",
s({ "font-size": 11, "font-weight": "bold", margin: [0, 0, 4, 0] }, "NOTES"),
s({ "font-size": 11 }, "{{notes}}"),
),
),
gap(12),
// Signature line for warehouse (space above line for handwriting)
r(
col("50%",
col({ height: 30 }),
hr(0, "#000000"),
s({ "font-size": 9, color: "#666666", margin: [4, 0, 0, 0] }, "Packed by / Date"),
),
col("5%"),
col("45%",
col({ height: 30 }),
hr(0, "#000000"),
s({ "font-size": 9, color: "#666666", margin: [4, 0, 0, 0] }, "Verified by / Date"),
),
),
ftrPages(),
);
const sampleData = {
orderNumber: "ORD-88421",
date: "15 March 2026",
shippingMethod: "FedEx Ground",
trackingNumber: "7489 2847 3910 4821",
company: {
name: "Cascade Outdoor Gear",
address: "900 Pioneer Way",
city: "Portland, OR 97209",
country: "United States",
phone: "(503) 555-0234",
},
shipTo: {
name: "Mountain View Lodge",
attention: "Attn: Receiving Dept",
address: "4200 Summit Road",
city: "Bend, OR 97701",
country: "United States",
phone: "(541) 555-0189",
},
billTo: {
name: "Mountain View Lodge",
address: "PO Box 1240",
city: "Bend, OR 97701",
country: "United States",
},
items: [
{ sku: "COG-TN-440", description: "4-person dome tent — Alpine Green", qty: 3, qtyShipped: 3 },
{ sku: "COG-SB-220", description: "Down sleeping bag — rated -10C", qty: 6, qtyShipped: 6 },
{ sku: "COG-BP-380", description: "65L hiking backpack — Charcoal", qty: 4, qtyShipped: 4 },
{ sku: "COG-CK-150", description: "Portable camp stove — dual burner", qty: 2, qtyShipped: 1 },
{ sku: "COG-WB-080", description: "Insulated water bottle 1L — Steel", qty: 12, qtyShipped: 12 },
{ sku: "COG-HL-060", description: "LED headlamp — rechargeable", qty: 6, qtyShipped: 6 },
],
totalItems: 33,
totalShipped: 32,
notes: "1x Portable camp stove (COG-CK-150) on backorder — expected ship date 22 March 2026.",
boxCount: "3 of 3",
};Sample data
json
{
"orderNumber": "ORD-88421",
"date": "15 March 2026",
"shippingMethod": "FedEx Ground",
"trackingNumber": "7489 2847 3910 4821",
"company": {
"name": "Cascade Outdoor Gear",
"address": "900 Pioneer Way",
"city": "Portland, OR 97209",
"country": "United States",
"phone": "(503) 555-0234"
},
"shipTo": {
"name": "Mountain View Lodge",
"attention": "Attn: Receiving Dept",
"address": "4200 Summit Road",
"city": "Bend, OR 97701",
"country": "United States",
"phone": "(541) 555-0189"
},
"billTo": {
"name": "Mountain View Lodge",
"address": "PO Box 1240",
"city": "Bend, OR 97701",
"country": "United States"
},
"items": [
{
"sku": "COG-TN-440",
"description": "4-person dome tent — Alpine Green",
"qty": 3,
"qtyShipped": 3
},
{
"sku": "COG-SB-220",
"description": "Down sleeping bag — rated -10C",
"qty": 6,
"qtyShipped": 6
},
{
"sku": "COG-BP-380",
"description": "65L hiking backpack — Charcoal",
"qty": 4,
"qtyShipped": 4
},
{
"sku": "COG-CK-150",
"description": "Portable camp stove — dual burner",
"qty": 2,
"qtyShipped": 1
},
{
"sku": "COG-WB-080",
"description": "Insulated water bottle 1L — Steel",
"qty": 12,
"qtyShipped": 12
},
{
"sku": "COG-HL-060",
"description": "LED headlamp — rechargeable",
"qty": 6,
"qtyShipped": 6
}
],
"totalItems": 33,
"totalShipped": 32,
"notes": "1x Portable camp stove (COG-CK-150) on backorder — expected ship date 22 March 2026.",
"boxCount": "3 of 3"
}Render it with your data
Any API key can render this template by its ID. This call uses the sample data; add a data object to use your own. See the API reference.
bash
curl -X POST https://makespdf.com/api/v1/render \
-H "Authorization: Bearer $MAKESPDF_API_KEY" \
-H "Content-Type: application/json" \
-d '{"templateId": "packing-slip-warehouse"}' \
-o output.pdf