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.0

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.0
File Size Uploaded Provenance Actions
pretix_pt_invoicing-0.10.0.tar.gz 141.5 kB With provenance Details for pretix_pt_invoicing-0.10.0.tar.gz

Built distribution (wheel)

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

Total release size: 268.0 kB

Release files / pretix_pt_invoicing-0.10.0.tar.gz

Download URL pretix_pt_invoicing-0.10.0.tar.gz
Size 141.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7be4e06d0cddcd9a7428c27387530fd37473ee626a211d76443e1ae51fb83fe2
BLAKE2b-256 checksum
How to use checksums
bc419271effcdc3af6a8c986d40c1cc32aab00e2d4f5b6673d1a1ce6c804fb34
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 Nov 5, 2026.

Transparency log

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

Download URL pretix_pt_invoicing-0.10.0-py3-none-any.whl
Size 126.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f400838db4bf5af05a91d9ae5407c52fb6505d7316b3f3bd8a008394bee664e0
BLAKE2b-256 checksum
How to use checksums
a2e93bfefb4ef681ee5def6f1eaea74196a182609430afa70c69fcf8e4d70536
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 Nov 5, 2026.

Transparency log

Security for pretix-pt-invoicing 0.10.0

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.0.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 Nov 5, 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