Giter VIP home page Giter VIP logo

king_dtaus's Introduction

Dtaus

DTAUS is a format for German bank transfers and is short for “Datenträgeraustausch”. The format itself totally sucks because it was established in the last century, to be used on floppy disks. Still almost all German banks use it(they only seem innovative at robbing), and it is therefore supported in common banking programs too.

This gem saves you all the trouble when generating dtaus-text.

Install

gem install king_dtaus

Features

  • create lastschrift

  • create gutschrift

Example

#create a new dtaus object
dta = KingDta::Dtaus.new('LK')
# set sender account
dta.account = KingDta::Account.new( "bank_account_number", "bank_number", "bank_owner")
# the following should be done in a loop to add multiple bookings
# create receiving account
rec_acnt = KingDta::Account.new( "bank_account_number", "bank_number", "bank_owner" )
# create booking
booking = KingDta::Booking.new(rec_acnt, 100.00 )
# set booking text if you want to
booking.text = "Thanks for your purchase"
# add booking
dta.add( booking )
# end loop

# create datausstring and do with it whatever fits your workflow
my_str = dta.create

also make sure to read the specs

Credits

This gem used rubygems.org/gems/DTAUS as a starting point. It was disected, turned into a real class structure, bugs where fixed and of course a full test suite ensures its functionality.

Copyright © 2009-2010 Georg Leciejewski, Bugfixes and enhancements by Georg Ledermann released under the MIT license

king_dtaus's People

Contributors

krudolph avatar schorsch avatar ledermann avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.