Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 1.23 KB

README.md

File metadata and controls

24 lines (17 loc) · 1.23 KB

Supplier Payments

CI

Library for making Bankgirot supplier payment files, Leverantörsbetalningar.

Documentation

Records are defined in lib/supplier_payments/payment_file/domestic_records.rb. Layouts are defined with arrays, like:

[ :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