Agent skill

Invoicing

by ericrisco in ericrisco/rsc-harness

A skill your agent uses when issuing an invoice, quote, or credit note and moving it draft-to-paid — the legally required VAT fields, gap-free numbering, per-country e-invoicing mandates, dunning…

MITAuto-check passedBusiness, Finance & HR

Install Invoicing

skills CLI
$ npx skills add ericrisco/rsc-harness --skill invoicing -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ericrisco/rsc-harness invoicing --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ericrisco/rsc-harness.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/invoicing .claude/skills/invoicing && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
invoicing
GitHub stars
174
Token cost
~2.7k tokens
SKILL.md length
1,291 words
Files
8 (incl. scripts, references)
Skills in repo
233
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when issuing an invoice, quote, or credit note and moving it draft-to-paid — the legally required VAT fields, gap-free numbering, per-country e-invoicing mandates, dunning…

  • Issuing an invoice
  • SKILL.md covers Route out before you start, Pick the right document first, The legally-valid invoice… and Jurisdiction gate — a PDF is…, plus 4 more sections
  • Runs Shell scripts from its folder
  • Credit note and moving it draft-to-paid — the legally required VAT fields

What it does

Invoicing is an agent skill from ericrisco/rsc-harness. Use when issuing an invoice, quote, or credit note and moving it draft-to-paid — the legally required VAT fields, gap-free numbering, per-country e-invoicing mandates, dunning overdue ones. NOT recording a paid invoice in the books (that is bookkeeping), NOT Stripe SDK plumbing (that is stripe), NOT setting the price (that is pricing).

Its SKILL.md is about 2.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 11 other files, including scripts and reference files (for example `evals/README.md`, `evals/cases.yaml` and `references/dunning-ladder.md`).

It sits in Business, Finance & HR, covering Accounting and bookkeeping and Forms and invoices. It works with Stripe. The repository describes itself as: Your agent invents things because it has no memory, and can't touch your database because it has no arms. rsc is the meta-harness that gives it both, plus the trade to know the… The licence is MIT.

When your agent uses it

  • Issuing an invoice
  • Credit note and moving it draft-to-paid — the legally required VAT fields
  • Gap-free numbering
  • Per-country e-invoicing mandates

Example prompts

  • “/invoicing”

Requirements

  • A Bash shell

What it can do on your machine

Read from SKILL.md and the folder at commit e3d5b33. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 3 files in scripts/ (Shell), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Invoicing loads about 2.7k tokens when it runs, and up to ~4.6k if it reads all its reference files. Until then it costs about 88 tokens; SKILL.md has 1,291 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~88
When it runs · the whole SKILL.md, loaded when a task matches
~2.7k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from ericrisco/rsc-harness at commit e3d5b33, republished under its MIT licence (© ericrisco). 1,291 words, ~2,708 tokens.

Download SKILL.mdSave it as .claude/skills/invoicing/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.
name
invoicing
description
Use when issuing an invoice, quote, or credit note and moving it draft-to-paid — the legally required VAT fields, gap-free numbering, per-country e-invoicing mandates, dunning overdue ones. NOT recording a paid invoice in the books (that is `bookkeeping`), NOT Stripe SDK plumbing (that is `stripe`), NOT setting the price (that is `pricing`).
tags
invoicing, billing, vat-invoice, dunning, accounts-receivable, e-invoicing, quotes, credit-note
recommends
bookkeeping, stripe, pricing, contracts, proposals, e-signature, webhooks, finance-ops
origin
risco

Invoicing — cut the document, run the lifecycle, get paid

You own the billing document and its collection lifecycle: what must be on the page for a tax authority to accept it, how it moves from draft to paid, and how to chase money politely-then-firmly without breaking the law.

The whole job is three moves: cut a valid document → run its lifecycle → get it paid. Skip the validity step and the customer can't deduct the VAT. Skip the lifecycle and you lose track of who owes what. Skip the chase and you work for free.

Route out before you start

This skill answers "make a valid bill and collect it." When the ask is something else, stop and route:

