Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/barsoom/supplier_payments
Ruby library for making BGC supplier payment files (leverantörsbetalningar).
https://github.com/barsoom/supplier_payments
Last synced: 2 months ago
JSON representation
Ruby library for making BGC supplier payment files (leverantörsbetalningar).
- Host: GitHub
- URL: https://github.com/barsoom/supplier_payments
- Owner: barsoom
- Created: 2011-12-09T17:01:07.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2024-06-24T07:30:44.000Z (7 months ago)
- Last Synced: 2024-10-31T14:47:21.607Z (3 months ago)
- Language: Ruby
- Homepage:
- Size: 48.8 KB
- Stars: 2
- Watchers: 15
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-sweden - Ruby
README
# Supplier Payments
[![CI](https://github.com/barsoom/supplier_payments/actions/workflows/ci.yml/badge.svg)](https://github.com/barsoom/supplier_payments/actions/workflows/ci.yml)
Library for making Bankgirot supplier payment files, _Leverantörsbetalningar_.
## Documentation
* På svenska: ["Leverantörsbetalningar, teknisk manual"](http://www.bgc.se/globalassets/dokument/tekniska-manualer/leverantorsbetalningar_tekniskmanual_sv.pdf) (PDF)
* In English: ["Supplier Payments (Leverantörsbetalningar), technical manual"](http://www.bgc.se/globalassets/dokument/tekniska-manualer/supplierpayments_leverantorsbetalningar_technicalmanual_en.pdf) (PDF)Records are defined in `lib/supplier_payments/payment_file/domestic_records.rb`. Layouts are defined with arrays, like:
```ruby
[ :credit_transfer_number, 6, 'N', :right_align, :zerofill ]
# :credit_transfer_number is the name of the field
# 6 is the length of the field
# `"N"` if the value consists of two digits, or `"A"` for strings.
# Options for formatting are:
# :right_align if the field is to be right-aligned (otherwise it will be left-aligned)
# :zerofill if the field is to be filled with zeros
```[API documentation for this gem](https://www.rubydoc.info/gems/supplier_payments/)