In germany there is a file format for transfering bank transaction requests called DTAUS. I recently had the need to create such a file programatically, so I searched if anyone else already managed this task.
What I found was a
blog entry of Timotheus Pokorra who wrote a litte C# class that managed this task for direct debits.
He generously allows anyone to use this class and provides his source code as download.
For my task, I extended his code to work with C# data objects instead of Xml data structures and added some optimizations and extensions.
The result is a set of three classes to create bank transfer or direct debit requests and allow them to be exported into to DTAUS fiel format with complete code documentation.
Of course, I will not hesitate to give back my extensions to the great work to Timotheus and the remaining web community.
Nevertheless, I do not want this class to be sold by others, so the
license is Creative Commons NC-BY-SA. If you want to simply use my code in another (even sold) product, please contact me, if your product is more than "a library for DTAUS file management", I should gracefully permit you the right to use it.
(Download after german translation)
If you need a binary version of the file, just post me a line using the comments function of the blog.
Vor kurzem Stand ich vor der Aufgabe, in einem von mir geschriebenen Programm DTA-Dateien schreiben zu können, die in Deutschland verwendet werden, um Bankeinzug oder Überweisungsaufträge an Banken zu übermitteln. Nach einigem Suchen fand ich im
Blog von Timotheus Pokorra eine Codedatei, die genau diese Aufgabe in C# erledigt. Der Code war für Xml-Strukturen als Eingabe entwickelt und darf frei verwendet werden.
Ich habe diese Klasse ein wenig erweitert, optimiert, Fehler ausgebügelt und zwei Datenobjekte erstellt, mit denen die Daten für den DTA-Auftrag in C#-Strukturen gespeichert werden können.
Gerne stelle ich meine Erweiterungen auch wieder frei zur Verfügung, solange die Anwendung nichtkommerziell ist (
Creative Commons NC-BY-SA). Wer sie in kommerziellen Produkten einsetzen will, nimmt bitte Kontakt mit mir auf, ich bin gerne bereit, auch dafür die Freigabe zu erteilen, solange es nicht um eine Bibliothek zur DTA-Verwaltung geht...
Wer eine kompilierte Version benötigt, darf sich gerne über die Kommentarfunktion bei mir melden.
You can find the Library here:
DTAUSWriter.cs
Download der DTA-Datei-Bibliothek:
DTAUSWriter.cs
DTAUS Writer classes for C# von
Timotheus Pokorra & Florian Harbich steht unter einer
Creative Commons Namensnennung-Keine kommerzielle Nutzung-Weitergabe unter gleichen Bedingungen 3.0 Deutschland Lizenz.
Beruht auf einem Inhalt unter
tpokorra.blogspot.com.