zugferd / quba-viewer Goto Github PK
View Code? Open in Web Editor NEWQuba is a viewer for electronic invoices
License: Apache License 2.0
Quba is a viewer for electronic invoices
License: Apache License 2.0
We build the Mac version on a M1, i.e. on a ARM platform. Apparently this does not give us universal binaries so the >70% of intel users cant start Quba? (What error message do they get?)
Is somebody affected and can someone assist, e.g. by helping us build on a intel mac or pointing to a good build service (which works, https://github.com/electron-userland/electron-build-service seems to be down) ?
PS: I attributed previous issues on the mac (#14, #19) mainly to the old version of electron we used, which should be fixed now. If I was wrong and it was in fact this issues pls let me know.
Some people, like Eileen and Jonas (Linkedin) have requested a mac version
Instead of codes for attributes like for unit ("H87" for "piece") the actual attribute values ("piece") should be displayed.
The codelists are https://ec.europa.eu/cefdigital/wiki/display/CEFDIGITAL/Registry+of+supporting+artefacts+to+implement+EN16931
Maybe this can help
https://github.com/jcthiele/xrechnung-visualization-codelist-resolve
Naser reported: Basisquantity is 10 in the attached invoice but that's never shown to the user
Testrechnung.txt
There are several standards (e.g. WAI WCAG) and several tools to check compliance (e.g. the lighthouse plugin for Chrome or https://wave.webaim.org/. To simulate one might turn to text mode browsers like w3m (available for windows e.g. in the https://www.cygwin.com/ context), open-source (https://nvda.bhvd.de/) or other free (e.g. Windows Narrator, in german windows just search for "Sprachausgabe") screenreaders.
The blind person I asked was a "digital native" but nevertheless never got along very well with NVDA, mentioned that recognized vision impaired people in Germany would most likely get subsidiaries to a commercial screenreader (like the 1000$ software called JAWS, which he recommended) and otherwise recommended Windows Narrator.
We're using a open-source project (https://github.com/itplr-kosit/xrechnung-visualization) to generate the HTML for the display of our electronic invoices. The generated HTML is "100%" WCAG and electron forwards the accessibility for screenreaders already available in Chrome but it turns out there nevertheless is still an issue:
All "sections" are described but for screenreaders, the whole document looks like only one section. Which means that NVDA reads everything which takes very long, and Narrator basically reads nothing, unless prompted very hard.
Visually one immediately recognizes multiple sections, Recipient information ("Informationen zum Käufer") seller information ("Informationen zum Verkäufer") and data ("Rechnungsdaten") in the screenshot
The patch seems to be trivial, most likely it would suffice to add a tabindex="0" attribute to all visual sections, which also makes it much easier to navigate using keyboard (i.e. cursor keys and tab). We just need somebody to implement that on the Kosit XSLTs, and PR us and them. We would very much like to help but we won't do it on our own initiative.
I am using the Mac version 1.0.0.
If I am opening an new xRechnung document in quba viewer, the app still shows the old data / invoice.
The only way to prevent this from happing is closing the app and restarting it for every new document.
Large PDF attachments cause an error so that invoices can't be opened in the viewer.
after valdidation the report could be shown
In FX extended one line may have multiple charges like in the example "warenrechnung". Loading one of these files result in an error.
Typecodes
default: invoice(=id380)
381 Gutschrift/Credit note
384 Stornorechnung/Corrected invoice
389 kaufmännische Gutschrift/Credit note
220 Bestellung/Order
231 Auftragsbestätigung/Order response
"print" and "validate" should be inactive if e.g. no document is opened at all
unknown why there is a src/transaltion/de.json and a app/locales/de/translation.json
Is there any linux-release?
I've been trying to follow manual electron-build instructions (npm install & npm run start) trying to get it working.
This is the stack-trace appearing after trying to open a PDF-File from file-dialog. No matter if using npm or yarn for package-management and also it doesn't make any difference trying to prepend "--unhandled-rejections=strict" after yarn or npm command.
Require stack:
- /opt/quba-viewer/main.js
- /opt/quba-viewer/node_modules/electron/dist/resources/default_app.asar/main.js
-
at Module._resolveFilename (internal/modules/cjs/loader.js:972:15)
at Function.n._resolveFilename (electron/js2c/browser_init.js:249:921)
at Module._load (internal/modules/cjs/loader.js:848:27)
at Function.f._load (electron/js2c/asar_bundle.js:5:12633)
at Module.require (internal/modules/cjs/loader.js:1032:19)
at require (internal/modules/cjs/helpers.js:72:18)
at /opt/quba-viewer/main.js:233:38
(node:8951) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:8951) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
When a file is loaded, then changed externally, and loaded again, the old, already displayed version will show twice
I have set up Quba as a stadard application for XML to make it easier to work with X-invoices. If you open the first file with Quba everything works fine. If you then open the second file and Quba is still open with the first, then the second file does not open. It seems that Windows tries to open Quba a second time, but closes it immediately. This is also the case when Quba is open without an open file. Once Quba is already started, no other file can be opened directly.
Is it possible to define Quba so that it can be started multiple times, or within Quba also a second tab is opened when a file is opened directly from Windows.
Hi there,
we tried to open the dmg file we downloaded from the homepage on 3 different macOs ventura notebooks. In german it says the file is "damaged".
Are we the only ones?
Hi,
Would it be possible to have items displayed as a simple list/table ?
Thanks,
Regards,
Michael
transform to intermediate format works but in the second step zahlungsdaten should be completely removed and it should not say käufer verkäufer rechnungsdaten gesamtbeträge der rechnung, Aufschlüsselung der Umsatzsteuer auf Ebene der Rechnung but
Empfänger Absender Bestelldaten, Gesamtbeträge der Bestellung, Aufschlüsselung.... der Bestellung
Karam reported that the display XML shows a black area like this
when he tries to visualize an official zf 2.0 sample.
zugferd_2p0_EXTENDED_Warenrechnung.pdf
Maybe this is due to the fact that the filename is zugferd-invoice.xml not factur-x.xml?
currently thats ignored
quba_viewer-1.2.0.AppImage doesn't run on Ubuntu 22.04LTS, quits with the first line (xxx not found)
also can't install from github-repo, too many dependencies can't be resolved
I give up.
it would be nice if the user could search in the invoice or at least on the page e.g. using CTRL+F
if no doc is open and only the "startpage" with the link to the examples displayed dropping a file onto the quba window wont open it
currently only the selected language is saved in config. We could use safeStorage for that (menuconfig l.221) and then also store the last username, password, client id and client secret (encrypted) so the user does not have to enter every time. When the app is started and there's a login config the user could even automatically be logged in.
When a invoice file is dropped on the quba window, it should load it
If a XRechnung has embedded files, like this one quba will show a open-link and the attachment but then the close icon is missing in the popup->there is no possibility to close the attachment view
Could you add the possibility to open a file from command line (or File > Open...) ?
Quba myfile.xml
Thanks. Regards. Michael
"File format not recognized" for UBL-CreditNote.
I was not able to open:
Would a Mastodon account for the project be possible?
EN16931_Elektron.pdf
shows #ef= before filename and empty window when clicked on Öffnen
The app shows a dialog with
“Quba.app” is damaged and can’t be opened. You should move it to the Bin.
Software:
System Software Overview:
System Version: macOS 13.3.1 (22E261)
Kernel Version: Darwin 22.4.0
Boot Volume: Macintosh HD
Boot Mode: Normal
Computer Name: Tobias-MBP-14
User Name: Tobias Anhalt (tobiasanhalt)
Secure Virtual Memory: Enabled
System Integrity Protection: Disabled
Time since boot: 4 minutes, 37 seconds
Hardware:
Hardware Overview:
Model Name: MacBook Pro
Model Identifier: Mac14,9
Model Number: MPHH3ZE/A
Chip: Apple M2 Pro
Total Number of Cores: 10 (6 performance and 4 efficiency)
Memory: 16 GB
System Firmware Version: 8422.100.650
OS Loader Version: 8422.100.650
Serial Number (system): FWYPNYKVDP
Hardware UUID: 580133E3-C9DB-52C0-B311-876C804521EE
Provisioning UDID: 00006020-001C51A01E6B401E
Activation Lock Status: Disabled
e.g. instead of Leitweg-ID it could say Leitweg-ID (BT-10)
in factur-x invoices and order-x it may be neccessary to save the embedded xml file
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.