invoicetronic_sdk 1.6 → 1.7
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/CHANGELOG.md +1 -1
- data/Gemfile.lock +2 -2
- data/README.md +12 -5
- data/docs/CompanyApi.md +42 -6
- data/docs/ExportApi.md +7 -1
- data/docs/HealthApi.md +7 -1
- data/docs/LogApi.md +14 -2
- data/docs/ReceiveApi.md +28 -4
- data/docs/SendApi.md +84 -12
- data/docs/StatusApi.md +7 -1
- data/docs/UpdateApi.md +14 -2
- data/docs/WebhookApi.md +49 -7
- data/invoicetronic_sdk.gemspec +1 -1
- data/lib/invoicetronic_sdk/api/company_api.rb +7 -7
- data/lib/invoicetronic_sdk/api/export_api.rb +2 -2
- data/lib/invoicetronic_sdk/api/health_api.rb +2 -2
- data/lib/invoicetronic_sdk/api/log_api.rb +3 -3
- data/lib/invoicetronic_sdk/api/receive_api.rb +5 -5
- data/lib/invoicetronic_sdk/api/send_api.rb +13 -13
- data/lib/invoicetronic_sdk/api/status_api.rb +2 -2
- data/lib/invoicetronic_sdk/api/update_api.rb +3 -3
- data/lib/invoicetronic_sdk/api/webhook_api.rb +8 -8
- data/lib/invoicetronic_sdk/api_client.rb +2 -2
- data/lib/invoicetronic_sdk/api_error.rb +1 -1
- data/lib/invoicetronic_sdk/api_model_base.rb +1 -1
- data/lib/invoicetronic_sdk/configuration.rb +1 -1
- data/lib/invoicetronic_sdk/models/company.rb +1 -1
- data/lib/invoicetronic_sdk/models/document_data.rb +1 -1
- data/lib/invoicetronic_sdk/models/error.rb +1 -1
- data/lib/invoicetronic_sdk/models/event.rb +1 -1
- data/lib/invoicetronic_sdk/models/model_send.rb +1 -1
- data/lib/invoicetronic_sdk/models/problem_details.rb +1 -1
- data/lib/invoicetronic_sdk/models/receive.rb +1 -1
- data/lib/invoicetronic_sdk/models/send_reduced.rb +1 -1
- data/lib/invoicetronic_sdk/models/status.rb +1 -1
- data/lib/invoicetronic_sdk/models/update.rb +1 -1
- data/lib/invoicetronic_sdk/models/web_hook.rb +1 -1
- data/lib/invoicetronic_sdk/models/web_hook_history.rb +1 -1
- data/lib/invoicetronic_sdk/version.rb +2 -2
- data/lib/invoicetronic_sdk.rb +1 -1
- data/spec/api/company_api_spec.rb +1 -1
- data/spec/api/export_api_spec.rb +1 -1
- data/spec/api/health_api_spec.rb +1 -1
- data/spec/api/log_api_spec.rb +1 -1
- data/spec/api/receive_api_spec.rb +1 -1
- data/spec/api/send_api_spec.rb +1 -1
- data/spec/api/status_api_spec.rb +1 -1
- data/spec/api/update_api_spec.rb +1 -1
- data/spec/api/webhook_api_spec.rb +1 -1
- data/spec/models/company_spec.rb +1 -1
- data/spec/models/document_data_spec.rb +1 -1
- data/spec/models/error_spec.rb +1 -1
- data/spec/models/event_spec.rb +1 -1
- data/spec/models/model_send_spec.rb +1 -1
- data/spec/models/problem_details_spec.rb +1 -1
- data/spec/models/receive_spec.rb +1 -1
- data/spec/models/send_reduced_spec.rb +1 -1
- data/spec/models/status_spec.rb +1 -1
- data/spec/models/update_spec.rb +1 -1
- data/spec/models/web_hook_history_spec.rb +1 -1
- data/spec/models/web_hook_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/vendor/bundle/ruby/3.3.0/cache/parallel-1.28.0.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/byebug-13.0.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.5.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/io-console-0.8.2/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/jaro_winkler-1.5.6/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/psych-5.3.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/racc-1.8.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/stringio-3.2.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/gems/parallel-1.28.0/lib/parallel/version.rb +4 -0
- data/vendor/bundle/ruby/3.3.0/gems/{parallel-1.27.0 → parallel-1.28.0}/lib/parallel.rb +11 -0
- data/vendor/bundle/ruby/3.3.0/specifications/{parallel-1.27.0.gemspec → parallel-1.28.0.gemspec} +5 -5
- metadata +7 -7
- data/vendor/bundle/ruby/3.3.0/cache/parallel-1.27.0.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/parallel-1.27.0/lib/parallel/version.rb +0 -4
- /data/vendor/bundle/ruby/3.3.0/gems/{parallel-1.27.0 → parallel-1.28.0}/MIT-LICENSE.txt +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 50f6b71fbd341a92f66690d771c773b4f046e57bdffe270daf4f6e58f21beade
|
|
4
|
+
data.tar.gz: 7950a17f414a66064935dcb3159086fa900534122286939ff714b907ff29aa99
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7876619080be87e4be2e60a06e58582ac9ac8139ab7064ae851cca47f103920c5deee3bfb4a5d376b5c70f6e27076470960d529e9a693db80979f1dcd149913b
|
|
7
|
+
data.tar.gz: 43e3594858513d494829eeb8fca837a808437ca62764dfdb5099f3415fb724245064fcbebddb8f4e608b676927a1a6b65c9410b5c472b93906ead0d9882712e0
|
data/CHANGELOG.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
# Changelog\n\n## [1.
|
|
1
|
+
# Changelog\n\n## [1.7.0] - 2026-04-02\nSee main repository changelog for details.
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
invoicetronic_sdk (1.
|
|
4
|
+
invoicetronic_sdk (1.7)
|
|
5
5
|
typhoeus (~> 1.0, >= 1.0.1)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
@@ -31,7 +31,7 @@ GEM
|
|
|
31
31
|
jaro_winkler (1.5.6)
|
|
32
32
|
logger (1.7.0)
|
|
33
33
|
method_source (1.1.0)
|
|
34
|
-
parallel (1.
|
|
34
|
+
parallel (1.28.0)
|
|
35
35
|
parser (3.3.11.1)
|
|
36
36
|
ast (~> 2.4.1)
|
|
37
37
|
racc
|
data/README.md
CHANGED
|
@@ -9,8 +9,8 @@ For more information, see [Invoicetronic website][2]
|
|
|
9
9
|
|
|
10
10
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
11
11
|
|
|
12
|
-
- API version: 1.6.
|
|
13
|
-
- Package version: 1.
|
|
12
|
+
- API version: 1.6.4
|
|
13
|
+
- Package version: 1.7
|
|
14
14
|
- Generator version: 7.20.0
|
|
15
15
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
16
16
|
For more information, please visit [https://invoicetronic.com/en/contact/](https://invoicetronic.com/en/contact/)
|
|
@@ -28,16 +28,16 @@ gem build invoicetronic_sdk.gemspec
|
|
|
28
28
|
Then either install the gem locally:
|
|
29
29
|
|
|
30
30
|
```shell
|
|
31
|
-
gem install ./invoicetronic_sdk-1.
|
|
31
|
+
gem install ./invoicetronic_sdk-1.7.gem
|
|
32
32
|
```
|
|
33
33
|
|
|
34
|
-
(for development, run `gem install --dev ./invoicetronic_sdk-1.
|
|
34
|
+
(for development, run `gem install --dev ./invoicetronic_sdk-1.7.gem` to install the development dependencies)
|
|
35
35
|
|
|
36
36
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
37
37
|
|
|
38
38
|
Finally add this to the Gemfile:
|
|
39
39
|
|
|
40
|
-
gem 'invoicetronic_sdk', '~> 1.
|
|
40
|
+
gem 'invoicetronic_sdk', '~> 1.7'
|
|
41
41
|
|
|
42
42
|
### Install from Git
|
|
43
43
|
|
|
@@ -61,6 +61,13 @@ Please follow the [installation](#installation) procedure and then run the follo
|
|
|
61
61
|
# Load the gem
|
|
62
62
|
require 'invoicetronic_sdk'
|
|
63
63
|
|
|
64
|
+
# Setup authorization
|
|
65
|
+
Invoicetronic_Sdk.configure do |config|
|
|
66
|
+
# Configure HTTP basic authorization: Basic
|
|
67
|
+
config.username = 'YOUR_USERNAME'
|
|
68
|
+
config.password = 'YOUR_PASSWORD'
|
|
69
|
+
end
|
|
70
|
+
|
|
64
71
|
api_instance = Invoicetronic_Sdk::CompanyApi.new
|
|
65
72
|
opts = {
|
|
66
73
|
page: 56, # Integer | Page number.
|
data/docs/CompanyApi.md
CHANGED
|
@@ -25,6 +25,12 @@ Retrieve a paginated list of companies. Results can be filtered by free-text sea
|
|
|
25
25
|
```ruby
|
|
26
26
|
require 'time'
|
|
27
27
|
require 'invoicetronic_sdk'
|
|
28
|
+
# setup authorization
|
|
29
|
+
Invoicetronic_Sdk.configure do |config|
|
|
30
|
+
# Configure HTTP basic authorization: Basic
|
|
31
|
+
config.username = 'YOUR USERNAME'
|
|
32
|
+
config.password = 'YOUR PASSWORD'
|
|
33
|
+
end
|
|
28
34
|
|
|
29
35
|
api_instance = Invoicetronic_Sdk::CompanyApi.new
|
|
30
36
|
opts = {
|
|
@@ -76,7 +82,7 @@ end
|
|
|
76
82
|
|
|
77
83
|
### Authorization
|
|
78
84
|
|
|
79
|
-
|
|
85
|
+
[Basic](../README.md#Basic)
|
|
80
86
|
|
|
81
87
|
### HTTP request headers
|
|
82
88
|
|
|
@@ -97,6 +103,12 @@ Delete a company by its internal id. **Companies** are the entities that send a
|
|
|
97
103
|
```ruby
|
|
98
104
|
require 'time'
|
|
99
105
|
require 'invoicetronic_sdk'
|
|
106
|
+
# setup authorization
|
|
107
|
+
Invoicetronic_Sdk.configure do |config|
|
|
108
|
+
# Configure HTTP basic authorization: Basic
|
|
109
|
+
config.username = 'YOUR USERNAME'
|
|
110
|
+
config.password = 'YOUR PASSWORD'
|
|
111
|
+
end
|
|
100
112
|
|
|
101
113
|
api_instance = Invoicetronic_Sdk::CompanyApi.new
|
|
102
114
|
id = 56 # Integer | Item id
|
|
@@ -144,7 +156,7 @@ end
|
|
|
144
156
|
|
|
145
157
|
### Authorization
|
|
146
158
|
|
|
147
|
-
|
|
159
|
+
[Basic](../README.md#Basic)
|
|
148
160
|
|
|
149
161
|
### HTTP request headers
|
|
150
162
|
|
|
@@ -165,6 +177,12 @@ Retrieve a company by its internal id. **Companies** are the entities that send
|
|
|
165
177
|
```ruby
|
|
166
178
|
require 'time'
|
|
167
179
|
require 'invoicetronic_sdk'
|
|
180
|
+
# setup authorization
|
|
181
|
+
Invoicetronic_Sdk.configure do |config|
|
|
182
|
+
# Configure HTTP basic authorization: Basic
|
|
183
|
+
config.username = 'YOUR USERNAME'
|
|
184
|
+
config.password = 'YOUR PASSWORD'
|
|
185
|
+
end
|
|
168
186
|
|
|
169
187
|
api_instance = Invoicetronic_Sdk::CompanyApi.new
|
|
170
188
|
id = 56 # Integer | Item id
|
|
@@ -208,7 +226,7 @@ end
|
|
|
208
226
|
|
|
209
227
|
### Authorization
|
|
210
228
|
|
|
211
|
-
|
|
229
|
+
[Basic](../README.md#Basic)
|
|
212
230
|
|
|
213
231
|
### HTTP request headers
|
|
214
232
|
|
|
@@ -229,6 +247,12 @@ Add a new company. **Companies** are the entities that send and receive invoice
|
|
|
229
247
|
```ruby
|
|
230
248
|
require 'time'
|
|
231
249
|
require 'invoicetronic_sdk'
|
|
250
|
+
# setup authorization
|
|
251
|
+
Invoicetronic_Sdk.configure do |config|
|
|
252
|
+
# Configure HTTP basic authorization: Basic
|
|
253
|
+
config.username = 'YOUR USERNAME'
|
|
254
|
+
config.password = 'YOUR PASSWORD'
|
|
255
|
+
end
|
|
232
256
|
|
|
233
257
|
api_instance = Invoicetronic_Sdk::CompanyApi.new
|
|
234
258
|
company = Invoicetronic_Sdk::Company.new({vat: 'IT01234567891', fiscal_code: 'RSSMRA70A01F205V', name: 'Mario Rossi Srl'}) # Company |
|
|
@@ -272,7 +296,7 @@ end
|
|
|
272
296
|
|
|
273
297
|
### Authorization
|
|
274
298
|
|
|
275
|
-
|
|
299
|
+
[Basic](../README.md#Basic)
|
|
276
300
|
|
|
277
301
|
### HTTP request headers
|
|
278
302
|
|
|
@@ -293,6 +317,12 @@ Update an existing company. **Companies** are the entities that send and receiv
|
|
|
293
317
|
```ruby
|
|
294
318
|
require 'time'
|
|
295
319
|
require 'invoicetronic_sdk'
|
|
320
|
+
# setup authorization
|
|
321
|
+
Invoicetronic_Sdk.configure do |config|
|
|
322
|
+
# Configure HTTP basic authorization: Basic
|
|
323
|
+
config.username = 'YOUR USERNAME'
|
|
324
|
+
config.password = 'YOUR PASSWORD'
|
|
325
|
+
end
|
|
296
326
|
|
|
297
327
|
api_instance = Invoicetronic_Sdk::CompanyApi.new
|
|
298
328
|
company = Invoicetronic_Sdk::Company.new({vat: 'IT01234567891', fiscal_code: 'RSSMRA70A01F205V', name: 'Mario Rossi Srl'}) # Company |
|
|
@@ -336,7 +366,7 @@ end
|
|
|
336
366
|
|
|
337
367
|
### Authorization
|
|
338
368
|
|
|
339
|
-
|
|
369
|
+
[Basic](../README.md#Basic)
|
|
340
370
|
|
|
341
371
|
### HTTP request headers
|
|
342
372
|
|
|
@@ -357,6 +387,12 @@ Retrieve a company by its VAT number. **Companies** are the entities that send
|
|
|
357
387
|
```ruby
|
|
358
388
|
require 'time'
|
|
359
389
|
require 'invoicetronic_sdk'
|
|
390
|
+
# setup authorization
|
|
391
|
+
Invoicetronic_Sdk.configure do |config|
|
|
392
|
+
# Configure HTTP basic authorization: Basic
|
|
393
|
+
config.username = 'YOUR USERNAME'
|
|
394
|
+
config.password = 'YOUR PASSWORD'
|
|
395
|
+
end
|
|
360
396
|
|
|
361
397
|
api_instance = Invoicetronic_Sdk::CompanyApi.new
|
|
362
398
|
vat = 'vat_example' # String |
|
|
@@ -400,7 +436,7 @@ end
|
|
|
400
436
|
|
|
401
437
|
### Authorization
|
|
402
438
|
|
|
403
|
-
|
|
439
|
+
[Basic](../README.md#Basic)
|
|
404
440
|
|
|
405
441
|
### HTTP request headers
|
|
406
442
|
|
data/docs/ExportApi.md
CHANGED
|
@@ -20,6 +20,12 @@ Export invoices as a ZIP archive of FatturaPA XML files, suitable for import int
|
|
|
20
20
|
```ruby
|
|
21
21
|
require 'time'
|
|
22
22
|
require 'invoicetronic_sdk'
|
|
23
|
+
# setup authorization
|
|
24
|
+
Invoicetronic_Sdk.configure do |config|
|
|
25
|
+
# Configure HTTP basic authorization: Basic
|
|
26
|
+
config.username = 'YOUR USERNAME'
|
|
27
|
+
config.password = 'YOUR PASSWORD'
|
|
28
|
+
end
|
|
23
29
|
|
|
24
30
|
api_instance = Invoicetronic_Sdk::ExportApi.new
|
|
25
31
|
opts = {
|
|
@@ -76,7 +82,7 @@ nil (empty response body)
|
|
|
76
82
|
|
|
77
83
|
### Authorization
|
|
78
84
|
|
|
79
|
-
|
|
85
|
+
[Basic](../README.md#Basic)
|
|
80
86
|
|
|
81
87
|
### HTTP request headers
|
|
82
88
|
|
data/docs/HealthApi.md
CHANGED
|
@@ -20,6 +20,12 @@ Returns the health status of the API and its dependencies. No authentication req
|
|
|
20
20
|
```ruby
|
|
21
21
|
require 'time'
|
|
22
22
|
require 'invoicetronic_sdk'
|
|
23
|
+
# setup authorization
|
|
24
|
+
Invoicetronic_Sdk.configure do |config|
|
|
25
|
+
# Configure HTTP basic authorization: Basic
|
|
26
|
+
config.username = 'YOUR USERNAME'
|
|
27
|
+
config.password = 'YOUR PASSWORD'
|
|
28
|
+
end
|
|
23
29
|
|
|
24
30
|
api_instance = Invoicetronic_Sdk::HealthApi.new
|
|
25
31
|
|
|
@@ -59,7 +65,7 @@ nil (empty response body)
|
|
|
59
65
|
|
|
60
66
|
### Authorization
|
|
61
67
|
|
|
62
|
-
|
|
68
|
+
[Basic](../README.md#Basic)
|
|
63
69
|
|
|
64
70
|
### HTTP request headers
|
|
65
71
|
|
data/docs/LogApi.md
CHANGED
|
@@ -21,6 +21,12 @@ Retrieve a paginated list of log events. Results can be filtered by various crit
|
|
|
21
21
|
```ruby
|
|
22
22
|
require 'time'
|
|
23
23
|
require 'invoicetronic_sdk'
|
|
24
|
+
# setup authorization
|
|
25
|
+
Invoicetronic_Sdk.configure do |config|
|
|
26
|
+
# Configure HTTP basic authorization: Basic
|
|
27
|
+
config.username = 'YOUR USERNAME'
|
|
28
|
+
config.password = 'YOUR PASSWORD'
|
|
29
|
+
end
|
|
24
30
|
|
|
25
31
|
api_instance = Invoicetronic_Sdk::LogApi.new
|
|
26
32
|
opts = {
|
|
@@ -94,7 +100,7 @@ end
|
|
|
94
100
|
|
|
95
101
|
### Authorization
|
|
96
102
|
|
|
97
|
-
|
|
103
|
+
[Basic](../README.md#Basic)
|
|
98
104
|
|
|
99
105
|
### HTTP request headers
|
|
100
106
|
|
|
@@ -115,6 +121,12 @@ Retrieve a log event by its internal id. **Logs** record every API request. The
|
|
|
115
121
|
```ruby
|
|
116
122
|
require 'time'
|
|
117
123
|
require 'invoicetronic_sdk'
|
|
124
|
+
# setup authorization
|
|
125
|
+
Invoicetronic_Sdk.configure do |config|
|
|
126
|
+
# Configure HTTP basic authorization: Basic
|
|
127
|
+
config.username = 'YOUR USERNAME'
|
|
128
|
+
config.password = 'YOUR PASSWORD'
|
|
129
|
+
end
|
|
118
130
|
|
|
119
131
|
api_instance = Invoicetronic_Sdk::LogApi.new
|
|
120
132
|
id = 56 # Integer | Item id
|
|
@@ -158,7 +170,7 @@ end
|
|
|
158
170
|
|
|
159
171
|
### Authorization
|
|
160
172
|
|
|
161
|
-
|
|
173
|
+
[Basic](../README.md#Basic)
|
|
162
174
|
|
|
163
175
|
### HTTP request headers
|
|
164
176
|
|
data/docs/ReceiveApi.md
CHANGED
|
@@ -23,6 +23,12 @@ Retrieve a paginated list of receive invoices. Results can be filtered by variou
|
|
|
23
23
|
```ruby
|
|
24
24
|
require 'time'
|
|
25
25
|
require 'invoicetronic_sdk'
|
|
26
|
+
# setup authorization
|
|
27
|
+
Invoicetronic_Sdk.configure do |config|
|
|
28
|
+
# Configure HTTP basic authorization: Basic
|
|
29
|
+
config.username = 'YOUR USERNAME'
|
|
30
|
+
config.password = 'YOUR PASSWORD'
|
|
31
|
+
end
|
|
26
32
|
|
|
27
33
|
api_instance = Invoicetronic_Sdk::ReceiveApi.new
|
|
28
34
|
opts = {
|
|
@@ -102,7 +108,7 @@ end
|
|
|
102
108
|
|
|
103
109
|
### Authorization
|
|
104
110
|
|
|
105
|
-
|
|
111
|
+
[Basic](../README.md#Basic)
|
|
106
112
|
|
|
107
113
|
### HTTP request headers
|
|
108
114
|
|
|
@@ -123,6 +129,12 @@ Permanently delete a receive invoice by its internal id. This action cannot be u
|
|
|
123
129
|
```ruby
|
|
124
130
|
require 'time'
|
|
125
131
|
require 'invoicetronic_sdk'
|
|
132
|
+
# setup authorization
|
|
133
|
+
Invoicetronic_Sdk.configure do |config|
|
|
134
|
+
# Configure HTTP basic authorization: Basic
|
|
135
|
+
config.username = 'YOUR USERNAME'
|
|
136
|
+
config.password = 'YOUR PASSWORD'
|
|
137
|
+
end
|
|
126
138
|
|
|
127
139
|
api_instance = Invoicetronic_Sdk::ReceiveApi.new
|
|
128
140
|
id = 56 # Integer | Item id
|
|
@@ -166,7 +178,7 @@ end
|
|
|
166
178
|
|
|
167
179
|
### Authorization
|
|
168
180
|
|
|
169
|
-
|
|
181
|
+
[Basic](../README.md#Basic)
|
|
170
182
|
|
|
171
183
|
### HTTP request headers
|
|
172
184
|
|
|
@@ -187,6 +199,12 @@ Retrieve an incoming invoice by its internal id. The `id` is unique and assigned
|
|
|
187
199
|
```ruby
|
|
188
200
|
require 'time'
|
|
189
201
|
require 'invoicetronic_sdk'
|
|
202
|
+
# setup authorization
|
|
203
|
+
Invoicetronic_Sdk.configure do |config|
|
|
204
|
+
# Configure HTTP basic authorization: Basic
|
|
205
|
+
config.username = 'YOUR USERNAME'
|
|
206
|
+
config.password = 'YOUR PASSWORD'
|
|
207
|
+
end
|
|
190
208
|
|
|
191
209
|
api_instance = Invoicetronic_Sdk::ReceiveApi.new
|
|
192
210
|
id = 56 # Integer | Item id
|
|
@@ -234,7 +252,7 @@ end
|
|
|
234
252
|
|
|
235
253
|
### Authorization
|
|
236
254
|
|
|
237
|
-
|
|
255
|
+
[Basic](../README.md#Basic)
|
|
238
256
|
|
|
239
257
|
### HTTP request headers
|
|
240
258
|
|
|
@@ -255,6 +273,12 @@ Retrieve only the payload of a receive invoice, without the full invoice metadat
|
|
|
255
273
|
```ruby
|
|
256
274
|
require 'time'
|
|
257
275
|
require 'invoicetronic_sdk'
|
|
276
|
+
# setup authorization
|
|
277
|
+
Invoicetronic_Sdk.configure do |config|
|
|
278
|
+
# Configure HTTP basic authorization: Basic
|
|
279
|
+
config.username = 'YOUR USERNAME'
|
|
280
|
+
config.password = 'YOUR PASSWORD'
|
|
281
|
+
end
|
|
258
282
|
|
|
259
283
|
api_instance = Invoicetronic_Sdk::ReceiveApi.new
|
|
260
284
|
id = 56 # Integer | Item id
|
|
@@ -297,7 +321,7 @@ nil (empty response body)
|
|
|
297
321
|
|
|
298
322
|
### Authorization
|
|
299
323
|
|
|
300
|
-
|
|
324
|
+
[Basic](../README.md#Basic)
|
|
301
325
|
|
|
302
326
|
### HTTP request headers
|
|
303
327
|
|
data/docs/SendApi.md
CHANGED
|
@@ -31,6 +31,12 @@ Add a new invoice by uploading a file. Supported formats are XML (FatturaPA) and
|
|
|
31
31
|
```ruby
|
|
32
32
|
require 'time'
|
|
33
33
|
require 'invoicetronic_sdk'
|
|
34
|
+
# setup authorization
|
|
35
|
+
Invoicetronic_Sdk.configure do |config|
|
|
36
|
+
# Configure HTTP basic authorization: Basic
|
|
37
|
+
config.username = 'YOUR USERNAME'
|
|
38
|
+
config.password = 'YOUR PASSWORD'
|
|
39
|
+
end
|
|
34
40
|
|
|
35
41
|
api_instance = Invoicetronic_Sdk::SendApi.new
|
|
36
42
|
file = File.new('/path/to/some/file') # File |
|
|
@@ -80,7 +86,7 @@ end
|
|
|
80
86
|
|
|
81
87
|
### Authorization
|
|
82
88
|
|
|
83
|
-
|
|
89
|
+
[Basic](../README.md#Basic)
|
|
84
90
|
|
|
85
91
|
### HTTP request headers
|
|
86
92
|
|
|
@@ -101,6 +107,12 @@ Retrieve a paginated list of send invoices. Results can be filtered by various c
|
|
|
101
107
|
```ruby
|
|
102
108
|
require 'time'
|
|
103
109
|
require 'invoicetronic_sdk'
|
|
110
|
+
# setup authorization
|
|
111
|
+
Invoicetronic_Sdk.configure do |config|
|
|
112
|
+
# Configure HTTP basic authorization: Basic
|
|
113
|
+
config.username = 'YOUR USERNAME'
|
|
114
|
+
config.password = 'YOUR PASSWORD'
|
|
115
|
+
end
|
|
104
116
|
|
|
105
117
|
api_instance = Invoicetronic_Sdk::SendApi.new
|
|
106
118
|
opts = {
|
|
@@ -178,7 +190,7 @@ end
|
|
|
178
190
|
|
|
179
191
|
### Authorization
|
|
180
192
|
|
|
181
|
-
|
|
193
|
+
[Basic](../README.md#Basic)
|
|
182
194
|
|
|
183
195
|
### HTTP request headers
|
|
184
196
|
|
|
@@ -199,6 +211,12 @@ Retrieve a send invoice by its internal id. The `id` is unique and assigned by t
|
|
|
199
211
|
```ruby
|
|
200
212
|
require 'time'
|
|
201
213
|
require 'invoicetronic_sdk'
|
|
214
|
+
# setup authorization
|
|
215
|
+
Invoicetronic_Sdk.configure do |config|
|
|
216
|
+
# Configure HTTP basic authorization: Basic
|
|
217
|
+
config.username = 'YOUR USERNAME'
|
|
218
|
+
config.password = 'YOUR PASSWORD'
|
|
219
|
+
end
|
|
202
220
|
|
|
203
221
|
api_instance = Invoicetronic_Sdk::SendApi.new
|
|
204
222
|
id = 56 # Integer | Item id
|
|
@@ -246,7 +264,7 @@ end
|
|
|
246
264
|
|
|
247
265
|
### Authorization
|
|
248
266
|
|
|
249
|
-
|
|
267
|
+
[Basic](../README.md#Basic)
|
|
250
268
|
|
|
251
269
|
### HTTP request headers
|
|
252
270
|
|
|
@@ -267,6 +285,12 @@ Retrieve only the payload of a send invoice, without the full invoice metadata.
|
|
|
267
285
|
```ruby
|
|
268
286
|
require 'time'
|
|
269
287
|
require 'invoicetronic_sdk'
|
|
288
|
+
# setup authorization
|
|
289
|
+
Invoicetronic_Sdk.configure do |config|
|
|
290
|
+
# Configure HTTP basic authorization: Basic
|
|
291
|
+
config.username = 'YOUR USERNAME'
|
|
292
|
+
config.password = 'YOUR PASSWORD'
|
|
293
|
+
end
|
|
270
294
|
|
|
271
295
|
api_instance = Invoicetronic_Sdk::SendApi.new
|
|
272
296
|
id = 56 # Integer | Item id
|
|
@@ -309,7 +333,7 @@ nil (empty response body)
|
|
|
309
333
|
|
|
310
334
|
### Authorization
|
|
311
335
|
|
|
312
|
-
|
|
336
|
+
[Basic](../README.md#Basic)
|
|
313
337
|
|
|
314
338
|
### HTTP request headers
|
|
315
339
|
|
|
@@ -330,6 +354,12 @@ Retrieve a send invoice by its SDI identifier. The `identifier` is assigned by t
|
|
|
330
354
|
```ruby
|
|
331
355
|
require 'time'
|
|
332
356
|
require 'invoicetronic_sdk'
|
|
357
|
+
# setup authorization
|
|
358
|
+
Invoicetronic_Sdk.configure do |config|
|
|
359
|
+
# Configure HTTP basic authorization: Basic
|
|
360
|
+
config.username = 'YOUR USERNAME'
|
|
361
|
+
config.password = 'YOUR PASSWORD'
|
|
362
|
+
end
|
|
333
363
|
|
|
334
364
|
api_instance = Invoicetronic_Sdk::SendApi.new
|
|
335
365
|
identifier = 'identifier_example' # String |
|
|
@@ -377,7 +407,7 @@ end
|
|
|
377
407
|
|
|
378
408
|
### Authorization
|
|
379
409
|
|
|
380
|
-
|
|
410
|
+
[Basic](../README.md#Basic)
|
|
381
411
|
|
|
382
412
|
### HTTP request headers
|
|
383
413
|
|
|
@@ -398,6 +428,12 @@ Add a new invoice using a FatturaPA JSON representation. The invoice will be sig
|
|
|
398
428
|
```ruby
|
|
399
429
|
require 'time'
|
|
400
430
|
require 'invoicetronic_sdk'
|
|
431
|
+
# setup authorization
|
|
432
|
+
Invoicetronic_Sdk.configure do |config|
|
|
433
|
+
# Configure HTTP basic authorization: Basic
|
|
434
|
+
config.username = 'YOUR USERNAME'
|
|
435
|
+
config.password = 'YOUR PASSWORD'
|
|
436
|
+
end
|
|
401
437
|
|
|
402
438
|
api_instance = Invoicetronic_Sdk::SendApi.new
|
|
403
439
|
body = { ... } # Object |
|
|
@@ -447,7 +483,7 @@ end
|
|
|
447
483
|
|
|
448
484
|
### Authorization
|
|
449
485
|
|
|
450
|
-
|
|
486
|
+
[Basic](../README.md#Basic)
|
|
451
487
|
|
|
452
488
|
### HTTP request headers
|
|
453
489
|
|
|
@@ -468,6 +504,12 @@ Add a new invoice using a structured Send object. The invoice will be signed (if
|
|
|
468
504
|
```ruby
|
|
469
505
|
require 'time'
|
|
470
506
|
require 'invoicetronic_sdk'
|
|
507
|
+
# setup authorization
|
|
508
|
+
Invoicetronic_Sdk.configure do |config|
|
|
509
|
+
# Configure HTTP basic authorization: Basic
|
|
510
|
+
config.username = 'YOUR USERNAME'
|
|
511
|
+
config.password = 'YOUR PASSWORD'
|
|
512
|
+
end
|
|
471
513
|
|
|
472
514
|
api_instance = Invoicetronic_Sdk::SendApi.new
|
|
473
515
|
model_send = Invoicetronic_Sdk::ModelSend.new({payload: 'payload_example'}) # ModelSend |
|
|
@@ -517,7 +559,7 @@ end
|
|
|
517
559
|
|
|
518
560
|
### Authorization
|
|
519
561
|
|
|
520
|
-
|
|
562
|
+
[Basic](../README.md#Basic)
|
|
521
563
|
|
|
522
564
|
### HTTP request headers
|
|
523
565
|
|
|
@@ -538,6 +580,12 @@ Validate an invoice file without sending it to SDI. Supported formats are XML (F
|
|
|
538
580
|
```ruby
|
|
539
581
|
require 'time'
|
|
540
582
|
require 'invoicetronic_sdk'
|
|
583
|
+
# setup authorization
|
|
584
|
+
Invoicetronic_Sdk.configure do |config|
|
|
585
|
+
# Configure HTTP basic authorization: Basic
|
|
586
|
+
config.username = 'YOUR USERNAME'
|
|
587
|
+
config.password = 'YOUR PASSWORD'
|
|
588
|
+
end
|
|
541
589
|
|
|
542
590
|
api_instance = Invoicetronic_Sdk::SendApi.new
|
|
543
591
|
file = File.new('/path/to/some/file') # File |
|
|
@@ -580,7 +628,7 @@ nil (empty response body)
|
|
|
580
628
|
|
|
581
629
|
### Authorization
|
|
582
630
|
|
|
583
|
-
|
|
631
|
+
[Basic](../README.md#Basic)
|
|
584
632
|
|
|
585
633
|
### HTTP request headers
|
|
586
634
|
|
|
@@ -601,6 +649,12 @@ Validate a JSON invoice without sending it to SDI. Use this to check for errors
|
|
|
601
649
|
```ruby
|
|
602
650
|
require 'time'
|
|
603
651
|
require 'invoicetronic_sdk'
|
|
652
|
+
# setup authorization
|
|
653
|
+
Invoicetronic_Sdk.configure do |config|
|
|
654
|
+
# Configure HTTP basic authorization: Basic
|
|
655
|
+
config.username = 'YOUR USERNAME'
|
|
656
|
+
config.password = 'YOUR PASSWORD'
|
|
657
|
+
end
|
|
604
658
|
|
|
605
659
|
api_instance = Invoicetronic_Sdk::SendApi.new
|
|
606
660
|
body = { ... } # Object |
|
|
@@ -643,7 +697,7 @@ nil (empty response body)
|
|
|
643
697
|
|
|
644
698
|
### Authorization
|
|
645
699
|
|
|
646
|
-
|
|
700
|
+
[Basic](../README.md#Basic)
|
|
647
701
|
|
|
648
702
|
### HTTP request headers
|
|
649
703
|
|
|
@@ -664,6 +718,12 @@ Validate an invoice without sending it to SDI. Use this to check for errors befo
|
|
|
664
718
|
```ruby
|
|
665
719
|
require 'time'
|
|
666
720
|
require 'invoicetronic_sdk'
|
|
721
|
+
# setup authorization
|
|
722
|
+
Invoicetronic_Sdk.configure do |config|
|
|
723
|
+
# Configure HTTP basic authorization: Basic
|
|
724
|
+
config.username = 'YOUR USERNAME'
|
|
725
|
+
config.password = 'YOUR PASSWORD'
|
|
726
|
+
end
|
|
667
727
|
|
|
668
728
|
api_instance = Invoicetronic_Sdk::SendApi.new
|
|
669
729
|
model_send = Invoicetronic_Sdk::ModelSend.new({payload: 'payload_example'}) # ModelSend |
|
|
@@ -706,7 +766,7 @@ nil (empty response body)
|
|
|
706
766
|
|
|
707
767
|
### Authorization
|
|
708
768
|
|
|
709
|
-
|
|
769
|
+
[Basic](../README.md#Basic)
|
|
710
770
|
|
|
711
771
|
### HTTP request headers
|
|
712
772
|
|
|
@@ -727,6 +787,12 @@ Validate an XML invoice document without sending it to SDI. Use this to check fo
|
|
|
727
787
|
```ruby
|
|
728
788
|
require 'time'
|
|
729
789
|
require 'invoicetronic_sdk'
|
|
790
|
+
# setup authorization
|
|
791
|
+
Invoicetronic_Sdk.configure do |config|
|
|
792
|
+
# Configure HTTP basic authorization: Basic
|
|
793
|
+
config.username = 'YOUR USERNAME'
|
|
794
|
+
config.password = 'YOUR PASSWORD'
|
|
795
|
+
end
|
|
730
796
|
|
|
731
797
|
api_instance = Invoicetronic_Sdk::SendApi.new
|
|
732
798
|
body = { ... } # Object |
|
|
@@ -769,7 +835,7 @@ nil (empty response body)
|
|
|
769
835
|
|
|
770
836
|
### Authorization
|
|
771
837
|
|
|
772
|
-
|
|
838
|
+
[Basic](../README.md#Basic)
|
|
773
839
|
|
|
774
840
|
### HTTP request headers
|
|
775
841
|
|
|
@@ -790,6 +856,12 @@ Add a new invoice using a raw XML document in FatturaPA format. The invoice will
|
|
|
790
856
|
```ruby
|
|
791
857
|
require 'time'
|
|
792
858
|
require 'invoicetronic_sdk'
|
|
859
|
+
# setup authorization
|
|
860
|
+
Invoicetronic_Sdk.configure do |config|
|
|
861
|
+
# Configure HTTP basic authorization: Basic
|
|
862
|
+
config.username = 'YOUR USERNAME'
|
|
863
|
+
config.password = 'YOUR PASSWORD'
|
|
864
|
+
end
|
|
793
865
|
|
|
794
866
|
api_instance = Invoicetronic_Sdk::SendApi.new
|
|
795
867
|
body = { ... } # Object |
|
|
@@ -839,7 +911,7 @@ end
|
|
|
839
911
|
|
|
840
912
|
### Authorization
|
|
841
913
|
|
|
842
|
-
|
|
914
|
+
[Basic](../README.md#Basic)
|
|
843
915
|
|
|
844
916
|
### HTTP request headers
|
|
845
917
|
|
data/docs/StatusApi.md
CHANGED
|
@@ -20,6 +20,12 @@ Retrieve the number of operations (invoices + validations) and signatures left o
|
|
|
20
20
|
```ruby
|
|
21
21
|
require 'time'
|
|
22
22
|
require 'invoicetronic_sdk'
|
|
23
|
+
# setup authorization
|
|
24
|
+
Invoicetronic_Sdk.configure do |config|
|
|
25
|
+
# Configure HTTP basic authorization: Basic
|
|
26
|
+
config.username = 'YOUR USERNAME'
|
|
27
|
+
config.password = 'YOUR PASSWORD'
|
|
28
|
+
end
|
|
23
29
|
|
|
24
30
|
api_instance = Invoicetronic_Sdk::StatusApi.new
|
|
25
31
|
|
|
@@ -60,7 +66,7 @@ This endpoint does not need any parameter.
|
|
|
60
66
|
|
|
61
67
|
### Authorization
|
|
62
68
|
|
|
63
|
-
|
|
69
|
+
[Basic](../README.md#Basic)
|
|
64
70
|
|
|
65
71
|
### HTTP request headers
|
|
66
72
|
|
data/docs/UpdateApi.md
CHANGED
|
@@ -21,6 +21,12 @@ Retrieve a paginated list of updates. Results can be filtered by various criteri
|
|
|
21
21
|
```ruby
|
|
22
22
|
require 'time'
|
|
23
23
|
require 'invoicetronic_sdk'
|
|
24
|
+
# setup authorization
|
|
25
|
+
Invoicetronic_Sdk.configure do |config|
|
|
26
|
+
# Configure HTTP basic authorization: Basic
|
|
27
|
+
config.username = 'YOUR USERNAME'
|
|
28
|
+
config.password = 'YOUR PASSWORD'
|
|
29
|
+
end
|
|
24
30
|
|
|
25
31
|
api_instance = Invoicetronic_Sdk::UpdateApi.new
|
|
26
32
|
opts = {
|
|
@@ -90,7 +96,7 @@ end
|
|
|
90
96
|
|
|
91
97
|
### Authorization
|
|
92
98
|
|
|
93
|
-
|
|
99
|
+
[Basic](../README.md#Basic)
|
|
94
100
|
|
|
95
101
|
### HTTP request headers
|
|
96
102
|
|
|
@@ -111,6 +117,12 @@ Retrieve an update by its internal id. **Updates** are status notifications fro
|
|
|
111
117
|
```ruby
|
|
112
118
|
require 'time'
|
|
113
119
|
require 'invoicetronic_sdk'
|
|
120
|
+
# setup authorization
|
|
121
|
+
Invoicetronic_Sdk.configure do |config|
|
|
122
|
+
# Configure HTTP basic authorization: Basic
|
|
123
|
+
config.username = 'YOUR USERNAME'
|
|
124
|
+
config.password = 'YOUR PASSWORD'
|
|
125
|
+
end
|
|
114
126
|
|
|
115
127
|
api_instance = Invoicetronic_Sdk::UpdateApi.new
|
|
116
128
|
id = 56 # Integer | Item id
|
|
@@ -154,7 +166,7 @@ end
|
|
|
154
166
|
|
|
155
167
|
### Authorization
|
|
156
168
|
|
|
157
|
-
|
|
169
|
+
[Basic](../README.md#Basic)
|
|
158
170
|
|
|
159
171
|
### HTTP request headers
|
|
160
172
|
|