Skip to main content

An example package. Generated with cookiecutter-pylibrary.

Project description

An example package. Generated with cookiecutter-pylibrary.

  • Free software: BSD 2-Clause License


pip install simple-ubl-invoice-generator

You can also install the in-development version with:

pip install


Usage: sublig [-h] [--template TEMPLATE] [--output-path OUTPUT_PATH] [--verbose] [--version] CONFIG

Command description.

positional arguments:

CONFIG Invoice TOML config file.


-h, --help            show this help message and exit
--template TEMPLATE, -t TEMPLATE
                      Invoice UBL Jinja2 template. Default: ???/site-packages/simple_ubl_invoice_generator/template.xml
--output-path OUTPUT_PATH, -o OUTPUT_PATH
                      Output path for resulting invoice XML files. Default: $CWD
--verbose, -v
--version             show program's version number and exit


To run all the tests run:


Note, to combine the coverage data from all the tox environments run:


set PYTEST_ADDOPTS=--cov-append


PYTEST_ADDOPTS=--cov-append tox


0.3.0 (2024-05-07)

  • Changed validation to use Pydantic.

  • Added rounding options.

0.2.0 (2024-04-09)

  • Allow customising filename.

  • Improved validation error messages.

  • Renamed some configuration fields.

0.1.0 (2024-04-08)

  • First release on PyPI.

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

simple-ubl-invoice-generator-0.3.0.tar.gz (19.4 kB view hashes)

Uploaded Source

Built Distribution

Supported by

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