PDF Document Generator
Who is this for?
Businesses and freelancers who need to generate professional PDF documents (invoices, quotes, receipts, estimates) from order/sales data.
Supported Document Types
- invoice - Standard invoice with due date
- quote - Quote/proposal with validity period
- estimate - Cost estimate with validity period
- receipt - Payment receipt with payment method
- proforma - Proforma invoice with due date
What it does
- Receives order data via webhook
- Builds styled HTML based on document type
- Converts HTML to PDF using Acrewity
- Returns the PDF as base64 in the response
Setup
- Configure your Acrewity API credentials (can use free account)
- Activate the workflow
- POST order data to the webhook URL (or use mock data to test)
Sample POST body
{
"documentType": "invoice",
"company": "Acme Electronics",
"logoUrl": "https://example.com/logo.png",
"documentNumber": "INV-2024-001",
"customerName": "John Smith",
"customerEmail": "[email protected]",
"customerAddress": "123 Main St",
"dueDate": "2024-02-15",
"taxRate": 0.13,
"notes": "Thank you!",
"items": [
{"name": "Widget", "quantity": 10, "price": 5.99}
]
}
Notes
- taxRate is optional (0.13 = 13%, omit for no tax)
- logoUrl is optional (displays in header)
- Requires the Acrewity community node
- Modify to fit your needs