Rust bindings for the German tax library

271 points _quambene

Is Rust used in the tax software industry? No. But will it become more important in the future? Also no.

For everybody else (i.e. mainly cats and dolphins), I made the Rust bindings and SDK for the Elster Rich Client (Eric) \[1, 2, 3\]. Eric is shared C library provided by the German tax administration which is integrated into a tax application.

The Eric bindings were generated using bindgen \[4\] which was a very smooth experience.

The functionality of the Eric SDK is currently kept simple (see https://docs.rs/eric-sdk/latest/eric\\_sdk/struct.Eric.html). It takes an XML file in the XBRL standard for a specified taxonomy, like the company balance sheet, income statement, or any other event in the context of tax declaration, and checks the provided data for plausibility. The validated XML file can then be sent to the tax authorities.

Are you aware of any other tax-related projects in Rust? Let me know.

\[1\] https://github.com/quambene/eric-rs

\[2\] https://crates.io/crates/eric-bindings

\[3\] https://crates.io/crates/eric-sdk

\[4\] https://crates.io/crates/bindgen