ruconomic 0.9.1 → 0.9.2
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 +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,512 +6,512 @@ module Ruconomic
|
|
6
6
|
# Creates a new account from a data object.
|
7
7
|
# Parameters: data: The data object that specifies the properties of the new account.
|
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=Account_CreateFromData
|
11
11
|
# @return [Hash] The body content of the SOAP response.
|
12
12
|
def self.create_from_data
|
13
13
|
response = invoke('Account_CreateFromData') 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
|
# Creates new accounts from data objects.
|
19
19
|
# Parameters: dataArray: The array of data objects that specifies the properties of the new accounts.
|
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=Account_CreateFromDataArray
|
23
23
|
# @return [Hash] The body content of the SOAP response.
|
24
24
|
def self.create_from_data_array
|
25
25
|
response = invoke('Account_CreateFromDataArray') 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
|
# Update accounts from data objects.
|
31
31
|
# Parameters: dataArray: The array of data objects.
|
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=Account_UpdateFromDataArray
|
35
35
|
# @return [Hash] The body content of the SOAP response.
|
36
36
|
def self.update_from_data_array
|
37
37
|
response = invoke('Account_UpdateFromDataArray') 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
|
# Updates an account from a data object.
|
43
43
|
# Parameters: data: The data object.
|
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=Account_UpdateFromData
|
47
47
|
# @return [Hash] The body content of the SOAP response.
|
48
48
|
def self.update_from_data
|
49
49
|
response = invoke('Account_UpdateFromData') 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
|
# Returns an account data object for a given account.
|
55
55
|
# Parameters: entityHandle: A handle for the account.
|
56
56
|
#
|
57
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
57
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
58
58
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Account_GetData
|
59
59
|
# @return [Hash] The body content of the SOAP response.
|
60
60
|
def self.get_data
|
61
61
|
response = invoke('Account_GetData') do |message|
|
62
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
62
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
66
66
|
# Returns account data objects for a given set of account handles.
|
67
67
|
# Parameters: entityHandles: An array of the account handles.
|
68
68
|
#
|
69
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
69
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
70
70
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Account_GetDataArray
|
71
71
|
# @return [Hash] The body content of the SOAP response.
|
72
72
|
def self.get_data_array
|
73
73
|
response = invoke('Account_GetDataArray') do |message|
|
74
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
74
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
75
75
|
end
|
76
76
|
end
|
77
77
|
|
78
78
|
# Creates a new account.
|
79
79
|
# Parameters: number: The number of the new account. name: The name of the new account. type: The type of the new account.
|
80
80
|
#
|
81
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
81
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
82
82
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Account_Create
|
83
83
|
# @return [Hash] The body content of the SOAP response.
|
84
84
|
def self.create
|
85
85
|
response = invoke('Account_Create') do |message|
|
86
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
86
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
87
87
|
end
|
88
88
|
end
|
89
89
|
|
90
90
|
# Return handles for all accounts.
|
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=Account_GetAll
|
94
94
|
# @return [Hash] The body content of the SOAP response.
|
95
95
|
def self.get_all
|
96
96
|
response = invoke('Account_GetAll') 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
|
# Return handles for all accounts from date. fromDate is based on CET. includeCalculatedProperties is reserved for future usage and should be set to false for now.
|
102
102
|
#
|
103
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
103
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
104
104
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Account_GetAllUpdated
|
105
105
|
# @return [Hash] The body content of the SOAP response.
|
106
106
|
def self.get_all_updated
|
107
107
|
response = invoke('Account_GetAllUpdated') do |message|
|
108
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
108
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
109
109
|
end
|
110
110
|
end
|
111
111
|
|
112
112
|
# Returns a handle for the account with the given number.
|
113
113
|
# Parameters: number: The number to search for.
|
114
114
|
#
|
115
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
115
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
116
116
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Account_FindByNumber
|
117
117
|
# @return [Hash] The body content of the SOAP response.
|
118
118
|
def self.find_by_number
|
119
119
|
response = invoke('Account_FindByNumber') do |message|
|
120
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
120
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
121
121
|
end
|
122
122
|
end
|
123
123
|
|
124
124
|
# Returns an array with handles for the accounts corresponding to the given account numbers. If an account with a given number does not exist or if no number is given then the array contains nothing at that index.
|
125
125
|
# Parameters: numbers: The numbers to search for.
|
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=Account_FindByNumberList
|
129
129
|
# @return [Hash] The body content of the SOAP response.
|
130
130
|
def self.find_by_number_list
|
131
131
|
response = invoke('Account_FindByNumberList') 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
|
# Returns handles for the accounts with the given name.
|
137
137
|
# Parameters: name: The name to search for.
|
138
138
|
#
|
139
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
139
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
140
140
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Account_FindByName
|
141
141
|
# @return [Hash] The body content of the SOAP response.
|
142
142
|
def self.find_by_name
|
143
143
|
response = invoke('Account_FindByName') do |message|
|
144
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
144
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
145
145
|
end
|
146
146
|
end
|
147
147
|
|
148
148
|
# Returns entry totals for the specified accounts and date interval.
|
149
149
|
# Parameters: accounts: The accounts for which to return entry totals. first: Start date of interval. last: End date of interval.
|
150
150
|
#
|
151
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
151
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
152
152
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Account_GetEntryTotalsByDate
|
153
153
|
# @return [Hash] The body content of the SOAP response.
|
154
154
|
def self.get_entry_totals_by_date
|
155
155
|
response = invoke('Account_GetEntryTotalsByDate') do |message|
|
156
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
156
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
157
157
|
end
|
158
158
|
end
|
159
159
|
|
160
160
|
# Deletes an account.
|
161
161
|
# Parameters: accountHandle: Handle for the account.
|
162
162
|
#
|
163
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
163
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
164
164
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Account_Delete
|
165
165
|
# @return [Hash] The body content of the SOAP response.
|
166
166
|
def self.delete
|
167
167
|
response = invoke('Account_Delete') do |message|
|
168
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
168
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
169
169
|
end
|
170
170
|
end
|
171
171
|
|
172
172
|
# Returns an array with handles for the budget figures for the given account.
|
173
173
|
#
|
174
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
174
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
175
175
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Account_GetBudgetFigures
|
176
176
|
# @return [Hash] The body content of the SOAP response.
|
177
177
|
def self.get_budget_figures
|
178
178
|
response = invoke('Account_GetBudgetFigures') do |message|
|
179
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
179
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
180
180
|
end
|
181
181
|
end
|
182
182
|
|
183
183
|
# Returns an array with handles for the budget figures within the given time interval.
|
184
184
|
# Parameters: fromDate: First day in the interval. toDate: Last day in the interval.
|
185
185
|
#
|
186
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
186
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
187
187
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Account_GetBudgetFiguresByDate
|
188
188
|
# @return [Hash] The body content of the SOAP response.
|
189
189
|
def self.get_budget_figures_by_date
|
190
190
|
response = invoke('Account_GetBudgetFiguresByDate') do |message|
|
191
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
191
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
192
192
|
end
|
193
193
|
end
|
194
194
|
|
195
195
|
# Returns a handle for the entries within the given time interval.
|
196
196
|
# Parameters: First : First day in interval. Last : Last day in interval.
|
197
197
|
#
|
198
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
198
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
199
199
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Account_GetEntriesByDate
|
200
200
|
# @return [Hash] The body content of the SOAP response.
|
201
201
|
def self.get_entries_by_date
|
202
202
|
response = invoke('Account_GetEntriesByDate') do |message|
|
203
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
203
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
204
204
|
end
|
205
205
|
end
|
206
206
|
|
207
207
|
# Returns an array with handles for the entries with serial numbers in the given interval.
|
208
208
|
# Parameters: minNumber: The start of the interval. maxNumber: The end of the interval.
|
209
209
|
#
|
210
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
210
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
211
211
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Account_GetEntriesByNumber
|
212
212
|
# @return [Hash] The body content of the SOAP response.
|
213
213
|
def self.get_entries_by_number
|
214
214
|
response = invoke('Account_GetEntriesByNumber') do |message|
|
215
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
215
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
216
216
|
end
|
217
217
|
end
|
218
218
|
|
219
219
|
# Returns an array with handles for the sum interval for the given account.
|
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=Account_GetSumIntervals
|
223
223
|
# @return [Hash] The body content of the SOAP response.
|
224
224
|
def self.get_sum_intervals
|
225
225
|
response = invoke('Account_GetSumIntervals') 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
|
|
230
230
|
# Gets the number of an account.
|
231
231
|
# Parameters: accountHandle: Handle for the account.
|
232
232
|
#
|
233
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
233
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
234
234
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Account_GetNumber
|
235
235
|
# @return [Hash] The body content of the SOAP response.
|
236
236
|
def self.get_number
|
237
237
|
response = invoke('Account_GetNumber') do |message|
|
238
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
238
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
239
239
|
end
|
240
240
|
end
|
241
241
|
|
242
242
|
# Gets the name of an account.
|
243
243
|
# Parameters: accountHandle: Handle for the account.
|
244
244
|
#
|
245
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
245
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
246
246
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Account_GetName
|
247
247
|
# @return [Hash] The body content of the SOAP response.
|
248
248
|
def self.get_name
|
249
249
|
response = invoke('Account_GetName') do |message|
|
250
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
250
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
251
251
|
end
|
252
252
|
end
|
253
253
|
|
254
254
|
# Sets the name of an account.
|
255
255
|
# Parameters: accountHandle: Handle for the account. value: The new name of the account.
|
256
256
|
#
|
257
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
257
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
258
258
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Account_SetName
|
259
259
|
# @return [Hash] The body content of the SOAP response.
|
260
260
|
def self.set_name
|
261
261
|
response = invoke('Account_SetName') do |message|
|
262
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
262
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
263
263
|
end
|
264
264
|
end
|
265
265
|
|
266
266
|
# Gets the account type of an account.
|
267
267
|
# Parameters: accountHandle: Handle for the account.
|
268
268
|
#
|
269
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
269
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
270
270
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Account_GetType
|
271
271
|
# @return [Hash] The body content of the SOAP response.
|
272
272
|
def self.get_type
|
273
273
|
response = invoke('Account_GetType') do |message|
|
274
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
274
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
275
275
|
end
|
276
276
|
end
|
277
277
|
|
278
278
|
# Sets the account type of an account. This also updates the property TotalFrom.
|
279
279
|
# Parameters: accountHandle: Handle for the account. valueHandle: New account type of the account.
|
280
280
|
#
|
281
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
281
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
282
282
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Account_SetType
|
283
283
|
# @return [Hash] The body content of the SOAP response.
|
284
284
|
def self.set_type
|
285
285
|
response = invoke('Account_SetType') do |message|
|
286
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
286
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
287
287
|
end
|
288
288
|
end
|
289
289
|
|
290
290
|
# Gets whether an account is a debit or credit account.
|
291
291
|
# Parameters: accountHandle: Handle for the account.
|
292
292
|
#
|
293
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
293
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
294
294
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Account_GetDebitCredit
|
295
295
|
# @return [Hash] The body content of the SOAP response.
|
296
296
|
def self.get_debit_credit
|
297
297
|
response = invoke('Account_GetDebitCredit') do |message|
|
298
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
298
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
299
299
|
end
|
300
300
|
end
|
301
301
|
|
302
302
|
# Sets whether an account is a debit or credit account.
|
303
303
|
# Parameters: accountHandle: Handle for the account. value: Value that indicates whether the account should be a debit or credit account.
|
304
304
|
#
|
305
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
305
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
306
306
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Account_SetDebitCredit
|
307
307
|
# @return [Hash] The body content of the SOAP response.
|
308
308
|
def self.set_debit_credit
|
309
309
|
response = invoke('Account_SetDebitCredit') do |message|
|
310
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
310
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
311
311
|
end
|
312
312
|
end
|
313
313
|
|
314
314
|
# Gets whether an account is accessible.
|
315
315
|
# Parameters: accountHandle: Handle for the account.
|
316
316
|
#
|
317
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
317
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
318
318
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Account_GetIsAccessible
|
319
319
|
# @return [Hash] The body content of the SOAP response.
|
320
320
|
def self.get_is_accessible
|
321
321
|
response = invoke('Account_GetIsAccessible') do |message|
|
322
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
322
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
323
323
|
end
|
324
324
|
end
|
325
325
|
|
326
326
|
# Sets whether an account is accessible.
|
327
327
|
# Parameters: accountHandle: Handle for the account. value: Value that indicates whether the account should be accessible.
|
328
328
|
#
|
329
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
329
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
330
330
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Account_SetIsAccessible
|
331
331
|
# @return [Hash] The body content of the SOAP response.
|
332
332
|
def self.set_is_accessible
|
333
333
|
response = invoke('Account_SetIsAccessible') do |message|
|
334
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
334
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
335
335
|
end
|
336
336
|
end
|
337
337
|
|
338
338
|
# Gets whether an account is blocked for direct entries.
|
339
339
|
# Parameters: accountHandle: Handle for the account.
|
340
340
|
#
|
341
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
341
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
342
342
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Account_GetBlockDirectEntries
|
343
343
|
# @return [Hash] The body content of the SOAP response.
|
344
344
|
def self.get_block_direct_entries
|
345
345
|
response = invoke('Account_GetBlockDirectEntries') do |message|
|
346
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
346
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
347
347
|
end
|
348
348
|
end
|
349
349
|
|
350
350
|
# Sets whether an account is blocked for direct entries.
|
351
351
|
# Parameters: accountHandle: Handle for the account. value: Value that indicates whether the account should be blocked for direct entries.
|
352
352
|
#
|
353
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
353
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
354
354
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Account_SetBlockDirectEntries
|
355
355
|
# @return [Hash] The body content of the SOAP response.
|
356
356
|
def self.set_block_direct_entries
|
357
357
|
response = invoke('Account_SetBlockDirectEntries') do |message|
|
358
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
358
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
359
359
|
end
|
360
360
|
end
|
361
361
|
|
362
362
|
# Gets a handle for the VAT account of an account.
|
363
363
|
# Parameters: accountHandle: Handle for the account.
|
364
364
|
#
|
365
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
365
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
366
366
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Account_GetVatAccount
|
367
367
|
# @return [Hash] The body content of the SOAP response.
|
368
368
|
def self.get_vat_account
|
369
369
|
response = invoke('Account_GetVatAccount') do |message|
|
370
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
370
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
371
371
|
end
|
372
372
|
end
|
373
373
|
|
374
374
|
# Sets the VAT account of an account.
|
375
375
|
# Parameters: accountHandle: Handle for the account. vatAccountHandle: Handle for the new VAT account of the account.
|
376
376
|
#
|
377
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
377
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
378
378
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Account_SetVatAccount
|
379
379
|
# @return [Hash] The body content of the SOAP response.
|
380
380
|
def self.set_vat_account
|
381
381
|
response = invoke('Account_SetVatAccount') do |message|
|
382
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
382
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
383
383
|
end
|
384
384
|
end
|
385
385
|
|
386
386
|
# Gets a handle for the contra account of an account.
|
387
387
|
# Parameters: accountHandle: Handle for the account.
|
388
388
|
#
|
389
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
389
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
390
390
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Account_GetContraAccount
|
391
391
|
# @return [Hash] The body content of the SOAP response.
|
392
392
|
def self.get_contra_account
|
393
393
|
response = invoke('Account_GetContraAccount') do |message|
|
394
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
394
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
395
395
|
end
|
396
396
|
end
|
397
397
|
|
398
398
|
# Sets the contra account of an account.
|
399
399
|
# Parameters: accountHandle: Handle for the account. valueHandle: Handle for the new contra account of the account.
|
400
400
|
#
|
401
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
401
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
402
402
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Account_SetContraAccount
|
403
403
|
# @return [Hash] The body content of the SOAP response.
|
404
404
|
def self.set_contra_account
|
405
405
|
response = invoke('Account_SetContraAccount') do |message|
|
406
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
406
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
407
407
|
end
|
408
408
|
end
|
409
409
|
|
410
410
|
# Gets a handle for the opening account of an account.
|
411
411
|
# Parameters: accountHandle: Handle for the account.
|
412
412
|
#
|
413
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
413
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
414
414
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Account_GetOpeningAccount
|
415
415
|
# @return [Hash] The body content of the SOAP response.
|
416
416
|
def self.get_opening_account
|
417
417
|
response = invoke('Account_GetOpeningAccount') do |message|
|
418
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
418
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
419
419
|
end
|
420
420
|
end
|
421
421
|
|
422
422
|
# Sets the opening account of an account.
|
423
423
|
# Parameters: accountHandle: Handle for the account. valueHandle: Handle for the new opening account of the account.
|
424
424
|
#
|
425
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
425
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
426
426
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Account_SetOpeningAccount
|
427
427
|
# @return [Hash] The body content of the SOAP response.
|
428
428
|
def self.set_opening_account
|
429
429
|
response = invoke('Account_SetOpeningAccount') do |message|
|
430
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
430
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
431
431
|
end
|
432
432
|
end
|
433
433
|
|
434
434
|
# Gets a handle for the first account to sum from if the type of the account is AccountType.TotalFrom.
|
435
435
|
# Parameters: accountHandle: Handle for the account.
|
436
436
|
#
|
437
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
437
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
438
438
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Account_GetTotalFrom
|
439
439
|
# @return [Hash] The body content of the SOAP response.
|
440
440
|
def self.get_total_from
|
441
441
|
response = invoke('Account_GetTotalFrom') do |message|
|
442
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
442
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
443
443
|
end
|
444
444
|
end
|
445
445
|
|
446
446
|
# Sets a handle for the first account to sum from if the type of the account is AccountType.TotalFrom. This is only used if the account has account type TotalFrom.
|
447
447
|
# Parameters: accountHandle: Handle for the account. valueHandle: Handle for the new 'total from'-account.
|
448
448
|
#
|
449
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
449
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
450
450
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Account_SetTotalFrom
|
451
451
|
# @return [Hash] The body content of the SOAP response.
|
452
452
|
def self.set_total_from
|
453
453
|
response = invoke('Account_SetTotalFrom') do |message|
|
454
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
454
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
455
455
|
end
|
456
456
|
end
|
457
457
|
|
458
458
|
# Gets the balance of an account.
|
459
459
|
# Parameters: accountHandle: Handle for the account.
|
460
460
|
#
|
461
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
461
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
462
462
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Account_GetBalance
|
463
463
|
# @return [Hash] The body content of the SOAP response.
|
464
464
|
def self.get_balance
|
465
465
|
response = invoke('Account_GetBalance') do |message|
|
466
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
466
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
467
467
|
end
|
468
468
|
end
|
469
469
|
|
470
470
|
# Gets a handle for the department of an account. The department is only accessible when there is access to the Dimension add-on module.
|
471
471
|
# Parameters: accountHandle: Handle for the account.
|
472
472
|
#
|
473
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
473
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
474
474
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Account_GetDepartment
|
475
475
|
# @return [Hash] The body content of the SOAP response.
|
476
476
|
def self.get_department
|
477
477
|
response = invoke('Account_GetDepartment') do |message|
|
478
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
478
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
479
479
|
end
|
480
480
|
end
|
481
481
|
|
482
482
|
# Sets the department of an account. The department is only accessible when there is access to the Dimension add-on module. The department cannot be set when the distribution key is set.
|
483
483
|
# Parameters: accountHandle: Handle for the account. value: Handle for the new department of the account.
|
484
484
|
#
|
485
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
485
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
486
486
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Account_SetDepartment
|
487
487
|
# @return [Hash] The body content of the SOAP response.
|
488
488
|
def self.set_department
|
489
489
|
response = invoke('Account_SetDepartment') do |message|
|
490
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
490
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
491
491
|
end
|
492
492
|
end
|
493
493
|
|
494
494
|
# Gets a handle for the distribution key of an account. The distribution key is only accessible when there is access to the Dimension add-on module.
|
495
495
|
# Parameters: acccountHandle: Handle for the account.
|
496
496
|
#
|
497
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
497
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
498
498
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Account_GetDistributionKey
|
499
499
|
# @return [Hash] The body content of the SOAP response.
|
500
500
|
def self.get_distribution_key
|
501
501
|
response = invoke('Account_GetDistributionKey') do |message|
|
502
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
502
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
503
503
|
end
|
504
504
|
end
|
505
505
|
|
506
506
|
# Sets the distribution key of an account. The distribution key is only accessible when there is access to the Dimension add-on module. The distribution key cannot be set when the department is set.
|
507
507
|
# Parameters: accountHandle: Handle for the account. value: Handle for the new distribution key of the account.
|
508
508
|
#
|
509
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
509
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
510
510
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Account_SetDistributionKey
|
511
511
|
# @return [Hash] The body content of the SOAP response.
|
512
512
|
def self.set_distribution_key
|
513
513
|
response = invoke('Account_SetDistributionKey') do |message|
|
514
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
514
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
515
515
|
end
|
516
516
|
end
|
517
517
|
|