Invoice generator

From autonomous-ai/autonomous-intern · View interactive version

Invoice generator is an AI agent skill from the GitHub repository autonomous-ai/autonomous-intern. Generates invoices, quotations, receipts, payment vouchers, and debit notes with auto-numbering, sales tax calculation, and amount-in-words verification. Use when the user says "create an invoice", "bill this client", "generate invoice for project X", "draft a quotation", "issue a receipt", "prepare

How to use this skill

Skill file

Invoice Generator

Quick Start

Create structured financial documents (Invoice, Quotation, Receipt, Payment Voucher, Debit Note) with automatic numbering, line-item calculations, sales tax, and amount-in-words verification.

Workflow

  1. Identify the document type: Invoice, Quotation, Receipt, Payment Voucher, or Debit Note
  2. Extract details: customer name, line items (description, quantity, unit price), discounts, sales tax rate, payment terms
  3. Ask for any missing mandatory fields
  4. Generate sequential document number (e.g., INV-YYYYMM-XXXX)
  5. Calculate line totals, apply discounts, compute sales tax (varies by state/locality)
  6. Generate amount in words and verify it matches the figures
  7. Set payment terms and due dates (quotations default to 30 days validity)
  8. Output the complete structured document

Examples

Example 1: Simple invoice

Input: "Create an invoice for ABC Corp: 10 units of Widget A at $50.00 each"

Output:

INVOICE #INV-202603-0012
========================
Date:     03/18/2026
Customer: ABC Corp

LINE ITEMS
----------
| No. | Description | Qty | Unit Price | Amount     |
|-----|-------------|-----|------------|------------|
| 1   | Widget A    | 10  | $50.00     | $500.00    |

TOTALS
------
Subtotal:            $500.00
Discount:            $0.00
Sales Tax (8.25%):   $41.25
Grand Total:         $541.25
In words:            Five hundred forty-one and 25/100 US dollars

TERMS
-----
Payment due:    04/17/2026
Status:         Draft

Example 2: Quotation with discount

Input: "Draft a quotation for XYZ Ltd: 5 laptops at $2,000.00, 10 monitors at $800.00, 5% discount"

Output:

QUOTATION #QUO-202603-0003
==========================
Date:     03/18/2026
Customer: XYZ Ltd

LINE ITEMS
----------
| No. | Description | Qty | Unit Price | Amount      |
|-----|-------------|-----|------------|-------------|
| 1   | Laptop      | 5   | $2,000.00  | $10,000.00  |
| 2   | Monitor     | 10  | $800.00    | $8,000.00   |

TOTALS
------
Subtotal:            $18,000.00
Discount (5%):       $900.00
Sales Tax (8.25%):   $1,410.75
Grand Total:         $18,510.75
In words:            Eighteen thousand five hundred ten and 75/100 US dollars

TERMS
-----
Valid until:    04/17/2026
Status:         Draft

Tools

Error Handling

Connectors (Optional)

This skill works standalone. When connected to external tools, it unlocks additional capabilities:

| Connector | What it enables |

|-----------|----------------|

| ~~accounting | Sync invoices with the general ledger and accounts receivable |

| ~~ERP | Pull customer records, product catalogs, and pricing rules |

| ~~spreadsheet | Import line items from spreadsheets and export invoices |

| ~~banking | Match invoice payments against bank deposits |

Rules

Output Template

[DOCUMENT TYPE] #[Document Number]
===================================
Date:     [MM/DD/YYYY]
Customer: [Customer name]
Address:  [Customer address, if available]

LINE ITEMS
----------
| No. | Description        | Qty | Unit Price | Amount     |
|-----|--------------------|-----|------------|------------|
| 1   | [Item description] | [N] | [Price]    | [Line total] |

TOTALS
------
Subtotal:            [Subtotal amount]
Discount:            [Discount amount, if applicable]
Sales Tax ([Rate]%): [Sales tax amount]
Grand Total:         [Grand total]
In words:            [Amount in words]

TERMS
-----
Payment due:    [Due date or validity period]
Status:         [Draft / Issued / Paid / Overdue]

NOTES
-----
- [Any additional terms, conditions, or remarks]

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.