Skip to main content

Scalable PDF Generation API
for E-commerce

Generate branded invoices, receipts, and shipping labels with AI‑powered templates.
Use our API to handle all your e‑commerce documents in seconds.

Get Started FreeJoin with Google

<5min

Quick Setup

99.9%

Uptime SLA

Branded

Documents

100%

GDPR Compliant

E-commerce Document Templates

Design once, generate thousands of unique documents.
Build reusable layouts in our template designer, populate with your data via API, get branded PDFs.

Branded Document Designer

Design invoices, packing slips, and return labels with real-time preview and instant PDF testing. See exactly what your customers receive.

Dynamic Order Population

Populate templates with line items, quantities, prices, taxes, and customer details. Pass order data as JSON – get pixel-perfect PDFs.

E-commerce Template Gallery

Start with ready-made templates for invoices, gift cards, receipts, and more. Customize colors, fonts, and layout to match your brand.

Team Template Management

Collaborate on templates with your team. Auto-save protects your work, version history lets you rollback anytime.

Reliable at Any Scale

From single orders to Black Friday volume – consistent quality and 99.9% uptime guaranteed. No slowdowns during peak sales.

Any Platform Integration

Connect any e‑commerce platform via REST API – Shopify, WooCommerce, Magento, or custom stores. Ready-to-use code for all major languages.

E-commerce Invoice Template - PDFBolt

See AI Template Generation in Action

Describe your layout and attach references. AI creates your complete template.
Edit with AI assistance, review changes side-by-side before applying, then copy ready‑to‑use API code.

Start with a Prompt

Describe your layout, data fields, and styling. Attach reference files – PDFs, images, or code.

AI Generates Code & Data

AI creates a complete HTML/CSS template with Handlebars variables and sample data.

Edit with AI Assist

Request changes – layout, fields, styling. AI handles the code updates. Iterate until satisfied.

Review & Accept

See what changed in diff view. Compare PDF output side by side, then accept or reject – full control.

One-Click Code Integration

Copy ready-to-use code snippets in your language. Integrate in minutes.

Generate Template with AI

5 generations left

Describe the template you want to create. Be specific about layout, styling, and data fields.

0 / 10,000 characters

Drag & drop, click to browse, or paste (Ctrl+V)

PDF, PNG, JPG, JPEG, SVG, TXT, HTML, HTM, CSS, JS, JSON (max 5 files, 5 MB total)

0 KB / 5 MB

Cancel
Back
Generate with AI
Template
Data
Options

Invoice Template

History
Save
Publish
Exit
Get API Code
Quick HTML Preview
Real PDF Preview
Invoice Template Preview
Template
Data
Options

Invoice Template

