Index of every page on this site: llms.txt
All skills
Run it yourself

Extract invoice data (PDF, image, text) into structured JSON, validate totals, NIP and IBAN, and export to a spreadsheet. Use when processing, checking or booking invoices or receipts.

Use this Skill: https://skilld.dev/gh/pawelbednarekpunks/aidevbird-skills/invoice-processing

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈51 tokens for metadata: the name and description. ≈519 when used: this file.

Description uses 2.6% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈205 characters, or 2.6%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Invoice Processing

  1. Read each document (PDF text, image, email). One invoice per JSON object, in this shape:
{"number":"FV/12/2026","type":"invoice","issue_date":"2026-11-03","sale_date":"2026-11-03",
 "due_date":"2026-11-17","currency":"PLN",
 "seller":{"name":"Acme sp. z o.o.","tax_id":"1234560007","country":"PL"},
 "buyer":{"name":"Jan Kowalski IT","tax_id":"PL9876540016","country":"PL"},
 "lines":[{"description":"Hosting 11/2026","qty":1,"unit_net":100.00,"net":100.00,"vat_rate":"23","vat":23.00}],
 "totals":{"net":100.00,"vat":23.00,"gross":123.00},
 "iban":"PL61109010140000071219812874","category":null,"notes":[]}
  • type: invoice | correction | proforma | receipt. Corrections keep negative amounts.
  • vat_rate: a number as text, or zw / np / oo (exempt, not taxable, reverse charge).
  • Copy values exactly as printed. Never guess a missing field — set null and add a note.
  • Dates YYYY-MM-DD, amounts as numbers with a dot.
  1. Run python scripts/validate_invoice.py invoices.json (path relative to this skill). It checks line math, totals, gross = net + VAT, Polish NIP checksum, IBAN checksum, due date, and duplicates (same seller + number). Fix extraction mistakes and re-run; issues that are really on the document stay as notes for the user — never "fix" the invoice's numbers.

  2. Category: use the user's list or chart of accounts if given; otherwise propose short categories (e.g. software, hosting, hardware, travel, marketing, services) and mark them as proposals.

  3. Export: one row per invoice (or per line if asked) to CSV or to .xlsx with the xlsx-toolkit skill — columns: number, issue_date, due_date, seller, seller_tax_id, net, vat, gross, currency, category, status, notes.

Hard rules:

  • Foreign-currency invoices: keep the original currency. Convert only if the user asks, and then state the rate, its date and source.
  • Never pay, send or upload anything. Tax treatment is a hint for the accountant, not advice.
  • Report: count processed, count with issues, and each issue in one line.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning14d3 checks · Risk SAFE
  • Gen Agent Trust Hub14d

    This skill is a safe tool for processing invoices, validating data like tax IDs and bank accounts, and exporting results. It uses local scripts for validation without any external network or sensitive data risks.

  • Socket14d

    No alerts

  • Snyk14d

    Risk: MEDIUM · 1 issue

Signed by skilld at 9bcf004. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 weeks ago.

Activeupdated 2 weeks ago

README badge

README badge for pawelbednarekpunks/aidevbird-skills/invoice-processing