invoice-generator

Generate parameterized invoice web pages and print-ready PDFs via URLSearchParams.

Updated Apr 14, 2026
One-click install
npx skills add https://github.com/NS-Vandana/Med-Save-Hub --skill invoice-generator-ns-vandana
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: invoice-generator
Source: https://github.com/NS-Vandana/Med-Save-Hub/tree/main/secondary_skills/invoice-generator
Command: npx skills add https://github.com/NS-Vandana/Med-Save-Hub --skill invoice-generator-ns-vandana

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the friction of producing professional, print-ready invoices that can be served as a single parameterized HTML file for many clients or as a React artifact for bespoke invoices, ensuring consistent layout, legal fields, and reliable PDF export from the browser.

Core Features & Use Cases

  • URL-parameter SaaS templates: One HTML file driven by query parameters to serve many clients from a single static asset.
  • React one-off invoices: Component-based artifacts for custom branding, complex line items, or app-integrated billing flows.
  • Auto-scale print layout: CSS + JS scaler ensures content fits Letter or A4 pages and repeats headers for multi-page invoices.
  • Browser-first PDF export: Uses window.print() and print styles to produce PDFs without headless Chromium, with guidance for NixOS limitations.
  • Tax & compliance guidance: Reminders for jurisdiction-specific required fields (VAT, invoice numbering, dates) and safe defaults with explicit assumptions.

Quick Start

Create an invoice by providing seller and client details, itemized line items, payment terms, and a production domain, then open the parameterized invoice URL in a browser and use the Print → Save as PDF flow.

Frequently Asked Questions about invoice-generator

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

FAQPage Schema
How do I generate a print-ready PDF invoice without using a headless browser?

You can generate PDF invoices by building an HTML or React web page with print-optimized CSS styles and using the browser's native window.print() function to export directly to PDF, bypassing the need for a headless Chromium setup.

Can I use URL parameters to drive a single HTML invoice template for multiple clients?

Yes, you can use JavaScript URLSearchParams to parse runtime data from URL query parameters, allowing a single static HTML file to dynamically generate invoices for many SaaS tenants without needing separate files for each client.

How do I auto-scale an invoice layout to fit Letter or A4 pages for printing?

Auto-scale invoice layouts using a combination of CSS and JavaScript scaler logic that automatically adjusts content dimensions to fit Letter or A4 paper sizes, including repeating table headers across multi-page printed invoices.

Does browser-based PDF export work for invoices on NixOS environments?

Browser-based PDF export via window.print() functions on most operating systems, but the Skill includes specific guidance regarding NixOS limitations to ensure you understand the constraints of browser print exports in that environment.

What tax and compliance fields do I need to include when generating an invoice?

Generating an invoice requires including jurisdiction-specific compliance fields such as VAT, sequential invoice numbering, and dates, with the Skill providing safe defaults and explicit assumptions for these legal billing requirements.