ruconomic 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/ruconomic/api/account.rb +86 -86
- data/lib/ruconomic/api/accounting_period.rb +18 -18
- data/lib/ruconomic/api/accounting_year.rb +26 -26
- data/lib/ruconomic/api/activity.rb +14 -14
- data/lib/ruconomic/api/bank_payment_type.rb +16 -16
- data/lib/ruconomic/api/budget_figure.rb +56 -56
- data/lib/ruconomic/api/cash_book.rb +38 -38
- data/lib/ruconomic/api/cash_book_entry.rb +118 -118
- data/lib/ruconomic/api/company.rb +48 -48
- data/lib/ruconomic/api/cost_type.rb +22 -22
- data/lib/ruconomic/api/cost_type_group.rb +18 -18
- data/lib/ruconomic/api/creditor.rb +114 -114
- data/lib/ruconomic/api/creditor_contact.rb +44 -44
- data/lib/ruconomic/api/creditor_entry.rb +40 -40
- data/lib/ruconomic/api/creditor_group.rb +34 -34
- data/lib/ruconomic/api/currency.rb +10 -10
- data/lib/ruconomic/api/current_invoice.rb +184 -184
- data/lib/ruconomic/api/current_invoice_line.rb +72 -72
- data/lib/ruconomic/api/current_supplier_invoice.rb +18 -18
- data/lib/ruconomic/api/current_supplier_invoice_line.rb +14 -14
- data/lib/ruconomic/api/debtor.rb +152 -152
- data/lib/ruconomic/api/debtor_contact.rb +54 -54
- data/lib/ruconomic/api/debtor_entry.rb +38 -38
- data/lib/ruconomic/api/debtor_group.rb +38 -38
- data/lib/ruconomic/api/delivery_location.rb +56 -56
- data/lib/ruconomic/api/department.rb +32 -32
- data/lib/ruconomic/api/distribution_key.rb +30 -30
- data/lib/ruconomic/api/document_archive_category.rb +26 -26
- data/lib/ruconomic/api/employee.rb +70 -70
- data/lib/ruconomic/api/employee_group.rb +32 -32
- data/lib/ruconomic/api/entry.rb +52 -52
- data/lib/ruconomic/api/extended_vat_zone.rb +12 -12
- data/lib/ruconomic/api/inventory_location.rb +14 -14
- data/lib/ruconomic/api/invoice.rb +115 -111
- data/lib/ruconomic/api/invoice_line.rb +40 -40
- data/lib/ruconomic/api/key_figure_code.rb +16 -16
- data/lib/ruconomic/api/mileage_entry.rb +52 -52
- data/lib/ruconomic/api/order.rb +194 -194
- data/lib/ruconomic/api/order_line.rb +74 -74
- data/lib/ruconomic/api/price_group.rb +32 -32
- data/lib/ruconomic/api/product.rb +88 -88
- data/lib/ruconomic/api/product_group.rb +44 -44
- data/lib/ruconomic/api/product_price.rb +26 -26
- data/lib/ruconomic/api/project.rb +74 -74
- data/lib/ruconomic/api/project_group.rb +18 -18
- data/lib/ruconomic/api/quotation.rb +190 -190
- data/lib/ruconomic/api/quotation_line.rb +74 -74
- data/lib/ruconomic/api/report_code.rb +12 -12
- data/lib/ruconomic/api/report_code_set.rb +14 -14
- data/lib/ruconomic/api/scanned_document.rb +28 -28
- data/lib/ruconomic/api/subscriber.rb +78 -78
- data/lib/ruconomic/api/subscription.rb +62 -62
- data/lib/ruconomic/api/subscription_line.rb +50 -50
- data/lib/ruconomic/api/sum_interval.rb +26 -26
- data/lib/ruconomic/api/template_collection.rb +12 -12
- data/lib/ruconomic/api/term_of_payment.rb +50 -50
- data/lib/ruconomic/api/time_entry.rb +42 -42
- data/lib/ruconomic/api/unit.rb +30 -30
- data/lib/ruconomic/api/vat_account.rb +24 -24
- data/lib/ruconomic/api.rb +12 -13
- data/lib/ruconomic/version.rb +1 -1
- data/ruconomic.gemspec +1 -1
- metadata +20 -21
@@ -6,224 +6,224 @@ module Ruconomic
|
|
6
6
|
# Update cash books from data objects.
|
7
7
|
# Parameters: dataArray: The array of data objects.
|
8
8
|
#
|
9
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
9
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
10
10
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CashBook_UpdateFromDataArray
|
11
11
|
# @return [Hash] The body content of the SOAP response.
|
12
12
|
def self.update_from_data_array
|
13
13
|
response = invoke('CashBook_UpdateFromDataArray') do |message|
|
14
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
14
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
18
18
|
# Updates a cash book from a data object.
|
19
19
|
# Parameters: data: The data object.
|
20
20
|
#
|
21
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
21
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
22
22
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CashBook_UpdateFromData
|
23
23
|
# @return [Hash] The body content of the SOAP response.
|
24
24
|
def self.update_from_data
|
25
25
|
response = invoke('CashBook_UpdateFromData') do |message|
|
26
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
26
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
30
30
|
# Returns a cash book data object for a given cash book.
|
31
31
|
# Parameters: entityHandle: A handle for the cash book.
|
32
32
|
#
|
33
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
33
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
34
34
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CashBook_GetData
|
35
35
|
# @return [Hash] The body content of the SOAP response.
|
36
36
|
def self.get_data
|
37
37
|
response = invoke('CashBook_GetData') do |message|
|
38
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
38
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
39
39
|
end
|
40
40
|
end
|
41
41
|
|
42
42
|
# Returns cash book data objects for a given set of cash book handles.
|
43
43
|
# Parameters: entityHandles: An array of the cash book handles.
|
44
44
|
#
|
45
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
45
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
46
46
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CashBook_GetDataArray
|
47
47
|
# @return [Hash] The body content of the SOAP response.
|
48
48
|
def self.get_data_array
|
49
49
|
response = invoke('CashBook_GetDataArray') do |message|
|
50
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
50
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
54
|
# Return handles for all cash books.
|
55
55
|
#
|
56
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
56
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
57
57
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CashBook_GetAll
|
58
58
|
# @return [Hash] The body content of the SOAP response.
|
59
59
|
def self.get_all
|
60
60
|
response = invoke('CashBook_GetAll') do |message|
|
61
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
61
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
65
|
# Returns a handle for the cash book with the given number.
|
66
66
|
# Parameters: number: The number to search for.
|
67
67
|
#
|
68
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
68
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
69
69
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CashBook_FindByNumber
|
70
70
|
# @return [Hash] The body content of the SOAP response.
|
71
71
|
def self.find_by_number
|
72
72
|
response = invoke('CashBook_FindByNumber') do |message|
|
73
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
73
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
77
|
# Returns an array with handles for the cash books corresponding to the given numbers. If a cash book with a given number does not exist then the array contains nothing at that index.
|
78
78
|
# Parameters: numbers: The numbers to search for.
|
79
79
|
#
|
80
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
80
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
81
81
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CashBook_FindByNumberList
|
82
82
|
# @return [Hash] The body content of the SOAP response.
|
83
83
|
def self.find_by_number_list
|
84
84
|
response = invoke('CashBook_FindByNumberList') do |message|
|
85
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
85
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
86
86
|
end
|
87
87
|
end
|
88
88
|
|
89
89
|
# Returns a handle for the cash book with the given name.
|
90
90
|
# Parameters: name: The name to search for.
|
91
91
|
#
|
92
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
92
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
93
93
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CashBook_FindByName
|
94
94
|
# @return [Hash] The body content of the SOAP response.
|
95
95
|
def self.find_by_name
|
96
96
|
response = invoke('CashBook_FindByName') do |message|
|
97
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
97
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
98
98
|
end
|
99
99
|
end
|
100
100
|
|
101
101
|
# Returns an array with handles for the cash books corresponding to the given names. If a cash book with a given name does not exist or if no name is given then the array contains nothing at that index.
|
102
102
|
# Parameters: names: The names to search for.
|
103
103
|
#
|
104
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
104
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
105
105
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CashBook_FindByNameList
|
106
106
|
# @return [Hash] The body content of the SOAP response.
|
107
107
|
def self.find_by_name_list
|
108
108
|
response = invoke('CashBook_FindByNameList') do |message|
|
109
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
109
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
110
110
|
end
|
111
111
|
end
|
112
112
|
|
113
113
|
# Assigns a PDF document to a voucher number.
|
114
114
|
# Parameters: data: PDF document. voucherNumber: Voucher number. entryDate: Entry date.
|
115
115
|
#
|
116
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
116
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
117
117
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CashBook_RegisterPdfVoucher
|
118
118
|
# @return [Hash] The body content of the SOAP response.
|
119
119
|
def self.register_pdf_voucher
|
120
120
|
response = invoke('CashBook_RegisterPdfVoucher') do |message|
|
121
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
121
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
122
122
|
end
|
123
123
|
end
|
124
124
|
|
125
125
|
# Get the next available voucher number for the cashbook.
|
126
126
|
#
|
127
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
127
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
128
128
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CashBook_GetNextVoucherNumber
|
129
129
|
# @return [Hash] The body content of the SOAP response.
|
130
130
|
def self.get_next_voucher_number
|
131
131
|
response = invoke('CashBook_GetNextVoucherNumber') do |message|
|
132
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
132
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
133
133
|
end
|
134
134
|
end
|
135
135
|
|
136
136
|
# Gets the entries in the cashbook.
|
137
137
|
#
|
138
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
138
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
139
139
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CashBook_GetEntries
|
140
140
|
# @return [Hash] The body content of the SOAP response.
|
141
141
|
def self.get_entries
|
142
142
|
response = invoke('CashBook_GetEntries') do |message|
|
143
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
143
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
144
144
|
end
|
145
145
|
end
|
146
146
|
|
147
147
|
# Delete all entries from a cash book. Action that cannot be undone.
|
148
148
|
# Parameters: cashBookHandle: Handle for the cash book.
|
149
149
|
#
|
150
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
150
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
151
151
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CashBook_DeleteAllEntries
|
152
152
|
# @return [Hash] The body content of the SOAP response.
|
153
153
|
def self.delete_all_entries
|
154
154
|
response = invoke('CashBook_DeleteAllEntries') do |message|
|
155
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
155
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
156
156
|
end
|
157
157
|
end
|
158
158
|
|
159
159
|
# Books all entries in the cashbook.
|
160
160
|
#
|
161
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
161
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
162
162
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CashBook_Book
|
163
163
|
# @return [Hash] The body content of the SOAP response.
|
164
164
|
def self.book
|
165
165
|
response = invoke('CashBook_Book') do |message|
|
166
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
166
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
167
167
|
end
|
168
168
|
end
|
169
169
|
|
170
170
|
# Books entries in the cashbook between fromDate and toDate.
|
171
171
|
# Parameters: fromDate: The fromDate, toDate: The toDate.
|
172
172
|
#
|
173
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
173
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
174
174
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CashBook_BookWithDate
|
175
175
|
# @return [Hash] The body content of the SOAP response.
|
176
176
|
def self.book_with_date
|
177
177
|
response = invoke('CashBook_BookWithDate') do |message|
|
178
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
178
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
179
179
|
end
|
180
180
|
end
|
181
181
|
|
182
182
|
# Books entries in the cashbook between fromDate and toDate. Some or all entries are in a closed period.
|
183
183
|
# Parameters: fromDate: The fromDate, toDate: The toDate, accrualDate: The accrualDate, accrualText: The accrualText.
|
184
184
|
#
|
185
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
185
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
186
186
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CashBook_BookWithDateClosedPeriod
|
187
187
|
# @return [Hash] The body content of the SOAP response.
|
188
188
|
def self.book_with_date_closed_period
|
189
189
|
response = invoke('CashBook_BookWithDateClosedPeriod') do |message|
|
190
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
190
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
191
191
|
end
|
192
192
|
end
|
193
193
|
|
194
194
|
# Gets the number of a cash book.
|
195
195
|
# Parameters: cashBookHandle: Handle for the cash book.
|
196
196
|
#
|
197
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
197
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
198
198
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CashBook_GetNumber
|
199
199
|
# @return [Hash] The body content of the SOAP response.
|
200
200
|
def self.get_number
|
201
201
|
response = invoke('CashBook_GetNumber') do |message|
|
202
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
202
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
203
203
|
end
|
204
204
|
end
|
205
205
|
|
206
206
|
# Gets the name of a cash book.
|
207
207
|
# Parameters: cashBookHandle: Handle for the cash book.
|
208
208
|
#
|
209
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
209
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
210
210
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CashBook_GetName
|
211
211
|
# @return [Hash] The body content of the SOAP response.
|
212
212
|
def self.get_name
|
213
213
|
response = invoke('CashBook_GetName') do |message|
|
214
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
214
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
215
215
|
end
|
216
216
|
end
|
217
217
|
|
218
218
|
# Sets the name of a cash book.
|
219
219
|
# Parameters: cashBookHandle: Handle for the cash book. value: The new name.
|
220
220
|
#
|
221
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
221
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
222
222
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CashBook_SetName
|
223
223
|
# @return [Hash] The body content of the SOAP response.
|
224
224
|
def self.set_name
|
225
225
|
response = invoke('CashBook_SetName') do |message|
|
226
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
226
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
227
227
|
end
|
228
228
|
end
|
229
229
|
|