History
Save
Publish
Exit
Get API Code
Quick HTML Preview
Real PDF Preview
1
<!DOCTYPE html>
2
<html lang="en">
3
<head>
4
<link href="https://fonts.googleapis.com/css2?family=Inter&display=swap" rel="stylesheet">
5
<style>
6
body { font-family: Inter, sans-serif; }
7
.invoice-title { color: #0C8AE5; font-size: 48px; }
8
.billing-section { display: flex; gap: 30px; }
9
.billing-column { border-left: 3px solid #0C8AE5; }
10
.items-table { background: #0C8AE5; color: white; }
11
.total-final { background: #0C8AE5; }
12
</style>
13
</head>
14
<body>
15
<div class="header">
16
<div class="logo">{{company.logo}}</div>
17
<div class="invoice-title">INVOICE</div>
18
</div>
19
<div class="invoice-meta">
20
<p>Invoice No: {{invoice_number}}</p>
21
<p>Issue Date: {{issue_date}}</p>
22
</div>
23
<div class="billing-section">
24
<div class="billing-column">
25
<h3>Bill From</h3>
26
<p>{{company.name}}</p>
27
</div>
28
<div class="billing-column">
29
<h3>Bill To</h3>
30
<p>{{client.name}}</p>
31
</div>
32
</div>
33
<table class="items-table">
34
{{#each items}}
35
<tr><td>{{description}}</td><td>{{total}}</td></tr>
36
{{/each}}
37
</table>
38
<div class="totals">
39
<div class="totals-row">Subtotal: {{subtotal}}</div>
40
<div class="totals-row">Tax: {{tax_amount}}</div>
41
<div class="totals-row total-final">Total: {{total}}</div>
42
</div>
43
</body>
44
</html>
Invoice Template Preview

AI Assistant

4 generations left

This will use

1 AI generation. Your template and sample data will be updated based on your instructions.

Describe what you want to change:

Thinking

0 / 10,000 characters

Drag & drop, click to browse, or paste (Ctrl+V)

PDF, PNG, JPG, JPEG, SVG, TXT, HTML, HTM, CSS, JS, JSON (max 5 files, 5 MB total)

Cancel
Prepare Changes

Review AI Changes

Code
PDF Preview
Template
Data
Parameters
Before
4
<style>
5
body { font-family: Inter; }
6
.invoice-title { color: #1e40af; }
7
.header { padding: 20px; }
8
.billing-section { margin: 30px 0; }
9
.items-table { background: #1e40af; }
10
.total { background: #1e40af; }
11
</style>
12
</head>
13
<body>
14
<div class="invoice">
15
<div class="header">
After
4
<style>
5
body { font-family: Inter; }
6
.invoice-title { color: #145E6D; }
7
.header { padding: 20px; }
8
.billing-section { margin: 30px 0; }
9
.items-table { background: #145E6D; }
10
.total { background: #145E6D; }
11
.qr-code { display: flex; }
12
.qr-label { color: #6b7280; }
13
</style>
14
</head>
15
<body>
16
<div class="invoice">
17
<div class="header">

Before (Current)

1

/

1

Before (Current)

After (AI-edited)

1

/

1

After (AI-edited)
Reject
Accept
Template
Data
Options

Invoice Template

History
Save
Publish
Exit
Get API Code
Quick HTML Preview
Real PDF Preview
1
<!DOCTYPE html>
2
<html lang="en">
3
<head>
4
<link href="https://fonts.googleapis.com/css2?family=Inter&display=swap" rel="stylesheet">
5
<style>
6
body { font-family: Inter, sans-serif; }
7
.invoice-title { color: #0C8AE5; font-size: 48px; }
8
.billing-section { display: flex; gap: 30px; }
9
.billing-column { border-left: 3px solid #0C8AE5; }
10
.items-table { background: #0C8AE5; color: white; }
11
.total-final { background: #0C8AE5; }
12
</style>
13
</head>
14
<body>
15
<div class="header">
16
<div class="logo">{{company.logo}}</div>
17
<div class="invoice-title">INVOICE</div>
18
</div>
19
<div class="invoice-meta">
20
<p>Invoice No: {{invoice_number}}</p>
21
<p>Issue Date: {{issue_date}}</p>
22
</div>
23
<div class="billing-section">
24
<div class="billing-column">
25
<h3>Bill From</h3>
26
<p>{{company.name}}</p>
27
</div>
28
<div class="billing-column">
29
<h3>Bill To</h3>
30
<p>{{client.name}}</p>
31
</div>
32
</div>
33
<table class="items-table">
34
{{#each items}}
35
<tr><td>{{description}}</td><td>{{total}}</td></tr>
36
{{/each}}
37
</table>
38
<div class="totals">
39
<div class="totals-row">Subtotal: {{subtotal}}</div>
40
<div class="totals-row">Tax: {{tax_amount}}</div>
41
<div class="totals-row total-final">Total: {{total}}</div>
42
</div>
43
</body>
44
</html>
Invoice Template Preview

API Integration: Invoice

Use the following code examples to generate PDFs using this template through our API.

NODE FETCH
NODE AXIOS
PYTHON
CURL
JAVA
C#
PHP
GO
RUST
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
const fs = require('fs'); async function generatePdf() { const response = await fetch('https://api.pdfbolt.com/v1/direct', { method: 'POST', headers: { "API-KEY": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "Content-Type": "application/json" }, body: JSON.stringify({"templateId":"your-template-id","templateData":{"invoice_number":"INV-2026-0112","issue_date":"January 15, 2026","due_date":"February 15, 2026","company":{"name":"Creative Studio Co.","email":"hello@creativestudio.co"},"client":{"name":"Green Leaf Cafe","email":"info@greenleafcafe.com"},"items":[{"description":"Logo Design","quantity":1,"unit_price":"350.00","total":"350.00"},{"description":"Business Card Design","quantity":1,"unit_price":"120.00","total":"120.00"},{"description":"Brand Style Guide","quantity":1,"unit_price":"170.00","total":"170.00"},{"description":"Social Media Graphics","quantity":5,"unit_price":"40.00","total":"200.00"}],"currency":"$","subtotal":"840.00","tax_rate":"10","tax_amount":"84.00","total":"924.00","qr_code_data":"https://pay.creativestudio.co/INV-2026-0112"}}) }); if (!response.ok) { const errorText = await response.text(); throw new Error(`HTTP ${response.status} - ${errorText}`); } const pdfBuffer = await response.arrayBuffer(); fs.writeFileSync('pdfbolt_example.pdf', Buffer.from(pdfBuffer)); console.log('PDF generated successfully'); } generatePdf().catch(console.error);

Close

Quick API Integration

Generate invoices, order confirmations, return labels, and gift cards with a single API call.
Production-ready code examples for all major languages – integrate with your e‑commerce platform in minutes.

endpoints
const fs = require('fs');

async function generatePdf() {
    const response = await fetch('https://api.pdfbolt.com/v1/direct', {
        method: 'POST',
        headers: {
            'API-KEY': 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX',
            'Content-Type': 'application/json'
        },
        body: JSON.stringify({
            templateId: 'your-template-id',
            templateData: {
                receipt_number: 'RCP-2025-8294',
                purchase_date: 'December 10, 2025',
                items: [
                    { 
                        product_name: 'Wireless Headphones', 
                        quantity: 1, 
                        price: '$149.99'
                    },
                    { 
                        product_name: 'USB-C Charging Cable', 
                        quantity: 1, 
                        price: '$25.98'
                    }
                ],
                subtotal: '$175.97',
                tax: '$14.08',
                total: '$190.05'
            }
        })
    });
    
    if (!response.ok) {
        const errorText = await response.text();
        throw new Error(`HTTP ${response.status} - ${errorText}`);
    }
    
    const pdfBuffer = await response.arrayBuffer();
    fs.writeFileSync('receipt.pdf', Buffer.from(pdfBuffer));
    console.log('PDF generated successfully');
}

generatePdf().catch(console.error);

Document Workflow Automation

Trigger PDF generation from orders, payments, and shipping events.
Build visual workflows in Zapier, Make, n8n, and more – minimal setup required.

n8n

Why E‑commerce Teams Choose Us

Everything you need for professional e‑commerce PDF generation.
Consistent quality, GDPR‑compliant processing, and simple API integration for any e‑commerce platform.

AI-Powered E-commerce Templates

Let AI create your e-commerce templates. Describe your invoice or shipping label, attach reference documents, and get a complete template. AI does the heavy lifting.

Built for Peak Traffic

99.9% uptime whether it's a quiet Monday or Black Friday rush. Infrastructure that scales seamlessly – same speed, same quality, same reliability at any demand.

Branded Order Documents

Generate invoices, receipts, and shipping labels with your logo, colors, and custom styling. Professional, consistent output that reflects your brand identity.

E‑commerce Platform Integration

Connect your Shopify, WooCommerce, Magento, or custom platform in minutes. Simple REST API with clear documentation, code examples, and async processing for high‑volume workflows.

Customer Data Privacy

Customer information, order data, and product details are processed only for PDF generation and immediately discarded. EU‑based servers with GDPR compliance for complete customer privacy.

Transparent Pricing

Simple, predictable monthly pricing based on your document volume. Real‑time usage tracking, notifications, and optional overage for uninterrupted service.

All-in-One Dashboard

Create your own templates, invite team members, and get full visibility into your API usage – all in one place.

PDF Generation Playground

Test PDF generation from URLs, HTML content, or templates with real-time configuration and instant preview.

PDFBolt PDF generation playground dashboard for testing URL to PDF, HTML to PDF, and template-based PDF conversion with live preview

Trusted by Developers Worldwide

See how teams save time and reduce complexity with our developer‑first PDF solution.

"Amazingly, the owner personally helped solve the issues I was having creating an exported lesson plan with hyperlinks and complex styling. This is a great piece of software. But more importantly, it’s the people behind a product that truly make a company great. His willingness to support my project without payment is truly unique – a rare product and a rare individual. This product just works. Thank you, PDFBolt!"

Robert Reich-Storer

Robert Reich-Storer

Owner at Rhythmstix and Assessify

"The API is working great. My client and I have been really happy with the output of the PDFs PDFBolt has been generating. It works as documented and it takes so many headaches away from us trying to do this in‑house."

Arron Coda

Arron Coda

Developer at Hello You Digital
Source logo

"There's a lot of products that convert to PDF out there, but this one stood out to me, because the output quality is good, it's very easy to use, and pay per use. I also love the interactive API documentation, my request just worked out of the box in my app. And of course the focus on privacy, which is important when working with GDPR data. (...) PDFBolt just works, so I can focus on the business logic."

Malte Bartels

Malte Bartels

Cloud Engineer
Source logo

Simple and Transparent Pricing

Flexible plans that match your document volume. Start free, upgrade anytime – no hidden fees, no surprises.

Free

100 documents / month

20 requests per minute

1 concurrent request

PDF file size limit: 2MB

All customization options

1 template

1 AI template generation

No credit card required

Get Started

Basic

$19

/month

2 000 documents / month

40 requests per minute

3 concurrent requests

$0.01 per overage PDF

Unlimited PDF file size

All customization options

Async processing

Upload to S3

3 team members

10 templates

10 AI template generations / month

Get Started
Recommended

Growth

$79

/month

10 000 documents / month

80 requests per minute

10 concurrent requests

$0.008 per overage PDF

Unlimited PDF file size

All customization options

Async processing

Upload to S3

10 team members

Unlimited templates

50 AI template generations / month

Priority support

Get Started

Enterprise

$249

/month

50 000 documents / month

150 requests per minute

20 concurrent requests

$0.005 per overage PDF

Unlimited PDF file size

All customization options

Async processing

Upload to S3

Unlimited team members

Unlimited templates

150 AI template generations / month

We create custom templates for you

Top priority support

Get Started

Looking for higher monthly limits?

Contact Us →

Frequently Asked Questions

Got questions? We've got answers!
Learn about data privacy, platform integrations, and scalable PDF generation.

Your customers' data stays private with zero retention by design. All processing happens in isolated environments on EU‑based servers. Order details, addresses, and other data are used solely for PDF generation and immediately discarded. Generated documents are automatically removed after 24 hours (if using our storage).
Any document your business requires: invoices, receipts, shipping labels, packing slips, return labels, order confirmations, gift cards, discount vouchers, promotional coupons, and more. Generate from dynamic templates, raw HTML, or any URL with full brand customization.
Default storage: automatically deleted after 24 hours. Direct endpoint: never stored (returned immediately). For complete control, use your own S3‑compatible storage with the customS3PresignedUrl parameter – documents never touch our servers and remain exclusively in your secure environment.
Yes. Our infrastructure is built for peak traffic. Whether you're processing a few or thousands of orders per day, you get 99.9% uptime and consistent performance. No slowdowns during flash sales, holiday peaks, or promotional campaigns.
Yes. Our REST API works with any platform: Shopify, WooCommerce, Magento, BigCommerce, or custom stores. Use our production‑ready code examples for direct integration, or connect via Zapier, Make, or n8n for visual workflows.
Yes. Invite team members to share API keys, templates, and request logs. Everyone works from the same dashboard – perfect for stores with multiple developers, designers, or fulfillment teams.
Yes! With AI Template Generation, you can create complete e-commerce document templates from natural language descriptions. Describe your invoice, receipt, or shipping label requirements, attach reference files, and AI generates a ready-to-use template. Review changes in diff view before accepting – you maintain full control.

Generate E‑commerce PDFs from
Templates, HTML & URLs

Start with 100 document conversions per month – no credit card required.
Enjoy privacy‑first, reliable PDF generation for e‑commerce teams of any size.

Register for Free