首页 / Skills / 办公与文档 / 发票整理助手 Invoice Organizer
办公与文档

发票整理助手 Invoice Organizer

ComposioHQ community contributorsApache-2.0Skill 语言: 英文
协议已核对不含脚本
演示真实运行记录 · claude-sonnet-5-5 · 2026年10月
Organize the invoices in ./receipts-to-sort for taxes. Copy them rather than moving, sort by year and then vendor, and create the CSV summary for my accountant. You have my approval for that plan, so go ahead without asking again. Flag anything you can't read properly.
Skill: invoice-organizer
Bash: ls -la ./receipts-to-sort
Bash: cd receipts-to-sort && for f in *; do echo "=== $f"; cat "$f"; echo; done; md5 *
Bash: cd <workdir> && S=receipts-to-sort && O=Invoices…

I copied the five readable receipts into ./Invoices/, sorted by year and then vendor. The originals in receipts-to-sort are untouched, still six files. I also wrote the CSV summary for your accountant.

Invoices/
├── invoice-summary.csv
├── 2026/
│   ├── Adobe/    2026-03-15 Adobe - Invoice - Creative Cloud.txt
│   ├── Amazon/   2026-03-10 Amazon - Receipt - Keyboard and USB-C Hub.txt
│   ├── Netlify/  2026-02-28 Netlify - Invoice - Pro Plan.txt
│   ├── Staples/  2026-02-10 Staples - Receipt - Printer Paper and Toner.txt
│   └── Uber/     2026-03-02 Uber - Receipt - Airport Trip.txt
└── Needs-Review/
    └── document.txt

The CSV has date, vendor, invoice number, description, amount, currency, category, file path and notes. The category column is my own guess (Office, Software or Travel), so your accountant may want to adjust it.

Flagged for your review

  • document.txt: This is a note about a call, not an invoice or receipt. It has no vendor, date or amount, so I put a copy in Needs-Review/ and left it out of the CSV.
  • Adobe: The amount is EUR 59.99. I didn't convert it to USD, so your accountant will need to.
  • Netlify: The invoice has a billing period (2026-02-01 to 2026-02-28) but no invoice date. I used the period end, 2026-02-28, as the date.
  • Uber: The receipt has no receipt or invoice number, so that CSV field is blank.
  • Staples: The receipt has a store number but no invoice number. The date was written as 02/10/2026, and I read it as 10 February 2026, since the other receipts are all dated February or March 2026. If it was meant as 2 October, the date and folder placement need fixing.

The files are plain text rather than PDFs, so I kept the .txt extension.

invoice-summary.csv recorded in the trial sandbox:

Date,Vendor,Invoice Number,Description,Amount,Currency,Category,File Path,Notes
2026-02-10,Staples,Store #4412,Printer paper (5 reams); toner cartridge,103.89,USD,Office,"Invoices/2026/Staples/2026-02-10 Staples - Receipt - Printer Paper and Toner.txt",
2026-02-28,Netlify,NL-882134,Pro Plan (1 seat),19.00,USD,Software,"Invoices/2026/Netlify/2026-02-28 Netlify - Invoice - Pro Plan.txt","Date is end of billing period 2026-02-01 to 2026-02-28; no invoice date given"
2026-03-02,Uber,,Airport to downtown trip (fare 34.50 + tip 5.00),39.50,USD,Travel,"Invoices/2026/Uber/2026-03-02 Uber - Receipt - Airport Trip.txt","No receipt number"
2026-03-10,Amazon,112-3948571-2218265,Ergonomic keyboard; USB-C hub,127.45,USD,Office,"Invoices/2026/Amazon/2026-03-10 Amazon - Receipt - Keyboard and USB-C Hub.txt",
2026-03-15,Adobe,IEE2026-0048213,Creative Cloud All Apps (monthly),59.99,EUR,Software,"Invoices/2026/Adobe/2026-03-15 Adobe - Invoice - Creative Cloud.txt","Amount in EUR (not converted); paid by Visa ending 4242"

Real run recorded with claude-code / claude-sonnet-5-5. Run on a sample folder with 6 invoices in text format. We approved the plan in the prompt so it would go ahead directly. The trial used .txt files; PDFs and scanned images were not tested. The last block is the CSV it generated, recorded verbatim. Tool-call lines show only the first line of each command. The model output is unmodified.

它做什么

把一堆杂乱的发票和收据整理成有条理的档案:逐个读取,提取关键信息,用统一的名称归档。

工作方式

  1. 找出发票文件,读取每份的商家、编号、日期、金额和说明。
  2. 询问你想怎么组织(按商家、类别、日期或税务类别),默认按年份、类别、商家。
  3. 先展示方案,再把文件复制(你愿意的话也可以移动)到新的结构里,命名如 YYYY-MM-DD 商家 - Invoice - 说明。
  4. 生成包含全部明细的 CSV,并列出读不清楚、需要人工复核的文件。

适合场景

报税准备、报销,以及把记录交给会计。

需要了解

我们试用时,它复制了五张收据,把一份并非发票的文件放进待复核文件夹,并对有歧义的日期、外币金额和缺失的发票号做了标注,而不是猜测。

说明与风险

纯指令文件:没有脚本。 它会读取你的发票和收据内容,复制或移动文件,并在你的文件夹里新建目录和一个 CSV,里面包含商家、金额和付款信息。支出类别是模型的猜测。它不提供税务或会计建议,申报前请让专业人士核对,并保留原始文件。我们只用文本文件测试过,没有测试 PDF 和扫描图片。 原 skill 目录没有单独的协议文件,协议依据是来源仓库 README 对整个仓库的 Apache-2.0 声明(同时注明个别 skill 可能不同)。 压缩包里另有 LICENSE(Apache-2.0 全文)和 SOURCE.txt(来源与协议依据说明,由 AIBars 添加)。