invoice-generator

Generate professional invoices as HTML pages or React components with PDF export.

Updated Apr 20, 2026
One-click install
npx skills add https://github.com/AmirEmad11/instabot --skill invoice-generator-amiremad11
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: invoice-generator
Source: https://github.com/AmirEmad11/instabot/tree/main/.local/secondary_skills/invoice-generator
Command: npx skills add https://github.com/AmirEmad11/instabot --skill invoice-generator-amiremad11

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Creating accurate, legally compliant invoices manually is error-prone and time-consuming, especially when handling tax rules, sequential numbering, and print-ready formatting across jurisdictions. ## Core Features & Use Cases - Two Build Approaches: Generate standalone HTML invoice templates driven by URL query parameters for SaaS/subscription billing, or React components for one-off custom invoices. - Auto-Scale Print Layout: A two-layer page structure with a scaleToFit function keeps invoices on a single Letter or A4 page and exports to PDF via the browser print dialog. - Jurisdiction-Aware Compliance: Built-in guidance for EU VAT rules (Article 226), reverse charge notation, US sales tax, sequential invoice numbering, and payment terms. - Use Case: A SaaS founder needs to bill subscribers monthly. The Skill produces one parameterized HTML template where client name, invoice number, amount, and Stripe payment link are passed via URL, so a single file serves every customer. ## Quick Start Ask the assistant to create an invoice and provide your seller details, client details, line items, payment terms, tax rate, billing email, and production domain.

Frequently Asked Questions about invoice-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create an invoice as an HTML page with PDF export?

Build a standalone HTML invoice with a fixed-size page container and use the browser's print dialog to save it as PDF. Client-specific fields like name, invoice number, and amount can be passed as URL query parameters so one template serves many clients.

How do I make one invoice template work for multiple clients?

Use the URL parameter pattern: hardcode seller info in the template and pass client name, email, invoice number, dates, amount, and Stripe link as query parameters. The template reads them with URLSearchParams at runtime.

Why does Puppeteer PDF export fail on NixOS?

Puppeteer and headless Chromium fail on NixOS due to missing system libraries like libglib-2.0.so.0. Use window.print() with the browser print dialog and Save as PDF instead, which the invoice layout is designed to support.

What fields are legally required on an EU invoice?

EU VAT Directive Article 226 requires a sequential invoice number, invoice and supply dates, seller and customer names, addresses and VAT numbers, line descriptions, unit prices excluding VAT, and VAT amounts. Cross-border B2B sales use 0% VAT with a reverse charge notation.

What are the limitations of HTML-based invoice generation?

It cannot send invoices, process payments, or track payment status, and tax calculation is flat-rate per invoice without mixed VAT rates or multi-state US nexus. It is not a substitute for accounting software with ledger integration.