Bug 501445 - Please add, if possible, the possibility to read electronic invoice (Factur-X/ZUGFeRD PDF)
Summary: Please add, if possible, the possibility to read electronic invoice (Factur-...
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: New backend wishes (show other bugs)
Version: unspecified
Platform: Debian unstable Linux
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-13 10:54 UTC by Hendrik Lehmbruch
Modified: 2025-04-01 08:21 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hendrik Lehmbruch 2025-03-13 10:54:09 UTC
First, thank you all for that great piece of software .
Is it possible to add the possibility to read electronic invoices, Factur-X/ZUGFeRD PDF?

As example, like the "Quba-viewer".

A good point to start, 
https://zugferd.org/e-invoicing/1.0.0/index.en.html
https://github.com/ZUGFeRD
https://github.com/ZUGFeRD/quba-viewer

I know it would be a lot of work and time-consuming, but it would be great to have a native kde tool for to read the e-invoices, which is a must in Germany or Europe!

Thank you in advance,
Hendrik Lehmbruch
Comment 1 Sune Vuorela 2025-03-13 11:35:26 UTC
It is likely that this feature is in the 'red square' that Nate describes in https://pointieststick.com/2023/07/16/where-bugfixes-and-new-features-come-from/
Comment 2 Hendrik Lehmbruch 2025-03-13 13:17:49 UTC
Gotcha, some day I will find the end of the rainbow, then I will organize it.
Or maybe some other, then it will be done.
Comment 3 Nicolas Fella 2025-03-13 14:04:26 UTC
I don't entirely understand how the different names/standards for electronic invoices relate, but I know there's also https://codeberg.org/openKMU/xrechnung

It might be possible/interesting to adapt that for using in Okular
Comment 4 Albert Astals Cid 2025-03-26 22:59:17 UTC
ZUGFeRD/Factur-X are ordinary PDF files

What do we need to add support for?
Comment 5 Sune Vuorela 2025-03-27 08:33:56 UTC
(In reply to Albert Astals Cid from comment #4)
> ZUGFeRD/Factur-X are ordinary PDF files
> 
> What do we need to add support for?

presenting the attached xml files in a readable form is at least what I would expect.

I'm looking forward to seeing 'invoices' with the decimal seperator moved one point in the xml file compared to the visual representation in the pdf or otherwise slight difference between the machine readable xml and the pdf rendering
Comment 6 Hendrik Lehmbruch 2025-03-27 16:06:23 UTC
Well, I can provide some test files.
A ZUGFeRD Pdf and xml, and a xrechnung xml.

https://github.com/hhl/depot/tree/master/Example-X-Rechnung
Comment 7 Albert Astals Cid 2025-03-31 22:19:49 UTC
> presenting the attached xml files in a readable form is at least what I would expect.

But the PDF file already has what the XML file has, so why would we render it again?

I really don't see what we want to do there.
Comment 8 Hendrik Lehmbruch 2025-04-01 08:21:05 UTC
The PDF is not the problem!
But if someone gets a xrechnung.xml/faktur-x-xml without a PDF, you have a little difficulty reading it with native Linux-tools.
Since 1. January 2025 you have to be able to read it and with 1. January 2027 it is a must to read and write such invoices.
I don't speak about writing a xrechnung/factur-x invoices, only reading them.
It would be a big help for people/little firms who only use a Linux-based system to have a tool to read those XML files.
Okay, there is an APP-Image of the Quba viewer, but it is slow and not native. 

Take a look with the Quba-viewer to a ZUGFeRD PDF or at a factur-x.xml file, only to see what I am talking about.
And for the record, it will be a must in Europe, not only Germany!

So why not add the possibility to read those XML files?

And no, I don't need it personalty, I only help someone with a little seminar location to manage that problem with that xrechnung invoices and stumbled over it, no I don't take money for it.
And was asking myself why not ask for the possibility to read such files under a Linux-based system, in this case plasma/kde.