Skip to content
Preview of the Product bundle quote template

8.5 × 11 in

Quotes & estimates

Product bundle quote

A US Letter sales quote for hardware bundles with SKUs, services and volume discount lines shown as negative amounts. Totals include a shipping estimate and optional tax exemption, and a QR code links to the online acceptance page.

PDFLetter portraitLocale en-USHTML + JinjaHeader & footer

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

Template language features

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

PathTypeExample
supplierobject
supplier.namestring"Lumen & Slate Learning Supply Co."
supplier.addressstring"8800 Foundry Park Road, Building B ⏎ Columbus,…"
supplier.phonestring"+1 202-555-0163"
supplier.emailstring"quotes@lumenslate.example.com"
supplier.websitestring"lumenslate.example.com"
sales_repobject
sales_rep.namestring"Terrence Boateng"
sales_rep.titlestring"Education Account Manager"
sales_rep.emailstring"t.boateng@lumenslate.example.com"
sales_rep.phonestring"+1 202-555-0177"
customerobject
customer.namestring"Cedar Hollow Unified School District"
customer.contactstring"Marisol Etheridge, Director of Instructional T…"
customer.billing_addressstring"District Office ⏎ 410 Schoolhouse Lane ⏎ Cedar…"
customer.shipping_addressstring"Receiving Dock, Cedar Hollow Middle School ⏎ 1…"
quoteobject
quote.numberstring"LSQ-2026-24817"
quote.issue_datedate"2026-09-17"
quote.valid_for_daysnumber45
quote.currencystring"USD"
quote.localestring"en-US"
quote.projectstring"Grade 6–8 classroom display refresh, 12 rooms"
quote.accept_urlstring"https://quotes.example.com/accept/LSQ-2026-248…"
quote.tax_exemptbooleantrue
quote.tax_exemption_idstring"EX-OH-000417"
quote.tax_ratenumber0.0725
linesarray<object> · 9
lines[].typestring"product"
lines[].skustring"LS-IFP-75K"
lines[].namestring"75-inch interactive flat panel, 4K"
lines[].detailsstring"20-point touch, built-in Wi-Fi 6, two stylus p…"
lines[].quantity?number12
lines[].unit_price?number2849
lines[].amountnumber34188
lines[].rate?number0.08
shippingobject
shipping.methodstring"LTL freight with liftgate delivery"
shipping.estimatenumber1180
shipping.lead_timestring"3–4 weeks after order"
termsarray<string> · 4"Payment is due net 30 from the invoice date an…"

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": "Lumen & Slate Learning Supply Co.",
      "address": "8800 Foundry Park Road, Building B\nColumbus, OH 43219",
      "phone": "+1 202-555-0163",
      "email": "quotes@lumenslate.example.com",
      "website": "lumenslate.example.com"
    },
    "sales_rep": {
      "name": "Terrence Boateng",
      "title": "Education Account Manager",
      "email": "t.boateng@lumenslate.example.com",
      "phone": "+1 202-555-0177"
    },
    "customer": {
      "name": "Cedar Hollow Unified School District",
      "contact": "Marisol Etheridge, Director of Instructional Technology",
      "billing_address": "District Office\n410 Schoolhouse Lane\nCedar Hollow, OH 45601",
      "shipping_address": "Receiving Dock, Cedar Hollow Middle School\n1275 Ridgeview Road\nCedar Hollow, OH 45601"
    },
    "quote": {
      "number": "LSQ-2026-24817",
      "issue_date": "2026-09-17",
      "valid_for_days": 45,
      "currency": "USD",
      "locale": "en-US",
      "project": "Grade 6–8 classroom display refresh, 12 rooms",
      "accept_url": "https://quotes.example.com/accept/LSQ-2026-24817",
      "tax_exempt": true,
      "tax_exemption_id": "EX-OH-000417",
      "tax_rate": 0.0725
    },
    "lines": [
      {
        "type": "product",
        "sku": "LS-IFP-75K",
        "name": "75-inch interactive flat panel, 4K",
        "details": "20-point touch, built-in Wi-Fi 6, two stylus pens",
        "quantity": 12,
        "unit_price": 2849,
        "amount": 34188
      },
      {
        "type": "discount",
        "sku": null,
        "name": "Volume discount: 10 or more panels",
        "details": "Applied to LS-IFP-75K",
        "rate": 0.08,
        "amount": -2735.04
      }
    ],
    "shipping": {
      "method": "LTL freight with liftgate delivery",
      "estimate": 1180,
      "lead_time": "3–4 weeks after order"
    },
    "terms": [
      "Payment is due net 30 from the invoice date and requires an approved purchase order.",
      "Freight is an estimate; the final freight charge is invoiced at cost."
    ]
  },
  "output": {
    "format": "pdf",
    "filename": "quote-product-bundle.pdf"
  }
}'