
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
DTAUS & DTAZV are formats 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- or DTAZV-text.
We love building payment applications.
gem install king_dtaus
Version 2 has breaking changes!
If you want to stay with v1 just pin it in your Gemfile:
gem "king_dtaus", "<2"
Here are some examples how to create a DTA- or DTAZV-File. Also check out the spec/dtazv_test.rb to have a running example of an export.
# create a new dtaus object
dta = KingDta::Dtaus.new('LK')
# set sender account
dta.account = KingDta::Account.new(
:bank_account_number => "123456789",
:bank_number => "69069096",
:owner_name => "Return to Sender",
:bank_name => "Money Burner Bank")
# following should be done in a loop to add multiple bookings
# create receiving account
receiver = KingDta::Account.new(
:bank_account_number => "987456123",
:bank_number => "99099096",
:owner_name => "Gimme More Lt.",
:bank_name => "Banking Bandits")
# create booking
booking = KingDta::Booking.new(receiver, 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
@dtazv = KingDta::Dtazv.new()
# sender account
@dtazv.account = KingDta::Account.new(
:bank_account_number => "123456789",
:bank_number => "40050100",
:bank_name => "Greedy Fuckers Bank",
:owner_name => "Sender name"
)
# receiver account
receiver = KingDta::Account.new(
:bank_account_number => "987654321",
:bank_iban => "PLsome-long-Iban",
:bank_bic => "BicCode",
:owner_name => "receivers name"
)
# add bookings, probably in a loop
booking = KingDta::Booking.new(receiver, 220.25)
@dtazv.add(booking)
# get output as string
@dtazv.create
also make sure to read the code and the specs
Bugfixes and enhancements by
Copyright (c) 2009-2011 Georg Leciejewski (SalesKing), Jan Kus (Railslove), released under the MIT license
FAQs
Unknown package
We found that king_dtaus demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.