Invoice Generator
Pricing
from $0.01 / 1,000 results
Invoice Generator
Automate professional PDF invoice creation with batch processing, automatic tax calculations, and sequential numbering. Outputs PDF, HTML, and JSON.
Pricing
from $0.01 / 1,000 results
Rating
0.0
(0)
Developer
Silicate Labs
Actor stats
0
Bookmarked
1
Total users
0
Monthly active users
3 days ago
Last modified
Categories
Share
Invoice Generator - Automated PDF Creation
Tired of manually creating invoices? This Actor automates the generation of professional PDF, HTML, and JSON invoices based on structured input data. It handles calculations, numbering, and storage automatically.
Key Features
✅ Automated Calculations: Calculates subtotals, taxes, and totals accurately.
✅ Professional PDFs: Generates high-quality A4 PDF invoices using Playwright.
✅ Unique Numbering: Automatically assigns sequential invoice numbers per tenant (e.g., INV/2024/0001).
✅ Batch Processing: Process up to hundreds of invoices in a single run with concurrency control.
✅ Multiple Formats: Outputs PDF, HTML, and JSON data stored in Apify Key-Value Store.
✅ Webhook Support: Optional callback URL notification upon completion.
Output Schema
Each generated invoice is pushed to the Dataset with the following structure. File links are public URLs accessible from the Apify Key-Value Store.
| Field | Type | Description |
|---|---|---|
requestId | string | Unique identifier for this processing request. |
invoiceNumber | string | Generated unique invoice number. |
totals | object | Contains subtotal, tax, total, and currency. |
files | object | Contains public URLs for pdf, html, and json files. |
status | string | Processing status (success or error). |
error | string | Error message if processing failed. |
How to Use
- Run the Actor: Click the Run button.
- Provide Input: Enter your
tenantIdand a JSON array ofinvoicesin the input form. - Download Data: Once finished, go to the Dataset tab to view results and access file links.
- Access Files: Click the URLs in the
filesobject to download the generated PDFs.
Input Parameters
| Field | Type | Description |
|---|---|---|
tenantId | string | Unique identifier for your organization (used for numbering isolation). |
invoices | array | JSON array of invoice objects (company, client, items, currency, etc.). |
options | object | Configuration object (e.g., maxConcurrency, callbackUrl). |
Example Input
{"tenantId": "my-company","invoices": [{"company": { "name": "Acme Corp", "address": "123 Main St" },"client": { "name": "John Doe", "address": "456 Other St" },"items": [{ "description": "Service", "quantity": 1, "unitPrice": 100 }],"currency": "USD","invoiceDate": "2024-03-15","taxRate": 10}]}
Save time and ensure consistency with automated invoice generation.