This project contains a tool to decode the Swiss QR bill. It reads the QR code from an image or a pdf and decodes the data json based on the Swiss QR bill specification.
It contains a lib crate that can be used as a library and a bin crate that can be used as a command line tool.
Warning
Users of this project do so at their own risk. There are no guarantees of any kind regarding the reliability, functionality, or security of this tool. The authors are not responsible for any damage or losses incurred from using this software.
To run the tool in debug mode, use the following command:
cargo run -- <path_to_image>
For additional options, run:
cargo run -- --help
To build a release version, use the following command:
cargo build --release
The binary will be located at target/release/swiss-qr-bill-decoder
and can be run as follows:
./target/release/swiss-qr-bill-decoder <path_to_image>
cargo test