PDF
business
A4
Quote / Estimate
Itemised quote or estimate document with validity date, terms, and totals. Same page-break-safe table layout as the invoice template.
Use Cases
- Freelance project quotes
- Agency client proposals
- Sales team quote generation
- CRM-integrated estimate automation
Tags
quote
estimate
proposal
business
sales
line-items
pricing
Template Variables
| Variable | Type | Default | Description |
|---|---|---|---|
| company_name | string | Acme Corp | Your company name |
| company_address | string | 123 Business St, City, Country | Your company address |
| company_email | string | [email protected] | Your contact email |
| company_logo_url | url | Company logo URL | |
| client_name | string | Prospective Client | Client name |
| client_address | string | Client Address | Client address |
| quote_number | string | QT-0001 | Quote reference number |
| quote_date | string | 2026-05-07 | Quote date |
| valid_until | string | 2026-06-07 | Quote expiry date |
| currency_symbol | string | $ | Currency symbol |
| tax_rate | number | 0 | Tax percentage (0 to hide) |
| notes | string | This quote is valid for 30 days. | Terms or notes |
| accent_color | color | #0ea5e9 | Accent colour |
| items | array | — | Array of {name, qty, unit_price} |
API Example
POST to
https://pdf.toolkitapi.io/v1/pdf/from-template
with your template URL and variable values.
curl -X POST "https://pdf.toolkitapi.io/v1/pdf/from-template" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"template_url": "https://toolkitapi.io/static/templates/pdf/quote.html", "variables": {"company_name": "Acme Corp", "company_address": "123 Business St, City, Country", "company_email": "[email protected]", "company_logo_url": "", "client_name": "Prospective Client", "client_address": "Client Address", "quote_number": "QT-0001", "quote_date": "2026-05-07", "valid_until": "2026-06-07", "currency_symbol": "$", "tax_rate": "0", "notes": "This quote is valid for 30 days.", "accent_color": "#0ea5e9"}, "page_size": "A4"}'
import httpx, base64
resp = httpx.post(
"https://pdf.toolkitapi.io/v1/pdf/from-template",
headers={"X-API-Key": "YOUR_API_KEY"},
json={
"template_url": "https://toolkitapi.io/static/templates/pdf/quote.html",
"variables": {
"company_name": "Acme Corp",
"company_address": "123 Business St, City, Country",
"company_email": "[email protected]",
"company_logo_url": "",
"client_name": "Prospective Client",
"client_address": "Client Address",
"quote_number": "QT-0001",
"quote_date": "2026-05-07",
"valid_until": "2026-06-07",
"currency_symbol": "$",
"tax_rate": "0",
"notes": "This quote is valid for 30 days.",
"accent_color": "#0ea5e9"
},
"page_size": "A4"
},
)
pdf_bytes = base64.b64decode(resp.json()["pdf"])
with open("result.pdf", "wb") as f:
f.write(pdf_bytes)
const response = await fetch("https://pdf.toolkitapi.io/v1/pdf/from-template", {
method: "POST",
headers: {
"X-API-Key": "YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
"template_url": "https://toolkitapi.io/static/templates/pdf/quote.html",
"variables": {
"company_name": "Acme Corp",
"company_address": "123 Business St, City, Country",
"company_email": "[email protected]",
"company_logo_url": "",
"client_name": "Prospective Client",
"client_address": "Client Address",
"quote_number": "QT-0001",
"quote_date": "2026-05-07",
"valid_until": "2026-06-07",
"currency_symbol": "$",
"tax_rate": "0",
"notes": "This quote is valid for 30 days.",
"accent_color": "#0ea5e9"
},
"page_size": "A4"
}),
});
const data = await response.json();
// data.pdf is a base64-encoded PDF
$body = @{
template_url = "https://toolkitapi.io/static/templates/pdf/quote.html"
variables = {
"company_name": "Acme Corp",
"company_address": "123 Business St, City, Country",
"company_email": "[email protected]",
"company_logo_url": "",
"client_name": "Prospective Client",
"client_address": "Client Address",
"quote_number": "QT-0001",
"quote_date": "2026-05-07",
"valid_until": "2026-06-07",
"currency_symbol": "$",
"tax_rate": "0",
"notes": "This quote is valid for 30 days.",
"accent_color": "#0ea5e9"
}
page_size = "A4"
} | ConvertTo-Json -Depth 5
Invoke-RestMethod -Method POST `
-Uri "https://pdf.toolkitapi.io/v1/pdf/from-template" `
-Headers @{"X-API-Key" = "YOUR_API_KEY"} `
-ContentType "application/json" `
-Body $body