| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Peppol Directory Cache is a lightweight caching proxy for the Peppol Directory.
It extracts Peppol Participant IDs and their registered document types, enabling fast, reliable lookups during invoice and credit-note generation.
Why is this increasingly important?
The Peppol landscape is rapidly evolving, with Access Points and participants adopting different document types, processes, and even legacy schemes. In the future, it will be essential to select the correct UBL document type and Participant ID for each participant.
Some may only support specific types (e.g., credit-notes only), or use scheme IDs. Failing to do so can result in undeliverable invoices or compliance issues. This fragmentation means services like this cache are critical for reliably determining what your client actually supports, ensuring seamless and correct electronic document exchange.
We expect the cache requires a lot of refreshing in the upcoming months because it will take some time before companies settle with the proper Peppol provider, and of course, the longevity of the many Peppol providers remains a big question as well of course. From this point of view, we recommend to currently (in)validate the contents of the cache as required. In the future however, this will most likely change when configurations have settled.
During invoice or credit-note generation, query the cache with parameters like q=BE&q={CompanyNumber}. The cache will return Peppol information for the specified company, including supported document types. This helps you select the correct UBL type for each transaction.
Note
As a result, we support the same query parameters as outlined in the Peppol Directory documentation.
Query Peppol information for well-known companies:
curl -s "http://<your-cache-host>:8000?country=BE&q=0203201340"curl -s "http://<your-cache-host>:8000?country=BE&q=0403227515"curl -s "http://<your-cache-host>:8000?country=BE&q=0202239951"The service sets several HTTP headers to help clients understand cache behavior:
These headers are useful for debugging, monitoring cache efficiency, and understanding how your requests are processed.
You can use the official Docker image or build your own from this repository.
docker pull harbor.peinser.com/library/peppol-directory-cache:0.0.1git clone https://github.com/peinser/peppol-directory-cache.git
cd peppol-directory-cache
docker build -f docker/Dockerfile -t peppol-directory-cache:local .docker run -p 8000:8000 peppol-directory-cache:localHelm charts are provided in k8s/helm/charts/peppol-directory-cache.
helm install my-peppol-cache k8s/helm/charts/peppol-directory-cache --set defaults.ingress.enabled=false| Back | FazBrowse Home | New Git URL |