npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

invoicr

v1.7.3

Published

CLI tool and desktop app to generate DOCX/PDF invoices with e-invoice support

Downloads

19

Readme

invoicr

A CLI tool and desktop app for generating DOCX/PDF invoices with e-invoice support.

Features

  • Generate professional invoices in DOCX and PDF formats
  • Desktop GUI application (Tauri/React)
  • E-invoice generation (XRechnung, ZUGFeRD, CIUS-RO, Factur-X, etc.)
  • Multi-language support (German & English)
  • Flexible billing: hourly, daily, or fixed rates
  • Email drafts with PDF attachment (macOS)
  • Multiple invoice templates
  • REST API for integrations

Quick Start

# Install globally
npm install -g invoicr

# Initialize workspace (creates provider.json)
invoicr-init

# Create a client
invoicr-new

# Generate an invoice
invoicr <client> <quantity>
invoicr acme-hourly 40 --email

Prerequisites

  • Node.js 18+
  • LibreOffice (for PDF conversion): brew install --cask libreoffice

GUI Application

A desktop application for visual invoice management.

Installing the GUI

Option 1: Via npm (recommended)

npm install -g invoicr
invoicr-gui

The GUI binary is automatically downloaded during installation.

Option 2: Download installer

Download from GitHub Releases:

| Platform | Download | |----------|----------| | macOS (Apple Silicon) | Invoicr_x.x.x_aarch64.dmg | | macOS (Intel) | Invoicr_x.x.x_x64.dmg | | Windows | Invoicr_x.x.x_x64-setup.exe | | Linux (Debian/Ubuntu) | invoicr_x.x.x_amd64.deb | | Linux (Portable) | invoicr_x.x.x_amd64.AppImage |

Option 3: Build from source

# Prerequisites: Rust (https://rustup.rs/)
git clone https://github.com/LeanerCloud/invoicr.git
cd invoicr && npm install && npm run build
cd gui && npm install && npm run tauri:build

GUI Features

  • Manage multiple business personas
  • Configure provider and client settings
  • Generate invoices with preview
  • Select from multiple templates
  • Configure e-invoicing per client
  • View invoice history

E-Invoice Generation

Generate electronic invoices in international formats.

Supported Formats

| Region | Format | Countries | |--------|--------|-----------| | Europe | XRechnung | Germany | | Europe | ZUGFeRD | Germany, Austria, Switzerland | | Europe | CIUS-RO | Romania | | Europe | Factur-X | France | | Europe | FatturaPA | Italy | | Europe | PEPPOL BIS | EU-wide | | Americas | UBL | USA, Canada |

Usage

invoicr-einvoice <client> --quantity=40
invoicr-einvoice <client> --quantity=40 --format=xrechnung

E-invoicing requires countryCode in both provider and client configs.

CLI Commands

| Command | Description | |---------|-------------| | invoicr <client> <qty> | Generate invoice | | invoicr-init | Initialize workspace | | invoicr-new | Create new client | | invoicr-list | List clients | | invoicr-bulk | Bulk generation | | invoicr-export | Export history | | invoicr-einvoice | Generate e-invoice | | invoicr-server | Start API server | | invoicr-gui | Launch desktop app |

Common Options

| Option | Description | |--------|-------------| | --month=MM-YYYY | Billing month | | --email | Create email draft | | --dry-run | Preview only | | --template=NAME | Use specific template |

API Server

REST API for programmatic access.

invoicr-server  # Starts on http://localhost:3456

Key endpoints:

  • GET /api/personas/:persona/clients - List clients
  • POST /api/personas/:persona/invoice/generate - Generate invoice
  • GET /api/einvoice/formats - List e-invoice formats

Configuration

See examples/ for complete client configuration templates:

  • acme-hourly.json - Hourly billing
  • acme-daily.json - Daily billing with translations
  • acme-fixed.json - Fixed amount
  • acme-romania.json - Romanian e-invoice (CIUS-RO)
  • acme-xrechnung.json - German e-invoice (XRechnung)

Development

npm run build      # Compile TypeScript
npm test           # Run tests (700+ tests)
npm run dev        # Run with tsx
npm run api-server # Start API server

License

MIT

About

Built by LeanerCloud. We help companies reduce AWS costs.

Freelancer with AWS clients? Refer them to us and get 50% of our first invoice. Get in touch!