From 0fc2df665c14c875c5947b18951150f76a2163e6 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Tue, 10 Mar 2026 09:52:49 +0100 Subject: [PATCH] Update src/pretix/base/invoicing/peppol.py Co-authored-by: pajowu --- src/pretix/base/invoicing/peppol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/base/invoicing/peppol.py b/src/pretix/base/invoicing/peppol.py index 819fc66af..0a26b6c10 100644 --- a/src/pretix/base/invoicing/peppol.py +++ b/src/pretix/base/invoicing/peppol.py @@ -208,7 +208,7 @@ class PeppolTransmissionType(TransmissionType): # Special case Belgium: If a Belgian business ID is used as Peppol ID, it should match the VAT ID if address_data.get("transmission_peppol_participant_id").startswith("0208:") and address_data.get("vat_id"): if address_data["vat_id"].removeprefix("BE") != address_data["transmission_peppol_participant_id"].removeprefix("0208:"): - raise ValidationError(_("The Peppol participant ID does not match your VAT ID.")) + raise ValidationError({"transmission_peppol_participant_id": _("The Peppol participant ID does not match your VAT ID.")}) def pdf_watermark(self) -> str: return pgettext("peppol_invoice", "Visual copy")