The askGoes to
Record a paid invoice in the books, reconcile it to the bank line../bookkeeping/SKILL.md
Wire up the Stripe SDK, keys, or invoice.paid webhook as code../stripe/SKILL.md / ../webhooks/SKILL.md
Decide what to charge — rate card, margin, price list../pricing/SKILL.md
Draft the MSA / SOW / engagement terms the invoice bills against../contracts/SKILL.md
Write the pre-sale pitch that persuades before money is owed../proposals/SKILL.md
Get a signature on a document../e-signature/SKILL.md
Runway / P&L / cash-flow cadence../finance-ops/SKILL.md

Sharpest near-miss: "reconcile this paid invoice / record it in the accounts" reads invoicing-shaped but is bookkeeping. The moment money is recorded against the books, it leaves your hands.

Pick the right document first

Before anything, decide which document you are issuing — they use different number sequences and carry different obligations.

DocumentUse whenNumber sequenceCreates a payment obligation?
Quote / estimate (presupuesto, pressupost)Before work starts, to propose a priceIts own quote series (not the invoice series)No — it is an offer, not a debt
Invoice (factura)Work delivered or goods supplied, money is owedThe continuous invoice seriesYes
ProformaA "please-pay-this" preview that is not yet a tax documentNot the invoice seriesNo — not a fiscal invoice
Credit note / corrective (factura rectificativa)To cancel or reduce an invoice already sentIts own corrective series, referencing the original numberReduces an existing obligation

Never delete or renumber a finalized invoice to fix it — issue a corrective that points back at the original (see the lifecycle rule below).

The legally-valid invoice checklist

An EU VAT invoice that won't let the customer deduct VAT is a broken invoice. Every one of these must be present (source: European Commission VAT Invoicing rules, accessed 2026-06-02):

  • Issue date (and supply date if different from issue date).
  • Unique sequential invoice number — continuous, gap-free, chronological.
  • Supplier name + address + VAT number.
  • Customer name + address (+ VAT number for B2B / reverse-charge).
  • Description of goods or services supplied.
  • Net amount per VAT rate (the taxable base).
  • The VAT rate(s) applied and the VAT amount per rate.
  • Total payable.
  • Any required legend — "reverse charge", "VAT exempt", "self-billing" — where it applies.
  • Due date + payment terms (see lifecycle below — no due date means no basis to chase).

Sequential numbering is law, not style. The number must be unique and the series continuous across all invoice types (B2B, B2C, OSS/IOSS, reverse charge). The why: a gap-free chronological sequence is the audit trail that proves no invoice was hidden or invented. Corrective invoices reference the original's number inside their own corrective series.

text
Bad   2024-001, 2024-002, 2024-004      ← 003 is missing → auditor asks "what did you delete?"
Bad   INV-5, EST-6, INV-7               ← quote EST-6 must not consume an invoice slot
Good  2024-001, 2024-002, 2024-003      ← continuous invoice series
Good  REC-2024-001 → refs invoice 2024-002   ← corrective points back, own series

The EU is moving from "any readable invoice" to structured e-invoices (machine-readable XML, EN 16931 semantic model, Peppol BIS transport). A PDF — even a perfect one — is not a structured e-invoice. Gate every new invoice: which country + B2B/B2G/B2C + by what date (source: Fiskaly/Fonoa e-invoicing roadmaps; EC eInvoicing country pages; accessed 2026-06-02):

  • Belgium — structured B2B mandatory 1 Jan 2026 (now in force).
  • France — phased from Sep 2026; DGFiP is the national Peppol Authority.
  • Germany — businesses > EUR 800k turnover by 1 Jan 2027, all businesses 2028.
  • Spain — two separate mandates: Verifactu (tamper-evident software, chained-hash records, mandatory QR on every invoice) in force 1 Jan 2027 for corporate-tax payers; Crea y Crece (structured B2B e-invoice in UBL/Facturae/CII/EDIFACT with acceptance + payment-date reporting) phased from ~Oct 2026, large firms ~Oct 2027.
  • Italy / Poland — SdI and KSeF clearance models already live.
  • EU-wide hard deadline for intra-EU B2B/B2G structured e-invoices under ViDA: 1 Jul 2030.

