Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/halfbyte/ruby-secretariat
A ZUGFeRD XML generator helper thing
https://github.com/halfbyte/ruby-secretariat
Last synced: 4 days ago
JSON representation
A ZUGFeRD XML generator helper thing
- Host: GitHub
- URL: https://github.com/halfbyte/ruby-secretariat
- Owner: halfbyte
- License: apache-2.0
- Created: 2019-12-19T17:03:26.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-12-04T15:36:12.000Z (24 days ago)
- Last Synced: 2024-12-04T15:37:04.212Z (24 days ago)
- Language: Ruby
- Size: 6.25 MB
- Stars: 14
- Watchers: 4
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# A ZUGFeRD xml generator and validator
See tests for examples.
## Some words of caution
1. This is an opinionated library optimised for my very specific usecase
2. While I did start to add some validations to make sure you can't input absolute garbage into this, I cannot guarantee factual (as in taxation law) correctness of the resulting XML.
1. The library, for ZUGFeRD 2.x, currently only supports the EN16931 variant. This is probably what you want as well. PRs welcome.
3. This does not contain any code to attach the XML to a PDF file, mainly because I have yet to find a ruby library to do that. For software that does this, take a look at [this python library](https://github.com/akretion/factur-x).## Contributors
See [CONTRIBUTORS.md](CONTRIBUTORS.md).
## LICENSE
See [LICENSE](LICENSE).
Additionally, this project contains material, such as the schema files, which, according to the ZUGFeRD documentation, are also licensed under the Apache License.
Additionally, this project uses nokogiri and [SchXslt](https://github.com/schxslt/schxslt), both licensed unter the MIT license.