The only thing this repository provides - is a clean library for validating and exporting DATEV-conform data in typical type-safe C#-Code.
This project, contains a small sample of how to export sample data for: addresses, termsofpayment, bookings.
Versions starting with v1.1.0 use a different approach of generating datev-compatible output. As of now - everything aside from validation is based on the original format-files of the datev-documentation. Headers are generatec completely from those files. Data-rows are generated using the attributes DatevRow and DatevField (to associate classes with the formats) as well as ClassMaps that define how associated properties are formatted on output.
This also enables you to pick a different version. By default - by assigning a DataCategory to a DatevFile - you're assigning the default datev-version as defined in format_map.json (currently: 700) - however - you can easily use another version by assigning a DataVersion upon creating a DatevFile.
Exports types need several changes:
https://www.nuget.org/packages/FluiTec.DatevSharp/ PM> Install-Package FluiTec.DatevSharp