Factuur export naar UBL / Peppol check
Versie 1.0 — 20 november 2026
Handleiding voor installatie, configuratie en gebruik
Inhoud
0. Eerst: Custom Field handmatig aanmaken (verplicht)
Dit moet eerst — vóórdat je installeert en configureert. Zonder het BTW/VAT-veld
in Manager.io kan de app geen land en buyer-VAT in de UBL-export zetten.
Belangrijk principe: onze programma's brengen nooit automatisch
wijzigingen aan in Manager.io (alleen lezen). Daarom wordt dit veld
door jou, met de hand aangemaakt — zo houd je zelf controle over je
administratie.
- Open customfield.html in je browser.
- Kies Nederlands (BTW) of Engels (VAT) — één taal aanhouden.
- Maak het veld aan bij Customers.
- Ga daarna pas verder met de installatie hieronder (§1).
Optioneel kun je daarnaast één of twee boolean custom fields
aanmaken voor de kolom Verzonden: Rekening Verzonden Email
en/of Rekening Verzonden E connect. De app ondersteunt beide;
staat één van de twee op ja, dan toont de kolom Ja. Zie
customfield.html voor de exacte instellingen.
1. Installatie
Benodigdheden
- Python 3.9 of hoger — download van python.org.
Vink bij installatie op Windows "Add Python to PATH" aan.
- Manager.io met API-toegang (standaard op
http://127.0.0.1:55667).
API key aanmaken in Manager.io via Instellingen → Algemeen → API.
- Browser — Chrome, Edge of Firefox om de webinterface te openen.
Bestanden overzetten
Kopieer de map naar de doelcomputer. Dit zijn de belangrijkste bestanden:
| Bestand | Doel |
| server_manager_ubl.py | Hoofdprogramma (Python) — server + UBL + Peppol validatie |
| start-manager-ubl.bat | Server starten op Windows (dubbelklik) |
| start-manager-ubl.sh / stop-manager-ubl.sh | Starten en stoppen op Linux/Mac. |
| install-manager-ubl-autostart.bat | Autostart instellen in Windows Taakplanner |
| handleiding.html | Deze handleiding |
Tip: De bestanden .env en
business_config.json staan in .gitignore — deze worden
automatisch aangemaakt zodra je een API key opslaat. Alle sleutels staan in
.env (alleen-leesbaar); deel dit bestand nooit.
2. Server starten & stoppen
Starten
Windows: Dubbelklik op start-manager-ubl.bat.
Mac / Linux: Open een terminal in de map en start met:
./start-manager-ubl.sh
Er is per platform één start- en één stopscript: start-manager-ubl.bat +
stop-manager-ubl.bat (Windows) en start-manager-ubl.sh +
stop-manager-ubl.sh (Linux/Mac).
Als het goed is zie je deze melding in de cmd/terminal:
Server gestart op http://127.0.0.1:4440
Snelkoppeling op het Bureaublad: draai één keer in deze map maak-snelkoppeling-in-map.bat (Windows, map C:\Manager\Manager.ubl) of bash maak-snelkoppeling-in-map.sh (Linux, map ~/Manager/Manager.ubl). Er ontstaan snelkoppelingen ín de map — kopieer die zelf naar het Bureaublad. Linux: daarna per bestand rechtsklik → “Toestaan en starten”. Details: LEESMIJ-snelkoppeling.txt.
Stoppen
Windows: dubbelklik op stop-manager-ubl.bat.
Linux/Mac: draai ./stop-manager-ubl.sh of druk op Ctrl+C
in het terminalvenster.
Opnieuw starten: na stoppen kun je direct opnieuw dubbelklikken op
start-manager-ubl.bat (of ./start-manager-ubl.sh). Je instellingen
en API-sleutel blijven behouden; deze stop-/startcyclus is getest en werkt.
3. Configuratie — API key + bedrijfsgegevens
Bij de eerste start opent de configuratiepagina. Doorloop deze stappen:
Stap 1: API key invoeren
- Open http://127.0.0.1:4440.
- Vul de Manager.io API key in het veld API-sleutel.
- Klik op Test en opslaan.
- Bij succes zie je een groene melding en ga je naar de volgende stap.
API key vinden in Manager.io: Ga naar Instellingen → Algemeen → API
in Manager.io. Maak daar een key aan als die nog niet bestaat. Kopieer de volledige key.
Stap 2: Bedrijfsgegevens controleren
- De server leest automatisch de bedrijfsgegevens uit de Manager.io database
(naam, adres, KvK, BTW-nummer).
- Controleer of alle velden correct zijn ingevuld.
- Velden uit de database hebben een groene DB-markering.
- Ontbrekende velden hebben een oranje markering — vul deze handmatig aan.
- IBAN en land moeten altijd handmatig worden ingevuld
(deze kunnen niet uit de Manager.io database worden uitgelezen).
- Klik op Opslaan om de gegevens te bewaren.
Let op: De IBAN is verplicht. Zonder IBAN blijft de configuratiepagina zichtbaar
totdat deze is ingevuld.
Stap 3: Licentie activeren (Manager.ubl)
De app gebruikt dezelfde licentievorm als de andere Manager-add-ons. Zonder geldige
licentie blijft het dashboard bruikbaar om te bekijken, maar zijn UBL-export,
Peppol Check en bulkvalidatie geblokkeerd. De statusbalk toont dan
NO LICENCE.
- Open ⚙️ Instellingen en ga naar het onderdeel Licentie.
- Plak de code die je in Manager.licence hebt aangemaakt
(begint met
LIC1.).
- Laat de licentieserver staan, of vul je eigen server in.
- Klik op Opslaan. De app controleert de code online en bewaart
hem alleen bij goedkeuring in
.env.
- Met Opnieuw controleren ververs je de controle; zonder internet
blijft een eerder goedgekeurde code maximaal 30 dagen geldig.
Een licentie voor een ander programma (bijvoorbeeld Manager.econnect)
wordt geweigerd. De volledige code wordt nooit naar de browser of de diagnostiek
gestuurd.
4. Gebruik — factuur of creditnota exporteren naar UBL
Factuur exporteren
- Open de webinterface (http://127.0.0.1:4440).
- De tabel toont de facturen (standaard alleen openstaand).
- Klik op UBL naast de gewenste factuur.
- Het UBL XML-bestand wordt gedownload via je browser.
- Het XML-bestand wordt niet automatisch als bijlage toegevoegd; koppel het zelf aan de factuur of creditnota in Manager.io.
- Na de download volgt direct een Peppol BIS Billing 3.0 validatie (zie hoofdstuk 5).
XML handmatig koppelen: open de factuur of creditnota in Manager.io en voeg het
gedownloade XML-bestand zelf toe als bijlage. De app schrijft niets terug naar Manager.io.
Wel of geen Peppol-ID? Heeft de klant een Peppol-ID, dan is de
UBL-knop uitgeschakeld en toont de check-knop PEPPOL.
Verstuur die factuur via Manager.e-connect. Heeft de klant geen
Peppol-ID, dan blijft de UBL-knop beschikbaar en download je het UBL XML-bestand.
Koppel de XML zelf als bijlage aan de factuur of creditnota in Manager.io.
Bulk export
Klik op de knop Peppol Check in de bovenbalk om alle
zichtbare facturen én creditnota's in één keer te valideren. De knop
gebruikt de actieve zoekopdracht en statusfilters, dus je kunt eerst filteren en
daarna gericht checken. Dit genereert geen UBL-bestanden, maar controleert of de
klantgegevens geschikt zijn voor Peppol-facturatie. Documenten met een klant-Peppol-ID
worden als PEPPOL geteld; zonder Peppol-ID als OK of
Fout. De voortgang en resultaten verschijnen in het validatiepaneel.
Creditnota exporteren
Onder de facturentabel staat de tabel Creditnota's. Deze heeft dezelfde
kolommen als de facturentabel: Creditnota nr, Datum, Klant, Omschrijving, Bedrag,
Openstaand, Status, Verzonden en Acties. Boven de tabel staan een
zoekveld en een weergavefilter:
Alle creditnota's, Verzonden, Niet verzonden en
Openstaand. Klik op een kolomkop om te sorteren, net als bij facturen.
- Klik op UBL naast een creditnota om een UBL
CreditNote
(type 381) te downloaden; koppel de XML zelf als bijlage in Manager.io.
- De knop Check voert dezelfde BTW- en Peppol-validatie uit als bij
een factuur.
- Heeft de klant een Peppol-ID, dan is de UBL-knop uit en toont de knop
PEPPOL; verstuur de creditnota via Manager.e-connect.
Zonder Peppol-ID blijft de UBL-route beschikbaar.
- Openstaand toont
— en Status toont
Creditnota. De Manager API levert voor creditnota's geen
openstaand bedrag of betaalstatus.
Kolom Verzonden
De kolom Verzonden staat tussen Status en
Acties, zowel bij facturen als bij creditnota's. De waarde komt uit de
boolean custom fields Rekening Verzonden Email en/of
Rekening Verzonden E connect in Manager.io:
- Ja — minimaal één van beide velden staat aan.
- Nee — beide velden staan uit of zijn niet ingevuld.
— — het detail kon niet worden opgehaald.
Let op: deze kolom registreert alleen de checkbox(en) in Manager.io. De
extensie verstuurt zelf geen e-mail of Peppol-berichten. Zie
customfield.html voor het aanmaken van deze optionele velden.
5. Peppol BIS Billing 3.0 validatie
Na elke UBL-export wordt de XML automatisch gevalideerd tegen de
Peppol BIS Billing 3.0 specificatie via peppolvalidator.com.
Validatieresultaten
- PEPPOL — de klant heeft een Peppol-ID. Verstuur via
Manager.e-connect. De UBL-knop is uitgeschakeld; de lokale
UBL-controle blijft zichtbaar als voorbereidingscheck.
- Peppol Ready / OK — de factuur voldoet aan alle Peppol BIS regels
en de UBL-route is beschikbaar.
- Waarschuwingen — kleine afwijkingen of ontbrekende gegevens,
bijvoorbeeld
KLANT-ADRES, CREDIT-REF of
PEPPOL-FORMAT.
- Fouten — de factuur voldoet niet aan Peppol-regels.
Los deze op voordat je de UBL naar een Peppol-access point stuurt.
Veelvoorkomende datawaarschuwingen:
KLANT-ADRES — het klantadres ontbreekt; Peppol NL-R-004/BR-10 vraagt
straat, postcode en plaats.
CREDIT-REF — de originele factuurreferentie op een creditnota ontbreekt
(Peppol NL-R-001).
PEPPOL-FORMAT — het Peppol-ID heeft geen scheme:-prefix,
bijvoorbeeld 0190:0000009003214345001.
Land-specifieke regels
Naast de Peppol validator worden extra land-specifieke controles uitgevoerd:
- BTW-nummer formaat per land (28 landen: 27 EU-landen + Noorwegen)
- EndpointID schemeID per land
- Controle of BTW-nummer voldoet aan land-specifiek formaat
6. VIES BTW-controle
Bij elke export wordt het BTW-nummer van de klant gecontroleerd via de
EU VIES-database (VAT Information Exchange System).
Mogelijke uitkomsten
- Groen (geldig) — BTW-nummer is geregistreerd in de EU. De factuur is Peppol-ready.
- Rood (ongeldig) — het BTW-nummer voldoet niet aan het landformaat of
VIES meldt het als ongeldig. Een formaatfout blokkeert de Peppol-validatie
("Corrigeer in Manager.io"); een VIES-ongeldig nummer met geldig formaat geeft
alleen een waarschuwing.
- Geel (kon niet controleren) — VIES was tijdelijk niet bereikbaar.
Het formaat wordt nog wel gevalideerd.
BTW-nummer ingeven bij de klant: Het BTW-nummer wordt uitgelezen uit een
custom field in Manager.io. Zorg dat het veld 'BTW' of 'VAT' heet.
Het nummer moet beginnen met de landcode (bijv. NL004729373B92).
7. Filteren en zoeken
Bovenaan de facturentabel zitten verschillende filters:
- Bedrijf kiezen — schakel tussen bedrijven via het keuzemenu.
Alleen bedrijven met een API-sleutel staan erin;
plak een nieuwe sleutel via ⚙️ Instellingen.
- Zoeken — filter op factuurnummer of klantnaam (vrij tekstveld)
- Creditnota zoeken/filteren — apart zoekveld en weergavefilter
boven de creditnotatabel; filtert op nummer, klant, omschrijving en
verzendstatus. Klik op een kolomkop om te sorteren.
- Statusfilter — kies uit: Alle, Betaald, Openstaand,
Openstaand verzonden, Openstaand niet verzonden, Vervallen.
De twee extra opties filteren openstaande facturen op de kolom
Verzonden.
- Ververs — laad de facturen opnieuw
- Peppol Check — valideer alle zichtbare facturen én creditnota's
in één keer; gebruikt de actieve zoek- en statusfilters
- Zelftest — controleert in één keer de installatie, Manager.io API,
VIES en de Peppol-validator
- Taal — met de vlagknop 🇬🇧 / 🇳🇱 naast ⚙️ schakel je het
hoofdscherm tussen Nederlands en Engels (keuze wordt onthouden)
8. Meerdere bedrijven
Als je meerdere bedrijven in Manager.io hebt, kun je eenvoudig schakelen:
- Selecteer een bedrijf in het keuzemenu bovenaan de pagina.
- Als dit bedrijf nog geen API key heeft, wordt de configuratiepagina getoond.
- Vul de API key en bedrijfsgegevens in voor dit bedrijf.
- Elk bedrijf heeft zijn eigen configuratie in
.env (API-sleutel) en
business_config.json (bedrijfsgegevens).
Eerste keer: Bij het schakelen naar een nieuw bedrijf moet je
altijd de IBAN opnieuw invullen — deze wordt per bedrijf opgeslagen.
9. Automatisch starten (optioneel)
De app werkt zonder extensie of custom button in Manager.io. Optioneel kun je de
server automatisch laten starten bij inloggen op Windows.
Automatisch starten: Gebruik install-manager-ubl-autostart.bat om de server
automatisch te laten starten bij inloggen (via Windows Taakplanner).
Voer het batchbestand uit als Administrator.
10. Problemen oplossen
| Probleem | Oorzaak & oplossing |
Kan geen verbinding maken met http://127.0.0.1:4440 |
Server draait niet. Start opnieuw via start-manager-ubl.bat. |
Address already in use bij starten |
Poort 4440 is al bezet. Stop de andere server of wijzig de poort via
set UBL_PORT=4441 in de omgevingsvariabelen. |
| Configuratiepagina blijft zichtbaar na API key opslaan |
IBAN is niet ingevuld. Alle verplichte velden moeten gevuld zijn. |
Interne fout bij testen API key |
Kan Manager.io niet bereiken. Check of Manager.io draait en of het
API-adres klopt (standaard http://127.0.0.1:55667). |
| BTW-nummer wordt niet gevonden bij klant |
Het BTW-nummer moet in een custom field staan met de naam 'BTW' of 'VAT'
in Manager.io. Controleer of het veld correct is ingesteld. |
| Kolom Verzonden blijft Nee |
Maak in Manager.io een boolean custom field
Rekening Verzonden Email en/of Rekening Verzonden E connect
aan en vink dit per factuur/creditnota aan. Ververs daarna de pagina met
Ctrl+F5. Zie customfield.html. |
| Peppol validatie mislukt |
peppolvalidator.com is mogelijk tijdelijk niet bereikbaar.
Probeer de export later opnieuw. De UBL XML wordt nog wel gedownload. |
| Creditnota geeft Peppol-fout NL-R-001 |
De originele factuurreferentie ontbreekt. Zet het factuurnummer in de
omschrijving of een gekoppeld veld, of koppel de originele factuur in
Manager.io. Zonder referentie kan de UBL geen BillingReference
bevatten. |
| VIES-controle geeft fout |
De VIES-service van de EU is soms traag of offline. Het BTW-formaat
wordt nog wel gecontroleerd, de VIES-check is een extra verificatie. |
| Bedrijf niet gevonden in de lijst |
De server probeert automatisch de echte Windows Documents-map,
Documents, Documenten, OneDrive-varianten,
LOCALAPPDATA\Manager\Businesses en
APPDATA\Manager\Businesses. Controleer in de zelftest
welke paden zijn geprobeerd. Gebruik anders in .env:
UBL_BUSINESSES_DIR=C:\Users\<naam>\AppData\Local\Manager\Businesses
(of het juiste pad). Zet een # vóór de voorbeeldregel om hem te activeren. |
| Knoppen doen niets |
Vernieuw de pagina met Ctrl+F5 (geen cache). |
Diagnostiek bij problemen
Klik in het dashboard op Diagnostiek. Je downloadt dan één
tekstbestand met technische gebeurtenissen van de laatste 7 dagen. Dit bestand is
bedoeld om op verzoek naar support te sturen.
- De technische log staat lokaal in de map
diagnostics\ en wordt
automatisch opgeruimd: maximaal 7 dagen en 10 MB aan daglogbestanden
(boot-fallback max. 1 MB).
- Er worden geen factuur-, klant-, adres-, bedrag-, Peppol- of
documentgegevens opgeslagen. Ook API-keys, tokens en wachtwoorden komen er
nooit in.
- Stuur het bestand alleen naar support als daarom gevraagd wordt.
- Lukt de knop niet? Start de server en gebruik
maak-diagnostiek.bat (Windows) of
./maak-diagnostiek.sh (Linux/Mac).
11. Overzicht bestanden
| Bestand / Map | Omschrijving |
| server_manager_ubl.py | Het hoofdprogramma (Python). Server, UBL-generatie, Peppol-validatie, VIES-check. |
| licence_addon.py | Licentiecontrole voor Manager.ubl (online + 30 dagen offline cache). |
| start-manager-ubl.bat | Startscript voor Windows (dubbelklik). Werkt vanuit de eigen map. |
| install-manager-ubl-autostart.bat | Autostart in Windows Taakplanner instellen. |
| customfield.html | Welke Custom Fields je in Manager.io aanmaakt (NL/EN), inclusief het optionele veld voor Verzonden. |
| maak-snelkoppeling-in-map.bat / .sh | Maakt snelkoppelingen ín de map (met pictogram); zelf naar het Bureaublad kopiëren. |
| LEESMIJ-snelkoppeling.txt | Stappen voor Bureaublad-snelkoppeling (Windows + Linux). |
| ubl.ico / ubl-256.png | Pictogram voor de snelkoppeling (Windows / Linux). |
| LEESMIJ.html | Korte startpagina (Nederlands + Engels). |
| handleiding.html | Deze handleiding. |
| installatie.html | Basisinstallatie van Python en benodigde programma's (NL/EN), gedeeld met de andere Manager-add-ons. |
| beschrijving.html | Wat het programma doet, de benodigde velden en hoe Peppol werkt. |
| stop-manager-ubl.bat / .sh | Server stoppen (Windows / Linux). |
| diagnostics.py / diagnostics_export.py | Lokale, veilige diagnostieklog en export zonder server. |
| maak-diagnostiek.bat / .sh | Maakt één diagnostiekbestand zonder de dashboard-server te gebruiken. |
| diagnostics/ | Technische logbestanden van de laatste 7 dagen (max. 10 MB). Wordt automatisch aangemaakt en opgeruimd; nooit meeleveren in een schone zip. |
| .env | Omgevingsvariabelen + API-sleutels per bedrijf (1 regel per bedrijf) — wordt aangemaakt bij opslaan. Een oude api_keys.json wordt eenmalig automatisch verhuisd naar .env (backup als .bak). |
| .env.example | Voorbeeldconfiguratie met alle optionele regels, inclusief UBL_BUSINESSES_DIR en licentie-instellingen. Kopieer naar .env en vul je eigen waarden in. |
| business_config.json | Bedrijfsconfiguratie per bedrijf — wordt aangemaakt bij opslaan. |
12. Veiligheid
Belangrijk: Dit programma kan geen gegevens verwijderen
of wijzigen in Manager.io. Het leest alleen via de API.
Er worden geen DELETE-, UPDATE- of CREATE-operaties uitgevoerd.
Beperkingen
- Alleen lokaal: De server luistert alleen op
127.0.0.1 — niet bereikbaar vanaf andere computers.
- Geen HTTPS: Alleen gebruiken op dezelfde computer
waar Manager.io op draait.
- API keys: Worden opgeslagen in tekstbestanden
(
.env, api_keys.json).
Bescherm deze bestanden tegen inzage door derden.
- Input validatie: Alle invoer van de browser wordt gevalideerd
(XSS, API key lengte, exception sanitization).
Wat het programma WEL doet
- Facturen en creditnota's uitlezen uit Manager.io (alleen-lezen)
- UBL XML bestanden genereren en downloaden via de browser
- De UBL XML downloaden; de koppeling als bijlage doe je zelf in Manager.io
- Peppol BIS Billing 3.0 validatie via peppolvalidator.com
- BTW-nummer controle via EU VIES
- Land-specifieke formaatcontroles op BTW-nummers
Wat het programma NIET doet
- Geen facturen verwijderen of aanpassen in Manager.io
- Geen automatische Peppol-verzending (geen Storecove/Banqup API)
- Geen bestanden buiten de eigen map wijzigen
- Geen commando's uitvoeren op de computer
- Geen gegevens naar derden sturen (behalve peppolvalidator.com en VIES voor validatie)
Vragen of problemen? Raadpleeg de cmd-output voor foutmeldingen.
Deze toont alle acties en eventuele fouten in real-time.
Invoice export to UBL / Peppol check
Version 1.0 — 20 November 2026
Manual for installation, configuration and use
Contents
0. First: create Custom Field manually (required)
This comes first — before installing and configuring. Without the VAT field
in Manager.io the app cannot put country and buyer VAT in the UBL export.
Important principle: our programs never change anything in Manager.io
automatically (read-only). That is why you create this field
yourself, by hand — so you stay in control of your accounts.
- Open customfield.html in your browser.
- Choose Dutch (BTW) or English (VAT) — stick to one language.
- Create the field under Customers.
- Only then continue with the installation below (§1).
Optionally, also create one or two boolean custom fields for the
Sent column: Rekening Verzonden Email and/or
Rekening Verzonden E connect. The app supports both; if either is
checked, the column shows Yes. See customfield.html
for the exact settings.
1. Installation
Requirements
- Python 3.9 or higher — download from python.org.
On Windows tick "Add Python to PATH" during installation.
- Manager.io with API access (default at
http://127.0.0.1:55667).
Create an API key in Manager.io via Settings → General → API.
- Browser — Chrome, Edge or Firefox to open the web interface.
Copying the files
Copy the folder to the target computer. These are the main files:
| File | Purpose |
| server_manager_ubl.py | Main program (Python) — server + UBL + Peppol validation |
| start-manager-ubl.bat | Start the server on Windows (double-click) |
| start-manager-ubl.sh / stop-manager-ubl.sh | Start and stop on Linux/Mac. |
| install-manager-ubl-autostart.bat | Set up autostart in Windows Task Scheduler |
| handleiding.html | This manual |
Tip: The files .env and
business_config.json are in .gitignore — they are
created automatically once you save an API key. All keys live in
.env (read-only); never share this file.
2. Starting & stopping the server
Starting
Windows: Double-click start-manager-ubl.bat.
Mac / Linux: Open a terminal in the folder and start with:
./start-manager-ubl.sh
There is one start and one stop script per platform:
start-manager-ubl.bat + stop-manager-ubl.bat (Windows) and
start-manager-ubl.sh + stop-manager-ubl.sh (Linux/Mac).
If all is well you see this message in the cmd/terminal:
Server started at http://127.0.0.1:4440
Desktop shortcut: run maak-snelkoppeling-in-map.bat (Windows, folder C:\Manager\Manager.ubl) or bash maak-snelkoppeling-in-map.sh (Linux, folder ~/Manager/Manager.ubl) once in this folder. Shortcuts are created inside the folder — copy them to the Desktop yourself. Linux: per file right-click → "Allow and launch". Details: LEESMIJ-snelkoppeling.txt.
Stopping
Windows: double-click stop-manager-ubl.bat.
Linux/Mac: run ./stop-manager-ubl.sh or press Ctrl+C
in the terminal window.
Restarting: after stopping you can immediately double-click
start-manager-ubl.bat (or run ./start-manager-ubl.sh). Your
settings and API key are preserved; this stop/start cycle has been tested and works.
3. Configuration — API key + business details
At the first start the configuration page opens. Go through these steps:
Step 1: Enter the API key
- Open http://127.0.0.1:4440.
- Fill in the Manager.io API key in the API key field.
- Click Test and save.
- On success you see a green message and move to the next step.
Finding the API key in Manager.io: Go to Settings → General → API
in Manager.io. Create a key there if none exists yet. Copy the full key.
Step 2: Check the business details
- The server automatically reads the business details from the Manager.io database
(name, address, CoC, VAT number).
- Check that all fields are filled in correctly.
- Fields from the database have a green DB marker.
- Missing fields have an orange marker — fill these in manually.
- IBAN and country must always be filled in manually
(these cannot be read from the Manager.io database).
- Click Save to store the details.
Note: The IBAN is required. Without an IBAN the configuration page stays visible
until it is filled in.
Step 3: Activate the licence (Manager.ubl)
The app uses the same licence mechanism as the other Manager add-ons. Without a
valid licence the dashboard remains available for viewing, but UBL export,
Peppol Check and bulk validation are blocked. The status bar then shows
NO LICENCE.
- Open ⚙️ Settings and go to Licence.
- Paste the code created in Manager.licence (starts with
LIC1.).
- Leave the licence server as it is, or enter your own server.
- Click Save. The app verifies the code online and stores it in
.env only after approval.
- Recheck online refreshes the check; without internet a previously
approved code remains valid for up to 30 days.
A licence for another program (for example Manager.econnect) is
rejected. The full code is never sent to the browser or the diagnostics log.
4. Use — exporting an invoice or credit note to UBL
Exporting an invoice
- Open the web interface (http://127.0.0.1:4440).
- The table shows the invoices (by default only outstanding).
- Click UBL next to the invoice you want.
- The UBL XML file is downloaded through your browser.
- The XML file is not attached automatically; attach it yourself to the invoice or credit note in Manager.io.
- Right after the download a Peppol BIS Billing 3.0 validation follows (see chapter 5).
Attach the XML manually: open the invoice or credit note in Manager.io and add the
downloaded XML file as an attachment yourself. The app does not write back to Manager.io.
Peppol ID or not? If the customer has a Peppol ID, the
UBL button is disabled and the check button shows PEPPOL.
Send that invoice through Manager.e-connect. If the customer has no
Peppol ID, the UBL button stays available and you download the UBL XML file.
Attach the XML yourself to the invoice or credit note in Manager.io.
Bulk export
Click the Peppol Check button in the top bar to validate all
visible invoices and credit notes at once. The button uses the active
search and status filters, so you can filter first and then run a targeted check.
This generates no UBL files, but checks whether the customer details are suitable
for Peppol invoicing. Documents with a customer Peppol ID are counted as
PEPPOL; without one as OK or Error.
Progress and results appear in the validation panel.
Exporting a credit note
Below the invoice table is the Credit notes table. It has the same
columns as the invoice table: Credit note no, Date, Customer, Description, Amount,
Outstanding, Status, Sent and Actions. Above the table are a
search field and a view filter:
All credit notes, Sent, Not sent and Outstanding.
Click a column header to sort, just like invoices.
- Click UBL next to a credit note to download a UBL
CreditNote
(type 381); attach the XML yourself to the credit note in Manager.io.
- The Check button runs the same VAT and Peppol validation as for an invoice.
- If the customer has a Peppol ID, the UBL button is disabled and the button shows
PEPPOL; send the credit note through Manager.e-connect.
Without a Peppol ID the UBL route remains available.
- Outstanding shows
— and Status shows
the Creditnota badge. The Manager API does not provide an outstanding
amount or payment status for credit notes.
Sent column
The Sent column sits between Status and
Actions, for both invoices and credit notes. Its value comes from the
boolean custom fields Rekening Verzonden Email and/or
Rekening Verzonden E connect in Manager.io:
- Yes — at least one of the two fields is checked.
- No — both fields are unchecked or empty.
— — the detail could not be loaded.
Note: this column only reflects the checkbox(es) in Manager.io. The
app does not send e-mail or Peppol messages itself. See
customfield.html for creating these optional fields.
5. Peppol BIS Billing 3.0 validation
After every UBL export the XML is automatically validated against the
Peppol BIS Billing 3.0 specification via peppolvalidator.com.
Validation results
- PEPPOL — the customer has a Peppol ID. Send through
Manager.e-connect. The UBL button is disabled; the local UBL
check remains visible as a preparation check.
- Peppol Ready / OK — the invoice meets all Peppol BIS rules and
the UBL route is available.
- Warnings — small deviations or missing data, for example
KLANT-ADRES, CREDIT-REF or PEPPOL-FORMAT.
- Errors — the invoice does not meet Peppol rules.
Fix these before sending the UBL to a Peppol access point.
Common data warnings:
KLANT-ADRES — the customer address is missing; Peppol NL-R-004/BR-10
requires street, postcode and city.
CREDIT-REF — the original invoice reference on a credit note is missing
(Peppol NL-R-001).
PEPPOL-FORMAT — the Peppol ID has no scheme: prefix,
for example 0190:0000009003214345001.
Country-specific rules
Next to the Peppol validator, extra country-specific checks are run:
- VAT number format per country (28 countries: 27 EU countries + Norway)
- EndpointID schemeID per country
- Check that the VAT number meets the country-specific format
6. VIES VAT check
With every export the customer's VAT number is checked through the
EU VIES database (VAT Information Exchange System).
Possible outcomes
- Green (valid) — VAT number is registered in the EU. The invoice is Peppol-ready.
- Red (invalid) — the VAT number does not match the country format or
VIES reports it as invalid. A format error blocks Peppol validation
("Correct in Manager.io"); a VIES-invalid number with a valid format only
produces a warning.
- Yellow (could not check) — VIES was temporarily unreachable.
The format is still validated.
Entering the VAT number at the customer: The VAT number is read from a
custom field in Manager.io. Make sure the field is called 'BTW' or 'VAT'.
The number must start with the country code (e.g. NL004729373B92).
7. Filtering and searching
At the top of the invoice table there are several filters:
- Choose business — switch between businesses via the menu.
Only businesses with an API key are listed;
paste a new key via ⚙️ Settings.
- Search — filter by invoice number or customer name (free text field)
- Credit note search/filter — separate search field and view filter
above the credit note table; filters on number, customer, description and sent
status. Click a column header to sort.
- Status filter — choose from: All, Paid, Outstanding,
Outstanding sent, Outstanding not sent, Overdue.
The two extra options filter outstanding invoices by the
Sent column.
- Refresh — reload the invoices
- Peppol Check — validate all visible invoices and credit notes at once;
uses the active search and status filters
- Self-test — checks the installation, Manager.io API, VIES and
Peppol validator in one go
- Language — with the flag button 🇬🇧 / 🇳🇱 next to ⚙️ you switch the
main screen between Dutch and English (choice is remembered)
8. Multiple businesses
If you have multiple businesses in Manager.io, switching is easy:
- Select a business in the menu at the top of the page.
- If this business has no API key yet, the configuration page is shown.
- Fill in the API key and business details for this business.
- Each business has its own configuration in
.env (API key) and
business_config.json (business details).
First time: When switching to a new business you must
always fill in the IBAN again — it is stored per business.
9. Start automatically (optional)
The app works without an extension or custom button in Manager.io. Optionally you can
have the server start automatically when you log in to Windows.
Start automatically: Use install-manager-ubl-autostart.bat to have the server
start automatically at login (via Windows Task Scheduler).
Run the batch file as Administrator.
10. Troubleshooting
| Problem | Cause & solution |
Cannot connect to http://127.0.0.1:4440 |
Server is not running. Restart via start-manager-ubl.bat. |
Address already in use on starting |
Port 4440 is already taken. Stop the other server or change the port via
set UBL_PORT=4441 in the environment variables. |
| Configuration page stays visible after saving API key |
IBAN is not filled in. All required fields must be filled. |
Internal error when testing API key |
Cannot reach Manager.io. Check that Manager.io runs and that the
API address is correct (default http://127.0.0.1:55667). |
| VAT number not found at customer |
The VAT number must be in a custom field named 'BTW' or 'VAT'
in Manager.io. Check that the field is set up correctly. |
| Sent column stays No |
Create a boolean custom field
Rekening Verzonden Email and/or Rekening Verzonden E connect
in Manager.io and tick it on the invoice/credit note. Then refresh the page with
Ctrl+F5. See customfield.html. |
| Peppol validation fails |
peppolvalidator.com may be temporarily unreachable.
Try the export again later. The UBL XML is still downloaded. |
| Credit note reports Peppol error NL-R-001 |
The original invoice reference is missing. Put the invoice number in the
description or a linked field, or link the original invoice in Manager.io.
Without a reference the UBL cannot contain a BillingReference. |
| VIES check gives an error |
The EU VIES service is sometimes slow or offline. The VAT format
is still checked; the VIES check is an extra verification. |
| Business not found in the list |
The server automatically tries the real Windows Documents folder,
Documents, Documenten, OneDrive variants,
LOCALAPPDATA\Manager\Businesses and
APPDATA\Manager\Businesses. Check the self-test for the
paths that were tried. Otherwise set in .env:
UBL_BUSINESSES_DIR=C:\Users\<name>\AppData\Local\Manager\Businesses
(or the correct path). Remove the # from the example line to activate it. |
| Buttons do nothing |
Refresh the page with Ctrl+F5 (no cache). |
Diagnostics when there is a problem
Click Diagnostics in the dashboard. You download one text
file with technical events from the last 7 days. This file is intended to be
sent to support only on request.
- The technical log is stored locally in
diagnostics\ and is
cleaned up automatically: at most 7 days and 10 MB of daily logs
(boot fallback max. 1 MB).
- No invoice, customer, address, amount, Peppol or document
data is stored. API keys, tokens and passwords are never included.
- Send the file to support only when asked.
- If the button does not work, start the server and use
maak-diagnostiek.bat (Windows) or
./maak-diagnostiek.sh (Linux/Mac).
11. File overview
| File / Folder | Description |
| server_manager_ubl.py | The main program (Python). Server, UBL generation, Peppol validation, VIES check. |
| licence_addon.py | Licence check for Manager.ubl (online + 30-day offline cache). |
| start-manager-ubl.bat | Start script for Windows (double-click). Works from its own folder. |
| install-manager-ubl-autostart.bat | Set up autostart in Windows Task Scheduler. |
| customfield.html | Which Custom Field to create in Manager.io (NL/EN), including the optional Sent field. |
| maak-snelkoppeling-in-map.bat / .sh | Creates shortcuts inside the folder (with icon); copy to the Desktop yourself. |
| LEESMIJ-snelkoppeling.txt | Steps for a Desktop shortcut (Windows + Linux). |
| ubl.ico / ubl-256.png | Icon for the shortcut (Windows / Linux). |
| LEESMIJ.html | Short start page (Dutch + English). |
| handleiding.html | This manual. |
| installatie.html | Basic installation of Python and required software (NL/EN), shared with the other Manager add-ons. |
| beschrijving.html | What the program does, required fields and how Peppol works. |
| stop-manager-ubl.bat / .sh | Stop the server (Windows / Linux). |
| diagnostics.py / diagnostics_export.py | Local, safe diagnostics log and export without the server. |
| maak-diagnostiek.bat / .sh | Creates one diagnostics file without using the dashboard server. |
| diagnostics/ | Technical log files from the last 7 days (max. 10 MB). Created and cleaned up automatically; never include it in a clean zip. |
| .env | Environment variables + API keys per business (1 line per business) — created on saving. An old api_keys.json is moved once automatically to .env (backup as .bak). |
| .env.example | Example configuration with all optional lines, including UBL_BUSINESSES_DIR and licence settings. Copy to .env and fill in your own values. |
| business_config.json | Business configuration per business — created on saving. |
12. Security
Important: This program cannot delete
or change data in Manager.io. It only reads via the API.
No DELETE, UPDATE or CREATE operations are performed.
Limitations
- Local only: The server only listens on
127.0.0.1 — not reachable from other computers.
- No HTTPS: Only use on the same computer
where Manager.io runs.
- API keys: Are stored in text files
(
.env, api_keys.json).
Protect these files against inspection by third parties.
- Input validation: All browser input is validated
(XSS, API key length, exception sanitization).
What the program DOES do
- Read invoices and credit notes from Manager.io (read-only)
- Generate and download UBL XML files through the browser
- Download the UBL XML; you attach it to the invoice or credit note yourself in Manager.io
- Peppol BIS Billing 3.0 validation via peppolvalidator.com
- VAT number check via EU VIES
- Country-specific format checks on VAT numbers
What the program does NOT do
- Delete or change invoices in Manager.io
- Automatic Peppol sending (no Storecove/Banqup API)
- Change files outside its own folder
- Run commands on the computer
- Send data to third parties (except peppolvalidator.com and VIES for validation)
Questions or problems? Check the cmd output for error messages.
It shows all actions and any errors in real time.