From 6251b6815c701c26d06a71476b18a4cc36d67e04 Mon Sep 17 00:00:00 2001 From: Lukas Bockstaller Date: Mon, 19 Oct 2026 10:46:54 +0200 Subject: [PATCH] migrate to new peppol lookup endpoints The peppol network migrated away from the eu hosted enpoints and insourced the sml lookup, see https://openpeppol.atlassian.net/wiki/spaces/PTPUB/pages/5059608580/SML+Insourcing The new URLs are outlined in the FAQ https://openpeppol.atlassian.net/wiki/spaces/PTPUB/pages/5059608580/SML+Insourcing#Which-Participant-ID-Lookup-URLs-should-I-use-after-the-migration%3F --- src/peppol_py/smp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/peppol_py/smp.py b/src/peppol_py/smp.py index e3f3ef0..7e94524 100644 --- a/src/peppol_py/smp.py +++ b/src/peppol_py/smp.py @@ -15,9 +15,9 @@ def get_smp_url_from_dns(participant_id, test_environment): smp_id = base64.b32encode(hashlib.sha256(participant_id.lower().encode()).digest()).decode().rstrip("=") if test_environment: - base_hostname = 'acc.edelivery.tech.ec.europa.eu' + base_hostname = 'participant.sml.test.tech.peppol.org' else: - base_hostname = 'edelivery.tech.ec.europa.eu' + base_hostname = 'participant.sml.prod.tech.peppol.org' smp_domain = f'{smp_id}.iso6523-actorid-upis.{base_hostname}'