Invoice Generator with HTML to PDF
detail.loadingPreview
Generates an invoice PDF from structured data.
🚀Ready to Deploy This Workflow?
About This Workflow
Overview
This workflow takes structured invoice data and transforms it into a well-formatted PDF document using the HTML to PDF node. It's designed to automate the creation of invoices, making them easy to generate and share.
Key Features
- Dynamic invoice generation from input data.
- Customizable invoice layout using HTML and CSS.
- Automatic conversion of HTML content to a PDF file.
- Supports setting invoice number, billing information, item details, and total amount.
How To Use
- Set Data: Populate the 'Set data' node with your invoice details, including 'Invoice No', 'Bill To', 'From', 'Details' (as an array of objects with 'description', 'price', and 'qty'), and 'Email'.
- Preprocess: The 'Preprocess' node (a Code node) takes the structured data and formats it into the required HTML strings and calculates the total.
- HTML to PDF: The 'HTML to PDF' node uses the preprocessed HTML to generate the invoice as a PDF. You can further configure this node to save the PDF or send it via email.
Apps Used
Workflow JSON
{
"id": "9d170e54-dd05-43fe-860b-50016e563131",
"name": "Invoice Generator with HTML to PDF",
"nodes": 0,
"category": "Document Generation",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 9d170e54-dd05...
About the Author
Free n8n Workflows Official
System Admin
The official repository for verified enterprise-grade workflows.
Statistics
Verification Info
Related Workflows
Discover more workflows you might like
Certificate Generator From CSV
Reads student data from a CSV, generates PNG certificates, and emails them.
Automate DOCX to PDF Conversion and Save Locally
This workflow automates the process of converting a Microsoft Word DOCX file to a PDF document. It downloads a source DOCX file, uses ConvertAPI to perform the conversion, and then saves the resulting PDF file directly to your local disk.
Convert Any Webpage to PDF and Save Locally
This n8n workflow provides a simple way to convert any public webpage URL into a PDF document. Once converted, the PDF file is automatically saved to your local disk, making it easy to archive or share web content offline.
Universal CSV to JSON API Converter
Effortlessly transform CSV data into structured JSON with this versatile n8n workflow. Integrate it into any application as a custom API endpoint, supporting various input methods including file uploads and raw text.
Telegram Profanity & Toxicity Filter
This n8n workflow automatically monitors incoming Telegram messages for profanity and toxic language. It leverages Google's Perspective API to analyze message content, and if a message is deemed inappropriate, the workflow sends an automated warning response back to the sender.
Robust Concurrency Control for n8n Workflows with Redis
Prevent simultaneous execution of critical n8n workflows or tasks using a centralized, Redis-backed locking mechanism. This reusable utility workflow ensures data integrity and resource management by allowing other workflows to acquire, check, and release locks.