invoice-generator

Generates invoice HTML with URL-parameter-driven client data and payment links for print/export.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Darshit-Vaghani/swasau_website --skill invoice-generator-darshit-vaghani
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: invoice-generator
Source: https://github.com/Darshit-Vaghani/swasau_website/tree/main/.local/secondary_skills/invoice-generator
Command: npx skills add https://github.com/Darshit-Vaghani/swasau_website --skill invoice-generator-darshit-vaghani

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you quickly create professional invoices without manually formatting pages or dealing with unreliable PDF rendering by using a single web template that prints cleanly.

Core Features & Use Cases

  • Standalone invoice pages: Produce a complete invoice as HTML that users can print/export to PDF from the browser.
  • Auto-scaling layout: Automatically scales the invoice content to fit one page (typically) while keeping the footer aligned to the bottom.
  • URL-parameter driven SaaS templates: Supports a multi-client, one-file pattern where client-specific fields come from query parameters for subscription use cases.
  • Browser-native PDF export: Uses window.print() so the PDF output is a print of the rendered HTML, avoiding headless-browser library issues.

Quick Start

Ask the user for seller info, client billing details, line items, payment terms, invoice numbering, dates, tax/jurisdiction, the real billing contact email, and the production domain, then have them fill those values into a parameterized invoice-template.html link.

Frequently Asked Questions about invoice-generator

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

FAQPage Schema
How do I generate print-ready invoices in HTML for browser PDF export?

Generate print-ready invoices by creating standalone HTML templates that use auto-scaling layout logic to fit page boundaries, then trigger browser-native PDF export via window.print() to avoid headless-browser rendering issues.

Can I use URL query parameters to populate client-specific data for SaaS billing invoices?

SaaS billing invoices support URL query parameters by injecting client-specific fields, invoice metadata, and payment links dynamically while keeping seller branding hardcoded, enabling a multi-client, one-file template pattern.

How does auto-scaling layout work for printing invoices to a single page?

Auto-scaling layout works by automatically scaling invoice content to fit one page while keeping the footer aligned to the bottom, ensuring clean browser printing without manual formatting adjustments.

Do I need a headless browser library to export HTML invoices to PDF?

Exporting HTML invoices to PDF does not require a headless browser library because the process uses window.print() to produce a PDF directly from the rendered browser output, avoiding dependency issues.

What's the best way to handle jurisdiction-aware tax fields in an HTML invoice template?

Handle jurisdiction-aware tax fields by configuring the HTML invoice template to include required field handling based on the specified tax jurisdiction, ensuring compliance directly within the standalone print-ready layout.