Try the Paniolo viewer.
Open an electronic invoice and see what is inside: parties, lines, VAT, payment, attachments, the validation result and the XML. The viewer reads the file in your browser; nothing is uploaded.
The invoice and its validation report as PDF
The Factur-X PDF is laid out by Paniolo (here with the logo on the right and without the sender address in the letterhead) and carries the XML the viewer reads above. Paniolo also renders the validation result, of the PDF and of the UBL XML, as a PDF/A document for archives and departments.
The image is a preview; click it to open the PDF, or open the invoice or the validation report directly.
Download the samples: Factur-X PDF · validation report PDF · UBL validation report PDF · UBL XML. The same viewer is available as the Maven artifact paniolo-visualizer and as a web component without dependencies ↗; the paniolo visualize command writes a standalone HTML page from any invoice.
Embed it in your application
<script type="module" src="/paniolo-visualizer/paniolo-visualizer.js"></script>
<paniolo-viewer lang="en"></paniolo-viewer>
<script type="module">
const response = await fetch('/api/invoices/4711'); // XML or PDF
document.querySelector('paniolo-viewer').load(await response.arrayBuffer());
</script>
The viewer shows validation results, but it does not run the invoice validation itself; create the report with Paniolo on the server or with paniolo validate -f xml.