Skip to content

pludoni/ruby-secretariat

This branch is 7 commits ahead of, 43 commits behind halfbyte/ruby-secretariat:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

78d7e24 · Nov 27, 2024

History

14 Commits
Nov 27, 2024
Nov 6, 2024
Nov 6, 2024
Nov 6, 2024
Nov 6, 2024
Dec 19, 2019
Nov 6, 2024
Nov 6, 2024
Nov 6, 2024
Dec 19, 2019
Dec 19, 2019
Nov 6, 2024
Dec 19, 2019
Nov 27, 2024

Repository files navigation

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.
  3. The library, for ZUGFeRD 2.x, currently only supports the EN16931 variant. This is probably what you want as well. PRs welcome.
  4. 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.

LICENSE

See 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, both licensed unter the MIT license.

About

A ZUGFeRD XML generator helper thing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%