An open API service indexing awesome lists of open source software.

https://github.com/a6b8/write-invoice-for-ruby

write_invoice is a ruby gem to generate multiple invoices in one document.
https://github.com/a6b8/write-invoice-for-ruby

invoice pdf prawn-pdf ruby

Last synced: 3 months ago
JSON representation

write_invoice is a ruby gem to generate multiple invoices in one document.

Awesome Lists containing this project

README

        


Write Invoice for Ruby

`write_invoice` is a ruby gem to generate multiple invoices in one document.





Examples

> **Visit**: [docs.writeinvoice.com](https://docs.writeinvoice.com)




Table of Contents


1. [Examples](#examples)

2. [Quickstart](#quickstart)

3. [Setup](#setup)

4. [String Modification](#string-modification)

5. [Contributing](#contributing)

6. [Limitations](#limitations)

7. [Credits](#credits)

8. [License](#license)

9. [Code of Conduct](#code-of-conduct)

10. [Support my Work](#support-my-work)



Quickstart

```ruby
require 'write_invoice'

pyld = WriteInvoice::Example.generate()
WriteInvoice::Document.generate( output: 'test.pdf', payload: pyld, options: {}, debug: true )
```


Setup

Add this line to your application's Gemfile:

```ruby
gem 'write_invoice'
```

And then execute:

$ bundle install

Or install it yourself as:

$ gem install write_invoice

On Rubygems:
- Gem: https://rubygems.org/gems/write_invoice
- Profile: https://rubygems.org/profiles/a6b8



Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/a6b8/write-invoice-for-ruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/a6b8/write-invoice-for-ruby/blob/master/CODE_OF_CONDUCT.md).



Limitations

- Not battle tested with diffrent layouts.



Credits

- [prawn-table](https://github.com/prawnpdf/prawn-table)
- [prawn](https://prawnpdf.org/api-docs/2.3.0/)
- [prawn-qrcode](https://github.com/jabbrwcky/prawn-qrcode)
- [date](https://ruby-doc.org/stdlib-3.1.0/libdoc/date/rdoc/Date.html)
- [faker](https://github.com/faker-ruby/faker)
- [activesupport](https://rubygems.org/gems/activesupport)



License

The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).



Code of Conduct


Everyone interacting in the write-invoice-for-ruby project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/a6b8/write-invoice-for-ruby/blob/master/CODE_OF_CONDUCT.md).



Star Us

Please ⭐️ star this Project, every ⭐️ star makes us very happy!