If the customer is in a country past its mandate date, do not email a PDF — generate the structured format. Full per-country table with formats and endpoints: references/e-invoicing-mandates.md.

Show full SKILL.md (574 more words)Show less

The lifecycle and its states

Every invoice moves through a fixed set of states. Track which state each one is in — that is your accounts-receivable.

StateMeaningAction to move it forward
draftNot yet issued; editableFinalize → assigns the sequential number
open / sentFinalized and delivered; awaiting paymentSend, then watch the due date
overduePast due date, still openStart the dunning ladder
paidSettled in fullHand off to ../bookkeeping/SKILL.md to record
voidCancelled before any paymentVoid (keeps the number; never delete)
uncollectibleWritten off after collection failedMark; consider a credit note

The rule that catches people: you never delete a finalized invoice. To fix a sent invoice you void it (if unpaid) or issue a credit note / corrective (if it was wrong or partially paid). Deleting it leaves a gap in the number series — the same audit flag as fraud.

The dunning ladder — chase politely, then firmly

Overdue invoices get a day-based cadence with escalating tone, not random nagging. The skeleton (full bilingual templates in references/dunning-ladder.md):

  • D-0 — at issue, a friendly confirmation: amount, due date, how to pay.
  • D+1 (after due date) — short, neutral reminder: "this may have slipped past."
  • D+7 — firmer, restate the amount and the original due date.
  • D+15 — invoke the statutory lever explicitly (see below).
  • D+30 — final notice before escalation to collections / legal.

Your legal lever (source: EU Directive 2011/7/EU on late payment; EC Late Payment page; accessed 2026-06-02): for B2B/B2G commercial invoices, default payment term is 30 days (extendable to 60 for B2B). On default, statutory interest accrues automatically at the ECB reference rate + at least 8 percentage points, plus a fixed EUR 40 recovery-cost compensation per invoice, owed without proof of cost. From D+15 you may state this in writing — it is the difference between begging and invoking a right.

Programmatic path via Stripe (only when automation is wanted)

When the user wants invoices sent by software rather than by hand, use Stripe. SDK is stripe-node v19.1.0; invoice status enum is draft → open → paid | uncollectible | void (source: Stripe API Reference; context7 /stripe/stripe-node v19.1.0; accessed 2026-06-02).

javascript
// 1. add line items to the customer, then 2. create the invoice
await stripe.invoiceItems.create({
  customer: customerId,
  amount: 120000,          // cents — 12h consulting @ EUR 100/h
  currency: 'eur',
  description: '12h consulting',
});

const invoice = await stripe.invoices.create({
  customer: customerId,
  collection_method: 'send_invoice', // email the customer (vs charge_automatically)
  days_until_due: 30,                // due-date / payment terms
});

// 3. finalize assigns the sequential number, 4. send emails it
await stripe.invoices.finalizeInvoice(invoice.id);
await stripe.invoices.sendInvoice(invoice.id);

Quotes follow draft → finalize (assigns number) → accept, which auto-generates the invoice. Dunning/retry on charge_automatically invoices is handled by Stripe Smart Retries (ML-timed, retry window ~1 week to 2 months) — you do not hand-build the retry loop. For the integration plumbing itself — keys, idempotency, the invoice.paid webhook — hand to ../stripe/SKILL.md and ../webhooks/SKILL.md.

Anti-patterns

