e-invoice-api 0.34.0 → 0.35.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 +23 -0
- data/LICENSE +201 -0
- data/README.md +18 -7
- data/SECURITY.md +6 -16
- data/lib/e_invoice_api/internal/transport/base_client.rb +43 -78
- data/lib/e_invoice_api/internal/transport/pooled_net_requester.rb +8 -8
- data/lib/e_invoice_api/internal/type/array_of.rb +12 -12
- data/lib/e_invoice_api/internal/type/base_model.rb +18 -18
- data/lib/e_invoice_api/internal/type/boolean.rb +6 -6
- data/lib/e_invoice_api/internal/type/converter.rb +24 -24
- data/lib/e_invoice_api/internal/type/enum.rb +6 -6
- data/lib/e_invoice_api/internal/type/file_input.rb +6 -6
- data/lib/e_invoice_api/internal/type/hash_of.rb +12 -12
- data/lib/e_invoice_api/internal/type/request_parameters.rb +1 -1
- data/lib/e_invoice_api/internal/type/union.rb +10 -10
- data/lib/e_invoice_api/internal/type/unknown.rb +6 -6
- data/lib/e_invoice_api/internal/util.rb +15 -57
- data/lib/e_invoice_api/models/document_create.rb +45 -12
- data/lib/e_invoice_api/models/document_create_from_pdf_response.rb +45 -12
- data/lib/e_invoice_api/models/document_response.rb +49 -14
- data/lib/e_invoice_api/models/payment_detail_create.rb +4 -2
- data/lib/e_invoice_api/models/unit_of_measure_code.rb +1349 -0
- data/lib/e_invoice_api/resources/conversion/pdf.rb +6 -6
- data/lib/e_invoice_api/resources/documents/attachments.rb +11 -11
- data/lib/e_invoice_api/resources/documents/ubl.rb +4 -4
- data/lib/e_invoice_api/resources/documents.rb +81 -81
- data/lib/e_invoice_api/resources/drafts.rb +10 -10
- data/lib/e_invoice_api/resources/inbox.rb +20 -20
- data/lib/e_invoice_api/resources/lookup.rb +5 -5
- data/lib/e_invoice_api/resources/mailbox.rb +17 -17
- data/lib/e_invoice_api/resources/me.rb +1 -1
- data/lib/e_invoice_api/resources/outbox.rb +19 -19
- data/lib/e_invoice_api/resources/stats.rb +4 -4
- data/lib/e_invoice_api/resources/validate.rb +63 -63
- data/lib/e_invoice_api/resources/webhooks.rb +20 -20
- data/lib/e_invoice_api/version.rb +1 -1
- data/lib/e_invoice_api.rb +0 -1
- data/rbi/e_invoice_api/internal/transport/base_client.rbi +2 -10
- data/rbi/e_invoice_api/internal/util.rbi +0 -12
- data/rbi/e_invoice_api/models/document_create.rbi +156 -12
- data/rbi/e_invoice_api/models/document_create_from_pdf_response.rbi +156 -12
- data/rbi/e_invoice_api/models/document_response.rbi +162 -14
- data/rbi/e_invoice_api/models/payment_detail_create.rbi +6 -2
- data/rbi/e_invoice_api/models/unit_of_measure_code.rbi +1349 -0
- data/rbi/e_invoice_api/resources/documents.rbi +10 -5
- data/rbi/e_invoice_api/resources/validate.rbi +8 -5
- data/sig/e_invoice_api/internal/transport/base_client.rbs +1 -4
- data/sig/e_invoice_api/internal/util.rbs +0 -4
- data/sig/e_invoice_api/models/document_create.rbs +52 -0
- data/sig/e_invoice_api/models/document_create_from_pdf_response.rbs +52 -0
- data/sig/e_invoice_api/models/document_response.rbs +52 -0
- data/sig/e_invoice_api/models/unit_of_measure_code.rbs +2698 -0
- metadata +27 -7
|
@@ -51,7 +51,8 @@ module EInvoiceAPI
|
|
|
51
51
|
sig { returns(T.nilable(String)) }
|
|
52
52
|
attr_accessor :customer_address
|
|
53
53
|
|
|
54
|
-
# The recipient name at the customer address
|
|
54
|
+
# The recipient name at the customer address. Also the customer contact name
|
|
55
|
+
# (BT-56) in the UBL.
|
|
55
56
|
sig { returns(T.nilable(String)) }
|
|
56
57
|
attr_accessor :customer_address_recipient
|
|
57
58
|
|
|
@@ -158,7 +159,7 @@ module EInvoiceAPI
|
|
|
158
159
|
end
|
|
159
160
|
attr_accessor :previous_unpaid_balance
|
|
160
161
|
|
|
161
|
-
# The purchase order reference number
|
|
162
|
+
# The purchase order reference number (BT-13)
|
|
162
163
|
sig { returns(T.nilable(String)) }
|
|
163
164
|
attr_accessor :purchase_order
|
|
164
165
|
|
|
@@ -205,7 +206,7 @@ module EInvoiceAPI
|
|
|
205
206
|
sig { returns(T.nilable(String)) }
|
|
206
207
|
attr_accessor :shipping_address
|
|
207
208
|
|
|
208
|
-
# The
|
|
209
|
+
# The name of the deliver-to party (BT-70)
|
|
209
210
|
sig { returns(T.nilable(String)) }
|
|
210
211
|
attr_accessor :shipping_address_recipient
|
|
211
212
|
|
|
@@ -277,7 +278,8 @@ module EInvoiceAPI
|
|
|
277
278
|
sig { returns(T.nilable(EInvoiceAPI::DocumentCreate::Vatex::OrSymbol)) }
|
|
278
279
|
attr_accessor :vatex
|
|
279
280
|
|
|
280
|
-
#
|
|
281
|
+
# VAT exemption reason text (BT-120). An exemption reason (vatex or vatex_note) is
|
|
282
|
+
# required for tax_code E, AE, K, G and O, and not allowed for S, Z, L and M
|
|
281
283
|
sig { returns(T.nilable(String)) }
|
|
282
284
|
attr_accessor :vatex_note
|
|
283
285
|
|
|
@@ -285,7 +287,8 @@ module EInvoiceAPI
|
|
|
285
287
|
sig { returns(T.nilable(String)) }
|
|
286
288
|
attr_accessor :vendor_address
|
|
287
289
|
|
|
288
|
-
# The recipient name at the vendor address
|
|
290
|
+
# The recipient name at the vendor address. Also the vendor contact name (BT-41)
|
|
291
|
+
# in the UBL, required when vendor and customer are both in Germany (DE-R-005).
|
|
289
292
|
sig { returns(T.nilable(String)) }
|
|
290
293
|
attr_accessor :vendor_address_recipient
|
|
291
294
|
|
|
@@ -407,7 +410,8 @@ module EInvoiceAPI
|
|
|
407
410
|
currency: nil,
|
|
408
411
|
# The address of the customer/buyer
|
|
409
412
|
customer_address: nil,
|
|
410
|
-
# The recipient name at the customer address
|
|
413
|
+
# The recipient name at the customer address. Also the customer contact name
|
|
414
|
+
# (BT-56) in the UBL.
|
|
411
415
|
customer_address_recipient: nil,
|
|
412
416
|
# Customer company ID. For Belgium this is the CBE number or their EUID (European
|
|
413
417
|
# Unique Identifier) number. In the Netherlands this is the KVK number.
|
|
@@ -453,7 +457,7 @@ module EInvoiceAPI
|
|
|
453
457
|
# The previous unpaid balance from prior invoices, if any. Must be positive and
|
|
454
458
|
# rounded to maximum 2 decimals
|
|
455
459
|
previous_unpaid_balance: nil,
|
|
456
|
-
# The purchase order reference number
|
|
460
|
+
# The purchase order reference number (BT-13)
|
|
457
461
|
purchase_order: nil,
|
|
458
462
|
# The address where payment should be sent or remitted to
|
|
459
463
|
remittance_address: nil,
|
|
@@ -476,7 +480,7 @@ module EInvoiceAPI
|
|
|
476
480
|
service_start_date: nil,
|
|
477
481
|
# The shipping/delivery address
|
|
478
482
|
shipping_address: nil,
|
|
479
|
-
# The
|
|
483
|
+
# The name of the deliver-to party (BT-70)
|
|
480
484
|
shipping_address_recipient: nil,
|
|
481
485
|
# The current state of the document: DRAFT, TRANSIT, FAILED, SENT, or RECEIVED
|
|
482
486
|
state: nil,
|
|
@@ -506,11 +510,13 @@ module EInvoiceAPI
|
|
|
506
510
|
#
|
|
507
511
|
# Agency: CEF Identifier: vatex
|
|
508
512
|
vatex: nil,
|
|
509
|
-
#
|
|
513
|
+
# VAT exemption reason text (BT-120). An exemption reason (vatex or vatex_note) is
|
|
514
|
+
# required for tax_code E, AE, K, G and O, and not allowed for S, Z, L and M
|
|
510
515
|
vatex_note: nil,
|
|
511
516
|
# The address of the vendor/seller
|
|
512
517
|
vendor_address: nil,
|
|
513
|
-
# The recipient name at the vendor address
|
|
518
|
+
# The recipient name at the vendor address. Also the vendor contact name (BT-41)
|
|
519
|
+
# in the UBL, required when vendor and customer are both in Germany (DE-R-005).
|
|
514
520
|
vendor_address_recipient: nil,
|
|
515
521
|
# Vendor company ID. For Belgium this is the CBE number or their EUID (European
|
|
516
522
|
# Unique Identifier) number. In the Netherlands this is the KVK number.
|
|
@@ -2301,7 +2307,11 @@ module EInvoiceAPI
|
|
|
2301
2307
|
sig { returns(T.nilable(Date)) }
|
|
2302
2308
|
attr_accessor :date
|
|
2303
2309
|
|
|
2304
|
-
# The description of the line item.
|
|
2310
|
+
# The description of the line item (BT-154). Doubles as the item name when `name`
|
|
2311
|
+
# is omitted, so a posted line item needs a `name` or a `description`. On a
|
|
2312
|
+
# received document it holds the item description, or the item name (BT-153) when
|
|
2313
|
+
# the document has no item description; CII documents with both combine them as
|
|
2314
|
+
# `name: description`.
|
|
2305
2315
|
sig { returns(T.nilable(String)) }
|
|
2306
2316
|
attr_accessor :description
|
|
2307
2317
|
|
|
@@ -2429,7 +2439,11 @@ module EInvoiceAPI
|
|
|
2429
2439
|
# The charges of the line item.
|
|
2430
2440
|
charges: nil,
|
|
2431
2441
|
date: nil,
|
|
2432
|
-
# The description of the line item.
|
|
2442
|
+
# The description of the line item (BT-154). Doubles as the item name when `name`
|
|
2443
|
+
# is omitted, so a posted line item needs a `name` or a `description`. On a
|
|
2444
|
+
# received document it holds the item description, or the item name (BT-153) when
|
|
2445
|
+
# the document has no item description; CII documents with both combine them as
|
|
2446
|
+
# `name: description`.
|
|
2433
2447
|
description: nil,
|
|
2434
2448
|
# Item-level attributes (BG-32) from cac:AdditionalItemProperty.
|
|
2435
2449
|
item_attributes: nil,
|
|
@@ -4606,6 +4620,11 @@ module EInvoiceAPI
|
|
|
4606
4620
|
:"VATEX-EU-132-1Q",
|
|
4607
4621
|
EInvoiceAPI::DocumentCreate::Vatex::TaggedSymbol
|
|
4608
4622
|
)
|
|
4623
|
+
VATEX_EU_135_1 =
|
|
4624
|
+
T.let(
|
|
4625
|
+
:"VATEX-EU-135-1",
|
|
4626
|
+
EInvoiceAPI::DocumentCreate::Vatex::TaggedSymbol
|
|
4627
|
+
)
|
|
4609
4628
|
VATEX_EU_143 =
|
|
4610
4629
|
T.let(
|
|
4611
4630
|
:"VATEX-EU-143",
|
|
@@ -4761,6 +4780,11 @@ module EInvoiceAPI
|
|
|
4761
4780
|
:"VATEX-EU-151-1E",
|
|
4762
4781
|
EInvoiceAPI::DocumentCreate::Vatex::TaggedSymbol
|
|
4763
4782
|
)
|
|
4783
|
+
VATEX_EU_153 =
|
|
4784
|
+
T.let(
|
|
4785
|
+
:"VATEX-EU-153",
|
|
4786
|
+
EInvoiceAPI::DocumentCreate::Vatex::TaggedSymbol
|
|
4787
|
+
)
|
|
4764
4788
|
VATEX_EU_159 =
|
|
4765
4789
|
T.let(
|
|
4766
4790
|
:"VATEX-EU-159",
|
|
@@ -4793,6 +4817,126 @@ module EInvoiceAPI
|
|
|
4793
4817
|
T.let(:"VATEX-EU-O", EInvoiceAPI::DocumentCreate::Vatex::TaggedSymbol)
|
|
4794
4818
|
VATEX_EU_J =
|
|
4795
4819
|
T.let(:"VATEX-EU-J", EInvoiceAPI::DocumentCreate::Vatex::TaggedSymbol)
|
|
4820
|
+
VATEX_FR_298_SEXDECIESA =
|
|
4821
|
+
T.let(
|
|
4822
|
+
:"VATEX-FR-298SEXDECIESA",
|
|
4823
|
+
EInvoiceAPI::DocumentCreate::Vatex::TaggedSymbol
|
|
4824
|
+
)
|
|
4825
|
+
VATEX_FR_AE =
|
|
4826
|
+
T.let(
|
|
4827
|
+
:"VATEX-FR-AE",
|
|
4828
|
+
EInvoiceAPI::DocumentCreate::Vatex::TaggedSymbol
|
|
4829
|
+
)
|
|
4830
|
+
VATEX_FR_CGI261_1 =
|
|
4831
|
+
T.let(
|
|
4832
|
+
:"VATEX-FR-CGI261-1",
|
|
4833
|
+
EInvoiceAPI::DocumentCreate::Vatex::TaggedSymbol
|
|
4834
|
+
)
|
|
4835
|
+
VATEX_FR_CGI261_2 =
|
|
4836
|
+
T.let(
|
|
4837
|
+
:"VATEX-FR-CGI261-2",
|
|
4838
|
+
EInvoiceAPI::DocumentCreate::Vatex::TaggedSymbol
|
|
4839
|
+
)
|
|
4840
|
+
VATEX_FR_CGI261_3 =
|
|
4841
|
+
T.let(
|
|
4842
|
+
:"VATEX-FR-CGI261-3",
|
|
4843
|
+
EInvoiceAPI::DocumentCreate::Vatex::TaggedSymbol
|
|
4844
|
+
)
|
|
4845
|
+
VATEX_FR_CGI261_4 =
|
|
4846
|
+
T.let(
|
|
4847
|
+
:"VATEX-FR-CGI261-4",
|
|
4848
|
+
EInvoiceAPI::DocumentCreate::Vatex::TaggedSymbol
|
|
4849
|
+
)
|
|
4850
|
+
VATEX_FR_CGI261_5 =
|
|
4851
|
+
T.let(
|
|
4852
|
+
:"VATEX-FR-CGI261-5",
|
|
4853
|
+
EInvoiceAPI::DocumentCreate::Vatex::TaggedSymbol
|
|
4854
|
+
)
|
|
4855
|
+
VATEX_FR_CGI261_7 =
|
|
4856
|
+
T.let(
|
|
4857
|
+
:"VATEX-FR-CGI261-7",
|
|
4858
|
+
EInvoiceAPI::DocumentCreate::Vatex::TaggedSymbol
|
|
4859
|
+
)
|
|
4860
|
+
VATEX_FR_CGI261_8 =
|
|
4861
|
+
T.let(
|
|
4862
|
+
:"VATEX-FR-CGI261-8",
|
|
4863
|
+
EInvoiceAPI::DocumentCreate::Vatex::TaggedSymbol
|
|
4864
|
+
)
|
|
4865
|
+
VATEX_FR_CGI261A =
|
|
4866
|
+
T.let(
|
|
4867
|
+
:"VATEX-FR-CGI261A",
|
|
4868
|
+
EInvoiceAPI::DocumentCreate::Vatex::TaggedSymbol
|
|
4869
|
+
)
|
|
4870
|
+
VATEX_FR_CGI261B =
|
|
4871
|
+
T.let(
|
|
4872
|
+
:"VATEX-FR-CGI261B",
|
|
4873
|
+
EInvoiceAPI::DocumentCreate::Vatex::TaggedSymbol
|
|
4874
|
+
)
|
|
4875
|
+
VATEX_FR_CGI261C_1 =
|
|
4876
|
+
T.let(
|
|
4877
|
+
:"VATEX-FR-CGI261C-1",
|
|
4878
|
+
EInvoiceAPI::DocumentCreate::Vatex::TaggedSymbol
|
|
4879
|
+
)
|
|
4880
|
+
VATEX_FR_CGI261C_2 =
|
|
4881
|
+
T.let(
|
|
4882
|
+
:"VATEX-FR-CGI261C-2",
|
|
4883
|
+
EInvoiceAPI::DocumentCreate::Vatex::TaggedSymbol
|
|
4884
|
+
)
|
|
4885
|
+
VATEX_FR_CGI261C_3 =
|
|
4886
|
+
T.let(
|
|
4887
|
+
:"VATEX-FR-CGI261C-3",
|
|
4888
|
+
EInvoiceAPI::DocumentCreate::Vatex::TaggedSymbol
|
|
4889
|
+
)
|
|
4890
|
+
VATEX_FR_CGI261D_1 =
|
|
4891
|
+
T.let(
|
|
4892
|
+
:"VATEX-FR-CGI261D-1",
|
|
4893
|
+
EInvoiceAPI::DocumentCreate::Vatex::TaggedSymbol
|
|
4894
|
+
)
|
|
4895
|
+
VATEX_FR_CGI261D_1_BIS =
|
|
4896
|
+
T.let(
|
|
4897
|
+
:"VATEX-FR-CGI261D-1BIS",
|
|
4898
|
+
EInvoiceAPI::DocumentCreate::Vatex::TaggedSymbol
|
|
4899
|
+
)
|
|
4900
|
+
VATEX_FR_CGI261D_2 =
|
|
4901
|
+
T.let(
|
|
4902
|
+
:"VATEX-FR-CGI261D-2",
|
|
4903
|
+
EInvoiceAPI::DocumentCreate::Vatex::TaggedSymbol
|
|
4904
|
+
)
|
|
4905
|
+
VATEX_FR_CGI261D_3 =
|
|
4906
|
+
T.let(
|
|
4907
|
+
:"VATEX-FR-CGI261D-3",
|
|
4908
|
+
EInvoiceAPI::DocumentCreate::Vatex::TaggedSymbol
|
|
4909
|
+
)
|
|
4910
|
+
VATEX_FR_CGI261D_4 =
|
|
4911
|
+
T.let(
|
|
4912
|
+
:"VATEX-FR-CGI261D-4",
|
|
4913
|
+
EInvoiceAPI::DocumentCreate::Vatex::TaggedSymbol
|
|
4914
|
+
)
|
|
4915
|
+
VATEX_FR_CGI261E_1 =
|
|
4916
|
+
T.let(
|
|
4917
|
+
:"VATEX-FR-CGI261E-1",
|
|
4918
|
+
EInvoiceAPI::DocumentCreate::Vatex::TaggedSymbol
|
|
4919
|
+
)
|
|
4920
|
+
VATEX_FR_CGI261E_2 =
|
|
4921
|
+
T.let(
|
|
4922
|
+
:"VATEX-FR-CGI261E-2",
|
|
4923
|
+
EInvoiceAPI::DocumentCreate::Vatex::TaggedSymbol
|
|
4924
|
+
)
|
|
4925
|
+
VATEX_FR_CGI275 =
|
|
4926
|
+
T.let(
|
|
4927
|
+
:"VATEX-FR-CGI275",
|
|
4928
|
+
EInvoiceAPI::DocumentCreate::Vatex::TaggedSymbol
|
|
4929
|
+
)
|
|
4930
|
+
VATEX_FR_CGI277A =
|
|
4931
|
+
T.let(
|
|
4932
|
+
:"VATEX-FR-CGI277A",
|
|
4933
|
+
EInvoiceAPI::DocumentCreate::Vatex::TaggedSymbol
|
|
4934
|
+
)
|
|
4935
|
+
VATEX_FR_CGI295 =
|
|
4936
|
+
T.let(
|
|
4937
|
+
:"VATEX-FR-CGI295",
|
|
4938
|
+
EInvoiceAPI::DocumentCreate::Vatex::TaggedSymbol
|
|
4939
|
+
)
|
|
4796
4940
|
VATEX_FR_FRANCHISE =
|
|
4797
4941
|
T.let(
|
|
4798
4942
|
:"VATEX-FR-FRANCHISE",
|
|
@@ -50,7 +50,8 @@ module EInvoiceAPI
|
|
|
50
50
|
sig { returns(T.nilable(String)) }
|
|
51
51
|
attr_accessor :customer_address
|
|
52
52
|
|
|
53
|
-
# The recipient name at the customer address
|
|
53
|
+
# The recipient name at the customer address. Also the customer contact name
|
|
54
|
+
# (BT-56) in the UBL.
|
|
54
55
|
sig { returns(T.nilable(String)) }
|
|
55
56
|
attr_accessor :customer_address_recipient
|
|
56
57
|
|
|
@@ -163,7 +164,7 @@ module EInvoiceAPI
|
|
|
163
164
|
sig { returns(T.nilable(String)) }
|
|
164
165
|
attr_accessor :preceding_invoice_id
|
|
165
166
|
|
|
166
|
-
# The purchase order reference number
|
|
167
|
+
# The purchase order reference number (BT-13)
|
|
167
168
|
sig { returns(T.nilable(String)) }
|
|
168
169
|
attr_accessor :purchase_order
|
|
169
170
|
|
|
@@ -206,7 +207,7 @@ module EInvoiceAPI
|
|
|
206
207
|
sig { returns(T.nilable(String)) }
|
|
207
208
|
attr_accessor :shipping_address
|
|
208
209
|
|
|
209
|
-
# The
|
|
210
|
+
# The name of the deliver-to party (BT-70)
|
|
210
211
|
sig { returns(T.nilable(String)) }
|
|
211
212
|
attr_accessor :shipping_address_recipient
|
|
212
213
|
|
|
@@ -298,7 +299,8 @@ module EInvoiceAPI
|
|
|
298
299
|
end
|
|
299
300
|
attr_accessor :vatex
|
|
300
301
|
|
|
301
|
-
#
|
|
302
|
+
# VAT exemption reason text (BT-120). An exemption reason (vatex or vatex_note) is
|
|
303
|
+
# required for tax_code E, AE, K, G and O, and not allowed for S, Z, L and M
|
|
302
304
|
sig { returns(T.nilable(String)) }
|
|
303
305
|
attr_accessor :vatex_note
|
|
304
306
|
|
|
@@ -306,7 +308,8 @@ module EInvoiceAPI
|
|
|
306
308
|
sig { returns(T.nilable(String)) }
|
|
307
309
|
attr_accessor :vendor_address
|
|
308
310
|
|
|
309
|
-
# The recipient name at the vendor address
|
|
311
|
+
# The recipient name at the vendor address. Also the vendor contact name (BT-41)
|
|
312
|
+
# in the UBL, required when vendor and customer are both in Germany (DE-R-005).
|
|
310
313
|
sig { returns(T.nilable(String)) }
|
|
311
314
|
attr_accessor :vendor_address_recipient
|
|
312
315
|
|
|
@@ -430,7 +433,8 @@ module EInvoiceAPI
|
|
|
430
433
|
currency: nil,
|
|
431
434
|
# The address of the customer/buyer
|
|
432
435
|
customer_address: nil,
|
|
433
|
-
# The recipient name at the customer address
|
|
436
|
+
# The recipient name at the customer address. Also the customer contact name
|
|
437
|
+
# (BT-56) in the UBL.
|
|
434
438
|
customer_address_recipient: nil,
|
|
435
439
|
# Customer company ID. For Belgium this is the CBE number or their EUID (European
|
|
436
440
|
# Unique Identifier) number. In the Netherlands this is the KVK number.
|
|
@@ -477,7 +481,7 @@ module EInvoiceAPI
|
|
|
477
481
|
# The preceding invoice reference (BT-25): the number of the invoice this document
|
|
478
482
|
# corrects, for example the invoice a credit note credits
|
|
479
483
|
preceding_invoice_id: nil,
|
|
480
|
-
# The purchase order reference number
|
|
484
|
+
# The purchase order reference number (BT-13)
|
|
481
485
|
purchase_order: nil,
|
|
482
486
|
# The address where payment should be sent or remitted to
|
|
483
487
|
remittance_address: nil,
|
|
@@ -500,7 +504,7 @@ module EInvoiceAPI
|
|
|
500
504
|
service_start_date: nil,
|
|
501
505
|
# The shipping/delivery address
|
|
502
506
|
shipping_address: nil,
|
|
503
|
-
# The
|
|
507
|
+
# The name of the deliver-to party (BT-70)
|
|
504
508
|
shipping_address_recipient: nil,
|
|
505
509
|
# The current state of the document: DRAFT, TRANSIT, FAILED, SENT, or RECEIVED
|
|
506
510
|
state: nil,
|
|
@@ -534,11 +538,13 @@ module EInvoiceAPI
|
|
|
534
538
|
#
|
|
535
539
|
# Agency: CEF Identifier: vatex
|
|
536
540
|
vatex: nil,
|
|
537
|
-
#
|
|
541
|
+
# VAT exemption reason text (BT-120). An exemption reason (vatex or vatex_note) is
|
|
542
|
+
# required for tax_code E, AE, K, G and O, and not allowed for S, Z, L and M
|
|
538
543
|
vatex_note: nil,
|
|
539
544
|
# The address of the vendor/seller
|
|
540
545
|
vendor_address: nil,
|
|
541
|
-
# The recipient name at the vendor address
|
|
546
|
+
# The recipient name at the vendor address. Also the vendor contact name (BT-41)
|
|
547
|
+
# in the UBL, required when vendor and customer are both in Germany (DE-R-005).
|
|
542
548
|
vendor_address_recipient: nil,
|
|
543
549
|
# Vendor company ID. For Belgium this is the CBE number or their EUID (European
|
|
544
550
|
# Unique Identifier) number. In the Netherlands this is the KVK number.
|
|
@@ -668,7 +674,11 @@ module EInvoiceAPI
|
|
|
668
674
|
sig { returns(T.nilable(Date)) }
|
|
669
675
|
attr_accessor :date
|
|
670
676
|
|
|
671
|
-
# The description of the line item.
|
|
677
|
+
# The description of the line item (BT-154). Doubles as the item name when `name`
|
|
678
|
+
# is omitted, so a posted line item needs a `name` or a `description`. On a
|
|
679
|
+
# received document it holds the item description, or the item name (BT-153) when
|
|
680
|
+
# the document has no item description; CII documents with both combine them as
|
|
681
|
+
# `name: description`.
|
|
672
682
|
sig { returns(T.nilable(String)) }
|
|
673
683
|
attr_accessor :description
|
|
674
684
|
|
|
@@ -762,7 +772,11 @@ module EInvoiceAPI
|
|
|
762
772
|
# The charges of the line item.
|
|
763
773
|
charges: nil,
|
|
764
774
|
date: nil,
|
|
765
|
-
# The description of the line item.
|
|
775
|
+
# The description of the line item (BT-154). Doubles as the item name when `name`
|
|
776
|
+
# is omitted, so a posted line item needs a `name` or a `description`. On a
|
|
777
|
+
# received document it holds the item description, or the item name (BT-153) when
|
|
778
|
+
# the document has no item description; CII documents with both combine them as
|
|
779
|
+
# `name: description`.
|
|
766
780
|
description: nil,
|
|
767
781
|
# Item-level attributes (BG-32) from cac:AdditionalItemProperty.
|
|
768
782
|
item_attributes: nil,
|
|
@@ -1085,6 +1099,11 @@ module EInvoiceAPI
|
|
|
1085
1099
|
:"VATEX-EU-132-1Q",
|
|
1086
1100
|
EInvoiceAPI::Models::DocumentCreateFromPdfResponse::Vatex::TaggedSymbol
|
|
1087
1101
|
)
|
|
1102
|
+
VATEX_EU_135_1 =
|
|
1103
|
+
T.let(
|
|
1104
|
+
:"VATEX-EU-135-1",
|
|
1105
|
+
EInvoiceAPI::Models::DocumentCreateFromPdfResponse::Vatex::TaggedSymbol
|
|
1106
|
+
)
|
|
1088
1107
|
VATEX_EU_143 =
|
|
1089
1108
|
T.let(
|
|
1090
1109
|
:"VATEX-EU-143",
|
|
@@ -1240,6 +1259,11 @@ module EInvoiceAPI
|
|
|
1240
1259
|
:"VATEX-EU-151-1E",
|
|
1241
1260
|
EInvoiceAPI::Models::DocumentCreateFromPdfResponse::Vatex::TaggedSymbol
|
|
1242
1261
|
)
|
|
1262
|
+
VATEX_EU_153 =
|
|
1263
|
+
T.let(
|
|
1264
|
+
:"VATEX-EU-153",
|
|
1265
|
+
EInvoiceAPI::Models::DocumentCreateFromPdfResponse::Vatex::TaggedSymbol
|
|
1266
|
+
)
|
|
1243
1267
|
VATEX_EU_159 =
|
|
1244
1268
|
T.let(
|
|
1245
1269
|
:"VATEX-EU-159",
|
|
@@ -1290,6 +1314,126 @@ module EInvoiceAPI
|
|
|
1290
1314
|
:"VATEX-EU-J",
|
|
1291
1315
|
EInvoiceAPI::Models::DocumentCreateFromPdfResponse::Vatex::TaggedSymbol
|
|
1292
1316
|
)
|
|
1317
|
+
VATEX_FR_298_SEXDECIESA =
|
|
1318
|
+
T.let(
|
|
1319
|
+
:"VATEX-FR-298SEXDECIESA",
|
|
1320
|
+
EInvoiceAPI::Models::DocumentCreateFromPdfResponse::Vatex::TaggedSymbol
|
|
1321
|
+
)
|
|
1322
|
+
VATEX_FR_AE =
|
|
1323
|
+
T.let(
|
|
1324
|
+
:"VATEX-FR-AE",
|
|
1325
|
+
EInvoiceAPI::Models::DocumentCreateFromPdfResponse::Vatex::TaggedSymbol
|
|
1326
|
+
)
|
|
1327
|
+
VATEX_FR_CGI261_1 =
|
|
1328
|
+
T.let(
|
|
1329
|
+
:"VATEX-FR-CGI261-1",
|
|
1330
|
+
EInvoiceAPI::Models::DocumentCreateFromPdfResponse::Vatex::TaggedSymbol
|
|
1331
|
+
)
|
|
1332
|
+
VATEX_FR_CGI261_2 =
|
|
1333
|
+
T.let(
|
|
1334
|
+
:"VATEX-FR-CGI261-2",
|
|
1335
|
+
EInvoiceAPI::Models::DocumentCreateFromPdfResponse::Vatex::TaggedSymbol
|
|
1336
|
+
)
|
|
1337
|
+
VATEX_FR_CGI261_3 =
|
|
1338
|
+
T.let(
|
|
1339
|
+
:"VATEX-FR-CGI261-3",
|
|
1340
|
+
EInvoiceAPI::Models::DocumentCreateFromPdfResponse::Vatex::TaggedSymbol
|
|
1341
|
+
)
|
|
1342
|
+
VATEX_FR_CGI261_4 =
|
|
1343
|
+
T.let(
|
|
1344
|
+
:"VATEX-FR-CGI261-4",
|
|
1345
|
+
EInvoiceAPI::Models::DocumentCreateFromPdfResponse::Vatex::TaggedSymbol
|
|
1346
|
+
)
|
|
1347
|
+
VATEX_FR_CGI261_5 =
|
|
1348
|
+
T.let(
|
|
1349
|
+
:"VATEX-FR-CGI261-5",
|
|
1350
|
+
EInvoiceAPI::Models::DocumentCreateFromPdfResponse::Vatex::TaggedSymbol
|
|
1351
|
+
)
|
|
1352
|
+
VATEX_FR_CGI261_7 =
|
|
1353
|
+
T.let(
|
|
1354
|
+
:"VATEX-FR-CGI261-7",
|
|
1355
|
+
EInvoiceAPI::Models::DocumentCreateFromPdfResponse::Vatex::TaggedSymbol
|
|
1356
|
+
)
|
|
1357
|
+
VATEX_FR_CGI261_8 =
|
|
1358
|
+
T.let(
|
|
1359
|
+
:"VATEX-FR-CGI261-8",
|
|
1360
|
+
EInvoiceAPI::Models::DocumentCreateFromPdfResponse::Vatex::TaggedSymbol
|
|
1361
|
+
)
|
|
1362
|
+
VATEX_FR_CGI261A =
|
|
1363
|
+
T.let(
|
|
1364
|
+
:"VATEX-FR-CGI261A",
|
|
1365
|
+
EInvoiceAPI::Models::DocumentCreateFromPdfResponse::Vatex::TaggedSymbol
|
|
1366
|
+
)
|
|
1367
|
+
VATEX_FR_CGI261B =
|
|
1368
|
+
T.let(
|
|
1369
|
+
:"VATEX-FR-CGI261B",
|
|
1370
|
+
EInvoiceAPI::Models::DocumentCreateFromPdfResponse::Vatex::TaggedSymbol
|
|
1371
|
+
)
|
|
1372
|
+
VATEX_FR_CGI261C_1 =
|
|
1373
|
+
T.let(
|
|
1374
|
+
:"VATEX-FR-CGI261C-1",
|
|
1375
|
+
EInvoiceAPI::Models::DocumentCreateFromPdfResponse::Vatex::TaggedSymbol
|
|
1376
|
+
)
|
|
1377
|
+
VATEX_FR_CGI261C_2 =
|
|
1378
|
+
T.let(
|
|
1379
|
+
:"VATEX-FR-CGI261C-2",
|
|
1380
|
+
EInvoiceAPI::Models::DocumentCreateFromPdfResponse::Vatex::TaggedSymbol
|
|
1381
|
+
)
|
|
1382
|
+
VATEX_FR_CGI261C_3 =
|
|
1383
|
+
T.let(
|
|
1384
|
+
:"VATEX-FR-CGI261C-3",
|
|
1385
|
+
EInvoiceAPI::Models::DocumentCreateFromPdfResponse::Vatex::TaggedSymbol
|
|
1386
|
+
)
|
|
1387
|
+
VATEX_FR_CGI261D_1 =
|
|
1388
|
+
T.let(
|
|
1389
|
+
:"VATEX-FR-CGI261D-1",
|
|
1390
|
+
EInvoiceAPI::Models::DocumentCreateFromPdfResponse::Vatex::TaggedSymbol
|
|
1391
|
+
)
|
|
1392
|
+
VATEX_FR_CGI261D_1_BIS =
|
|
1393
|
+
T.let(
|
|
1394
|
+
:"VATEX-FR-CGI261D-1BIS",
|
|
1395
|
+
EInvoiceAPI::Models::DocumentCreateFromPdfResponse::Vatex::TaggedSymbol
|
|
1396
|
+
)
|
|
1397
|
+
VATEX_FR_CGI261D_2 =
|
|
1398
|
+
T.let(
|
|
1399
|
+
:"VATEX-FR-CGI261D-2",
|
|
1400
|
+
EInvoiceAPI::Models::DocumentCreateFromPdfResponse::Vatex::TaggedSymbol
|
|
1401
|
+
)
|
|
1402
|
+
VATEX_FR_CGI261D_3 =
|
|
1403
|
+
T.let(
|
|
1404
|
+
:"VATEX-FR-CGI261D-3",
|
|
1405
|
+
EInvoiceAPI::Models::DocumentCreateFromPdfResponse::Vatex::TaggedSymbol
|
|
1406
|
+
)
|
|
1407
|
+
VATEX_FR_CGI261D_4 =
|
|
1408
|
+
T.let(
|
|
1409
|
+
:"VATEX-FR-CGI261D-4",
|
|
1410
|
+
EInvoiceAPI::Models::DocumentCreateFromPdfResponse::Vatex::TaggedSymbol
|
|
1411
|
+
)
|
|
1412
|
+
VATEX_FR_CGI261E_1 =
|
|
1413
|
+
T.let(
|
|
1414
|
+
:"VATEX-FR-CGI261E-1",
|
|
1415
|
+
EInvoiceAPI::Models::DocumentCreateFromPdfResponse::Vatex::TaggedSymbol
|
|
1416
|
+
)
|
|
1417
|
+
VATEX_FR_CGI261E_2 =
|
|
1418
|
+
T.let(
|
|
1419
|
+
:"VATEX-FR-CGI261E-2",
|
|
1420
|
+
EInvoiceAPI::Models::DocumentCreateFromPdfResponse::Vatex::TaggedSymbol
|
|
1421
|
+
)
|
|
1422
|
+
VATEX_FR_CGI275 =
|
|
1423
|
+
T.let(
|
|
1424
|
+
:"VATEX-FR-CGI275",
|
|
1425
|
+
EInvoiceAPI::Models::DocumentCreateFromPdfResponse::Vatex::TaggedSymbol
|
|
1426
|
+
)
|
|
1427
|
+
VATEX_FR_CGI277A =
|
|
1428
|
+
T.let(
|
|
1429
|
+
:"VATEX-FR-CGI277A",
|
|
1430
|
+
EInvoiceAPI::Models::DocumentCreateFromPdfResponse::Vatex::TaggedSymbol
|
|
1431
|
+
)
|
|
1432
|
+
VATEX_FR_CGI295 =
|
|
1433
|
+
T.let(
|
|
1434
|
+
:"VATEX-FR-CGI295",
|
|
1435
|
+
EInvoiceAPI::Models::DocumentCreateFromPdfResponse::Vatex::TaggedSymbol
|
|
1436
|
+
)
|
|
1293
1437
|
VATEX_FR_FRANCHISE =
|
|
1294
1438
|
T.let(
|
|
1295
1439
|
:"VATEX-FR-FRANCHISE",
|