ZUGFeRD / quba-viewer

Quba is a viewer for electronic invoices
Apache License 2.0
97 stars 19 forks source link

Feature Request: Quba-viewer as a Nextcloud files app? #74

Open Verony-makesIT opened 1 month ago

Verony-makesIT commented 1 month ago

Quba is a very nice/interesting tool (based on Electron) that can only be used in the local (Windows, Linux and Mac) desktop environment. Nowadays more and more people work in the cloud. Is it also possible to realize or transform the Quba Electron app into a web application? My intention is then to try, with some (your? ;-) ) help, to integrate the Quba web app into a Nextcloud Files app. Or are there plans in the near future to make a Nextcloud Files app version of the Quba viewer?

jstaerk commented 1 month ago

no plans , you can use the XSLTs, they are based on the kosit xslts, if you use saxon he the command line calls to practise would be


 .\saxon.bat .\corpus\corpus-master\XML-Rechnung\CII\EN16931_AbweichenderZahlungsempf.cii.xml .\xrechnung-3.0.1-xrechnung-visualization-2023-11-15\xsl\cii-xr.xsl > xr.out

.\saxon.bat .\xr.out .\xrechnung-3.0.1-xrechnung-visualization-2023-11-15\xsl\xrechnung-html.xsl >xr.html
jstaerk commented 4 weeks ago

Indepdendently we just had the idea to combine Nextcloud with Mustangserver to some kind of "Quba Server", in which case one could also export pdfs. The idea is to create a Mustangclient for PHP and register it as handler when someone uploads a CII, UBL or Factur-X file, in which case the invoice could instantly e.g. be validated and converted to PDF.