Invoice Sorting and Archival Assistant
Paste the following prompt into your AI chat to install this skill:
Install @user_68bec071/invoices-sorted according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem addressed
Reimbursement workflows often break down less from missing invoices than from scattered files, inconsistent names, and manual amount or category checks. Invoice Sorting and Archival Assistant targets local directories: it turns subfolders containing PDF invoices into an archival-ready state, reducing manual reading, copying, tabulation, and packaging.
How it works
The skill follows a fixed pipeline:
- Directory scan: on first run it asks for a root directory and only processes subfolders under that root, reducing out-of-scope access.
- Valid filtering: it processes folders that contain at least one PDF invoice and skips folders without PDFs.
- Content extraction: it reads invoice numbers, total amounts including tax, and expense keywords from PDFs for renaming and classification.
- Sheet generation: it creates
发票统计表.xlsxin each valid subfolder, with serial number, invoice number, expense name, total amount, and a summary row. - File archiving: it renames PDFs to
{invoice_number}.pdf, then packages them as ZIP files based on single-folder or multi-folder strategies.
Classification uses keyword priority rules for categories such as transport, meals, lodging, office, and printing; unmatched invoices fall into Other and are worth a quick review before export.
Limits and notes
It is best suited to local folders already grouped by trip, vendor, or expense batch, rather than automatically pulling files from email, cloud drives, or chat. PDF parsing depends on readable text; scanned, image-only, or oddly formatted PDFs may fail extraction. Verify amounts and invoice numbers, especially for railway tickets where the e-ticket number differs from the official invoice number.
Use Cases
- {'en': 'After a business trip, consolidate scattered PDF invoices from multiple subfolders into submission-ready files.'}
- {'en': 'At month end, extract invoice numbers and total amounts from a batch of e-invoices and generate a reviewable sheet.'}
- {'en': 'Rename PDFs by invoice number, then package valid subfolders into ZIP archives for finance archiving.'}
- {'en': 'Classify PDF invoices by transport, meals, lodging, and other expense keywords before creating a summary table.'}
Best For
- {'en': 'Finance staff who convert multiple PDF e-invoices into summary sheets and archival packages monthly.'}
- {'en': 'Administrative assistants who organize trip invoices by invoice number and package them for submission.'}
- {'en': 'SME owners who want to automate local reimbursement files without moving data to external systems.'}
- {'en': 'Operations leads who need to review expense categories and extracted amounts before finance approval.'}
Related Skills
Generate and edit .pptx decks with python-pptx, applying structured layouts, design rules, native charts, and visual QA to reduce template-like output.
Tencent Cloud Table Recognition V3 is an OCR skill for detecting and recognizing tables in images or PDFs, supporting various table types like linear and borderless tables, with Excel export.
The complete set of online document operation tools provided by Tencent Docs MCP, supporting creation, querying, and editing of smart docs, Excel, PPT, mind maps, and more.
Turn a topic, notes, or tables into a complete PPT plan with logic, page layouts, visual and chart guidance, and natural defense scripts.