From simple invoices to complex reports
Automatically create invoices with company logo, tax numbers, and line items. Including QR code for payment links.
Examples:
Generate QR code flyers, posters, and vouchers dynamically. Perfect for events, retail, and campaigns.
Examples:
Create personalized certificates, participation confirmations, and awards with custom design.
Examples:
Generate legally compliant contracts, NDAs, and agreements with automatic data population.
Examples:
Drag & drop interface with freestyle and structured mode. No HTML knowledge required.
Simple REST API with Bearer token. Integrate PDF generation into any application in minutes.
Automatically generate QR codes and barcodes from your data. Perfect for tickets, labels, and marketing.
Bind JSON data. Loops, conditionals, and complex logic with Nunjucks template engine.
Organize work in projects. Invite team members and manage access permissions.
Track usage, monitor errors, and analyze performance in real-time.
Copy-paste snippets you can use right away. Replace YOUR_API_KEY with your project API key.
Node.js
const res = await fetch(
'https://api.docreate.io/api/pdf/external',
{
method: 'POST',
headers: {
'Authorization': `Bearer ${process.env.DOCREATE_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
html: '<h1>Hello {{name}}</h1>',
data: { name: 'World' },
}),
}
);
const pdf = Buffer.from(await res.arrayBuffer());Python
import requests
r = requests.post(
'https://api.docreate.io/api/pdf/external',
headers={
'Authorization': f'Bearer {os.environ["DOCREATE_API_KEY"]}',
'Content-Type': 'application/json',
},
json={
'html': '<h1>Hello {{name}}</h1>',
'data': {'name': 'World'},
},
)
pdf = r.content # save or attach to emailMore examples (tickets, vouchers, labels): Marketing examples in the docs
From template to PDF in three simple steps
Create your document with drag & drop. Add text, images, QR codes and more. No HTML knowledge needed.
Create a project in the dashboard and generate an API key. Use it for Bearer token authentication.
Send a POST request with template and data. Receive a professional PDF in milliseconds.
Try DoCreate with no commitment
For small projects and getting started
For growing businesses with higher volume
For high-volume production workloads