diff --git a/src/pages/profiler.astro b/src/pages/profiler.astro
index bf8f67c..f620fdd 100644
--- a/src/pages/profiler.astro
+++ b/src/pages/profiler.astro
@@ -164,6 +164,8 @@ const kilde = (p: (typeof profiles)[number]) => {
setTimeout(function () { btn.textContent = orig; }, 1200);
}).catch(function () {});
});
+ var qp = new URLSearchParams(location.search).get('q');
+ if (qp) { search.value = qp; q = qp.trim().toLowerCase(); }
apply();
})();
diff --git a/src/pages/search-index.json.js b/src/pages/search-index.json.js
index e2b95f5..92f335d 100644
--- a/src/pages/search-index.json.js
+++ b/src/pages/search-index.json.js
@@ -11,6 +11,7 @@ export async function GET() {
{ type: 'page', title: 'Tags', url: '/tags' },
{ type: 'page', title: 'NemHandel-opslag', url: '/nemhandel' },
{ type: 'page', title: 'Profil-opslag (Nemhandel & Peppol)', url: '/profiler' },
+ { type: 'page', title: 'UBL-tjek & identifikator-afkoder', url: '/ubl' },
{ type: 'page', title: 'Spørg mit CV (AI-chat)', url: '/chat' },
{ type: 'page', title: 'Status (homelab)', url: '/status' },
{ type: 'page', title: 'Now', url: '/now' },
diff --git a/src/pages/ubl.astro b/src/pages/ubl.astro
new file mode 100644
index 0000000..5c2a26c
--- /dev/null
+++ b/src/pages/ubl.astro
@@ -0,0 +1,194 @@
+---
+import Base from '../layouts/Base.astro';
+import { profiles } from '../data/profiles';
+
+// Minimal data til klient-matchning (id + customization + navn + standard + dokumenter).
+const idx = profiles.map((p) => ({
+ standard: p.standard,
+ navn: p.navn,
+ id: p.id,
+ customization: p.customization,
+ dokumenter: p.dokumenter,
+}));
+---
+
+ Træk en UBL/OIOUBL-faktura (eller andet UBL-dokument) ind — eller indsæt en + CustomizationID/ProfileID — så afkoder den profilen, syntaksen og + EN 16931-status og kobler til profil-opslaget. + Alt sker lokalt i din browser; intet sendes nogen steder. +
+ +Træk en .xml-fil hertil, eller
+ .
+
+ Heuristik mod kendte profiler (samme datagrundlag som /profiler) + + EN 16931-/Peppol-/OIOUBL-mønstre. Privat: ingen upload, ingen sporing af indholdet. +
+ + + +