cd /news/developer-tools/show-hn-a-cli-to-fetch-invoices-in-y… · home topics developer-tools article
[ARTICLE · art-112931] src=github.com ↗ pub= topic=developer-tools verified=true sentiment=· neutral

Show HN: A CLI to fetch invoices in your inbox

Visnia AI released invoice-fetcher, an open-source command-line tool that automatically finds invoices and receipts in email inboxes and processes them locally without sending data to third parties. The tool supports IMAP and Gmail OAuth, runs on macOS, Linux, and Windows, and requires Node.js 22 or later to build from source.

read1 min views2 publishedAug 27, 2026
Show HN: A CLI to fetch invoices in your inbox
Image: Michielbdejong (auto-discovered)

A dead simple CLI that automatically finds invoices & receipts in your inbox, so you can close your books faster. Everything is processed locally, and no data is sent to third parties.

To install on macOS or Linux, run the following command:

curl -fsSL https://raw.githubusercontent.com/visnia-ai/invoice-fetcher/main/install.sh | sh && export PATH="$HOME/.local/bin:$PATH"

or this command if you use Windows, in the Powershell:

irm https://raw.githubusercontent.com/visnia-ai/invoice-fetcher/main/install.ps1 | iex

Run this command and follow the instructions:

invoice-fetcher add imap accounts@example.com

Google requires OAuth read-only authorization to the Gmail API. Run this command and follow the instructions of the guided setup to authenticate your google account:

invoice-fetcher add google accounts@gmail.com
invoice-fetcher <start-date> <end-date> <email-address> <destination-folder>

Example:

invoice-fetcher 2026-01-01 2026-03-31 accounts@example.com ~/Documents/Invoices

Dates use inclusive YYYY-MM-DD

bounds. The email address selects a previously configured account.

Multi-month searches produce:

destination/
└── 2026-01/
    └── sender.example/
        └── invoice.pdf

Building from source requires Node.js 22 or later:

npm install
npm run build
npm link
── more in #developer-tools 4 stories · sorted by recency
── more on @visnia ai 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-a-cli-to-fet…] indexed:0 read:1min 2026-08-27 ·