{"id":13879966,"url":"https://github.com/ledermann/datev","last_synced_at":"2025-04-12T23:33:05.966Z","repository":{"id":9332828,"uuid":"61729738","full_name":"ledermann/datev","owner":"ledermann","description":"Ruby gem for DATEV exports via CSV","archived":false,"fork":false,"pushed_at":"2024-12-29T10:26:53.000Z","size":127,"stargazers_count":55,"open_issues_count":1,"forks_count":17,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-04T03:04:31.693Z","etag":null,"topics":["accounting","buchfuehrung","buchhaltung","csv","datev","german","ruby","rubygems"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ledermann.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-06-22T15:22:04.000Z","updated_at":"2024-12-29T10:26:57.000Z","dependencies_parsed_at":"2023-12-26T07:27:17.960Z","dependency_job_id":"5935cbf4-ca74-4faf-86a2-d7b9a7b6b424","html_url":"https://github.com/ledermann/datev","commit_stats":{"total_commits":90,"total_committers":10,"mean_commits":9.0,"dds":0.1333333333333333,"last_synced_commit":"a6c8a4655d5560c3c9f91aad60ab75cf7571f9e0"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ledermann%2Fdatev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ledermann%2Fdatev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ledermann%2Fdatev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ledermann%2Fdatev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ledermann","download_url":"https://codeload.github.com/ledermann/datev/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248647258,"owners_count":21139081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["accounting","buchfuehrung","buchhaltung","csv","datev","german","ruby","rubygems"],"created_at":"2024-08-06T08:02:41.214Z","updated_at":"2025-04-12T23:33:05.930Z","avatar_url":"https://github.com/ledermann.png","language":"Ruby","readme":"# Datev\n\nRuby gem to export bookings and more to DATEV format as CSV file\n\nSupported DATEV format: v7.0\n\n[![Build Status](https://github.com/ledermann/datev/workflows/CI/badge.svg)](https://github.com/ledermann/datev/actions)\n[![Code Climate](https://codeclimate.com/github/ledermann/datev/badges/gpa.svg)](https://codeclimate.com/github/ledermann/datev)\n[![Coverage Status](https://coveralls.io/repos/github/ledermann/datev/badge.svg?branch=master)](https://coveralls.io/github/ledermann/datev?branch=master)\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'datev'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install datev\n\n## Usage\n\nTo export bookings, you need an BookingExport instance with an array of records. Example:\n\n```ruby\nexport = Datev::BookingExport.new(\n  'Herkunft'        =\u003e 'XY',\n  'Exportiert von'  =\u003e 'Chief Accounting Officer',\n  'Berater'         =\u003e 1001,\n  'Mandant'         =\u003e 456,\n  'WJ-Beginn'       =\u003e Date.new(2018,1,1),\n  'Datum vom'       =\u003e Date.new(2018,2,1),\n  'Datum bis'       =\u003e Date.new(2018,2,28),\n  'Bezeichnung'     =\u003e 'Beispiel-Buchungen'\n) # For available hash keys see /lib/datev/base/header.rb\n\nexport \u003c\u003c {\n  'Belegdatum'                     =\u003e Date.new(2018,2,21),\n  'Buchungstext'                   =\u003e 'Fachbuch: Controlling für Dummies',\n  'Umsatz (ohne Soll/Haben-Kz)'    =\u003e 24.95,\n  'Soll/Haben-Kennzeichen'         =\u003e 'H',\n  'Konto'                          =\u003e 1200,\n  'Gegenkonto (ohne BU-Schlüssel)' =\u003e 4940,\n  'BU-Schlüssel'                   =\u003e '8'\n} # For available hash keys see /lib/datev/base/booking.rb\n\nexport \u003c\u003c {\n  'Belegdatum'                     =\u003e Date.new(2018,2,22),\n  'Buchungstext'                   =\u003e 'Honorar FiBu-Seminar',\n  'Umsatz (ohne Soll/Haben-Kz)'    =\u003e 5950.00,\n  'Soll/Haben-Kennzeichen'         =\u003e 'S',\n  'Konto'                          =\u003e 10000,\n  'Gegenkonto (ohne BU-Schlüssel)' =\u003e 8400,\n  'Belegfeld 1'                    =\u003e 'RE201802-135'\n}\n\nexport.to_file('EXTF_Buchungsstapel.csv')\n```\n\nResult: [CSV file](examples/EXTF_Buchungsstapel.csv)\n\nAll records are validated against the defined schema.\n\nBeside bookings, some other exports are available, too:\n\n* `AccountExport` (\"Kontenbeschriftungen\")\n* `ContactExport` (\"Stammdaten\")\n\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/ledermann/datev. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","funding_links":[],"categories":["Ruby"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fledermann%2Fdatev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fledermann%2Fdatev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fledermann%2Fdatev/lists"}