📜 ⬆️ ⬇️

Gem for import of bank account statements in 1C format

Much to my surprise, nowhere on the network could I find a gem for reading statements from a client bank in 1CClientBankExchange format v1.02 . I had to write the basic parser myself. Use on health.

Under the cut - an example of installation and use.

Installation:
')
gem install client_bank_exchange 

Using:

 require 'client_bank_exchange' #   result = ClientBankExchange.parse str #   result = ClientBankExchange.parse_file path #   () puts result[:errors] #   puts result[:general] #    puts result[:remainings] #   puts result[:documents] 

Source: https://habr.com/ru/post/261895/


All Articles