Anti-patternWhy it's wrongDo instead
Reusing or skipping an invoice numberGap/duplicate in the series is an audit flagOne continuous gap-free series; void, don't delete
Letting a quote consume an invoice numberPollutes the fiscal series with non-debtsSeparate quote series; only finalized invoices take invoice numbers
Deleting a finalized invoice to "fix" itCreates a number gap = looks like concealmentVoid if unpaid, else issue a credit note referencing it
Emailing a PDF where structured e-invoice is mandatedA PDF is not EN 16931 / Peppol — legally non-compliantCheck the jurisdiction gate; emit the structured format
No due date / no payment termsNo basis to claim overdue or interestAlways set due date + terms (default 30 days B2B/B2G)
Chasing payment with no statutory basisWeak, easily ignoredFrom D+15 cite ECB+8pp interest + EUR 40 fixed cost
Omitting the per-rate VAT breakdownCustomer can't deduct VAT; invalid invoiceNet + rate + VAT amount per rate, plus total
Recording the payment in the books yourselfWrong skill, double-entry not your jobHand the paid invoice to ../bookkeeping/SKILL.md

© ericrisco, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 7 other files (scripts, references) in skills/invoicing of ericrisco/rsc-harness.

  • SKILL.md
  • evals/README.md
  • evals/cases.yaml
  • references/dunning-ladder.md
  • references/e-invoicing-mandates.md
  • scripts/fixtures/broken-invoice.json
  • scripts/fixtures/valid-invoice.json
  • scripts/verify.sh

Open the folder on GitHubat commit e3d5b33

Compare with similar skills

Invoicing next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Invoicing compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Invoicing this skillericrisco/rsc-harness174—~2.7kAutomated safety check: PassMIT
Fin Daily Pulseevolution-foundation/evo-nexus545—~1.7kAutomated safety check: PassCustom licence
Odoo Month End Closeerpipe-org/mcp-odoo421—~753Automated safety check: PassMIT
Journalkazukinagata/shinkoku365—~2.3kAutomated safety check: PassMIT
Invoice Organizerdavila7/claude-code-templates32k12 repos~2.9kAutomated safety check: PassMIT
Purchase Accountingsickn33/agentic-awesome-skills47k1 repos~5.1kAutomated safety check: PassMIT

Similar skills

  • Fin Daily Pulse

    evolution-foundation/evo-nexus

    Daily financial pulse — queries Stripe (MRR, charges, churn, failures), Omie (accounts payable/receivable, invoices) and Evo Academy (courses, subscriptions, Summit tickets) to generate an HTML…

    545 GitHub stars~1.7k tokensUpdated 4 mo ago
    Documents & OfficeAuto-check passed
  • Odoo Month End Close

    erpipe-org/mcp-odoo

    Drive a month-end accounting close on Odoo through odoo-mcp — AR/AP aging, open-item and draft-invoice review, reconciliation checklists, and chatter documentation — with human sign-off at every…

    421 GitHub stars~753 tokensUpdated 1 mo ago
    Business, Finance & HRAuto-check passed
  • Journal

    kazukinagata/shinkoku

    This skill should be used when the user wants to record bookkeeping entries (仕訳), import transaction data from CSV files, receipts, or invoices, or manage their general ledger.

    365 GitHub stars~2.3k tokensUpdated 1 mo ago
    Business, Finance & HRAuto-check passed
  • Invoice Organizer

    davila7/claude-code-templates

    Automatically organizes invoices and receipts for tax preparation by reading messy files, extracting key information, renaming them consistently, and sorting them into logical folders.

    32k GitHub starsUsed in 12 repos~2.9k tokens
    Business, Finance & HRAuto-check passed
  • Purchase Accounting

    sickn33/agentic-awesome-skills

    Purchase register: supplier, invoice, gross amount, VAT and TDS, net payable, ledger account and payment balance.

    47k GitHub starsUsed in 1 repo~5.1k tokens
    Business, Finance & HRAuto-check passed
  • Sales Accounting

    sickn33/agentic-awesome-skills

    Sales register: customer, invoice, gross amount, discount, VAT and TDS, net receivable, credit terms and balance.

    47k GitHub starsUsed in 1 repo~6.4k tokens
    Business, Finance & HRAuto-check passed

More from ericrisco/rsc-harness

