Invoice Processor & Organizer for Openclaw

An automated utility for cleaning up invoice directories, fixing file extensions, removing duplicates, and calculating totals based on specific keywords.

jie
v1.0.0
Apr 2, 2026
0
689
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install invoice-processing

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install invoice-processing using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Invoice Processor & Organizer?

The Invoice Processor is a specialized tool designed for the Openclaw Skills ecosystem to handle the often messy task of managing digital receipts and financial documents. It automates the tedious aspects of bookkeeping by sanitizing file names, ensuring data integrity through hash-based deduplication, and validating document contents against specific business requirements.

By integrating this skill into your workflow, you can transform a chaotic folder of downloads into a structured repository. It specifically targets common issues like malformed PDF extensions and the accidental inclusion of non-invoice documents, such as travel itineraries, making it an essential component for anyone using Openclaw Skills for financial management.

Invoice Processor & Organizer Use Cases

  • Cleaning up a batch of downloaded invoices with corrupted file extensions like .pdf?.
  • Automatically removing duplicate invoice files using MD5 hash verification to ensure accurate accounting.
  • Filtering out invalid documents from invoice folders, such as travel itineraries or receipts containing specific excluded terms.
  • Validating that all invoices in a directory belong to a specific entity by scanning for mandatory keywords.
  • Generating a quick financial summary by calculating the grand total from all valid processed files.

How Invoice Processor & Organizer Works

  1. The agent identifies the target directory and the mandatory keywords provided in the user request.
  2. The script scans the directory to identify and repair malformed .pdf extensions caused by web encoding issues.
  3. A deduplication pass is performed by calculating the MD5 hash of each file to remove redundant copies.
  4. Invalid documents containing blacklisted strings (e.g., travel itineraries) are identified and excluded.
  5. The content of each remaining PDF is scanned for the specified keyword to ensure relevancy.
  6. Validated invoices are organized into a structured folder hierarchy within the target directory.
  7. The system calculates the aggregate total from all valid invoices and presents a final summary report.

Invoice Processor & Organizer Setup

To use this feature within the Openclaw Skills framework, ensure you have Python installed on your system. Navigate to the directory containing main.py and execute the following command:

python main.py process "Keyword1;Keyword2" -d ./path/to/invoices

You can provide multiple keywords separated by a semicolon to match different vendors or company names.

Invoice Processor & Organizer Data Schema & Taxonomy

The skill organizes processed data into a clear directory structure to maintain a clean workspace:

Location Description
<dir>/invoices/ Contains all valid, keyword-verified PDF invoices.
<dir>/invoices/unknown/ Contains PDF files that did not match the specified keywords.
MD5 Hash Used as a unique identifier to prevent duplicate file processing.
Grand Total A calculated sum of all currency values extracted from valid invoices.

Invoice Processor & Organizer Advanced Features

  • Support for multi-keyword matching using semicolon delimiters for complex filtering.
  • Automatic remediation of encoding errors in filenames to prevent file system conflicts.
  • Content-aware filtering that distinguishes between actual invoices and general travel documents.
  • Seamless integration with terminal tools for high-speed batch processing within Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*