ruconomic 0.9.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 +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,1110 @@
|
|
1
|
+
module Ruconomic
|
2
|
+
module API
|
3
|
+
module CurrentInvoice
|
4
|
+
extend Ruconomic::WebService
|
5
|
+
|
6
|
+
# Gets whether the current invoice has VAT included.
|
7
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
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=CurrentInvoice_GetIsVatIncluded
|
11
|
+
# @return [Hash] The body content of the SOAP response.
|
12
|
+
def self.get_is_vat_included
|
13
|
+
response = invoke('CurrentInvoice_GetIsVatIncluded') 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
|
+
# Set whether the current invoice has VAT included.
|
19
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice. valueHandle: Handle for the new layout of the current invoice. value: value indicating whether the current invoice includes VAT or not.
|
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=CurrentInvoice_SetIsVatIncluded
|
23
|
+
# @return [Hash] The body content of the SOAP response.
|
24
|
+
def self.set_is_vat_included
|
25
|
+
response = invoke('CurrentInvoice_SetIsVatIncluded') 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 current VAT zone of the CurrentInvoice.
|
31
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
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=CurrentInvoice_GetVatZone
|
35
|
+
# @return [Hash] The body content of the SOAP response.
|
36
|
+
def self.get_vat_zone
|
37
|
+
response = invoke('CurrentInvoice_GetVatZone') 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
|
+
# Set the VAT zone of the CurrentInvoice.
|
43
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice. valueHandle: Handle for the new VAT zone of the current invoice.
|
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=CurrentInvoice_SetVatZone
|
47
|
+
# @return [Hash] The body content of the SOAP response.
|
48
|
+
def self.set_vat_zone
|
49
|
+
response = invoke('CurrentInvoice_SetVatZone') 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
|
+
# Gets a handle for the layout of a current invoice.
|
55
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
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=CurrentInvoice_GetLayout
|
59
|
+
# @return [Hash] The body content of the SOAP response.
|
60
|
+
def self.get_layout
|
61
|
+
response = invoke('CurrentInvoice_GetLayout') 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
|
+
# Set the layout of a current invoice.
|
67
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice. valueHandle: Handle for the new layout of the current invoice.
|
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=CurrentInvoice_SetLayout
|
71
|
+
# @return [Hash] The body content of the SOAP response.
|
72
|
+
def self.set_layout
|
73
|
+
response = invoke('CurrentInvoice_SetLayout') 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
|
+
# Gets a handle for the delivery location of a current invoice.
|
79
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
80
|
+
#
|
81
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
82
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetDeliveryLocation
|
83
|
+
# @return [Hash] The body content of the SOAP response.
|
84
|
+
def self.get_delivery_location
|
85
|
+
response = invoke('CurrentInvoice_GetDeliveryLocation') do |message|
|
86
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
# Set the delivery location of a current invoice.
|
91
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice. valueHandle: Handle for the new delivery location of the current invoice.
|
92
|
+
#
|
93
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
94
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_SetDeliveryLocation
|
95
|
+
# @return [Hash] The body content of the SOAP response.
|
96
|
+
def self.set_delivery_location
|
97
|
+
response = invoke('CurrentInvoice_SetDeliveryLocation') do |message|
|
98
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
# Gets the delivery address of a current invoice.
|
103
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
104
|
+
#
|
105
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
106
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetDeliveryAddress
|
107
|
+
# @return [Hash] The body content of the SOAP response.
|
108
|
+
def self.get_delivery_address
|
109
|
+
response = invoke('CurrentInvoice_GetDeliveryAddress') do |message|
|
110
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
111
|
+
end
|
112
|
+
end
|
113
|
+
|
114
|
+
# Set the delivery address of a current invoice.
|
115
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice. value: The new delivery address of the current invoice.
|
116
|
+
#
|
117
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
118
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_SetDeliveryAddress
|
119
|
+
# @return [Hash] The body content of the SOAP response.
|
120
|
+
def self.set_delivery_address
|
121
|
+
response = invoke('CurrentInvoice_SetDeliveryAddress') do |message|
|
122
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
126
|
+
# Gets the delivery postal code of a current invoice.
|
127
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
128
|
+
#
|
129
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
130
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetDeliveryPostalCode
|
131
|
+
# @return [Hash] The body content of the SOAP response.
|
132
|
+
def self.get_delivery_postal_code
|
133
|
+
response = invoke('CurrentInvoice_GetDeliveryPostalCode') do |message|
|
134
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
135
|
+
end
|
136
|
+
end
|
137
|
+
|
138
|
+
# Set the delivery postal code of a current invoice.
|
139
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice. value: The new delivery postal code of the current invoice.
|
140
|
+
#
|
141
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
142
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_SetDeliveryPostalCode
|
143
|
+
# @return [Hash] The body content of the SOAP response.
|
144
|
+
def self.set_delivery_postal_code
|
145
|
+
response = invoke('CurrentInvoice_SetDeliveryPostalCode') do |message|
|
146
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
147
|
+
end
|
148
|
+
end
|
149
|
+
|
150
|
+
# Gets the delivery city of a current invoice.
|
151
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
152
|
+
#
|
153
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
154
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetDeliveryCity
|
155
|
+
# @return [Hash] The body content of the SOAP response.
|
156
|
+
def self.get_delivery_city
|
157
|
+
response = invoke('CurrentInvoice_GetDeliveryCity') do |message|
|
158
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
159
|
+
end
|
160
|
+
end
|
161
|
+
|
162
|
+
# Set the delivery city of a current invoice.
|
163
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice. value: The new delivery city of the current invoice.
|
164
|
+
#
|
165
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
166
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_SetDeliveryCity
|
167
|
+
# @return [Hash] The body content of the SOAP response.
|
168
|
+
def self.set_delivery_city
|
169
|
+
response = invoke('CurrentInvoice_SetDeliveryCity') do |message|
|
170
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
171
|
+
end
|
172
|
+
end
|
173
|
+
|
174
|
+
# Gets the delivery country of a current invoice.
|
175
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
176
|
+
#
|
177
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
178
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetDeliveryCountry
|
179
|
+
# @return [Hash] The body content of the SOAP response.
|
180
|
+
def self.get_delivery_country
|
181
|
+
response = invoke('CurrentInvoice_GetDeliveryCountry') do |message|
|
182
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
183
|
+
end
|
184
|
+
end
|
185
|
+
|
186
|
+
# Set the delivery country of a current invoice.
|
187
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice. value: The new delivery country of the current invoice.
|
188
|
+
#
|
189
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
190
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_SetDeliveryCountry
|
191
|
+
# @return [Hash] The body content of the SOAP response.
|
192
|
+
def self.set_delivery_country
|
193
|
+
response = invoke('CurrentInvoice_SetDeliveryCountry') do |message|
|
194
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
195
|
+
end
|
196
|
+
end
|
197
|
+
|
198
|
+
# Gets the terms of delivery of a current invoice.
|
199
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
200
|
+
#
|
201
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
202
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetTermsOfDelivery
|
203
|
+
# @return [Hash] The body content of the SOAP response.
|
204
|
+
def self.get_terms_of_delivery
|
205
|
+
response = invoke('CurrentInvoice_GetTermsOfDelivery') do |message|
|
206
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
210
|
+
# Sets the terms of delivery of a current invoice.
|
211
|
+
# Parameters: currentInvoiceHandle: Handle for the currentInvoice. value: The new terms of delivery of the current invoice.
|
212
|
+
#
|
213
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
214
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_SetTermsOfDelivery
|
215
|
+
# @return [Hash] The body content of the SOAP response.
|
216
|
+
def self.set_terms_of_delivery
|
217
|
+
response = invoke('CurrentInvoice_SetTermsOfDelivery') do |message|
|
218
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
219
|
+
end
|
220
|
+
end
|
221
|
+
|
222
|
+
# Gets the delivery date of a current invoice.
|
223
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
224
|
+
#
|
225
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
226
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetDeliveryDate
|
227
|
+
# @return [Hash] The body content of the SOAP response.
|
228
|
+
def self.get_delivery_date
|
229
|
+
response = invoke('CurrentInvoice_GetDeliveryDate') do |message|
|
230
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
231
|
+
end
|
232
|
+
end
|
233
|
+
|
234
|
+
# Set the delivery date of a current invoice.
|
235
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice. value: The new delivery date of the current invoice.
|
236
|
+
#
|
237
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
238
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_SetDeliveryDate
|
239
|
+
# @return [Hash] The body content of the SOAP response.
|
240
|
+
def self.set_delivery_date
|
241
|
+
response = invoke('CurrentInvoice_SetDeliveryDate') do |message|
|
242
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
243
|
+
end
|
244
|
+
end
|
245
|
+
|
246
|
+
# Gets the heading of a current invoice.
|
247
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
248
|
+
#
|
249
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
250
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetHeading
|
251
|
+
# @return [Hash] The body content of the SOAP response.
|
252
|
+
def self.get_heading
|
253
|
+
response = invoke('CurrentInvoice_GetHeading') do |message|
|
254
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
255
|
+
end
|
256
|
+
end
|
257
|
+
|
258
|
+
# Set the heading of a current invoice.
|
259
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice. value: The new heading of the current invoice.
|
260
|
+
#
|
261
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
262
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_SetHeading
|
263
|
+
# @return [Hash] The body content of the SOAP response.
|
264
|
+
def self.set_heading
|
265
|
+
response = invoke('CurrentInvoice_SetHeading') do |message|
|
266
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
267
|
+
end
|
268
|
+
end
|
269
|
+
|
270
|
+
# Gets the primary line of text of a current invoice.
|
271
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
272
|
+
#
|
273
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
274
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetTextLine1
|
275
|
+
# @return [Hash] The body content of the SOAP response.
|
276
|
+
def self.get_text_line1
|
277
|
+
response = invoke('CurrentInvoice_GetTextLine1') do |message|
|
278
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
279
|
+
end
|
280
|
+
end
|
281
|
+
|
282
|
+
# Set the primary line of a current invoice.
|
283
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice. value: The new primary line of text of the current invoice.
|
284
|
+
#
|
285
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
286
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_SetTextLine1
|
287
|
+
# @return [Hash] The body content of the SOAP response.
|
288
|
+
def self.set_text_line1
|
289
|
+
response = invoke('CurrentInvoice_SetTextLine1') do |message|
|
290
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
291
|
+
end
|
292
|
+
end
|
293
|
+
|
294
|
+
# Gets the secondary line of text of a current invoice.
|
295
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
296
|
+
#
|
297
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
298
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetTextLine2
|
299
|
+
# @return [Hash] The body content of the SOAP response.
|
300
|
+
def self.get_text_line2
|
301
|
+
response = invoke('CurrentInvoice_GetTextLine2') do |message|
|
302
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
303
|
+
end
|
304
|
+
end
|
305
|
+
|
306
|
+
# Set the secondary line of a current invoice.
|
307
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice. value: The new secondary line of text of the current invoice.
|
308
|
+
#
|
309
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
310
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_SetTextLine2
|
311
|
+
# @return [Hash] The body content of the SOAP response.
|
312
|
+
def self.set_text_line2
|
313
|
+
response = invoke('CurrentInvoice_SetTextLine2') do |message|
|
314
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
315
|
+
end
|
316
|
+
end
|
317
|
+
|
318
|
+
# Gets the other reference of a current invoice.
|
319
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
320
|
+
#
|
321
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
322
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetOtherReference
|
323
|
+
# @return [Hash] The body content of the SOAP response.
|
324
|
+
def self.get_other_reference
|
325
|
+
response = invoke('CurrentInvoice_GetOtherReference') do |message|
|
326
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
327
|
+
end
|
328
|
+
end
|
329
|
+
|
330
|
+
# Set the other reference of a current invoice.
|
331
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice. value: The new other reference of the current invoice.
|
332
|
+
#
|
333
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
334
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_SetOtherReference
|
335
|
+
# @return [Hash] The body content of the SOAP response.
|
336
|
+
def self.set_other_reference
|
337
|
+
response = invoke('CurrentInvoice_SetOtherReference') do |message|
|
338
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
339
|
+
end
|
340
|
+
end
|
341
|
+
|
342
|
+
# Gets the total amount for all the lines without VAT if the current invoice (in the currency of that current invoice).
|
343
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
344
|
+
#
|
345
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
346
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetNetAmount
|
347
|
+
# @return [Hash] The body content of the SOAP response.
|
348
|
+
def self.get_net_amount
|
349
|
+
response = invoke('CurrentInvoice_GetNetAmount') do |message|
|
350
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
351
|
+
end
|
352
|
+
end
|
353
|
+
|
354
|
+
# Gets the total VAT amount for all the lines of a current invoice (in the currency of that current invoice).
|
355
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
356
|
+
#
|
357
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
358
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetVatAmount
|
359
|
+
# @return [Hash] The body content of the SOAP response.
|
360
|
+
def self.get_vat_amount
|
361
|
+
response = invoke('CurrentInvoice_GetVatAmount') do |message|
|
362
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
363
|
+
end
|
364
|
+
end
|
365
|
+
|
366
|
+
# Gets the total gross amount for all the lines of a current invoice (in the currency of that current invoice).
|
367
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
368
|
+
#
|
369
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
370
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetGrossAmount
|
371
|
+
# @return [Hash] The body content of the SOAP response.
|
372
|
+
def self.get_gross_amount
|
373
|
+
response = invoke('CurrentInvoice_GetGrossAmount') do |message|
|
374
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
375
|
+
end
|
376
|
+
end
|
377
|
+
|
378
|
+
# Gets the margin of a current invoice (in the currency of that current invoice).
|
379
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
380
|
+
#
|
381
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
382
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetMargin
|
383
|
+
# @return [Hash] The body content of the SOAP response.
|
384
|
+
def self.get_margin
|
385
|
+
response = invoke('CurrentInvoice_GetMargin') do |message|
|
386
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
387
|
+
end
|
388
|
+
end
|
389
|
+
|
390
|
+
# Gets the margin of a current invoice as percent.
|
391
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
392
|
+
#
|
393
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
394
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetMarginAsPercent
|
395
|
+
# @return [Hash] The body content of the SOAP response.
|
396
|
+
def self.get_margin_as_percent
|
397
|
+
response = invoke('CurrentInvoice_GetMarginAsPercent') do |message|
|
398
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
399
|
+
end
|
400
|
+
end
|
401
|
+
|
402
|
+
# Gets the rounding amount for all lines of the current invoice (in the currency of the invoice).
|
403
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
404
|
+
#
|
405
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
406
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetRoundingAmount
|
407
|
+
# @return [Hash] The body content of the SOAP response.
|
408
|
+
def self.get_rounding_amount
|
409
|
+
response = invoke('CurrentInvoice_GetRoundingAmount') do |message|
|
410
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
411
|
+
end
|
412
|
+
end
|
413
|
+
|
414
|
+
# Gets the DebtorCounty of a current invoice. (UK only)
|
415
|
+
# Parameters: currentInvoiceHandle: Handle for the currentInvoice.
|
416
|
+
#
|
417
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
418
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetDebtorCounty
|
419
|
+
# @return [Hash] The body content of the SOAP response.
|
420
|
+
def self.get_debtor_county
|
421
|
+
response = invoke('CurrentInvoice_GetDebtorCounty') do |message|
|
422
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
423
|
+
end
|
424
|
+
end
|
425
|
+
|
426
|
+
# Sets the DebtorCounty of a current invoice. (UK only)
|
427
|
+
# Parameters: currentInvoiceHandle: Handle for the currentInvoice. value: The new DebtorCounty of the currentInvoice.
|
428
|
+
#
|
429
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
430
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_SetDebtorCounty
|
431
|
+
# @return [Hash] The body content of the SOAP response.
|
432
|
+
def self.set_debtor_county
|
433
|
+
response = invoke('CurrentInvoice_SetDebtorCounty') do |message|
|
434
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
435
|
+
end
|
436
|
+
end
|
437
|
+
|
438
|
+
# Gets the DeliveryCounty of a current invoice. (UK only)
|
439
|
+
# Parameters: currentInvoiceHandle: Handle for the currentInvoice.
|
440
|
+
#
|
441
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
442
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetDeliveryCounty
|
443
|
+
# @return [Hash] The body content of the SOAP response.
|
444
|
+
def self.get_delivery_county
|
445
|
+
response = invoke('CurrentInvoice_GetDeliveryCounty') do |message|
|
446
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
447
|
+
end
|
448
|
+
end
|
449
|
+
|
450
|
+
# Sets the DeliveryCounty of a current invoice. (UK only)
|
451
|
+
# Parameters: currentInvoiceHandle: Handle for the currentInvoice. value: The new DeliveryCounty of the currentInvoice.
|
452
|
+
#
|
453
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
454
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_SetDeliveryCounty
|
455
|
+
# @return [Hash] The body content of the SOAP response.
|
456
|
+
def self.set_delivery_county
|
457
|
+
response = invoke('CurrentInvoice_SetDeliveryCounty') do |message|
|
458
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
459
|
+
end
|
460
|
+
end
|
461
|
+
|
462
|
+
# Gets the deduction amount of the current invoice.
|
463
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
464
|
+
#
|
465
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
466
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetDeductionAmount
|
467
|
+
# @return [Hash] The body content of the SOAP response.
|
468
|
+
def self.get_deduction_amount
|
469
|
+
response = invoke('CurrentInvoice_GetDeductionAmount') do |message|
|
470
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
471
|
+
end
|
472
|
+
end
|
473
|
+
|
474
|
+
# Creates a new current invoice from a data object.
|
475
|
+
# Parameters: data: The data object that specifies the properties of the new current invoice.
|
476
|
+
#
|
477
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
478
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_CreateFromData
|
479
|
+
# @return [Hash] The body content of the SOAP response.
|
480
|
+
def self.create_from_data
|
481
|
+
response = invoke('CurrentInvoice_CreateFromData') do |message|
|
482
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
483
|
+
end
|
484
|
+
end
|
485
|
+
|
486
|
+
# Creates new current invoices from data objects.
|
487
|
+
# Parameters: dataArray: The array of data objects that specifies the properties of the new current invoices.
|
488
|
+
#
|
489
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
490
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_CreateFromDataArray
|
491
|
+
# @return [Hash] The body content of the SOAP response.
|
492
|
+
def self.create_from_data_array
|
493
|
+
response = invoke('CurrentInvoice_CreateFromDataArray') do |message|
|
494
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
495
|
+
end
|
496
|
+
end
|
497
|
+
|
498
|
+
# Update current invoices from data objects.
|
499
|
+
# Parameters: dataArray: The array of data objects.
|
500
|
+
#
|
501
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
502
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_UpdateFromDataArray
|
503
|
+
# @return [Hash] The body content of the SOAP response.
|
504
|
+
def self.update_from_data_array
|
505
|
+
response = invoke('CurrentInvoice_UpdateFromDataArray') do |message|
|
506
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
507
|
+
end
|
508
|
+
end
|
509
|
+
|
510
|
+
# Updates a current invoice from a data object.
|
511
|
+
# Parameters: data: The data object.
|
512
|
+
#
|
513
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
514
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_UpdateFromData
|
515
|
+
# @return [Hash] The body content of the SOAP response.
|
516
|
+
def self.update_from_data
|
517
|
+
response = invoke('CurrentInvoice_UpdateFromData') do |message|
|
518
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
519
|
+
end
|
520
|
+
end
|
521
|
+
|
522
|
+
# Returns a current invoice data object for a given current invoice.
|
523
|
+
# Parameters: entityHandle: A handle for the current invoice.
|
524
|
+
#
|
525
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
526
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetData
|
527
|
+
# @return [Hash] The body content of the SOAP response.
|
528
|
+
def self.get_data
|
529
|
+
response = invoke('CurrentInvoice_GetData') do |message|
|
530
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
531
|
+
end
|
532
|
+
end
|
533
|
+
|
534
|
+
# Returns current invoice data objects for a given set of current invoice handles.
|
535
|
+
# Parameters: entityHandles: An array of the current invoice handles.
|
536
|
+
#
|
537
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
538
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetDataArray
|
539
|
+
# @return [Hash] The body content of the SOAP response.
|
540
|
+
def self.get_data_array
|
541
|
+
response = invoke('CurrentInvoice_GetDataArray') do |message|
|
542
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
543
|
+
end
|
544
|
+
end
|
545
|
+
|
546
|
+
# Creates a new current invoice.
|
547
|
+
# Parameters: debtor: Handle for a debitor.
|
548
|
+
#
|
549
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
550
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_Create
|
551
|
+
# @return [Hash] The body content of the SOAP response.
|
552
|
+
def self.create
|
553
|
+
response = invoke('CurrentInvoice_Create') do |message|
|
554
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
555
|
+
end
|
556
|
+
end
|
557
|
+
|
558
|
+
# Returns handles for all current invoices.
|
559
|
+
#
|
560
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
561
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetAll
|
562
|
+
# @return [Hash] The body content of the SOAP response.
|
563
|
+
def self.get_all
|
564
|
+
response = invoke('CurrentInvoice_GetAll') do |message|
|
565
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
566
|
+
end
|
567
|
+
end
|
568
|
+
|
569
|
+
# Returns handles for the current invoices which have the given employee as OurReference.
|
570
|
+
# Parameters: ourReferenceHandle: Handle for the employee to search for.
|
571
|
+
#
|
572
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
573
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_FindByOurReference
|
574
|
+
# @return [Hash] The body content of the SOAP response.
|
575
|
+
def self.find_by_our_reference
|
576
|
+
response = invoke('CurrentInvoice_FindByOurReference') do |message|
|
577
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
578
|
+
end
|
579
|
+
end
|
580
|
+
|
581
|
+
# Returns handles for the current invoices with a given other reference.
|
582
|
+
# Parameters: otherReference: The other reference to search for.
|
583
|
+
#
|
584
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
585
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_FindByOtherReference
|
586
|
+
# @return [Hash] The body content of the SOAP response.
|
587
|
+
def self.find_by_other_reference
|
588
|
+
response = invoke('CurrentInvoice_FindByOtherReference') do |message|
|
589
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
590
|
+
end
|
591
|
+
end
|
592
|
+
|
593
|
+
# Returns handles for current invoices in a given interval of days.
|
594
|
+
# Parameters: first: First day in interval. last: Last day in interval.
|
595
|
+
#
|
596
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
597
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_FindByDateInterval
|
598
|
+
# @return [Hash] The body content of the SOAP response.
|
599
|
+
def self.find_by_date_interval
|
600
|
+
response = invoke('CurrentInvoice_FindByDateInterval') do |message|
|
601
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
602
|
+
end
|
603
|
+
end
|
604
|
+
|
605
|
+
# Return handles for all current invoices from date. FromDate is based on CET.
|
606
|
+
#
|
607
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
608
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetAllUpdated
|
609
|
+
# @return [Hash] The body content of the SOAP response.
|
610
|
+
def self.get_all_updated
|
611
|
+
response = invoke('CurrentInvoice_GetAllUpdated') do |message|
|
612
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
613
|
+
end
|
614
|
+
end
|
615
|
+
|
616
|
+
# Gets a current invoice as a PDF file.
|
617
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
618
|
+
#
|
619
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
620
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetPdf
|
621
|
+
# @return [Hash] The body content of the SOAP response.
|
622
|
+
def self.get_pdf
|
623
|
+
response = invoke('CurrentInvoice_GetPdf') do |message|
|
624
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
625
|
+
end
|
626
|
+
end
|
627
|
+
|
628
|
+
# Books a current invoice. An invoice number greater than all other invoice numbers will be assigned to the resulting invoice.
|
629
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
630
|
+
#
|
631
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
632
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_Book
|
633
|
+
# @return [Hash] The body content of the SOAP response.
|
634
|
+
def self.book
|
635
|
+
response = invoke('CurrentInvoice_Book') do |message|
|
636
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
637
|
+
end
|
638
|
+
end
|
639
|
+
|
640
|
+
# Books a current invoice.
|
641
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice. number: The invoice number of the resulting invoice; must be positive and different from all other invoice numbers.
|
642
|
+
#
|
643
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
644
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_BookWithNumber
|
645
|
+
# @return [Hash] The body content of the SOAP response.
|
646
|
+
def self.book_with_number
|
647
|
+
response = invoke('CurrentInvoice_BookWithNumber') do |message|
|
648
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
649
|
+
end
|
650
|
+
end
|
651
|
+
|
652
|
+
# Deletes a current invoice.
|
653
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
654
|
+
#
|
655
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
656
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_Delete
|
657
|
+
# @return [Hash] The body content of the SOAP response.
|
658
|
+
def self.delete
|
659
|
+
response = invoke('CurrentInvoice_Delete') do |message|
|
660
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
661
|
+
end
|
662
|
+
end
|
663
|
+
|
664
|
+
# Gets handles for the lines of a current invoice.
|
665
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
666
|
+
#
|
667
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
668
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetLines
|
669
|
+
# @return [Hash] The body content of the SOAP response.
|
670
|
+
def self.get_lines
|
671
|
+
response = invoke('CurrentInvoice_GetLines') do |message|
|
672
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
673
|
+
end
|
674
|
+
end
|
675
|
+
|
676
|
+
# Gets handle for the debtor of a current invoice.
|
677
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
678
|
+
#
|
679
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
680
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetDebtor
|
681
|
+
# @return [Hash] The body content of the SOAP response.
|
682
|
+
def self.get_debtor
|
683
|
+
response = invoke('CurrentInvoice_GetDebtor') do |message|
|
684
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
685
|
+
end
|
686
|
+
end
|
687
|
+
|
688
|
+
# Set the debtor of a current invoice.
|
689
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice. valueHandle: Handle for the new debtor.
|
690
|
+
#
|
691
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
692
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_SetDebtor
|
693
|
+
# @return [Hash] The body content of the SOAP response.
|
694
|
+
def self.set_debtor
|
695
|
+
response = invoke('CurrentInvoice_SetDebtor') do |message|
|
696
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
697
|
+
end
|
698
|
+
end
|
699
|
+
|
700
|
+
# Gets the project of a current invoice.
|
701
|
+
# Parameters: invoiceHandle: Handle for the invoice.
|
702
|
+
#
|
703
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
704
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetProject
|
705
|
+
# @return [Hash] The body content of the SOAP response.
|
706
|
+
def self.get_project
|
707
|
+
response = invoke('CurrentInvoice_GetProject') do |message|
|
708
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
709
|
+
end
|
710
|
+
end
|
711
|
+
|
712
|
+
# Set the project of a current invoice.
|
713
|
+
# Parameters: invoiceHandle: Handle for the invoice.
|
714
|
+
#
|
715
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
716
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_SetProject
|
717
|
+
# @return [Hash] The body content of the SOAP response.
|
718
|
+
def self.set_project
|
719
|
+
response = invoke('CurrentInvoice_SetProject') do |message|
|
720
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
721
|
+
end
|
722
|
+
end
|
723
|
+
|
724
|
+
# Gets the name of the debtor of a current invoice.
|
725
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
726
|
+
#
|
727
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
728
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetDebtorName
|
729
|
+
# @return [Hash] The body content of the SOAP response.
|
730
|
+
def self.get_debtor_name
|
731
|
+
response = invoke('CurrentInvoice_GetDebtorName') do |message|
|
732
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
733
|
+
end
|
734
|
+
end
|
735
|
+
|
736
|
+
# Set the name of the debtor of a current invoice.
|
737
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice. value: The new name of the debtor of the current invoice.
|
738
|
+
#
|
739
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
740
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_SetDebtorName
|
741
|
+
# @return [Hash] The body content of the SOAP response.
|
742
|
+
def self.set_debtor_name
|
743
|
+
response = invoke('CurrentInvoice_SetDebtorName') do |message|
|
744
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
745
|
+
end
|
746
|
+
end
|
747
|
+
|
748
|
+
# Gets the address of the debtor of a current invoice.
|
749
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
750
|
+
#
|
751
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
752
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetDebtorAddress
|
753
|
+
# @return [Hash] The body content of the SOAP response.
|
754
|
+
def self.get_debtor_address
|
755
|
+
response = invoke('CurrentInvoice_GetDebtorAddress') do |message|
|
756
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
757
|
+
end
|
758
|
+
end
|
759
|
+
|
760
|
+
# Set the address of the debtor of a current invoice.
|
761
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice. value: The new name of the debtor of the current invoice.
|
762
|
+
#
|
763
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
764
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_SetDebtorAddress
|
765
|
+
# @return [Hash] The body content of the SOAP response.
|
766
|
+
def self.set_debtor_address
|
767
|
+
response = invoke('CurrentInvoice_SetDebtorAddress') do |message|
|
768
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
769
|
+
end
|
770
|
+
end
|
771
|
+
|
772
|
+
# Gets the postal code of the debtor of a current invoice.
|
773
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
774
|
+
#
|
775
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
776
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetDebtorPostalCode
|
777
|
+
# @return [Hash] The body content of the SOAP response.
|
778
|
+
def self.get_debtor_postal_code
|
779
|
+
response = invoke('CurrentInvoice_GetDebtorPostalCode') do |message|
|
780
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
781
|
+
end
|
782
|
+
end
|
783
|
+
|
784
|
+
# Set the postal code of the debtor of a current invoice.
|
785
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice. value: The new postal code of the debtor of the current invoice.
|
786
|
+
#
|
787
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
788
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_SetDebtorPostalCode
|
789
|
+
# @return [Hash] The body content of the SOAP response.
|
790
|
+
def self.set_debtor_postal_code
|
791
|
+
response = invoke('CurrentInvoice_SetDebtorPostalCode') do |message|
|
792
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
793
|
+
end
|
794
|
+
end
|
795
|
+
|
796
|
+
# Gets the city of the debtor of a current invoice.
|
797
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
798
|
+
#
|
799
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
800
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetDebtorCity
|
801
|
+
# @return [Hash] The body content of the SOAP response.
|
802
|
+
def self.get_debtor_city
|
803
|
+
response = invoke('CurrentInvoice_GetDebtorCity') do |message|
|
804
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
805
|
+
end
|
806
|
+
end
|
807
|
+
|
808
|
+
# Set the city of the debtor of a current invoice.
|
809
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice. value: The new city of the debtor of the current invoice.
|
810
|
+
#
|
811
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
812
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_SetDebtorCity
|
813
|
+
# @return [Hash] The body content of the SOAP response.
|
814
|
+
def self.set_debtor_city
|
815
|
+
response = invoke('CurrentInvoice_SetDebtorCity') do |message|
|
816
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
817
|
+
end
|
818
|
+
end
|
819
|
+
|
820
|
+
# Gets the country of the debtor of a current invoice.
|
821
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
822
|
+
#
|
823
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
824
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetDebtorCountry
|
825
|
+
# @return [Hash] The body content of the SOAP response.
|
826
|
+
def self.get_debtor_country
|
827
|
+
response = invoke('CurrentInvoice_GetDebtorCountry') do |message|
|
828
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
829
|
+
end
|
830
|
+
end
|
831
|
+
|
832
|
+
# Set the country of the debtor of a current invoice.
|
833
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice. value: The new country of the debtor of the current invoice.
|
834
|
+
#
|
835
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
836
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_SetDebtorCountry
|
837
|
+
# @return [Hash] The body content of the SOAP response.
|
838
|
+
def self.set_debtor_country
|
839
|
+
response = invoke('CurrentInvoice_SetDebtorCountry') do |message|
|
840
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
841
|
+
end
|
842
|
+
end
|
843
|
+
|
844
|
+
# Gets the European Article Number of the debtor of a current invoice.
|
845
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
846
|
+
#
|
847
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
848
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetDebtorEan
|
849
|
+
# @return [Hash] The body content of the SOAP response.
|
850
|
+
def self.get_debtor_ean
|
851
|
+
response = invoke('CurrentInvoice_GetDebtorEan') do |message|
|
852
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
853
|
+
end
|
854
|
+
end
|
855
|
+
|
856
|
+
# Set the European Article Number of the debtor of a current invoice.
|
857
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice. value: The new EAN of the current invoice.
|
858
|
+
#
|
859
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
860
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_SetDebtorEan
|
861
|
+
# @return [Hash] The body content of the SOAP response.
|
862
|
+
def self.set_debtor_ean
|
863
|
+
response = invoke('CurrentInvoice_SetDebtorEan') do |message|
|
864
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
865
|
+
end
|
866
|
+
end
|
867
|
+
|
868
|
+
# Gets the public entry number of a current invoice.
|
869
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
870
|
+
#
|
871
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
872
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetPublicEntryNumber
|
873
|
+
# @return [Hash] The body content of the SOAP response.
|
874
|
+
def self.get_public_entry_number
|
875
|
+
response = invoke('CurrentInvoice_GetPublicEntryNumber') do |message|
|
876
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
877
|
+
end
|
878
|
+
end
|
879
|
+
|
880
|
+
# Set the public entry number of a current invoice.
|
881
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice. value: The new public entry number of the current invoice.
|
882
|
+
#
|
883
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
884
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_SetPublicEntryNumber
|
885
|
+
# @return [Hash] The body content of the SOAP response.
|
886
|
+
def self.set_public_entry_number
|
887
|
+
response = invoke('CurrentInvoice_SetPublicEntryNumber') do |message|
|
888
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
889
|
+
end
|
890
|
+
end
|
891
|
+
|
892
|
+
# Gets a handle for the attention of a current invoice.
|
893
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
894
|
+
#
|
895
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
896
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetAttention
|
897
|
+
# @return [Hash] The body content of the SOAP response.
|
898
|
+
def self.get_attention
|
899
|
+
response = invoke('CurrentInvoice_GetAttention') do |message|
|
900
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
901
|
+
end
|
902
|
+
end
|
903
|
+
|
904
|
+
# Set the attention of a current invoice.
|
905
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice. valueHandle: Handle for the new attention of the current invoice.
|
906
|
+
#
|
907
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
908
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_SetAttention
|
909
|
+
# @return [Hash] The body content of the SOAP response.
|
910
|
+
def self.set_attention
|
911
|
+
response = invoke('CurrentInvoice_SetAttention') do |message|
|
912
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
913
|
+
end
|
914
|
+
end
|
915
|
+
|
916
|
+
# Gets a handle for the reference of the debtor of a current invoice.
|
917
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
918
|
+
#
|
919
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
920
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetYourReference
|
921
|
+
# @return [Hash] The body content of the SOAP response.
|
922
|
+
def self.get_your_reference
|
923
|
+
response = invoke('CurrentInvoice_GetYourReference') do |message|
|
924
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
925
|
+
end
|
926
|
+
end
|
927
|
+
|
928
|
+
# Set the the reference for the debtor of a current invoice.
|
929
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice. valueHandle: Handle for the new reference for the debtor.
|
930
|
+
#
|
931
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
932
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_SetYourReference
|
933
|
+
# @return [Hash] The body content of the SOAP response.
|
934
|
+
def self.set_your_reference
|
935
|
+
response = invoke('CurrentInvoice_SetYourReference') do |message|
|
936
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
937
|
+
end
|
938
|
+
end
|
939
|
+
|
940
|
+
# Gets a handle for the primary reference of the creditor of a current invoice.
|
941
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
942
|
+
#
|
943
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
944
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetOurReference
|
945
|
+
# @return [Hash] The body content of the SOAP response.
|
946
|
+
def self.get_our_reference
|
947
|
+
response = invoke('CurrentInvoice_GetOurReference') do |message|
|
948
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
949
|
+
end
|
950
|
+
end
|
951
|
+
|
952
|
+
# Set the the primary reference of the creditor of a current invoice.
|
953
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice. valueHandle: Handle for the new primary reference of the creditor of the current invoice.
|
954
|
+
#
|
955
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
956
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_SetOurReference
|
957
|
+
# @return [Hash] The body content of the SOAP response.
|
958
|
+
def self.set_our_reference
|
959
|
+
response = invoke('CurrentInvoice_SetOurReference') do |message|
|
960
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
961
|
+
end
|
962
|
+
end
|
963
|
+
|
964
|
+
# Gets a handle for the secondary reference of the creditor of a current invoice.
|
965
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
966
|
+
#
|
967
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
968
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetOurReference2
|
969
|
+
# @return [Hash] The body content of the SOAP response.
|
970
|
+
def self.get_our_reference2
|
971
|
+
response = invoke('CurrentInvoice_GetOurReference2') do |message|
|
972
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
973
|
+
end
|
974
|
+
end
|
975
|
+
|
976
|
+
# Set the the secondary reference of the creditor of a current invoice.
|
977
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice. valueHandle: Handle for the new secondary reference of the creditor of the current invoice.
|
978
|
+
#
|
979
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
980
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_SetOurReference2
|
981
|
+
# @return [Hash] The body content of the SOAP response.
|
982
|
+
def self.set_our_reference2
|
983
|
+
response = invoke('CurrentInvoice_SetOurReference2') do |message|
|
984
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
985
|
+
end
|
986
|
+
end
|
987
|
+
|
988
|
+
# Gets the date of a current invoice.
|
989
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
990
|
+
#
|
991
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
992
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetDate
|
993
|
+
# @return [Hash] The body content of the SOAP response.
|
994
|
+
def self.get_date
|
995
|
+
response = invoke('CurrentInvoice_GetDate') do |message|
|
996
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
997
|
+
end
|
998
|
+
end
|
999
|
+
|
1000
|
+
# Set the date of a current invoice. The due date is calculated accordingly as specified by the term of payment.
|
1001
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice. value: The new date of the current invoice.
|
1002
|
+
#
|
1003
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
1004
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_SetDate
|
1005
|
+
# @return [Hash] The body content of the SOAP response.
|
1006
|
+
def self.set_date
|
1007
|
+
response = invoke('CurrentInvoice_SetDate') do |message|
|
1008
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
1009
|
+
end
|
1010
|
+
end
|
1011
|
+
|
1012
|
+
# Gets a handle for the term of payment of a current invoice.
|
1013
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
1014
|
+
#
|
1015
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
1016
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetTermOfPayment
|
1017
|
+
# @return [Hash] The body content of the SOAP response.
|
1018
|
+
def self.get_term_of_payment
|
1019
|
+
response = invoke('CurrentInvoice_GetTermOfPayment') do |message|
|
1020
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
1021
|
+
end
|
1022
|
+
end
|
1023
|
+
|
1024
|
+
# Set the term of payment of a current invoice. The due date is calculated accordingly.
|
1025
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice. valueHandle: Handle for the new term of payment of the current invoice.
|
1026
|
+
#
|
1027
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
1028
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_SetTermOfPayment
|
1029
|
+
# @return [Hash] The body content of the SOAP response.
|
1030
|
+
def self.set_term_of_payment
|
1031
|
+
response = invoke('CurrentInvoice_SetTermOfPayment') do |message|
|
1032
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
1033
|
+
end
|
1034
|
+
end
|
1035
|
+
|
1036
|
+
# Gets the due date of a current invoice.
|
1037
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
1038
|
+
#
|
1039
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
1040
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetDueDate
|
1041
|
+
# @return [Hash] The body content of the SOAP response.
|
1042
|
+
def self.get_due_date
|
1043
|
+
response = invoke('CurrentInvoice_GetDueDate') do |message|
|
1044
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
1045
|
+
end
|
1046
|
+
end
|
1047
|
+
|
1048
|
+
# Set the due date of a current invoice. It is only allowed to set the due date to an actual date when the type of TermOfPayment is set to DueDate.
|
1049
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice. value: The new due date of the current invoice.
|
1050
|
+
#
|
1051
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
1052
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_SetDueDate
|
1053
|
+
# @return [Hash] The body content of the SOAP response.
|
1054
|
+
def self.set_due_date
|
1055
|
+
response = invoke('CurrentInvoice_SetDueDate') do |message|
|
1056
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
1057
|
+
end
|
1058
|
+
end
|
1059
|
+
|
1060
|
+
# Gets the currency of a current invoice.
|
1061
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
1062
|
+
#
|
1063
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
1064
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetCurrency
|
1065
|
+
# @return [Hash] The body content of the SOAP response.
|
1066
|
+
def self.get_currency
|
1067
|
+
response = invoke('CurrentInvoice_GetCurrency') do |message|
|
1068
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
1069
|
+
end
|
1070
|
+
end
|
1071
|
+
|
1072
|
+
# Set the currency of a current invoice.
|
1073
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice. valueHandle: Handle for the new currency of the current invoice.
|
1074
|
+
#
|
1075
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
1076
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_SetCurrency
|
1077
|
+
# @return [Hash] The body content of the SOAP response.
|
1078
|
+
def self.set_currency
|
1079
|
+
response = invoke('CurrentInvoice_SetCurrency') do |message|
|
1080
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
1081
|
+
end
|
1082
|
+
end
|
1083
|
+
|
1084
|
+
# Gets the exchange rate of a current invoice.
|
1085
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice.
|
1086
|
+
#
|
1087
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
1088
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_GetExchangeRate
|
1089
|
+
# @return [Hash] The body content of the SOAP response.
|
1090
|
+
def self.get_exchange_rate
|
1091
|
+
response = invoke('CurrentInvoice_GetExchangeRate') do |message|
|
1092
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
1093
|
+
end
|
1094
|
+
end
|
1095
|
+
|
1096
|
+
# Set the exchange rate of a current invoice.
|
1097
|
+
# Parameters: currentInvoiceHandle: Handle for the current invoice. valueHandle: New exchange of the current invoice.
|
1098
|
+
#
|
1099
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
1100
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoice_SetExchangeRate
|
1101
|
+
# @return [Hash] The body content of the SOAP response.
|
1102
|
+
def self.set_exchange_rate
|
1103
|
+
response = invoke('CurrentInvoice_SetExchangeRate') do |message|
|
1104
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
1105
|
+
end
|
1106
|
+
end
|
1107
|
+
|
1108
|
+
end
|
1109
|
+
end
|
1110
|
+
end
|