All 233 skills in this repo
  • Ab Testing

    ericrisco/rsc-harness

    A skill your agent uses when designing or analyzing a controlled experiment — falsifiable hypothesis, sample size from an MDE, reading significance/CI/power, CUPED, or rescuing tests that won't go…

    174 GitHub stars~2.4k tokensUpdated yesterday
    Auto-check passed
  • Accessibility

    ericrisco/rsc-harness

    A skill your agent uses when making a web UI conform to WCAG 2.2 Level AA — axe-core or Lighthouse a11y violations, keyboard operability, focus management, ARIA roles/names/live regions, contrast…

    174 GitHub stars~3.4k tokensUpdated yesterday
    Auto-check passed
  • Ads

    ericrisco/rsc-harness

    A skill your agent uses when running or fixing paid acquisition on Google or Meta — campaign structure (Performance Max, Demand Gen, Search, Advantage+), platform-fit creative, budget/scaling rules…

    174 GitHub stars~2.2k tokensUpdated yesterday
    Auto-check passed
  • Agent Eval

    ericrisco/rsc-harness

    A skill your agent uses when measuring whether an LLM or agent system actually got better and gating merges on it: golden sets, fixing an inflated LLM-as-judge, scoring RAG (faithfulness, contextual…

    174 GitHub stars~3.2k tokensUpdated yesterday
    Auto-check passed
  • AI Media

    ericrisco/rsc-harness

    A skill your agent uses when a creative goal must become a finished media file: pick and order generative-media models per modality — AI voiceover, image-to-video clips, score — then glue them with…

    174 GitHub stars~3.3k tokensUpdated yesterday
    Auto-check passed
  • Analytics

    ericrisco/rsc-harness

    A skill your agent uses when instrumenting product or web analytics — GA4/PostHog SDK wiring, event taxonomy, funnels, double-counted events, consent gating, PII scrubbing.

    174 GitHub stars~2.8k tokensUpdated yesterday
    Auto-check passed

Works with

Questions about Invoicing

What does Invoicing do?

A skill your agent uses when issuing an invoice, quote, or credit note and moving it draft-to-paid — the legally required VAT fields, gap-free numbering, per-country e-invoicing mandates, dunning…. Invoicing is an agent skill from ericrisco/rsc-harness. Use when issuing an invoice, quote, or credit note and moving it draft-to-paid — the legally required VAT fields, gap-free numbering, per-country e-invoicing mandates, dunning overdue ones.

When should I use Invoicing?

Invoicing fits situations like: issuing an invoice; credit note and moving it draft-to-paid — the legally required VAT fields; gap-free numbering; per-country e-invoicing mandates.

How do I install Invoicing in Claude Code?

Run `npx skills add ericrisco/rsc-harness --skill invoicing -a claude-code`. Or copy the skill folder (skills/invoicing in ericrisco/rsc-harness) into .claude/skills/invoicing in your project. Claude Code loads it when a task matches its description.

How do I install Invoicing in Codex?

Run `npx skills add ericrisco/rsc-harness --skill invoicing -a codex`. Or copy the skill folder (skills/invoicing in ericrisco/rsc-harness) into .agents/skills/invoicing in your project. Codex loads it when a task matches its description.

Can I use Invoicing in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ericrisco/rsc-harness --skill invoicing -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/invoicing, .gemini/skills/invoicing, .github/skills/invoicing and .opencode/skills/invoicing in your project.

What does Invoicing need to run?

Going by SKILL.md and its folder, Invoicing needs a shell for the scripts in its folder. Our summary lists: A Bash shell.

Does Invoicing access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Invoicing safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Invoicing use?

Invoicing is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Invoicing use?

About 2.7k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.9k tokens, read only when the agent opens those files.

What are the alternatives to Invoicing?

Skills that share tags, products or a category with Invoicing: Fin Daily Pulse (evolution-foundation/evo-nexus, 545 stars), Odoo Month End Close (erpipe-org/mcp-odoo, 421 stars), Journal (kazukinagata/shinkoku, 365 stars) and Invoice Organizer (davila7/claude-code-templates, 32k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Invoicing?

ericrisco (a GitHub user) maintains it in ericrisco/rsc-harness, which has 174 GitHub stars. The repository holds 233 skills in this directory. The repository was last updated on October 7, 2026.

Source: ericrisco/rsc-harness on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.