Skip to main content

pretix-pt-invoicing

PyPI version Supported Python versions License CI status

This is a plugin for pretix that issues AT-certified invoice-receipts through a Portuguese electronic invoicing provider, automatically once an order is paid, and a credit note once it’s fully refunded — with a Control-panel dashboard to track each issuance and retry the ones that failed.

Documentation: https://docs.afonsosantos.me/pt-invoicing/ — configuration, providers, credit notes, troubleshooting and writing a new provider, in English and Portuguese.

Provider

Identifier

Status

Fact.pt

factpt

Verified against a real sandbox account

Moloni

moloni

Built from the published API docs, not yet run against a real account — verify before production use

Installation

Install the plugin into the same Python environment as your pretix instance, then apply its migration:

pip install pretix-pt-invoicing
python -m pretix migrate

Restart pretix and enable Portuguese invoicing for an event under Settings → Plugins. Then follow the configuration guide.

The settings — provider, credentials and Moloni connection included — can also be set once for all of an organizer’s events, under the organizer’s Settings → Invoicing (PT). Each event uses them until it saves something else on its own invoicing settings page.

Development

With a working pretix development setup and its virtualenv active:

pip install -e .    # or: uv sync --extra test
make                # compile translations
make test
make lint

See the development guide and writing a provider.

License

Copyright 2026 Afonso Santos

Released under the terms of the Apache License 2.0, see the LICENSE file for details.

Metadata

Release files for pretix-pt-invoicing 0.10.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pretix-pt-invoicing 0.10.1
File Size Uploaded Provenance Actions
pretix_pt_invoicing-0.10.1.tar.gz 142.3 kB With provenance Details for pretix_pt_invoicing-0.10.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pretix-pt-invoicing 0.10.1
File Interpreter ABI Platform Actions
pretix_pt_invoicing-0.10.1-py3-none-any.whl Python 3 none any Details for pretix_pt_invoicing-0.10.1-py3-none-any.whl

Total release size: 269.2 kB

Release files / pretix_pt_invoicing-0.10.1.tar.gz

Download URL pretix_pt_invoicing-0.10.1.tar.gz
Size 142.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4c5061c31de26c72e57e03ad9ceb8f5d86f9e9edca570de089ef5ba31b27b726
BLAKE2b-256 checksum
How to use checksums
299ffc47c7026d1126700cda16f34815feb002accec69aa3e909d834b39150a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Release files / pretix_pt_invoicing-0.10.1-py3-none-any.whl

Download URL pretix_pt_invoicing-0.10.1-py3-none-any.whl
Size 126.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0dffccb96aa48bb33de98c0cb55ea6f80d45ef51ffd197695c6eef1fffb4bc19
BLAKE2b-256 checksum
How to use checksums
a54faea4b29c05c79b2adc3d9f74243b3e0688b39cde36f8bb4f0ae7a8563ca0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Security for pretix-pt-invoicing 0.10.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pretix_pt_invoicing-0.10.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page