Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.
/ xrechnung Public archive

Code around the XRechnung Standard

License

Notifications You must be signed in to change notification settings

dragotin/xrechnung

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Note: This repository has been moved to https://codeberg.org/dragotin/xrechnung - Please contribute there!

XRechnung

Some utilities around the XRechnung Standard that is used in Germany and other countries for electronic invoicing.

This repository is young and the tools are in very early stage. It is a start to support this standard from open source. Contributions to this efforts are highly appreciated.

XRechnung documents can be created by the software Kraft (Github repo).

XRechnung samples can be found in the xrechnung-testsuite repository.

XRView

XRView is a Qt based viewer for the Desktop that renders XRechnung XML documents. It uses the official XSL stylesheets provided in the repository of the Koordinierungsstelle für IT-Standards.

XRView screenshot

Beside the rendering, it also extracts some important data from the XML and displays them in the overview pane.

Configuration

To run XRView a configuration file has to be manually created first. Create a file in the users home directory in the local configuration directory, usually in $HOME/.config/xrview/xrview.conf.

The config file has to look like:

[saxon]
jar=/real/path/saxon-he-11.4.jar
xslHtml=/real/path/xrechnung-visualization/src/xsl/xrechnung-html.xsl
xslUbl=/real/path/xrechnung-visualization/src/xsl/ubl-invoice-xr.xsl

The files need to be downloaded and stored on the computer. They can be downloaded here:

  1. Saxon: https://github.com/Saxonica/Saxon-HE/tree/main/11/Java (Please make sure to only use SaxonHE11-4J.zip)
  2. xrechnung-visualization: https://github.com/itplr-kosit/xrechnung-visualization It contains the needed XSL stylesheets.

Usage

Start the viewer from the command line and pass one or more XML files in XRechnung format on the command line.

Example:

xrview /real/path/3321-342.xml

Build

XRView is written in C++ using the Qt toolkit and cmake. Build as usual.

About

Code around the XRechnung Standard

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published