e-invoice-api 0.5.3 → 0.7.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 +16 -0
- data/README.md +1 -1
- data/lib/e_invoice_api/models/document_create.rb +791 -19
- data/lib/e_invoice_api/models/document_response.rb +576 -23
- data/lib/e_invoice_api/resources/documents.rb +21 -8
- data/lib/e_invoice_api/resources/validate.rb +21 -8
- data/lib/e_invoice_api/version.rb +1 -1
- data/rbi/e_invoice_api/models/document_create.rbi +1553 -3
- data/rbi/e_invoice_api/models/document_response.rbi +1232 -41
- data/rbi/e_invoice_api/resources/documents.rbi +31 -1
- data/rbi/e_invoice_api/resources/validate.rbi +31 -1
- data/sig/e_invoice_api/models/document_create.rbs +559 -4
- data/sig/e_invoice_api/models/document_response.rbs +470 -31
- data/sig/e_invoice_api/resources/documents.rbs +6 -1
- data/sig/e_invoice_api/resources/validate.rbs +6 -1
- metadata +2 -2
|
@@ -2,10 +2,12 @@ module EInvoiceAPI
|
|
|
2
2
|
module Resources
|
|
3
3
|
class Validate
|
|
4
4
|
def validate_json: (
|
|
5
|
+
?allowances: ::Array[EInvoiceAPI::DocumentCreate::Allowance]?,
|
|
5
6
|
?amount_due: EInvoiceAPI::Models::DocumentCreate::amount_due?,
|
|
6
7
|
?attachments: ::Array[EInvoiceAPI::DocumentAttachmentCreate]?,
|
|
7
8
|
?billing_address: String?,
|
|
8
9
|
?billing_address_recipient: String?,
|
|
10
|
+
?charges: ::Array[EInvoiceAPI::DocumentCreate::Charge]?,
|
|
9
11
|
?currency: EInvoiceAPI::Models::currency_code,
|
|
10
12
|
?customer_address: String?,
|
|
11
13
|
?customer_address_recipient: String?,
|
|
@@ -19,7 +21,7 @@ module EInvoiceAPI
|
|
|
19
21
|
?invoice_date: Date?,
|
|
20
22
|
?invoice_id: String?,
|
|
21
23
|
?invoice_total: EInvoiceAPI::Models::DocumentCreate::invoice_total?,
|
|
22
|
-
?items: ::Array[EInvoiceAPI::DocumentCreate::Item]
|
|
24
|
+
?items: ::Array[EInvoiceAPI::DocumentCreate::Item],
|
|
23
25
|
?note: String?,
|
|
24
26
|
?payment_details: ::Array[EInvoiceAPI::PaymentDetailCreate]?,
|
|
25
27
|
?payment_term: String?,
|
|
@@ -35,9 +37,12 @@ module EInvoiceAPI
|
|
|
35
37
|
?shipping_address_recipient: String?,
|
|
36
38
|
?state: EInvoiceAPI::Models::document_state,
|
|
37
39
|
?subtotal: EInvoiceAPI::Models::DocumentCreate::subtotal?,
|
|
40
|
+
?tax_code: EInvoiceAPI::Models::DocumentCreate::tax_code,
|
|
38
41
|
?tax_details: ::Array[EInvoiceAPI::DocumentCreate::TaxDetail]?,
|
|
39
42
|
?total_discount: EInvoiceAPI::Models::DocumentCreate::total_discount?,
|
|
40
43
|
?total_tax: EInvoiceAPI::Models::DocumentCreate::total_tax?,
|
|
44
|
+
?vatex: EInvoiceAPI::Models::DocumentCreate::vatex?,
|
|
45
|
+
?vatex_note: String?,
|
|
41
46
|
?vendor_address: String?,
|
|
42
47
|
?vendor_address_recipient: String?,
|
|
43
48
|
?vendor_email: String?,
|
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.7.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-10-
|
|
11
|
+
date: 2025-10-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: connection_pool
|