datev 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.rspec +2 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +49 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +68 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/datev.gemspec +25 -0
- data/lib/datev.rb +2 -0
- data/lib/datev/base.rb +50 -0
- data/lib/datev/booking.rb +331 -0
- data/lib/datev/export.rb +56 -0
- data/lib/datev/field.rb +77 -0
- data/lib/datev/header.rb +100 -0
- data/lib/datev/version.rb +3 -0
- metadata +105 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 57774150c7d539c94f9e459bd5cb1bae8c60ac1d
|
4
|
+
data.tar.gz: e30cea5d8561baf3e21fdf6cc754d7214a1aef04
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 9b27d2919f397776fc8cc14a5ad7ebd6b66e7a37278ee5cf0c00b0e83f414848e4ebb950a7d05534a75a6550d95c96a183a3794667092bef24e2094ea29f97d5
|
7
|
+
data.tar.gz: b7defef4b3dcb9effc473406505ea3465e59563d0ce855060cc1b6f9b7683eded879a7db57b0a7dced1b101a96c92a82964f1e006b4d67e63eb113a2bca2d125
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
# Contributor Code of Conduct
|
2
|
+
|
3
|
+
As contributors and maintainers of this project, and in the interest of
|
4
|
+
fostering an open and welcoming community, we pledge to respect all people who
|
5
|
+
contribute through reporting issues, posting feature requests, updating
|
6
|
+
documentation, submitting pull requests or patches, and other activities.
|
7
|
+
|
8
|
+
We are committed to making participation in this project a harassment-free
|
9
|
+
experience for everyone, regardless of level of experience, gender, gender
|
10
|
+
identity and expression, sexual orientation, disability, personal appearance,
|
11
|
+
body size, race, ethnicity, age, religion, or nationality.
|
12
|
+
|
13
|
+
Examples of unacceptable behavior by participants include:
|
14
|
+
|
15
|
+
* The use of sexualized language or imagery
|
16
|
+
* Personal attacks
|
17
|
+
* Trolling or insulting/derogatory comments
|
18
|
+
* Public or private harassment
|
19
|
+
* Publishing other's private information, such as physical or electronic
|
20
|
+
addresses, without explicit permission
|
21
|
+
* Other unethical or unprofessional conduct
|
22
|
+
|
23
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
24
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
25
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
26
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
27
|
+
threatening, offensive, or harmful.
|
28
|
+
|
29
|
+
By adopting this Code of Conduct, project maintainers commit themselves to
|
30
|
+
fairly and consistently applying these principles to every aspect of managing
|
31
|
+
this project. Project maintainers who do not follow or enforce the Code of
|
32
|
+
Conduct may be permanently removed from the project team.
|
33
|
+
|
34
|
+
This code of conduct applies both within project spaces and in public spaces
|
35
|
+
when an individual is representing the project or its community.
|
36
|
+
|
37
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
38
|
+
reported by contacting a project maintainer at mail@georg-ledermann.de. All
|
39
|
+
complaints will be reviewed and investigated and will result in a response that
|
40
|
+
is deemed necessary and appropriate to the circumstances. Maintainers are
|
41
|
+
obligated to maintain confidentiality with regard to the reporter of an
|
42
|
+
incident.
|
43
|
+
|
44
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
45
|
+
version 1.3.0, available at
|
46
|
+
[http://contributor-covenant.org/version/1/3/0/][version]
|
47
|
+
|
48
|
+
[homepage]: http://contributor-covenant.org
|
49
|
+
[version]: http://contributor-covenant.org/version/1/3/0/
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2016 Georg Ledermann
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,68 @@
|
|
1
|
+
# Datev
|
2
|
+
|
3
|
+
Ruby gem for exporting bookings to DATEV via CSV file
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem 'datev'
|
11
|
+
```
|
12
|
+
|
13
|
+
And then execute:
|
14
|
+
|
15
|
+
$ bundle
|
16
|
+
|
17
|
+
Or install it yourself as:
|
18
|
+
|
19
|
+
$ gem install datev
|
20
|
+
|
21
|
+
## Usage
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
export = Datev::Export.new 'Herkunft' => 'XY',
|
25
|
+
'Exportiert von' => 'Chief Accounting Officer',
|
26
|
+
'Berater' => 123,
|
27
|
+
'Mandant' => 456,
|
28
|
+
'WJ-Beginn' => Date.new(2016,1,1),
|
29
|
+
'Datum vom' => Date.new(2016,6,1),
|
30
|
+
'Datum bis' => Date.new(2016,6,30)
|
31
|
+
|
32
|
+
export << Datev::Booking.new(
|
33
|
+
'Belegdatum' => Date.new(2016,6,21),
|
34
|
+
'Buchungstext' => 'Fachbuch: Controlling for Dummies',
|
35
|
+
'Umsatz (ohne Soll/Haben-Kz)' => 24.95,
|
36
|
+
'Soll/Haben-Kennzeichen' => 'H',
|
37
|
+
'Konto' => 1200,
|
38
|
+
'Gegenkonto (ohne BU-Schlüssel)' => 4940,
|
39
|
+
'BU-Schlüssel' => '8'
|
40
|
+
)
|
41
|
+
|
42
|
+
export << Datev::Booking.new(
|
43
|
+
'Belegdatum' => Date.new(2016,6,22),
|
44
|
+
'Buchungstext' => 'Honorar FiBu-Seminar',
|
45
|
+
'Umsatz (ohne Soll/Haben-Kz)' => 5950.00,
|
46
|
+
'Soll/Haben-Kennzeichen' => 'S',
|
47
|
+
'Konto' => 10000,
|
48
|
+
'Gegenkonto (ohne BU-Schlüssel)' => 8400,
|
49
|
+
'BU-Schlüssel' => '3',
|
50
|
+
'Belegfeld 1' => 'RE201606-135'
|
51
|
+
)
|
52
|
+
|
53
|
+
export.to_file('EXTF_Buchungsstapel.csv')
|
54
|
+
```
|
55
|
+
|
56
|
+
## Development
|
57
|
+
|
58
|
+
After 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.
|
59
|
+
|
60
|
+
|
61
|
+
## Contributing
|
62
|
+
|
63
|
+
Bug 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.
|
64
|
+
|
65
|
+
|
66
|
+
## License
|
67
|
+
|
68
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "datev"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start
|
data/bin/setup
ADDED
data/datev.gemspec
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'datev/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "datev"
|
8
|
+
spec.version = Datev::VERSION
|
9
|
+
spec.authors = ["Georg Ledermann"]
|
10
|
+
spec.email = ["mail@georg-ledermann.de"]
|
11
|
+
|
12
|
+
spec.summary = %q{Export booking data in DATEV format}
|
13
|
+
spec.description = %q{Provides an easy way to create CSV files which can be imported into accounting applications}
|
14
|
+
spec.homepage = "https://github.com/ledermann/datev"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
18
|
+
spec.bindir = "exe"
|
19
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
|
+
spec.require_paths = ["lib"]
|
21
|
+
|
22
|
+
spec.add_development_dependency "bundler"
|
23
|
+
spec.add_development_dependency "rake"
|
24
|
+
spec.add_development_dependency "rspec"
|
25
|
+
end
|
data/lib/datev.rb
ADDED
data/lib/datev/base.rb
ADDED
@@ -0,0 +1,50 @@
|
|
1
|
+
require 'datev/field'
|
2
|
+
|
3
|
+
module Datev
|
4
|
+
class Base
|
5
|
+
class << self
|
6
|
+
attr_accessor :fields
|
7
|
+
end
|
8
|
+
|
9
|
+
attr_accessor :attributes
|
10
|
+
|
11
|
+
def self.field(name, type, options={})
|
12
|
+
self.fields ||= []
|
13
|
+
|
14
|
+
# Check if there is already a field with the same name
|
15
|
+
if self.fields.find { |f| f.name == name }
|
16
|
+
raise ArgumentError.new("Field #{name} already exists")
|
17
|
+
end
|
18
|
+
|
19
|
+
self.fields << Field.new(name, type, options)
|
20
|
+
end
|
21
|
+
|
22
|
+
def initialize(attributes)
|
23
|
+
self.attributes = {}
|
24
|
+
|
25
|
+
# Check existing name and set value (if valid)
|
26
|
+
attributes.each_pair do |name,value|
|
27
|
+
unless field = self.class.fields.find { |f| f.name == name }
|
28
|
+
raise ArgumentError.new("Field #{name} not found")
|
29
|
+
end
|
30
|
+
|
31
|
+
field.validate!(value)
|
32
|
+
self.attributes[name] = value
|
33
|
+
end
|
34
|
+
|
35
|
+
# Check for missing values
|
36
|
+
self.class.fields.select(&:required?).each do |field|
|
37
|
+
if attributes[field.name].nil?
|
38
|
+
raise ArgumentError.new("Field #{field.name} is required but missing")
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
def to_a
|
44
|
+
self.class.fields.map do |field|
|
45
|
+
value = attributes[field.name]
|
46
|
+
field.output(value)
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
@@ -0,0 +1,331 @@
|
|
1
|
+
require 'datev/base'
|
2
|
+
|
3
|
+
module Datev
|
4
|
+
class Booking < Base
|
5
|
+
# http://www.datev.de/dnlexom/client/app/index.html#/document/1036228
|
6
|
+
|
7
|
+
# 1
|
8
|
+
field 'Umsatz (ohne Soll/Haben-Kz)', :decimal, :precision => 12, :scale => 2, :required => true
|
9
|
+
# Beispiel: 1234567890,12
|
10
|
+
# Muss immer ein positiver Wert sein
|
11
|
+
|
12
|
+
# 2
|
13
|
+
field 'Soll/Haben-Kennzeichen', :string, :limit => 1, :required => true
|
14
|
+
# Die Soll-/Haben-Kennzeichnung des Umsatzes bezieht sich auf das Konto, das im Feld Konto angegeben wird:
|
15
|
+
# S = Soll
|
16
|
+
# H = Haben
|
17
|
+
|
18
|
+
# 3
|
19
|
+
field 'WKZ Umsatz', :string, :limit => 3
|
20
|
+
# Dreistelliger ISO-Code der Währung (Dok.-Nr. 1080170); gibt an, welche Währung dem Betrag zugrunde liegt.
|
21
|
+
# Wenn kein Wert angegeben ist, wird das WKZ aus dem Header übernommen.
|
22
|
+
|
23
|
+
# 4
|
24
|
+
field 'Kurs', :decimal, :precision => 10, :scale => 6
|
25
|
+
# Der Fremdwährungskurs bestimmt, wie der angegebene Umsatz, der in Fremdwährung übergeben wird, in die Basiswährung umzurechnen ist, wenn es sich um ein Nicht-EWU-Land handelt.
|
26
|
+
# Beispiel: 1123,123456
|
27
|
+
# Achtung: Der Wert 0 ist unzulässig.
|
28
|
+
|
29
|
+
# 5
|
30
|
+
field 'Basisumsatz', :decimal, :precision => 12, :scale => 2
|
31
|
+
# Wenn das Feld Basisumsatz verwendet wird, muss auch das Feld WKZ Basisumsatz gefüllt werden.
|
32
|
+
# Beispiel: 1123123123,12
|
33
|
+
|
34
|
+
# 6
|
35
|
+
field 'WKZ Basisumsatz', :string, :limit => 3
|
36
|
+
# Währungskennzeichen der hinterlegten Basiswährung. Wenn das Feld WKZ Basisumsatz verwendet wird, muss auch das Feld Basisumsatz verwendet werden.
|
37
|
+
# ISO-Code beachten (siehe Dok.-Nr.1080170)
|
38
|
+
|
39
|
+
# 7
|
40
|
+
field 'Konto', :integer, :limit => 9, :required => true
|
41
|
+
# Sach- oder Personen-Kontonummer
|
42
|
+
# Darf max. 8- bzw. max. 9-stellig sein (abhängig von der Information im Header)
|
43
|
+
# Die Personenkontenlänge darf nur 1 Stelle länger sein als die definierte Sachkontennummernlänge.
|
44
|
+
|
45
|
+
# 8
|
46
|
+
field 'Gegenkonto (ohne BU-Schlüssel)', :integer, :limit => 9, :required => true
|
47
|
+
# Sach- oder Personen-Kontonummer
|
48
|
+
# Darf max. 8- bzw. max. 9-stellig sein (abhängig von der Information im Header)
|
49
|
+
# Die Personenkontenlänge darf nur 1 Stelle länger sein als die definierte Sachkontennummernlänge.
|
50
|
+
|
51
|
+
# 9
|
52
|
+
field 'BU-Schlüssel', :string, :limit => 2
|
53
|
+
# Steuerschlüssel und/oder Berichtigungsschlüssel
|
54
|
+
|
55
|
+
# 10
|
56
|
+
field 'Belegdatum', :date, :format => '%d%m', :required => true
|
57
|
+
# Achtung: Auch bei individueller Feldformatierung mit vierstelliger Jahreszahl wird immer in das aktuelle Wirtschaftsjahr importiert, wenn Tag und Monat des Datums im bebuchbaren Zeitraum liegen, da die Jahreszahl nicht berücksichtigt wird.
|
58
|
+
|
59
|
+
# 11
|
60
|
+
field 'Belegfeld 1', :string, :limit => 12
|
61
|
+
# Rechnungs-/Belegnummer
|
62
|
+
# Das Belegfeld 1 ist der "Schlüssel" für die Verwaltung von Offenen Posten.
|
63
|
+
# Bei einer Zahlung oder Gutschrift erfolgt nur dann ein OP-Ausgleich, wenn die Belegnummer mit dem Belegfeld 1 identisch ist.
|
64
|
+
|
65
|
+
# 12
|
66
|
+
field 'Belegfeld 2', :string, :limit => 12
|
67
|
+
# Belegnummer oder OPOS-Verarbeitungsinformationen
|
68
|
+
|
69
|
+
# 13
|
70
|
+
field 'Skonto', :decimal, :precision => 10, :scale => 2
|
71
|
+
# Skonto-Betrag/-Abzug
|
72
|
+
# Nur bei Zahlungen zulässig.
|
73
|
+
# Beispiel 12123123,12
|
74
|
+
# Achtung: Der Wert 0 ist unzulässig.
|
75
|
+
|
76
|
+
# 14
|
77
|
+
field 'Buchungstext', :string, :limit => 60
|
78
|
+
|
79
|
+
# 15
|
80
|
+
field 'Postensperre', :boolean
|
81
|
+
# Mahn-/Zahl-Sperre
|
82
|
+
# Die Rechnung kann aus dem Mahnwesen / Zahlungsvorschlag ausgeschlossen werden.
|
83
|
+
# true = Postensperre
|
84
|
+
# false/keine Angabe = keine Sperre
|
85
|
+
# Nur in Verbindung mit einer Rechnungsbuchung und Personenkonto (OPOS) relevant.
|
86
|
+
|
87
|
+
# 16
|
88
|
+
field 'Diverse Adressnummer', :string, :limit => 9
|
89
|
+
# Adressnummer einer diversen Adresse
|
90
|
+
# Nur in Verbindung mit OPOS relevant.
|
91
|
+
|
92
|
+
# 17
|
93
|
+
field 'Geschäftspartnerbank', :integer, :limit => 3
|
94
|
+
# Wenn für eine Lastschrift oder Überweisung eine bestimmte Bank des Geschäftspartners genutzt werden soll.
|
95
|
+
# Nur in Verbindung mit OPOS relevant.
|
96
|
+
|
97
|
+
# 18
|
98
|
+
field 'Sachverhalt', :integer, :limit => 2
|
99
|
+
# Der Sachverhalt wird in Rechnungswesen pro verwendet, um Buchungen/Posten als Mahnzins/Mahngebühr zu identifizieren.
|
100
|
+
# Für diese Posten werden z. B. beim Erstellen von Mahnungen keine Mahnzinsen berechnet.
|
101
|
+
# 31 = Mahnzins
|
102
|
+
# 40 = Mahngebühr
|
103
|
+
# Nur in Verbindung mit OPOS relevant.
|
104
|
+
|
105
|
+
# 19
|
106
|
+
field 'Zinssperre', :boolean
|
107
|
+
# Hier kann eine Zinssperre übergeben werden; dadurch werden für diesen Posten bei Erstellung einer Mahnung keine Mahnzinsen ermittelt.
|
108
|
+
# Nur in Verbindung mit OPOS relevant.
|
109
|
+
# keine Angabe und 0 = keine Sperre
|
110
|
+
# 1 = Zinssperre
|
111
|
+
|
112
|
+
# 20
|
113
|
+
field 'Beleglink', :string, :limit => 210
|
114
|
+
# Link auf den Buchungsbeleg, der digital in einem Dokumenten-Management-System (z. B. DATEV Dokumentenablage, DATEV DMS classic) abgelegt wurde.
|
115
|
+
# Beispiel für eine Beleg-ID eines Belegs aus DATEV Unternehmen online:
|
116
|
+
# CB6A8F8F-099A-B3A9-2BAA-0CB64E299BA
|
117
|
+
# (32 von 36 möglichen Zeichen)
|
118
|
+
|
119
|
+
# 21 bis 36
|
120
|
+
(1..8).each do |number|
|
121
|
+
field "Beleginfo – Art #{number}", :string, :limit => 20
|
122
|
+
field "Beleginfo – Inhalt #{number}", :string, :limit => 210
|
123
|
+
end
|
124
|
+
# Bei einem ASCII-Format, das aus einem DATEV pro-Rechnungswesen-Programm erstellt wurde, können diese Felder Informationen aus einem Beleg (z. B. einem elektronischen Kontoumsatz) enthalten.
|
125
|
+
# Wenn die Feldlänge eines Beleginfo-Inhalts-Felds überschritten wird, wird die Information im nächsten Beleginfo-Feld weitergeführt.
|
126
|
+
# Wichtiger Hinweis
|
127
|
+
# Eine Beleginfo besteht immer aus den Bestandteilen Beleginfo-Art und Beleginfo-Inhalt. Wenn Sie die Beleginfo nutzen möchten, befüllen Sie immer beide Felder.
|
128
|
+
# Beispiel:
|
129
|
+
# Beleginfo-Art:
|
130
|
+
# Kontoumsätze der jeweiligen Bank
|
131
|
+
# Beleginfo-Inhalt:
|
132
|
+
# Buchungsspezifische Inhalte zu den oben genannten Informationsarten
|
133
|
+
|
134
|
+
# 37
|
135
|
+
field 'KOST1 – Kostenstelle', :string, :limit => 8
|
136
|
+
# Über KOST1 erfolgt die Zuordnung des Geschäftsvorfalls für die anschließende Kostenrechnung.
|
137
|
+
|
138
|
+
# 38
|
139
|
+
field 'KOST2 – Kostenstelle', :string, :limit => 8
|
140
|
+
# Über KOST2 erfolgt die Zuordnung des Geschäftsvorfalls für die anschließende Kostenrechnung.
|
141
|
+
|
142
|
+
# 39
|
143
|
+
field 'Kost Menge', :decimal, :precision => 11, :scale => 2
|
144
|
+
# Im KOST-Mengenfeld wird die Wertgabe zu einer bestimmten Bezugsgröße für eine Kostenstelle erfasst. Diese Bezugsgröße kann z. B. kg, g, cm, m, % sein. Die Bezugsgröße ist definiert in den Kostenrechnungs-Stammdaten.
|
145
|
+
# Beispiel: 123123123,12
|
146
|
+
|
147
|
+
# 40
|
148
|
+
field 'EU-Land u. USt-IdNr.', :string, :limit => 15
|
149
|
+
# Die USt-IdNr. besteht aus:
|
150
|
+
# 2-stelligen Länderkürzel (siehe Dok.-Nr. 1080169; Ausnahme Griechenland: Das Länderkürzel lautet EL)
|
151
|
+
# 13-stelliger USt-IdNr.
|
152
|
+
|
153
|
+
# 41
|
154
|
+
field 'EU-Steuersatz', :decimal, :precision => 4, :scale => 2
|
155
|
+
# Nur für entsprechende EU-Buchungen:
|
156
|
+
# Der im EU-Bestimmungsland gültige Steuersatz.
|
157
|
+
# Beispiel: 12,12
|
158
|
+
|
159
|
+
# 42
|
160
|
+
field 'Abw. Versteuerungsart', :string, :limit => 1
|
161
|
+
# Für Buchungen, die in einer von der Mandantenstammdaten-Schlüsselung abweichenden Umsatzsteuerart verarbeitet werden sollen, kann die abweichende Versteuerungsart im Buchungssatz übergeben werden:
|
162
|
+
# I = Ist-Versteuerung
|
163
|
+
# K = keine Umsatzsteuerrechnung
|
164
|
+
# P = Pauschalierung (z. B. für Land- und Forstwirtschaft)
|
165
|
+
# S = Soll-Versteuerung
|
166
|
+
|
167
|
+
# 43
|
168
|
+
field 'Sachverhalt L+L', :integer, :limit => 3
|
169
|
+
# Sachverhalte gem. § 13b Abs. 1 Satz 1 Nrn. 1.ff UStG
|
170
|
+
# Achtung: Der Wert 0 ist unzulässig.
|
171
|
+
# (siehe Dok.-Nr. 1034915)
|
172
|
+
|
173
|
+
# 44
|
174
|
+
field 'Funktionsergänzung L+L', :integer, :limit => 3
|
175
|
+
# Steuersatz/Funktion zum L+L-Sachverhalt
|
176
|
+
# Achtung: Der Wert 0 ist unzulässig.
|
177
|
+
# (siehe Dok.-Nr. 1034915)
|
178
|
+
|
179
|
+
# 45
|
180
|
+
field 'BU 49 Hauptfunktionstyp', :integer, :limit => 1
|
181
|
+
# Bei Verwendung des BU-Schlüssels 49 für "andere Steuersätze" muss der steuerliche Sachverhalt mitgegeben werden.
|
182
|
+
|
183
|
+
# 46
|
184
|
+
field 'BU 49 Hauptfunktionsnummer', :integer, :limit => 2
|
185
|
+
|
186
|
+
# 47
|
187
|
+
field 'BU 49 Funktionsergänzung', :integer, :limit => 3
|
188
|
+
|
189
|
+
# 48 bis 87
|
190
|
+
(1..20).each do |number|
|
191
|
+
field "Zusatzinformation – Inhalt #{number}", :string, :limit => 210
|
192
|
+
field "Zusatzinformation – Art #{number}", :string, :limit => 20
|
193
|
+
end
|
194
|
+
# Zusatzinformationen, die zu Buchungssätzen erfasst werden können.
|
195
|
+
# Diese Zusatzinformationen besitzen den Charakter eines Notizzettels und können frei erfasst werden.
|
196
|
+
# Wichtiger Hinweis
|
197
|
+
# Eine Zusatzinformation besteht immer aus den Bestandteilen Informationsart und Informationsinhalt. Wenn Sie die Zusatzinformation nutzen möchten, füllen Sie immer beide Felder.
|
198
|
+
# Beispiel:
|
199
|
+
# Informationsart, z. B. Filiale oder Mengengrößen (qm)
|
200
|
+
# Informationsinhalt: Buchungsspezifische Inhalte zu den oben genannten Informationsarten.
|
201
|
+
|
202
|
+
# 88
|
203
|
+
field 'Stück', :integer, :limit => 8
|
204
|
+
# Wirkt sich nur bei Sachverhalt mit SKR14 Land- und Forstwirtschaft aus, für andere SKR werden die Felder beim Import/Export überlesen bzw. leer exportiert.
|
205
|
+
|
206
|
+
# 89
|
207
|
+
field 'Gewicht', :decimal, :limit => 10, :scale => 2
|
208
|
+
|
209
|
+
# 90
|
210
|
+
field 'Zahlweise', :integer, :limit => 2
|
211
|
+
# OPOS-Informationen kommunal
|
212
|
+
# 1 = Lastschrift
|
213
|
+
# 2 = Mahnung
|
214
|
+
# 3 = Zahlung
|
215
|
+
|
216
|
+
# 91
|
217
|
+
field 'Forderungsart', :string, :limit => 10
|
218
|
+
# OPOS-Informationen kommunal
|
219
|
+
|
220
|
+
# 92
|
221
|
+
field 'Veranlagungsjahr', :date, :format => '%Y'
|
222
|
+
# OPOS-Informationen kommunal
|
223
|
+
|
224
|
+
# 93
|
225
|
+
field 'Zugeordnete Fälligkeit', :date, :format => '%d%m%Y'
|
226
|
+
# OPOS-Informationen kommunal
|
227
|
+
|
228
|
+
# 94
|
229
|
+
field 'Skontotyp', :integer, :limit => 1
|
230
|
+
# 1 = Einkauf von Waren
|
231
|
+
# 2 = Erwerb von Roh-Hilfs- und Betriebsstoffen
|
232
|
+
|
233
|
+
# 95
|
234
|
+
field 'Auftragsnummer', :string, :limit => 30
|
235
|
+
# Allgemeine Bezeichnung, des Auftrags/Projekts
|
236
|
+
|
237
|
+
# 96
|
238
|
+
field 'Buchungstyp', :string, :limit => 2
|
239
|
+
# AA = Angeforderte Anzahlung/Abschlagsrechnung
|
240
|
+
# AG = Erhaltene Anzahlung (Geldeingang)
|
241
|
+
# AV = Erhaltene Anzahlung (Verbindlichkeit)
|
242
|
+
# SR = Schlussrechnung
|
243
|
+
# SU = Schlussrechnung (Umbuchung)
|
244
|
+
# SG = Schlussrechnung (Geldeingang)
|
245
|
+
# SO = Sonstige
|
246
|
+
|
247
|
+
# 97
|
248
|
+
field 'USt-Schlüssel (Anzahlungen)', :integer, :limit => 2
|
249
|
+
# USt-Schlüssel der späteren Schlussrechnung
|
250
|
+
|
251
|
+
# 98
|
252
|
+
field 'EU-Mitgliedstaat (Anzahlungen)', :string, :limit => 2
|
253
|
+
# EU-Mitgliedstaat der späteren Schlussrechnung
|
254
|
+
# (siehe Dok.-Nr. 1080169)
|
255
|
+
|
256
|
+
# 99
|
257
|
+
field 'Sachverhalt L+L (Anzahlungen)', :integer, :limit => 3
|
258
|
+
# L+L-Sachverhalt der späteren Schlussrechnung
|
259
|
+
# Sachverhalte gem. § 13b Abs. 1 Satz 1 Nrn. 1.-5. UStG
|
260
|
+
# Achtung: Der Wert 0 ist unzulässig.
|
261
|
+
|
262
|
+
# 100
|
263
|
+
field 'EU-Steuersatz (Anzahlungen)', :decimal, :precision => 4, :scale => 2
|
264
|
+
# EU-Steuersatz der späteren Schlussrechnung
|
265
|
+
# Nur für entsprechende EU-Buchungen: Der im EU-Bestimmungsland gültige Steuersatz.
|
266
|
+
# Beispiel: 12,12
|
267
|
+
|
268
|
+
# 101
|
269
|
+
field 'Erlöskonto (Anzahlungen)', :integer, :limit => 9
|
270
|
+
# Erlöskonto der späteren Schlussrechnung
|
271
|
+
|
272
|
+
# 102
|
273
|
+
field 'Herkunft-Kz', :string, :limit => 2
|
274
|
+
# Wird beim Import durch SV (Stapelverarbeitung) ersetzt.
|
275
|
+
|
276
|
+
# 103
|
277
|
+
field 'Leerfeld', :string, :limit => 36
|
278
|
+
# Wird von DATEV verwendet.
|
279
|
+
|
280
|
+
# 104
|
281
|
+
field 'KOST-Datum', :date, :format => '%d%m%Y'
|
282
|
+
# Format TTMMJJJJ
|
283
|
+
|
284
|
+
# 105
|
285
|
+
field 'SEPA-Mandatsreferenz', :string, :limit => 35
|
286
|
+
# Vom Zahlungsempfänger individuell vergebenes Kennzeichen eines Mandats (z. B. Rechnungs- oder Kundennummer).
|
287
|
+
|
288
|
+
# 106
|
289
|
+
field 'Skontosperre', :boolean
|
290
|
+
# 0 = keine Skontosperre
|
291
|
+
# 1 = Skontosperre
|
292
|
+
|
293
|
+
# 107
|
294
|
+
field 'Gesellschaftername', :string, :limit => 76
|
295
|
+
|
296
|
+
# 108
|
297
|
+
field 'Beteiligtennummer', :integer, :limit => 4
|
298
|
+
|
299
|
+
# 109
|
300
|
+
field 'Identifikationsnummer', :string, :limit => 11
|
301
|
+
|
302
|
+
# 110
|
303
|
+
field 'Zeichnernummer', :string, :limit => 20
|
304
|
+
|
305
|
+
# 111
|
306
|
+
field 'Postensperre bis', :date, :format => '%d%m%Y'
|
307
|
+
|
308
|
+
# 112
|
309
|
+
field 'Bezeichnung', :string, :limit => 30
|
310
|
+
# SoBil-Sachverhalt
|
311
|
+
|
312
|
+
# 113
|
313
|
+
field 'Kennzeichen', :integer, :limit => 2
|
314
|
+
# SoBil-Buchung
|
315
|
+
|
316
|
+
# 114
|
317
|
+
field 'Festschreibung', :boolean
|
318
|
+
# leer = nicht definiert; wird ab Jahreswechselversion 2016/2017 automatisch festgeschrieben
|
319
|
+
# 0 = keine Festschreibung
|
320
|
+
# 1 = Festschreibung
|
321
|
+
# Hat ein Buchungssatz in diesem Feld den Inhalt 1, so wird der gesamte Stapel nach dem Import festgeschrieben.
|
322
|
+
# Ab Jahreswechselversion 2016/2017 gilt das auch bei Inhalt = leer.
|
323
|
+
|
324
|
+
# 115
|
325
|
+
field 'Leistungsdatum', :date, :format => '%d%m%Y'
|
326
|
+
|
327
|
+
# 116
|
328
|
+
field 'Datum Zuord.', :date, :format => '%d%m%Y'
|
329
|
+
# Steuerperiode
|
330
|
+
end
|
331
|
+
end
|
data/lib/datev/export.rb
ADDED
@@ -0,0 +1,56 @@
|
|
1
|
+
require 'csv'
|
2
|
+
require 'datev/header'
|
3
|
+
require 'datev/booking'
|
4
|
+
|
5
|
+
module Datev
|
6
|
+
class Export
|
7
|
+
CSV_OPTIONS = { :col_sep => ';' }
|
8
|
+
|
9
|
+
DEFAULT_HEADER_ATTRIBUTES = {
|
10
|
+
'DATEV-Format-KZ' => 'EXTF',
|
11
|
+
'Versionsnummer' => 510,
|
12
|
+
'Datenkategorie' => 21,
|
13
|
+
'Formatname' => 'Buchungsstapel',
|
14
|
+
'Formatversion' => 7,
|
15
|
+
'Erzeugt am' => Time.now,
|
16
|
+
'Sachkontenlänge' => 4,
|
17
|
+
'Bezeichnung' => 'Buchungen',
|
18
|
+
'Buchungstyp' => 1,
|
19
|
+
'WKZ' => 'EUR'
|
20
|
+
}
|
21
|
+
|
22
|
+
def initialize(header_attributes)
|
23
|
+
@header = Header.new DEFAULT_HEADER_ATTRIBUTES.merge(header_attributes)
|
24
|
+
@rows = []
|
25
|
+
end
|
26
|
+
|
27
|
+
def <<(booking)
|
28
|
+
raise ArgumentError.new('Param must be a Datev::Booking instance') unless booking.is_a?(Booking)
|
29
|
+
|
30
|
+
@rows << booking
|
31
|
+
end
|
32
|
+
|
33
|
+
def to_s
|
34
|
+
CSV.generate(CSV_OPTIONS) do |csv|
|
35
|
+
write(csv)
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
def to_file(filename)
|
40
|
+
CSV.open(filename, 'wb', CSV_OPTIONS) do |csv|
|
41
|
+
write(csv)
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
private
|
46
|
+
|
47
|
+
def write(csv)
|
48
|
+
csv << @header.to_a
|
49
|
+
csv << Booking.fields.map(&:name)
|
50
|
+
|
51
|
+
@rows.each do |row|
|
52
|
+
csv << row.to_a
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
data/lib/datev/field.rb
ADDED
@@ -0,0 +1,77 @@
|
|
1
|
+
module Datev
|
2
|
+
class Field
|
3
|
+
attr_accessor :name, :type, :options
|
4
|
+
|
5
|
+
def initialize(name, type, options={})
|
6
|
+
unless name.is_a?(String)
|
7
|
+
raise ArgumentError.new('Name param has to be a String')
|
8
|
+
end
|
9
|
+
|
10
|
+
unless [:string, :decimal, :boolean, :date, :integer].include?(type)
|
11
|
+
raise ArgumentError.new('Type param not recognized')
|
12
|
+
end
|
13
|
+
|
14
|
+
unless options.is_a?(Hash)
|
15
|
+
raise ArgumentError.new('Options param has to be a Hash')
|
16
|
+
end
|
17
|
+
|
18
|
+
unless (options.keys - [:limit, :required, :format, :precision, :scale]).empty?
|
19
|
+
raise ArgumentError.new('Options param includes unknown key')
|
20
|
+
end
|
21
|
+
|
22
|
+
self.name = name
|
23
|
+
self.type = type
|
24
|
+
self.options = options
|
25
|
+
end
|
26
|
+
|
27
|
+
def required?
|
28
|
+
options[:required] == true
|
29
|
+
end
|
30
|
+
|
31
|
+
def format
|
32
|
+
options[:format]
|
33
|
+
end
|
34
|
+
|
35
|
+
def limit
|
36
|
+
options[:limit]
|
37
|
+
end
|
38
|
+
|
39
|
+
def validate!(value)
|
40
|
+
if value
|
41
|
+
case type
|
42
|
+
when :string
|
43
|
+
raise ArgumentError.new("Field '#{name}' is not a String") unless value.is_a?(String)
|
44
|
+
raise ArgumentError.new("Value '#{value}' fo field '#{name}' is too long") if limit && value.length > limit
|
45
|
+
when :integer
|
46
|
+
raise ArgumentError.new("Field '#{name}' is not an Integer") unless value.is_a?(Integer)
|
47
|
+
raise ArgumentError.new("Value '#{value}' fo field '#{name}' is too long") if limit && value.to_s.length > limit
|
48
|
+
when :decimal
|
49
|
+
raise ArgumentError.new("Field '#{name}' is not a Numeric") unless value.is_a?(Numeric)
|
50
|
+
when :date
|
51
|
+
raise ArgumentError.new("Field '#{name}' is not a Date or Time") unless value.is_a?(Time) || value.is_a?(Date)
|
52
|
+
when :boolean
|
53
|
+
raise ArgumentError.new("Field '#{name}' is not a Boolean") unless [true, false].include?(value)
|
54
|
+
end
|
55
|
+
elsif required?
|
56
|
+
raise ArgumentError.new("Field '#{name}' is required")
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
def output(value)
|
61
|
+
return unless value
|
62
|
+
|
63
|
+
case type
|
64
|
+
when :string
|
65
|
+
value
|
66
|
+
when :integer
|
67
|
+
value.to_s.rjust(limit, '0')
|
68
|
+
when :decimal
|
69
|
+
value.to_s.sub('.',',')
|
70
|
+
when :boolean
|
71
|
+
value ? 1 : 0
|
72
|
+
when :date
|
73
|
+
value.strftime(format)
|
74
|
+
end
|
75
|
+
end
|
76
|
+
end
|
77
|
+
end
|
data/lib/datev/header.rb
ADDED
@@ -0,0 +1,100 @@
|
|
1
|
+
require 'datev/base'
|
2
|
+
|
3
|
+
module Datev
|
4
|
+
class Header < Base
|
5
|
+
# 1
|
6
|
+
field 'DATEV-Format-KZ', :string, :limit => 4
|
7
|
+
# vom Datev angegeben
|
8
|
+
# EXTF = für Datei-Formate, die von externen Programmen erstellt wurden
|
9
|
+
|
10
|
+
# 2
|
11
|
+
field 'Versionsnummer', :integer, :limit => 3
|
12
|
+
# entspricht der zugrundeliegenden Versionsnummer des Scnittstellen-Entwicklungsleitfadens
|
13
|
+
|
14
|
+
# 3
|
15
|
+
field 'Datenkategorie', :integer, :limit => 2
|
16
|
+
# vom Datev angegeben
|
17
|
+
# Buchungsstapel = 21
|
18
|
+
|
19
|
+
# 4
|
20
|
+
field 'Formatname', :string
|
21
|
+
# vom Datev angegeben
|
22
|
+
# 'Buchungsstapel'
|
23
|
+
|
24
|
+
# 5
|
25
|
+
field 'Formatversion', :integer, :limit => 3
|
26
|
+
# vom Datev angegeben
|
27
|
+
# Buchungsstapel = 2
|
28
|
+
|
29
|
+
# 6
|
30
|
+
field 'Erzeugt am', :date, :format => '%Y%m%d%H%M%S%L'
|
31
|
+
|
32
|
+
# 7
|
33
|
+
field 'Importiert', :date
|
34
|
+
# Darf nicht gefüllt werden, durch Import gesetzt.
|
35
|
+
|
36
|
+
# 8
|
37
|
+
field 'Herkunft', :string, :limit => 2
|
38
|
+
# Herkunfts-Kennzeichen
|
39
|
+
# Beim Import wird das Herkunfts-Kennzeichen durch „SV“ (= Stapelverarbeitung) ersetzt.
|
40
|
+
|
41
|
+
# 9
|
42
|
+
field 'Exportiert von', :string, :limit => 25
|
43
|
+
# Benutzername
|
44
|
+
|
45
|
+
# 10
|
46
|
+
field 'Importiert von', :string, :limit => 10
|
47
|
+
# Darf nicht gefüllt werden, durch Import gesetzt.
|
48
|
+
|
49
|
+
# 11
|
50
|
+
field 'Berater', :integer, :limit => 7
|
51
|
+
# Beraternummer
|
52
|
+
|
53
|
+
# 12
|
54
|
+
field 'Mandant', :integer, :limit => 5
|
55
|
+
# Mandantennummer
|
56
|
+
|
57
|
+
# 13
|
58
|
+
field 'WJ-Beginn', :date, :format => '%Y%m%d'
|
59
|
+
# Wirtschaftsjahresbeginn
|
60
|
+
|
61
|
+
# 14
|
62
|
+
field 'Sachkontenlänge', :integer, :limit => 1
|
63
|
+
# Kleinste Sachkontenlänge = 4, Grösste Sachkontenlänge = 8
|
64
|
+
|
65
|
+
# 15
|
66
|
+
field 'Datum vom', :date, :format => '%Y%m%d'
|
67
|
+
|
68
|
+
# 16
|
69
|
+
field 'Datum bis', :date, :format => '%Y%m%d'
|
70
|
+
|
71
|
+
# 17
|
72
|
+
field 'Bezeichnung', :string, :limit => 30
|
73
|
+
# Bezeichnung des Buchungsstapels
|
74
|
+
|
75
|
+
# 18
|
76
|
+
field 'Diktatkürzel', :string, :limit => 2
|
77
|
+
# Diktatkürzel Beispiel MM = Max Mustermann
|
78
|
+
|
79
|
+
# 19
|
80
|
+
field 'Buchungstyp', :integer, :limit => 1
|
81
|
+
# 1 = Finanzbuchhaltung, 2 = Jahresabschluss
|
82
|
+
|
83
|
+
# 20
|
84
|
+
field 'Rechnungslegungszweck' , :integer, :limit => 2
|
85
|
+
# 0 oder leer = Rechnungslegungszweckunabhängig
|
86
|
+
|
87
|
+
# 21
|
88
|
+
field 'reserviert', :integer
|
89
|
+
|
90
|
+
# 22
|
91
|
+
field 'WKZ', :string, :limit => 3
|
92
|
+
# Währungskennzeichen
|
93
|
+
|
94
|
+
# 23 - 26
|
95
|
+
field 'reserviert 2', :string
|
96
|
+
field 'reserviert 3', :string
|
97
|
+
field 'reserviert 4', :string
|
98
|
+
field 'reserviert 5', :string
|
99
|
+
end
|
100
|
+
end
|
metadata
ADDED
@@ -0,0 +1,105 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: datev
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Georg Ledermann
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-06-22 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
description: Provides an easy way to create CSV files which can be imported into accounting
|
56
|
+
applications
|
57
|
+
email:
|
58
|
+
- mail@georg-ledermann.de
|
59
|
+
executables: []
|
60
|
+
extensions: []
|
61
|
+
extra_rdoc_files: []
|
62
|
+
files:
|
63
|
+
- ".gitignore"
|
64
|
+
- ".rspec"
|
65
|
+
- ".travis.yml"
|
66
|
+
- CODE_OF_CONDUCT.md
|
67
|
+
- Gemfile
|
68
|
+
- LICENSE.txt
|
69
|
+
- README.md
|
70
|
+
- Rakefile
|
71
|
+
- bin/console
|
72
|
+
- bin/setup
|
73
|
+
- datev.gemspec
|
74
|
+
- lib/datev.rb
|
75
|
+
- lib/datev/base.rb
|
76
|
+
- lib/datev/booking.rb
|
77
|
+
- lib/datev/export.rb
|
78
|
+
- lib/datev/field.rb
|
79
|
+
- lib/datev/header.rb
|
80
|
+
- lib/datev/version.rb
|
81
|
+
homepage: https://github.com/ledermann/datev
|
82
|
+
licenses:
|
83
|
+
- MIT
|
84
|
+
metadata: {}
|
85
|
+
post_install_message:
|
86
|
+
rdoc_options: []
|
87
|
+
require_paths:
|
88
|
+
- lib
|
89
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
90
|
+
requirements:
|
91
|
+
- - ">="
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - ">="
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0'
|
99
|
+
requirements: []
|
100
|
+
rubyforge_project:
|
101
|
+
rubygems_version: 2.6.4
|
102
|
+
signing_key:
|
103
|
+
specification_version: 4
|
104
|
+
summary: Export booking data in DATEV format
|
105
|
+
test_files: []
|