invoice-document-pdf

Generate invoice and business document PDFs from structured invoice data.

364|53|Updated May 9, 2026
One-click install
npx skills add https://github.com/cosmicstack-labs/mercury-agent-skills --skill invoice-document-pdf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: invoice-document-pdf
Source: https://github.com/cosmicstack-labs/mercury-agent-skills/tree/main/categories/pdf-generation/invoice-document-pdf
Command: npx skills add https://github.com/cosmicstack-labs/mercury-agent-skills --skill invoice-document-pdf

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

Invoice and contract teams often waste time formatting billing documents and ensuring they look professional, consistent, and ready to share or print.

Core Features & Use Cases

  • Invoice-ready structure: Produces professional layouts for invoices, contracts, receipts, and forms using a standard document anatomy (header, bill-to, item table, totals, payment info, notes/terms).
  • Data-driven generation: Uses a validated invoice data model (invoice numbers, PO numbers, line items, tax/discount calculations, currency symbols) to reliably render correct totals.
  • Template-based rendering: Supports multiple PDF approaches, including HTML/CSS print templates and Python PDF generators (e.g., ReportLab/FPDF-style workflows) to produce polished outputs.
  • Workflow automation: Enables batch processing and repeatable generation for multiple documents from the same structured inputs.

Quick Start

Ask the AI to generate a complete invoice PDF for Acme Corporation from a structured invoice JSON using the invoice-document-pdf playbook.

Frequently Asked Questions about invoice-document-pdf

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

FAQPage Schema
How do I generate a professional invoice PDF from structured data?

To generate an invoice PDF, you provide a validated invoice data model containing invoice numbers, line items, and tax calculations. The Skill uses template-driven HTML/CSS or Python PDF generation to render this structured data into a printable, professional layout.

Can I automate batch processing for multiple business document PDFs?

Yes, you can automate batch processing for multiple business documents. The Skill enables repeatable generation for invoices, receipts, and contracts by processing multiple structured inputs through the same templated PDF rendering workflow.

What is the required data structure for creating invoice PDFs with line items and tax calculation?

The required data structure is a validated invoice data model that includes invoice numbers, PO numbers, line items, tax and discount calculations, currency symbols, and payment instructions. This structured input ensures accurate totals and consistent document anatomy.

Does this PDF generation approach support both HTML/CSS templates and Python libraries?

Yes, the PDF generation approach supports multiple methods, including HTML/CSS print templates and Python PDF generators. This allows you to produce polished invoice outputs using your preferred rendering environment within the billing workflow.

What's the best way to ensure consistent formatting across generated contract and receipt PDFs?

The best way to ensure consistent formatting is using template-based rendering with a standard document anatomy. By applying templated headers, item tables, totals, and payment info, the Skill reliably produces professional layouts for contracts and receipts.

When do I need a validated invoice data model for PDF generation?

You need a validated invoice data model whenever you want to generate accurate billing documents. It is a prerequisite that ensures line items, tax/discount calculations, and payment instructions render correctly into a printable PDF-ready layout.