Invoice Generator avatar

Invoice Generator

Pricing

from $0.01 / 1,000 results

Go to Apify Store
Invoice Generator

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

Silicate Labs

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

3 days ago

Last modified

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.

FieldTypeDescription
requestIdstringUnique identifier for this processing request.
invoiceNumberstringGenerated unique invoice number.
totalsobjectContains subtotal, tax, total, and currency.
filesobjectContains public URLs for pdf, html, and json files.
statusstringProcessing status (success or error).
errorstringError message if processing failed.

How to Use

  1. Run the Actor: Click the Run button.
  2. Provide Input: Enter your tenantId and a JSON array of invoices in the input form.
  3. Download Data: Once finished, go to the Dataset tab to view results and access file links.
  4. Access Files: Click the URLs in the files object to download the generated PDFs.

Input Parameters

FieldTypeDescription
tenantIdstringUnique identifier for your organization (used for numbering isolation).
invoicesarrayJSON array of invoice objects (company, client, items, currency, etc.).
optionsobjectConfiguration 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.