Skip to main content

Fully-offline Python CLI that generates a sendable USD PDF invoice

Project description

invoice-tool

Fully-offline Python CLI that generates a sendable USD PDF invoice from local TOML files. No Odoo, no Google Drive, no network — the same inputs always produce a byte-identical PDF.

Install

pip install invoice-tool

Requires Python >= 3.13. The DejaVu/Liberation fonts the renderer embeds ship inside the wheel, so no system fonts are required.

Quickstart

# Verify the install
invoice-tool version

# Generate the latest invoice for a customer from a data directory
invoice-tool generate arsenale --data-dir ./sample-data

generate <customer> reads three TOML sources (issuer, customer, invoice), composes and validates one invoice, renders a deterministic A4 PDF with embedded fonts, and writes it next to its source data as DblFuzzr Inv <Customer> N<seq>.pdf. The output path is printed to stdout, so it composes in a pipeline; diagnostics go to stderr.

See invoice-tool generate --help for all options (--invoice, --out, --data-dir, --config).

Documentation

SKILL.md is the full operator/agent guide: data-directory layout and schema, font configuration (bundled / system / dejavu modes), the worked generate example, scriptable exit codes, and the determinism & offline guarantee.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

invoice_tool-0.0.1.tar.gz (3.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

invoice_tool-0.0.1-py3-none-any.whl (1.5 MB view details)

Uploaded Python 3

File details

Details for the file invoice_tool-0.0.1.tar.gz.

File metadata

  • Download URL: invoice_tool-0.0.1.tar.gz
  • Upload date:
  • Size: 3.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for invoice_tool-0.0.1.tar.gz
Algorithm Hash digest
SHA256 0f575ab2ce265bcd416f7312340c50267625d93b09106c6b8f4c71f61b5bdcb9
MD5 8abb70b92b6f219effb7c24105874d6d
BLAKE2b-256 450a9174ea8ce9c667573a697c4e653dc119d941d0cab759e554af05f496c3e4

See more details on using hashes here.

File details

Details for the file invoice_tool-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: invoice_tool-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for invoice_tool-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c90d8d933ef77b9c5680842e1a0030dbbac0cb1c60138c34a129c674c4bea341
MD5 47e7332b16673566765798a7280ac962
BLAKE2b-256 244531e6e58e15f5bec096d17309bc0c837bd9abf102d2f052b73a251af3d9e2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page