ruconomic 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +5 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +100 -0
- data/Rakefile +2 -0
- data/lib/ruconomic/api/account.rb +520 -0
- data/lib/ruconomic/api/accounting_period.rb +113 -0
- data/lib/ruconomic/api/accounting_year.rb +161 -0
- data/lib/ruconomic/api/activity.rb +90 -0
- data/lib/ruconomic/api/bank_payment_type.rb +103 -0
- data/lib/ruconomic/api/budget_figure.rb +343 -0
- data/lib/ruconomic/api/cash_book.rb +232 -0
- data/lib/ruconomic/api/cash_book_entry.rb +716 -0
- data/lib/ruconomic/api/company.rb +294 -0
- data/lib/ruconomic/api/cost_type.rb +138 -0
- data/lib/ruconomic/api/cost_type_group.rb +115 -0
- data/lib/ruconomic/api/creditor.rb +688 -0
- data/lib/ruconomic/api/creditor_contact.rb +269 -0
- data/lib/ruconomic/api/creditor_entry.rb +235 -0
- data/lib/ruconomic/api/creditor_group.rb +208 -0
- data/lib/ruconomic/api/currency.rb +67 -0
- data/lib/ruconomic/api/current_invoice.rb +1110 -0
- data/lib/ruconomic/api/current_invoice_line.rb +440 -0
- data/lib/ruconomic/api/current_supplier_invoice.rb +115 -0
- data/lib/ruconomic/api/current_supplier_invoice_line.rb +92 -0
- data/lib/ruconomic/api/debtor.rb +978 -0
- data/lib/ruconomic/api/debtor_contact.rb +328 -0
- data/lib/ruconomic/api/debtor_entry.rb +223 -0
- data/lib/ruconomic/api/debtor_group.rb +232 -0
- data/lib/ruconomic/api/delivery_location.rb +341 -0
- data/lib/ruconomic/api/department.rb +197 -0
- data/lib/ruconomic/api/distribution_key.rb +187 -0
- data/lib/ruconomic/api/document_archive_category.rb +163 -0
- data/lib/ruconomic/api/employee.rb +421 -0
- data/lib/ruconomic/api/employee_group.rb +199 -0
- data/lib/ruconomic/api/entry.rb +318 -0
- data/lib/ruconomic/api/extended_vat_zone.rb +79 -0
- data/lib/ruconomic/api/inventory_location.rb +91 -0
- data/lib/ruconomic/api/invoice.rb +655 -0
- data/lib/ruconomic/api/invoice_line.rb +248 -0
- data/lib/ruconomic/api/key_figure_code.rb +103 -0
- data/lib/ruconomic/api/mileage_entry.rb +319 -0
- data/lib/ruconomic/api/order.rb +1169 -0
- data/lib/ruconomic/api/order_line.rb +451 -0
- data/lib/ruconomic/api/price_group.rb +200 -0
- data/lib/ruconomic/api/product.rb +533 -0
- data/lib/ruconomic/api/product_group.rb +271 -0
- data/lib/ruconomic/api/product_price.rb +164 -0
- data/lib/ruconomic/api/project.rb +449 -0
- data/lib/ruconomic/api/project_group.rb +113 -0
- data/lib/ruconomic/api/quotation.rb +1145 -0
- data/lib/ruconomic/api/quotation_line.rb +451 -0
- data/lib/ruconomic/api/report_code.rb +78 -0
- data/lib/ruconomic/api/report_code_set.rb +89 -0
- data/lib/ruconomic/api/scanned_document.rb +175 -0
- data/lib/ruconomic/api/subscriber.rb +475 -0
- data/lib/ruconomic/api/subscription.rb +375 -0
- data/lib/ruconomic/api/subscription_line.rb +307 -0
- data/lib/ruconomic/api/sum_interval.rb +164 -0
- data/lib/ruconomic/api/template_collection.rb +78 -0
- data/lib/ruconomic/api/term_of_payment.rb +307 -0
- data/lib/ruconomic/api/time_entry.rb +258 -0
- data/lib/ruconomic/api/unit.rb +187 -0
- data/lib/ruconomic/api/vat_account.rb +151 -0
- data/lib/ruconomic/api.rb +79 -0
- data/lib/ruconomic/fault.rb +17 -0
- data/lib/ruconomic/soap/document.rb +79 -0
- data/lib/ruconomic/soap/node.rb +24 -0
- data/lib/ruconomic/soap.rb +7 -0
- data/lib/ruconomic/version.rb +3 -0
- data/lib/ruconomic/web_service.rb +50 -0
- data/lib/ruconomic.rb +42 -0
- data/ruconomic.gemspec +27 -0
- metadata +202 -0
@@ -0,0 +1,208 @@
|
|
1
|
+
module Ruconomic
|
2
|
+
module API
|
3
|
+
module CreditorGroup
|
4
|
+
extend Ruconomic::WebService
|
5
|
+
|
6
|
+
# Creates a new creditor group from a data object.
|
7
|
+
# Parameters: data: The data object that specifies the properties of the new creditor group.
|
8
|
+
#
|
9
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
10
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CreditorGroup_CreateFromData
|
11
|
+
# @return [Hash] The body content of the SOAP response.
|
12
|
+
def self.create_from_data
|
13
|
+
response = invoke('CreditorGroup_CreateFromData') do |message|
|
14
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
# Creates new creditor groups from data objects.
|
19
|
+
# Parameters: dataArray: The array of data objects that specifies the properties of the new creditor groups.
|
20
|
+
#
|
21
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
22
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CreditorGroup_CreateFromDataArray
|
23
|
+
# @return [Hash] The body content of the SOAP response.
|
24
|
+
def self.create_from_data_array
|
25
|
+
response = invoke('CreditorGroup_CreateFromDataArray') do |message|
|
26
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
# Update creditor groups from data objects.
|
31
|
+
# Parameters: dataArray: The array of data objects.
|
32
|
+
#
|
33
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
34
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CreditorGroup_UpdateFromDataArray
|
35
|
+
# @return [Hash] The body content of the SOAP response.
|
36
|
+
def self.update_from_data_array
|
37
|
+
response = invoke('CreditorGroup_UpdateFromDataArray') do |message|
|
38
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
# Updates a creditor group from a data object.
|
43
|
+
# Parameters: data: The data object.
|
44
|
+
#
|
45
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
46
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CreditorGroup_UpdateFromData
|
47
|
+
# @return [Hash] The body content of the SOAP response.
|
48
|
+
def self.update_from_data
|
49
|
+
response = invoke('CreditorGroup_UpdateFromData') do |message|
|
50
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
# Returns a creditor group data object for a given creditor group.
|
55
|
+
# Parameters: entityHandle: A handle for the creditor group.
|
56
|
+
#
|
57
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
58
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CreditorGroup_GetData
|
59
|
+
# @return [Hash] The body content of the SOAP response.
|
60
|
+
def self.get_data
|
61
|
+
response = invoke('CreditorGroup_GetData') do |message|
|
62
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
# Returns creditor group data objects for a given set of creditor group handles.
|
67
|
+
# Parameters: entityHandles: An array of the creditor group handles.
|
68
|
+
#
|
69
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
70
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CreditorGroup_GetDataArray
|
71
|
+
# @return [Hash] The body content of the SOAP response.
|
72
|
+
def self.get_data_array
|
73
|
+
response = invoke('CreditorGroup_GetDataArray') do |message|
|
74
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
# Creates a new creditor group.
|
79
|
+
#
|
80
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
81
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CreditorGroup_Create
|
82
|
+
# @return [Hash] The body content of the SOAP response.
|
83
|
+
def self.create
|
84
|
+
response = invoke('CreditorGroup_Create') do |message|
|
85
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
# Returns handles for all creditor groups.
|
90
|
+
#
|
91
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
92
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CreditorGroup_GetAll
|
93
|
+
# @return [Hash] The body content of the SOAP response.
|
94
|
+
def self.get_all
|
95
|
+
response = invoke('CreditorGroup_GetAll') do |message|
|
96
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
# Returns a handle for the creditor group with the given number.
|
101
|
+
#
|
102
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
103
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CreditorGroup_FindByNumber
|
104
|
+
# @return [Hash] The body content of the SOAP response.
|
105
|
+
def self.find_by_number
|
106
|
+
response = invoke('CreditorGroup_FindByNumber') do |message|
|
107
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
108
|
+
end
|
109
|
+
end
|
110
|
+
|
111
|
+
# Returns an array with handles for the creditor groups corresponding to the given creditor group numbers. If a creditor group with a given number does not exist then the array contains nothing at that index.
|
112
|
+
# Parameters: numbers: The numbers to search for.
|
113
|
+
#
|
114
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
115
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CreditorGroup_FindByNumberList
|
116
|
+
# @return [Hash] The body content of the SOAP response.
|
117
|
+
def self.find_by_number_list
|
118
|
+
response = invoke('CreditorGroup_FindByNumberList') do |message|
|
119
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
123
|
+
# Returns handles for all creditor groups with the given name.
|
124
|
+
#
|
125
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
126
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CreditorGroup_FindByName
|
127
|
+
# @return [Hash] The body content of the SOAP response.
|
128
|
+
def self.find_by_name
|
129
|
+
response = invoke('CreditorGroup_FindByName') do |message|
|
130
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
131
|
+
end
|
132
|
+
end
|
133
|
+
|
134
|
+
# Gets handles for creditors of a creditor group.
|
135
|
+
# Parameters: creditorGroupHandle: Handle for the creditor group.
|
136
|
+
#
|
137
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
138
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CreditorGroup_GetCreditors
|
139
|
+
# @return [Hash] The body content of the SOAP response.
|
140
|
+
def self.get_creditors
|
141
|
+
response = invoke('CreditorGroup_GetCreditors') do |message|
|
142
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
143
|
+
end
|
144
|
+
end
|
145
|
+
|
146
|
+
# Gets the number of a creditor group.
|
147
|
+
# Parameters: creditorGroupHandle: Handle for the creditor group.
|
148
|
+
#
|
149
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
150
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CreditorGroup_GetNumber
|
151
|
+
# @return [Hash] The body content of the SOAP response.
|
152
|
+
def self.get_number
|
153
|
+
response = invoke('CreditorGroup_GetNumber') do |message|
|
154
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
155
|
+
end
|
156
|
+
end
|
157
|
+
|
158
|
+
# Gets the name of a creditor group.
|
159
|
+
# Parameters: creditorGroupHandle: Handle for the creditor group.
|
160
|
+
#
|
161
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
162
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CreditorGroup_GetName
|
163
|
+
# @return [Hash] The body content of the SOAP response.
|
164
|
+
def self.get_name
|
165
|
+
response = invoke('CreditorGroup_GetName') do |message|
|
166
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
167
|
+
end
|
168
|
+
end
|
169
|
+
|
170
|
+
# Sets the name of a creditor group.
|
171
|
+
# Parameters: creditorGroupHandle: Handle for the creditor group. value: The new name of the creditor group.
|
172
|
+
#
|
173
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
174
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CreditorGroup_SetName
|
175
|
+
# @return [Hash] The body content of the SOAP response.
|
176
|
+
def self.set_name
|
177
|
+
response = invoke('CreditorGroup_SetName') do |message|
|
178
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
179
|
+
end
|
180
|
+
end
|
181
|
+
|
182
|
+
# Gets a handle for the account of a creditor group.
|
183
|
+
# Parameters: creditorGroupHandle: Handle for the creditor group.
|
184
|
+
#
|
185
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
186
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CreditorGroup_GetAccount
|
187
|
+
# @return [Hash] The body content of the SOAP response.
|
188
|
+
def self.get_account
|
189
|
+
response = invoke('CreditorGroup_GetAccount') do |message|
|
190
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
191
|
+
end
|
192
|
+
end
|
193
|
+
|
194
|
+
# Sets the account of a creditor group.
|
195
|
+
# Parameters: creditorGroupHandle: Handle for the creditor group. valueHandle: A handle for the new account of the creditor group.
|
196
|
+
#
|
197
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
198
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CreditorGroup_SetAccount
|
199
|
+
# @return [Hash] The body content of the SOAP response.
|
200
|
+
def self.set_account
|
201
|
+
response = invoke('CreditorGroup_SetAccount') do |message|
|
202
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
203
|
+
end
|
204
|
+
end
|
205
|
+
|
206
|
+
end
|
207
|
+
end
|
208
|
+
end
|
@@ -0,0 +1,67 @@
|
|
1
|
+
module Ruconomic
|
2
|
+
module API
|
3
|
+
module Currency
|
4
|
+
extend Ruconomic::WebService
|
5
|
+
|
6
|
+
# Returns a currency data object for a given currency.
|
7
|
+
# Parameters: entityHandle: A handle for the currency.
|
8
|
+
#
|
9
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
10
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Currency_GetData
|
11
|
+
# @return [Hash] The body content of the SOAP response.
|
12
|
+
def self.get_data
|
13
|
+
response = invoke('Currency_GetData') do |message|
|
14
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
# Returns currency data objects for a given set of currency handles.
|
19
|
+
# Parameters: entityHandles: An array of the currency handles.
|
20
|
+
#
|
21
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
22
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Currency_GetDataArray
|
23
|
+
# @return [Hash] The body content of the SOAP response.
|
24
|
+
def self.get_data_array
|
25
|
+
response = invoke('Currency_GetDataArray') do |message|
|
26
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
# Gets the code of a currency.
|
31
|
+
# Parameters: currencyHandle: Handle for the currency.
|
32
|
+
#
|
33
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
34
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Currency_GetCode
|
35
|
+
# @return [Hash] The body content of the SOAP response.
|
36
|
+
def self.get_code
|
37
|
+
response = invoke('Currency_GetCode') do |message|
|
38
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
# Return handles for all currencies.
|
43
|
+
#
|
44
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
45
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Currency_GetAll
|
46
|
+
# @return [Hash] The body content of the SOAP response.
|
47
|
+
def self.get_all
|
48
|
+
response = invoke('Currency_GetAll') do |message|
|
49
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
# Returns a handle for the currency with the given code.
|
54
|
+
# Parameters: code: The code to search for.
|
55
|
+
#
|
56
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
57
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Currency_FindByCode
|
58
|
+
# @return [Hash] The body content of the SOAP response.
|
59
|
+
def self.find_by_code
|
60
|
+
response = invoke('Currency_FindByCode') do |message|
|
61
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|