Invoice Sorter
Sort, rename, and organize invoices, receipts, bills, statements, and related PDF or image files into a predictable folder structure. Use when asked to clean...
Latest: v1.0.0
Initial release of invoice-sorter.
- Organizes invoices, receipts, bills, and related PDF/image files into clear folder and filename structures.
- Supports sorting by year/month, vendor, or document type.
- Recommends clear, sortable filename patterns (e.g., YYYY-MM-DD_vendor_type.pdf).
- Proposes organize/rename plans and performs changes only after confirming the rule.
- Includes safety features: ambiguous files are put in a review folder; originals are preserved unless deletion is requested; summary reports are provided for transparency.
- Designed for batch cleanup, standardization, and bookkeeping preparation.
Full description
Sort, rename, and organize invoices, receipts, bills, statements, and related PDF or image files into a predictable folder structure. Use when asked to clean up finance documents, batch-organize invoice folders, standardize filenames, separate vendors or months, or prepare records for bookkeeping and reimbursement workflows.
Invoice Sorter
Organize finance documents conservatively. Prefer inspection and a rename/move plan before making file changes.
Workflow
- Scan the target folder and identify likely invoice-like files.
- Infer a practical structure from filenames and metadata first.
- If document content must be read to classify correctly, sample a few files before doing broad changes.
- Propose a naming and folder rule.
- Execute batch renames or moves only after the rule is clear.
- Produce a summary of what was moved, renamed, skipped, or flagged.
Good default folder structures
Choose the simplest structure that matches the collection:
By year and month
YYYY/MM- good for mixed bills and receipts
By vendor
Vendor/YYYY- good for recurring suppliers
By document type
invoices/,receipts/,statements/,contracts/- good when files are heterogeneous
Good filename patterns
Prefer stable, sortable names such as:
YYYY-MM-DD_vendor_amount_invoice.pdfYYYY-MM_vendor_invoice-number.pdfvendor_YYYY-MM_statement.pdf
Use lowercase and hyphens/underscores consistently.
Safety rules
- Avoid deleting originals unless the user explicitly asks.
- If metadata is ambiguous, move uncertain files into a
review/folder instead of guessing. - Preserve file extensions exactly.
- For very large batches, do a dry-run summary first.
Output pattern
Report using:
- Detected files
- Proposed structure
- Planned renames/moves
- Ambiguous items
- Completed changes
Keep the plan auditable so the user can spot mistakes quickly.
