A Ruby library for reading and writing business trade documents such as invoices, credit notes, remittance advice, etc.
There are multiple formats for business documents in current use around the world and this library aims to be able to support them natively or easily add support for more.
Currently supported:
- UN/CEFACT also known as CII (Cross-Industry Invoice)
- UBL, Universal Business Language
Add it to your Gemfile
gem "tradedoc"After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.
This project uses Standard as the code style
and all pull requests must be linted using standardrb.
Bug reports and pull requests are welcome on GitHub at https://github.com/dknmz/tradedoc.
- List of business terms: https://peppolvalidator.com/en16931-business-terms
- XSD and sample XML files: https://docs.oasis-open.org/ubl/os-UBL-2.4/
The gem is available as open source under the terms of the MIT License.