e-invoice-api 0.10.1 → 0.11.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +1 -1
- data/lib/e_invoice_api/models/document_create.rb +7 -5
- data/lib/e_invoice_api/models/document_create_from_pdf_response.rb +4 -3
- data/lib/e_invoice_api/models/document_response.rb +4 -3
- data/lib/e_invoice_api/resources/documents.rb +1 -1
- data/lib/e_invoice_api/resources/validate.rb +1 -1
- data/lib/e_invoice_api/version.rb +1 -1
- data/rbi/e_invoice_api/models/document_create.rbi +9 -6
- data/rbi/e_invoice_api/models/document_create_from_pdf_response.rbi +6 -4
- data/rbi/e_invoice_api/models/document_response.rbi +6 -4
- data/rbi/e_invoice_api/resources/documents.rbi +3 -2
- data/rbi/e_invoice_api/resources/validate.rbi +3 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 13ddd70823e2f224864388289a3822542e2a37fab629216e6c686a68945e63ef
|
|
4
|
+
data.tar.gz: bb989d57ded23fd2c7bad4f673787589f4bce1bfbbca9699eac8469ab51c68b4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3d6c59349252c242c40dcabde2c33f5f794f1b2f4bd4e0db16f5dfd61da4ec81fcfd8c6fae7b9f3b0658325b68dfe276352fac9823a00f868031b5379db0b008
|
|
7
|
+
data.tar.gz: b6f9ebe8ab96d759102014be1bed0a1922a0cbab0a6a7626eee608831dc3b666e74576ab57db262f4d85db78fb890ec68dee026bb2e8328b46f3c81b5bcb2b03
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.11.0 (2025-11-06)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.10.1...v0.11.0](https://github.com/e-invoice-be/e-invoice-rb/compare/v0.10.1...v0.11.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([13178d0](https://github.com/e-invoice-be/e-invoice-rb/commit/13178d0aaca3ad35381389d0cb44f69207952c8f))
|
|
10
|
+
|
|
3
11
|
## 0.10.1 (2025-11-05)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v0.10.0...v0.10.1](https://github.com/e-invoice-be/e-invoice-rb/compare/v0.10.0...v0.10.1)
|
data/README.md
CHANGED
|
@@ -213,8 +213,9 @@ module EInvoiceAPI
|
|
|
213
213
|
nil?: true
|
|
214
214
|
|
|
215
215
|
# @!attribute total_discount
|
|
216
|
-
# The
|
|
217
|
-
#
|
|
216
|
+
# The net financial discount/charge of the invoice (non-VAT charges minus non-VAT
|
|
217
|
+
# allowances). Can be positive (net charge), negative (net discount), or zero.
|
|
218
|
+
# Must be rounded to maximum 2 decimals
|
|
218
219
|
#
|
|
219
220
|
# @return [Float, String, nil]
|
|
220
221
|
optional :total_discount, union: -> { EInvoiceAPI::DocumentCreate::TotalDiscount }, nil?: true
|
|
@@ -342,7 +343,7 @@ module EInvoiceAPI
|
|
|
342
343
|
#
|
|
343
344
|
# @param tax_details [Array<EInvoiceAPI::Models::DocumentCreate::TaxDetail>, nil]
|
|
344
345
|
#
|
|
345
|
-
# @param total_discount [Float, String, nil] The
|
|
346
|
+
# @param total_discount [Float, String, nil] The net financial discount/charge of the invoice (non-VAT charges minus non-VAT
|
|
346
347
|
#
|
|
347
348
|
# @param total_tax [Float, String, nil] The total tax of the invoice. Must be positive and rounded to maximum 2 decimals
|
|
348
349
|
#
|
|
@@ -1185,8 +1186,9 @@ module EInvoiceAPI
|
|
|
1185
1186
|
end
|
|
1186
1187
|
end
|
|
1187
1188
|
|
|
1188
|
-
# The
|
|
1189
|
-
#
|
|
1189
|
+
# The net financial discount/charge of the invoice (non-VAT charges minus non-VAT
|
|
1190
|
+
# allowances). Can be positive (net charge), negative (net discount), or zero.
|
|
1191
|
+
# Must be rounded to maximum 2 decimals
|
|
1190
1192
|
#
|
|
1191
1193
|
# @see EInvoiceAPI::Models::DocumentCreate#total_discount
|
|
1192
1194
|
module TotalDiscount
|
|
@@ -215,8 +215,9 @@ module EInvoiceAPI
|
|
|
215
215
|
nil?: true
|
|
216
216
|
|
|
217
217
|
# @!attribute total_discount
|
|
218
|
-
# The
|
|
219
|
-
#
|
|
218
|
+
# The net financial discount/charge of the invoice (non-VAT charges minus non-VAT
|
|
219
|
+
# allowances). Can be positive (net charge), negative (net discount), or zero.
|
|
220
|
+
# Must be rounded to maximum 2 decimals
|
|
220
221
|
#
|
|
221
222
|
# @return [String, nil]
|
|
222
223
|
optional :total_discount, String, nil?: true
|
|
@@ -352,7 +353,7 @@ module EInvoiceAPI
|
|
|
352
353
|
#
|
|
353
354
|
# @param tax_details [Array<EInvoiceAPI::Models::DocumentCreateFromPdfResponse::TaxDetail>, nil]
|
|
354
355
|
#
|
|
355
|
-
# @param total_discount [String, nil] The
|
|
356
|
+
# @param total_discount [String, nil] The net financial discount/charge of the invoice (non-VAT charges minus non-VAT
|
|
356
357
|
#
|
|
357
358
|
# @param total_tax [String, nil] The total tax of the invoice. Must be positive and rounded to maximum 2 decimals
|
|
358
359
|
#
|
|
@@ -218,8 +218,9 @@ module EInvoiceAPI
|
|
|
218
218
|
nil?: true
|
|
219
219
|
|
|
220
220
|
# @!attribute total_discount
|
|
221
|
-
# The
|
|
222
|
-
#
|
|
221
|
+
# The net financial discount/charge of the invoice (non-VAT charges minus non-VAT
|
|
222
|
+
# allowances). Can be positive (net charge), negative (net discount), or zero.
|
|
223
|
+
# Must be rounded to maximum 2 decimals
|
|
223
224
|
#
|
|
224
225
|
# @return [String, nil]
|
|
225
226
|
optional :total_discount, String, nil?: true
|
|
@@ -349,7 +350,7 @@ module EInvoiceAPI
|
|
|
349
350
|
#
|
|
350
351
|
# @param tax_details [Array<EInvoiceAPI::Models::DocumentResponse::TaxDetail>, nil]
|
|
351
352
|
#
|
|
352
|
-
# @param total_discount [String, nil] The
|
|
353
|
+
# @param total_discount [String, nil] The net financial discount/charge of the invoice (non-VAT charges minus non-VAT
|
|
353
354
|
#
|
|
354
355
|
# @param total_tax [String, nil] The total tax of the invoice. Must be positive and rounded to maximum 2 decimals
|
|
355
356
|
#
|
|
@@ -90,7 +90,7 @@ module EInvoiceAPI
|
|
|
90
90
|
#
|
|
91
91
|
# @param tax_details [Array<EInvoiceAPI::Models::DocumentCreate::TaxDetail>, nil]
|
|
92
92
|
#
|
|
93
|
-
# @param total_discount [Float, String, nil] The
|
|
93
|
+
# @param total_discount [Float, String, nil] The net financial discount/charge of the invoice (non-VAT charges minus non-VAT
|
|
94
94
|
#
|
|
95
95
|
# @param total_tax [Float, String, nil] The total tax of the invoice. Must be positive and rounded to maximum 2 decimals
|
|
96
96
|
#
|
|
@@ -84,7 +84,7 @@ module EInvoiceAPI
|
|
|
84
84
|
#
|
|
85
85
|
# @param tax_details [Array<EInvoiceAPI::Models::DocumentCreate::TaxDetail>, nil]
|
|
86
86
|
#
|
|
87
|
-
# @param total_discount [Float, String, nil] The
|
|
87
|
+
# @param total_discount [Float, String, nil] The net financial discount/charge of the invoice (non-VAT charges minus non-VAT
|
|
88
88
|
#
|
|
89
89
|
# @param total_tax [Float, String, nil] The total tax of the invoice. Must be positive and rounded to maximum 2 decimals
|
|
90
90
|
#
|
|
@@ -171,8 +171,9 @@ module EInvoiceAPI
|
|
|
171
171
|
end
|
|
172
172
|
attr_accessor :tax_details
|
|
173
173
|
|
|
174
|
-
# The
|
|
175
|
-
#
|
|
174
|
+
# The net financial discount/charge of the invoice (non-VAT charges minus non-VAT
|
|
175
|
+
# allowances). Can be positive (net charge), negative (net discount), or zero.
|
|
176
|
+
# Must be rounded to maximum 2 decimals
|
|
176
177
|
sig do
|
|
177
178
|
returns(T.nilable(EInvoiceAPI::DocumentCreate::TotalDiscount::Variants))
|
|
178
179
|
end
|
|
@@ -320,8 +321,9 @@ module EInvoiceAPI
|
|
|
320
321
|
# Tax category code of the invoice
|
|
321
322
|
tax_code: nil,
|
|
322
323
|
tax_details: nil,
|
|
323
|
-
# The
|
|
324
|
-
#
|
|
324
|
+
# The net financial discount/charge of the invoice (non-VAT charges minus non-VAT
|
|
325
|
+
# allowances). Can be positive (net charge), negative (net discount), or zero.
|
|
326
|
+
# Must be rounded to maximum 2 decimals
|
|
325
327
|
total_discount: nil,
|
|
326
328
|
# The total tax of the invoice. Must be positive and rounded to maximum 2 decimals
|
|
327
329
|
total_tax: nil,
|
|
@@ -1841,8 +1843,9 @@ module EInvoiceAPI
|
|
|
1841
1843
|
end
|
|
1842
1844
|
end
|
|
1843
1845
|
|
|
1844
|
-
# The
|
|
1845
|
-
#
|
|
1846
|
+
# The net financial discount/charge of the invoice (non-VAT charges minus non-VAT
|
|
1847
|
+
# allowances). Can be positive (net charge), negative (net discount), or zero.
|
|
1848
|
+
# Must be rounded to maximum 2 decimals
|
|
1846
1849
|
module TotalDiscount
|
|
1847
1850
|
extend EInvoiceAPI::Internal::Type::Union
|
|
1848
1851
|
|
|
@@ -193,8 +193,9 @@ module EInvoiceAPI
|
|
|
193
193
|
end
|
|
194
194
|
attr_accessor :tax_details
|
|
195
195
|
|
|
196
|
-
# The
|
|
197
|
-
#
|
|
196
|
+
# The net financial discount/charge of the invoice (non-VAT charges minus non-VAT
|
|
197
|
+
# allowances). Can be positive (net charge), negative (net discount), or zero.
|
|
198
|
+
# Must be rounded to maximum 2 decimals
|
|
198
199
|
sig { returns(T.nilable(String)) }
|
|
199
200
|
attr_accessor :total_discount
|
|
200
201
|
|
|
@@ -355,8 +356,9 @@ module EInvoiceAPI
|
|
|
355
356
|
# Tax category code of the invoice
|
|
356
357
|
tax_code: nil,
|
|
357
358
|
tax_details: nil,
|
|
358
|
-
# The
|
|
359
|
-
#
|
|
359
|
+
# The net financial discount/charge of the invoice (non-VAT charges minus non-VAT
|
|
360
|
+
# allowances). Can be positive (net charge), negative (net discount), or zero.
|
|
361
|
+
# Must be rounded to maximum 2 decimals
|
|
360
362
|
total_discount: nil,
|
|
361
363
|
# The total tax of the invoice. Must be positive and rounded to maximum 2 decimals
|
|
362
364
|
total_tax: nil,
|
|
@@ -164,8 +164,9 @@ module EInvoiceAPI
|
|
|
164
164
|
end
|
|
165
165
|
attr_accessor :tax_details
|
|
166
166
|
|
|
167
|
-
# The
|
|
168
|
-
#
|
|
167
|
+
# The net financial discount/charge of the invoice (non-VAT charges minus non-VAT
|
|
168
|
+
# allowances). Can be positive (net charge), negative (net discount), or zero.
|
|
169
|
+
# Must be rounded to maximum 2 decimals
|
|
169
170
|
sig { returns(T.nilable(String)) }
|
|
170
171
|
attr_accessor :total_discount
|
|
171
172
|
|
|
@@ -315,8 +316,9 @@ module EInvoiceAPI
|
|
|
315
316
|
# Tax category code of the invoice
|
|
316
317
|
tax_code: nil,
|
|
317
318
|
tax_details: nil,
|
|
318
|
-
# The
|
|
319
|
-
#
|
|
319
|
+
# The net financial discount/charge of the invoice (non-VAT charges minus non-VAT
|
|
320
|
+
# allowances). Can be positive (net charge), negative (net discount), or zero.
|
|
321
|
+
# Must be rounded to maximum 2 decimals
|
|
320
322
|
total_discount: nil,
|
|
321
323
|
# The total tax of the invoice. Must be positive and rounded to maximum 2 decimals
|
|
322
324
|
total_tax: nil,
|
|
@@ -122,8 +122,9 @@ module EInvoiceAPI
|
|
|
122
122
|
# Tax category code of the invoice
|
|
123
123
|
tax_code: nil,
|
|
124
124
|
tax_details: nil,
|
|
125
|
-
# The
|
|
126
|
-
#
|
|
125
|
+
# The net financial discount/charge of the invoice (non-VAT charges minus non-VAT
|
|
126
|
+
# allowances). Can be positive (net charge), negative (net discount), or zero.
|
|
127
|
+
# Must be rounded to maximum 2 decimals
|
|
127
128
|
total_discount: nil,
|
|
128
129
|
# The total tax of the invoice. Must be positive and rounded to maximum 2 decimals
|
|
129
130
|
total_tax: nil,
|
|
@@ -116,8 +116,9 @@ module EInvoiceAPI
|
|
|
116
116
|
# Tax category code of the invoice
|
|
117
117
|
tax_code: nil,
|
|
118
118
|
tax_details: nil,
|
|
119
|
-
# The
|
|
120
|
-
#
|
|
119
|
+
# The net financial discount/charge of the invoice (non-VAT charges minus non-VAT
|
|
120
|
+
# allowances). Can be positive (net charge), negative (net discount), or zero.
|
|
121
|
+
# Must be rounded to maximum 2 decimals
|
|
121
122
|
total_discount: nil,
|
|
122
123
|
# The total tax of the invoice. Must be positive and rounded to maximum 2 decimals
|
|
123
124
|
total_tax: nil,
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: e-invoice-api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.11.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- e-invoice
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-11-
|
|
11
|
+
date: 2025-11-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: connection_pool
|