invoice-lines
Extracting line items from invoice or receipt PDFs into CSV. Use when a user wants tabular data (quantities, prices, SKUs) out of an invoice or receipt PDF.
- License 许可
- MIT
- 最近更新
- 2026-11-02
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- invoice-lines
- description
- Extracting line items from invoice or receipt PDFs into CSV. Use when a user wants tabular data (quantities, prices, SKUs) out of an invoice or receipt PDF.
02 资源文件 2
- 参考文档grading.json1.0 KB
- 参考文档meta.json210 B
03 SKILL.md 正文
Extract line items from invoice/receipt PDFs into CSV via scripts/extract.py (pdfplumber-based).
Steps
- Run
python scripts/extract.py <pdf_path>, capturing stdout and the exit code. Done when you have either a CSV or a nonzero exit code. - Exit code 3 means the PDF has no text layer (it's scanned). OCR the file (e.g.
ocrmypdf) and rerun step 1 against the OCR'd PDF. Done when the script exits 0. - If line items on the invoice carry more than one currency symbol or code, rerun with
--currency <ISO-code>set to the currency you want extracted — the script cannot infer currency from a mixed page and will misparse amounts if left unset. - Sum the CSV's
totalcolumn and compare it to the invoice's own printed grand total. Done when the two match. If they don't, a row is misparsed (merged cells, skipped line, wrong currency) — find and fix it before handing back the CSV.
Output
CSV columns: vendor,date,sku,qty,unit_price,total.
04 同仓库更多 Skills
tune
Find and fix real defects in a skill, AGENTS.md, or CLAUDE.md, then prove the description still routes. Runs the bundled token-spending runner, so it starts only on the human's explicit instruction.
skill-tuner
Evidence-tagged rules for writing documents agents consume. Use when creating, editing, or shortening skills, AGENTS.md, or CLAUDE.md.
portfolio
Inventory every skill the agent is shown, with its per-turn listing cost, usage count and visibility knob, then decide one skill at a time whether the model should start it on its own. Reads files only; starts on the human's explicit instruction.
shipit
Release builds with the shipit CLI. Use when releasing or promoting a build to staging or prod, checking a release manifest, or rolling back a shipit deployment.
shipit
Release builds with the shipit CLI. Use when releasing or promoting a build to staging or prod, checking a release manifest, or rolling back a shipit deployment.
shipit
Release builds with the shipit CLI. Use when releasing or promoting a build to staging or prod, checking a release manifest, or rolling back a shipit deployment.