aws-sdk-taxsettings 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,1381 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::TaxSettings
11
+ module Types
12
+
13
+ # An object with your `accountId` and TRN information.
14
+ #
15
+ # @!attribute [rw] account_id
16
+ # List of unique account identifiers.
17
+ # @return [String]
18
+ #
19
+ # @!attribute [rw] account_meta_data
20
+ # The meta data information associated with the account.
21
+ # @return [Types::AccountMetaData]
22
+ #
23
+ # @!attribute [rw] tax_inheritance_details
24
+ # Tax inheritance information associated with the account.
25
+ # @return [Types::TaxInheritanceDetails]
26
+ #
27
+ # @!attribute [rw] tax_registration
28
+ # Your TRN information. Instead of having full legal address, here TRN
29
+ # information will have jurisdiction details (for example, country
30
+ # code and state/region/province if applicable).
31
+ # @return [Types::TaxRegistrationWithJurisdiction]
32
+ #
33
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/AccountDetails AWS API Documentation
34
+ #
35
+ class AccountDetails < Struct.new(
36
+ :account_id,
37
+ :account_meta_data,
38
+ :tax_inheritance_details,
39
+ :tax_registration)
40
+ SENSITIVE = [:account_meta_data, :tax_registration]
41
+ include Aws::Structure
42
+ end
43
+
44
+ # The meta data information associated with the account.
45
+ #
46
+ # @!attribute [rw] account_name
47
+ # The Amazon Web Services accounts name.
48
+ # @return [String]
49
+ #
50
+ # @!attribute [rw] address
51
+ # The details of the address associated with the TRN information.
52
+ # @return [Types::Address]
53
+ #
54
+ # @!attribute [rw] address_role_map
55
+ # Address roles associated with the account containing country code
56
+ # information.
57
+ # @return [Hash<String,Types::Jurisdiction>]
58
+ #
59
+ # @!attribute [rw] address_type
60
+ # The type of address associated with the legal profile.
61
+ # @return [String]
62
+ #
63
+ # @!attribute [rw] seller
64
+ # Seller information associated with the account.
65
+ # @return [String]
66
+ #
67
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/AccountMetaData AWS API Documentation
68
+ #
69
+ class AccountMetaData < Struct.new(
70
+ :account_name,
71
+ :address,
72
+ :address_role_map,
73
+ :address_type,
74
+ :seller)
75
+ SENSITIVE = []
76
+ include Aws::Structure
77
+ end
78
+
79
+ # Additional tax information associated with your tax registration
80
+ # number (TRN). Depending on the TRN for a specific country, you might
81
+ # need to specify this information when you set your TRN.
82
+ #
83
+ # You can only specify one of the following parameters and the value
84
+ # can't be empty.
85
+ #
86
+ # <note markdown="1"> The parameter that you specify must match the country for the TRN, if
87
+ # available. For example, if you set a TRN in Canada for specific
88
+ # provinces, you must also specify the `canadaAdditionalInfo` parameter.
89
+ #
90
+ # </note>
91
+ #
92
+ # @!attribute [rw] canada_additional_info
93
+ # Additional tax information associated with your TRN in Canada.
94
+ # @return [Types::CanadaAdditionalInfo]
95
+ #
96
+ # @!attribute [rw] estonia_additional_info
97
+ # Additional tax information to specify for a TRN in Estonia.
98
+ # @return [Types::EstoniaAdditionalInfo]
99
+ #
100
+ # @!attribute [rw] georgia_additional_info
101
+ # Additional tax information to specify for a TRN in Georgia.
102
+ # @return [Types::GeorgiaAdditionalInfo]
103
+ #
104
+ # @!attribute [rw] israel_additional_info
105
+ # Additional tax information to specify for a TRN in Israel.
106
+ # @return [Types::IsraelAdditionalInfo]
107
+ #
108
+ # @!attribute [rw] italy_additional_info
109
+ # Additional tax information to specify for a TRN in Italy.
110
+ # @return [Types::ItalyAdditionalInfo]
111
+ #
112
+ # @!attribute [rw] kenya_additional_info
113
+ # Additional tax information to specify for a TRN in Kenya.
114
+ # @return [Types::KenyaAdditionalInfo]
115
+ #
116
+ # @!attribute [rw] malaysia_additional_info
117
+ # Additional tax information to specify for a TRN in Malaysia.
118
+ # @return [Types::MalaysiaAdditionalInfo]
119
+ #
120
+ # @!attribute [rw] poland_additional_info
121
+ # Additional tax information associated with your TRN in Poland.
122
+ # @return [Types::PolandAdditionalInfo]
123
+ #
124
+ # @!attribute [rw] romania_additional_info
125
+ # Additional tax information to specify for a TRN in Romania.
126
+ # @return [Types::RomaniaAdditionalInfo]
127
+ #
128
+ # @!attribute [rw] saudi_arabia_additional_info
129
+ # Additional tax information associated with your TRN in Saudi Arabia.
130
+ # @return [Types::SaudiArabiaAdditionalInfo]
131
+ #
132
+ # @!attribute [rw] south_korea_additional_info
133
+ # Additional tax information to specify for a TRN in South Korea.
134
+ # @return [Types::SouthKoreaAdditionalInfo]
135
+ #
136
+ # @!attribute [rw] spain_additional_info
137
+ # Additional tax information to specify for a TRN in Spain.
138
+ # @return [Types::SpainAdditionalInfo]
139
+ #
140
+ # @!attribute [rw] turkey_additional_info
141
+ # Additional tax information to specify for a TRN in Turkey.
142
+ # @return [Types::TurkeyAdditionalInfo]
143
+ #
144
+ # @!attribute [rw] ukraine_additional_info
145
+ # Additional tax information associated with your TRN in Ukraine.
146
+ # @return [Types::UkraineAdditionalInfo]
147
+ #
148
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/AdditionalInfoRequest AWS API Documentation
149
+ #
150
+ class AdditionalInfoRequest < Struct.new(
151
+ :canada_additional_info,
152
+ :estonia_additional_info,
153
+ :georgia_additional_info,
154
+ :israel_additional_info,
155
+ :italy_additional_info,
156
+ :kenya_additional_info,
157
+ :malaysia_additional_info,
158
+ :poland_additional_info,
159
+ :romania_additional_info,
160
+ :saudi_arabia_additional_info,
161
+ :south_korea_additional_info,
162
+ :spain_additional_info,
163
+ :turkey_additional_info,
164
+ :ukraine_additional_info)
165
+ SENSITIVE = []
166
+ include Aws::Structure
167
+ end
168
+
169
+ # Additional tax information associated with your TRN. The Tax Settings
170
+ # API returns country-specific information in the response when any
171
+ # additional information is present with your TRN for the following
172
+ # countries.
173
+ #
174
+ # @!attribute [rw] brazil_additional_info
175
+ # Additional tax information associated with your TRN in Brazil. The
176
+ # Tax Settings API returns this information in your response when any
177
+ # additional information is present with your TRN in Brazil.
178
+ # @return [Types::BrazilAdditionalInfo]
179
+ #
180
+ # @!attribute [rw] canada_additional_info
181
+ # Additional tax information associated with your TRN in Canada.
182
+ # @return [Types::CanadaAdditionalInfo]
183
+ #
184
+ # @!attribute [rw] estonia_additional_info
185
+ # Additional tax information associated with your TRN in Estonia.
186
+ # @return [Types::EstoniaAdditionalInfo]
187
+ #
188
+ # @!attribute [rw] georgia_additional_info
189
+ # Additional tax information associated with your TRN in Georgia.
190
+ # @return [Types::GeorgiaAdditionalInfo]
191
+ #
192
+ # @!attribute [rw] india_additional_info
193
+ # Additional tax information in India.
194
+ # @return [Types::IndiaAdditionalInfo]
195
+ #
196
+ # @!attribute [rw] israel_additional_info
197
+ # Additional tax information associated with your TRN in Israel.
198
+ # @return [Types::IsraelAdditionalInfo]
199
+ #
200
+ # @!attribute [rw] italy_additional_info
201
+ # Additional tax information associated with your TRN in Italy.
202
+ # @return [Types::ItalyAdditionalInfo]
203
+ #
204
+ # @!attribute [rw] kenya_additional_info
205
+ # Additional tax information associated with your TRN in Kenya.
206
+ # @return [Types::KenyaAdditionalInfo]
207
+ #
208
+ # @!attribute [rw] malaysia_additional_info
209
+ # Additional tax information associated with your TRN in Malaysia.
210
+ # @return [Types::MalaysiaAdditionalInfo]
211
+ #
212
+ # @!attribute [rw] poland_additional_info
213
+ # Additional tax information associated with your TRN in Poland.
214
+ # @return [Types::PolandAdditionalInfo]
215
+ #
216
+ # @!attribute [rw] romania_additional_info
217
+ # Additional tax information to specify for a TRN in Romania.
218
+ # @return [Types::RomaniaAdditionalInfo]
219
+ #
220
+ # @!attribute [rw] saudi_arabia_additional_info
221
+ # Additional tax information associated with your TRN in Saudi Arabia.
222
+ # @return [Types::SaudiArabiaAdditionalInfo]
223
+ #
224
+ # @!attribute [rw] south_korea_additional_info
225
+ # Additional tax information associated with your TRN in South Korea.
226
+ # @return [Types::SouthKoreaAdditionalInfo]
227
+ #
228
+ # @!attribute [rw] spain_additional_info
229
+ # Additional tax information associated with your TRN in Spain.
230
+ # @return [Types::SpainAdditionalInfo]
231
+ #
232
+ # @!attribute [rw] turkey_additional_info
233
+ # Additional tax information associated with your TRN in Turkey.
234
+ # @return [Types::TurkeyAdditionalInfo]
235
+ #
236
+ # @!attribute [rw] ukraine_additional_info
237
+ # Additional tax information associated with your TRN in Ukraine.
238
+ # @return [Types::UkraineAdditionalInfo]
239
+ #
240
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/AdditionalInfoResponse AWS API Documentation
241
+ #
242
+ class AdditionalInfoResponse < Struct.new(
243
+ :brazil_additional_info,
244
+ :canada_additional_info,
245
+ :estonia_additional_info,
246
+ :georgia_additional_info,
247
+ :india_additional_info,
248
+ :israel_additional_info,
249
+ :italy_additional_info,
250
+ :kenya_additional_info,
251
+ :malaysia_additional_info,
252
+ :poland_additional_info,
253
+ :romania_additional_info,
254
+ :saudi_arabia_additional_info,
255
+ :south_korea_additional_info,
256
+ :spain_additional_info,
257
+ :turkey_additional_info,
258
+ :ukraine_additional_info)
259
+ SENSITIVE = []
260
+ include Aws::Structure
261
+ end
262
+
263
+ # The details of the address associated with the TRN information.
264
+ #
265
+ # @!attribute [rw] address_line_1
266
+ # The first line of the address.
267
+ # @return [String]
268
+ #
269
+ # @!attribute [rw] address_line_2
270
+ # The second line of the address, if applicable.
271
+ # @return [String]
272
+ #
273
+ # @!attribute [rw] address_line_3
274
+ # The third line of the address, if applicable. Currently, the Tax
275
+ # Settings API accepts the `addressLine3` parameter only for Saudi
276
+ # Arabia. When you specify a TRN in Saudi Arabia, you must enter the
277
+ # `addressLine3` and specify the building number for the address. For
278
+ # example, you might enter `1234`.
279
+ # @return [String]
280
+ #
281
+ # @!attribute [rw] city
282
+ # The city that the address is in.
283
+ # @return [String]
284
+ #
285
+ # @!attribute [rw] country_code
286
+ # The country code for the country that the address is in.
287
+ # @return [String]
288
+ #
289
+ # @!attribute [rw] district_or_county
290
+ # The district or county the address is located.
291
+ #
292
+ # <note markdown="1"> For addresses in Brazil, this parameter uses the name of the
293
+ # neighborhood. When you set a TRN in Brazil, use `districtOrCounty`
294
+ # for the neighborhood name.
295
+ #
296
+ # </note>
297
+ # @return [String]
298
+ #
299
+ # @!attribute [rw] postal_code
300
+ # The postal code associated with the address.
301
+ # @return [String]
302
+ #
303
+ # @!attribute [rw] state_or_region
304
+ # The state, region, or province that the address is located.
305
+ #
306
+ # If this is required for tax settings, use the same name as shown on
307
+ # the **Tax Settings** page.
308
+ # @return [String]
309
+ #
310
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/Address AWS API Documentation
311
+ #
312
+ class Address < Struct.new(
313
+ :address_line_1,
314
+ :address_line_2,
315
+ :address_line_3,
316
+ :city,
317
+ :country_code,
318
+ :district_or_county,
319
+ :postal_code,
320
+ :state_or_region)
321
+ SENSITIVE = []
322
+ include Aws::Structure
323
+ end
324
+
325
+ # The error object for representing failures in the
326
+ # `BatchDeleteTaxRegistration` operation.
327
+ #
328
+ # @!attribute [rw] account_id
329
+ # The unique account identifier for the account whose tax registration
330
+ # couldn't be deleted during the `BatchDeleteTaxRegistration`
331
+ # operation.
332
+ # @return [String]
333
+ #
334
+ # @!attribute [rw] code
335
+ # The error code for an individual failure in
336
+ # BatchDeleteTaxRegistration operation.
337
+ # @return [String]
338
+ #
339
+ # @!attribute [rw] message
340
+ # The error message for an individual failure in the
341
+ # `BatchDeleteTaxRegistration` operation.
342
+ # @return [String]
343
+ #
344
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/BatchDeleteTaxRegistrationError AWS API Documentation
345
+ #
346
+ class BatchDeleteTaxRegistrationError < Struct.new(
347
+ :account_id,
348
+ :code,
349
+ :message)
350
+ SENSITIVE = [:message]
351
+ include Aws::Structure
352
+ end
353
+
354
+ # @!attribute [rw] account_ids
355
+ # List of unique account identifiers.
356
+ # @return [Array<String>]
357
+ #
358
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/BatchDeleteTaxRegistrationRequest AWS API Documentation
359
+ #
360
+ class BatchDeleteTaxRegistrationRequest < Struct.new(
361
+ :account_ids)
362
+ SENSITIVE = []
363
+ include Aws::Structure
364
+ end
365
+
366
+ # @!attribute [rw] errors
367
+ # The list of errors for the accounts the TRN information could not be
368
+ # deleted for.
369
+ # @return [Array<Types::BatchDeleteTaxRegistrationError>]
370
+ #
371
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/BatchDeleteTaxRegistrationResponse AWS API Documentation
372
+ #
373
+ class BatchDeleteTaxRegistrationResponse < Struct.new(
374
+ :errors)
375
+ SENSITIVE = []
376
+ include Aws::Structure
377
+ end
378
+
379
+ # The error object for representing failures in the
380
+ # `BatchPutTaxRegistration` operation.
381
+ #
382
+ # @!attribute [rw] account_id
383
+ # The unique account identifier for the account that the tax
384
+ # registration couldn't be added, or updated during the
385
+ # `BatchPutTaxRegistration` operation.
386
+ # @return [String]
387
+ #
388
+ # @!attribute [rw] code
389
+ # The error code for an individual failure in the
390
+ # `BatchPutTaxRegistration` operation.
391
+ # @return [String]
392
+ #
393
+ # @!attribute [rw] message
394
+ # The error message for an individual failure in the
395
+ # `BatchPutTaxRegistration` operation.
396
+ # @return [String]
397
+ #
398
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/BatchPutTaxRegistrationError AWS API Documentation
399
+ #
400
+ class BatchPutTaxRegistrationError < Struct.new(
401
+ :account_id,
402
+ :code,
403
+ :message)
404
+ SENSITIVE = [:message]
405
+ include Aws::Structure
406
+ end
407
+
408
+ # @!attribute [rw] account_ids
409
+ # List of unique account identifiers.
410
+ # @return [Array<String>]
411
+ #
412
+ # @!attribute [rw] tax_registration_entry
413
+ # Your TRN information that will be stored to the accounts mentioned
414
+ # in `putEntries`.
415
+ # @return [Types::TaxRegistrationEntry]
416
+ #
417
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/BatchPutTaxRegistrationRequest AWS API Documentation
418
+ #
419
+ class BatchPutTaxRegistrationRequest < Struct.new(
420
+ :account_ids,
421
+ :tax_registration_entry)
422
+ SENSITIVE = [:tax_registration_entry]
423
+ include Aws::Structure
424
+ end
425
+
426
+ # @!attribute [rw] errors
427
+ # List of errors for the accounts the TRN information could not be
428
+ # added or updated to.
429
+ # @return [Array<Types::BatchPutTaxRegistrationError>]
430
+ #
431
+ # @!attribute [rw] status
432
+ # The status of your TRN stored in the system after processing. Based
433
+ # on the validation occurring on the TRN, the status can be
434
+ # `Verified`, `Pending` or `Rejected`.
435
+ # @return [String]
436
+ #
437
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/BatchPutTaxRegistrationResponse AWS API Documentation
438
+ #
439
+ class BatchPutTaxRegistrationResponse < Struct.new(
440
+ :errors,
441
+ :status)
442
+ SENSITIVE = []
443
+ include Aws::Structure
444
+ end
445
+
446
+ # Additional tax information associated with your TRN in Brazil.
447
+ #
448
+ # @!attribute [rw] ccm_code
449
+ # The Cadastro de Contribuintes Mobiliários (CCM) code for your TRN in
450
+ # Brazil. This only applies for a CNPJ tax type for the São Paulo
451
+ # municipality.
452
+ # @return [String]
453
+ #
454
+ # @!attribute [rw] legal_nature_code
455
+ # Legal nature of business, based on your TRN in Brazil. This only
456
+ # applies for a CNPJ tax type.
457
+ # @return [String]
458
+ #
459
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/BrazilAdditionalInfo AWS API Documentation
460
+ #
461
+ class BrazilAdditionalInfo < Struct.new(
462
+ :ccm_code,
463
+ :legal_nature_code)
464
+ SENSITIVE = []
465
+ include Aws::Structure
466
+ end
467
+
468
+ # Additional tax information associated with your TRN in Canada .
469
+ #
470
+ # @!attribute [rw] canada_quebec_sales_tax_number
471
+ # The Quebec Sales Tax ID number. Leave blank if you do not have a
472
+ # Quebec Sales Tax ID number.
473
+ # @return [String]
474
+ #
475
+ # @!attribute [rw] canada_retail_sales_tax_number
476
+ # Manitoba Retail Sales Tax ID number. Customers purchasing Amazon Web
477
+ # Services for resale in Manitoba must provide a valid Retail Sales
478
+ # Tax ID number for Manitoba. Leave this blank if you do not have a
479
+ # Retail Sales Tax ID number in Manitoba or are not purchasing Amazon
480
+ # Web Services for resale.
481
+ # @return [String]
482
+ #
483
+ # @!attribute [rw] is_reseller_account
484
+ # The value for this parameter must be `true` if the
485
+ # `provincialSalesTaxId` value is provided for a TRN in British
486
+ # Columbia, Saskatchewan, or Manitoba provinces.
487
+ #
488
+ # To claim a provincial sales tax (PST) and retail sales tax (RST)
489
+ # reseller exemption, you must confirm that purchases from this
490
+ # account were made for resale. Otherwise, remove the PST or RST
491
+ # number from the `provincialSalesTaxId` parameter from your request.
492
+ # @return [Boolean]
493
+ #
494
+ # @!attribute [rw] provincial_sales_tax_id
495
+ # The provincial sales tax ID for your TRN in Canada. This parameter
496
+ # can represent the following:
497
+ #
498
+ # * Provincial sales tax ID number for British Columbia and
499
+ # Saskatchewan provinces
500
+ #
501
+ # * Manitoba retail sales tax ID number for Manitoba province
502
+ #
503
+ # * Quebec sales tax ID number for Quebec province
504
+ #
505
+ # The Tax Setting API only accepts this parameter if the TRN is
506
+ # specified for the previous provinces. For other provinces, the Tax
507
+ # Settings API doesn't accept this parameter.
508
+ # @return [String]
509
+ #
510
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/CanadaAdditionalInfo AWS API Documentation
511
+ #
512
+ class CanadaAdditionalInfo < Struct.new(
513
+ :canada_quebec_sales_tax_number,
514
+ :canada_retail_sales_tax_number,
515
+ :is_reseller_account,
516
+ :provincial_sales_tax_id)
517
+ SENSITIVE = []
518
+ include Aws::Structure
519
+ end
520
+
521
+ # The exception when the input is creating conflict with the given
522
+ # state.
523
+ #
524
+ # @!attribute [rw] error_code
525
+ # 409
526
+ # @return [String]
527
+ #
528
+ # @!attribute [rw] message
529
+ # @return [String]
530
+ #
531
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/ConflictException AWS API Documentation
532
+ #
533
+ class ConflictException < Struct.new(
534
+ :error_code,
535
+ :message)
536
+ SENSITIVE = [:message]
537
+ include Aws::Structure
538
+ end
539
+
540
+ # @!attribute [rw] account_id
541
+ # Unique account identifier for the TRN information that needs to be
542
+ # deleted. If this isn't passed, the account ID corresponding to the
543
+ # credentials of the API caller will be used for this parameter.
544
+ # @return [String]
545
+ #
546
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/DeleteTaxRegistrationRequest AWS API Documentation
547
+ #
548
+ class DeleteTaxRegistrationRequest < Struct.new(
549
+ :account_id)
550
+ SENSITIVE = []
551
+ include Aws::Structure
552
+ end
553
+
554
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/DeleteTaxRegistrationResponse AWS API Documentation
555
+ #
556
+ class DeleteTaxRegistrationResponse < Aws::EmptyStructure; end
557
+
558
+ # The location of the Amazon S3 bucket that you specify to download your
559
+ # tax documents to.
560
+ #
561
+ # @!attribute [rw] bucket
562
+ # The name of your Amazon S3 bucket that you specify to download your
563
+ # tax documents to.
564
+ # @return [String]
565
+ #
566
+ # @!attribute [rw] prefix
567
+ # The Amazon S3 object prefix that you specify for your tax document
568
+ # file.
569
+ # @return [String]
570
+ #
571
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/DestinationS3Location AWS API Documentation
572
+ #
573
+ class DestinationS3Location < Struct.new(
574
+ :bucket,
575
+ :prefix)
576
+ SENSITIVE = []
577
+ include Aws::Structure
578
+ end
579
+
580
+ # Additional tax information associated with your TRN in Estonia.
581
+ #
582
+ # @!attribute [rw] registry_commercial_code
583
+ # Registry commercial code (RCC) for your TRN in Estonia. This value
584
+ # is an eight-numeric string, such as `12345678`.
585
+ # @return [String]
586
+ #
587
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/EstoniaAdditionalInfo AWS API Documentation
588
+ #
589
+ class EstoniaAdditionalInfo < Struct.new(
590
+ :registry_commercial_code)
591
+ SENSITIVE = []
592
+ include Aws::Structure
593
+ end
594
+
595
+ # Additional tax information associated with your TRN in Georgia.
596
+ #
597
+ # @!attribute [rw] person_type
598
+ # The legal person or physical person assigned to this TRN in Georgia.
599
+ # @return [String]
600
+ #
601
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/GeorgiaAdditionalInfo AWS API Documentation
602
+ #
603
+ class GeorgiaAdditionalInfo < Struct.new(
604
+ :person_type)
605
+ SENSITIVE = []
606
+ include Aws::Structure
607
+ end
608
+
609
+ # @!attribute [rw] destination_s3_location
610
+ # The Amazon S3 bucket that you specify to download your tax documents
611
+ # to.
612
+ # @return [Types::DestinationS3Location]
613
+ #
614
+ # @!attribute [rw] tax_document_metadata
615
+ # The metadata for your tax document.
616
+ # @return [Types::TaxDocumentMetadata]
617
+ #
618
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/GetTaxRegistrationDocumentRequest AWS API Documentation
619
+ #
620
+ class GetTaxRegistrationDocumentRequest < Struct.new(
621
+ :destination_s3_location,
622
+ :tax_document_metadata)
623
+ SENSITIVE = []
624
+ include Aws::Structure
625
+ end
626
+
627
+ # @!attribute [rw] destination_file_path
628
+ # The file path of the Amazon S3 bucket where you want to download
629
+ # your tax document to.
630
+ # @return [String]
631
+ #
632
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/GetTaxRegistrationDocumentResponse AWS API Documentation
633
+ #
634
+ class GetTaxRegistrationDocumentResponse < Struct.new(
635
+ :destination_file_path)
636
+ SENSITIVE = []
637
+ include Aws::Structure
638
+ end
639
+
640
+ # @!attribute [rw] account_id
641
+ # Your unique account identifier.
642
+ # @return [String]
643
+ #
644
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/GetTaxRegistrationRequest AWS API Documentation
645
+ #
646
+ class GetTaxRegistrationRequest < Struct.new(
647
+ :account_id)
648
+ SENSITIVE = []
649
+ include Aws::Structure
650
+ end
651
+
652
+ # @!attribute [rw] tax_registration
653
+ # TRN information of the account mentioned in the request.
654
+ # @return [Types::TaxRegistration]
655
+ #
656
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/GetTaxRegistrationResponse AWS API Documentation
657
+ #
658
+ class GetTaxRegistrationResponse < Struct.new(
659
+ :tax_registration)
660
+ SENSITIVE = [:tax_registration]
661
+ include Aws::Structure
662
+ end
663
+
664
+ # Additional tax information in India.
665
+ #
666
+ # @!attribute [rw] pan
667
+ # India pan information associated with the account.
668
+ # @return [String]
669
+ #
670
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/IndiaAdditionalInfo AWS API Documentation
671
+ #
672
+ class IndiaAdditionalInfo < Struct.new(
673
+ :pan)
674
+ SENSITIVE = []
675
+ include Aws::Structure
676
+ end
677
+
678
+ # The exception thrown when an unexpected error occurs when processing a
679
+ # request.
680
+ #
681
+ # @!attribute [rw] error_code
682
+ # 500
683
+ # @return [String]
684
+ #
685
+ # @!attribute [rw] message
686
+ # @return [String]
687
+ #
688
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/InternalServerException AWS API Documentation
689
+ #
690
+ class InternalServerException < Struct.new(
691
+ :error_code,
692
+ :message)
693
+ SENSITIVE = [:message]
694
+ include Aws::Structure
695
+ end
696
+
697
+ # Additional tax information associated with your TRN in Israel.
698
+ #
699
+ # @!attribute [rw] customer_type
700
+ # Customer type for your TRN in Israel. The value can be `Business` or
701
+ # `Individual`. Use `Business`for entities such as not-for-profit and
702
+ # financial institutions.
703
+ # @return [String]
704
+ #
705
+ # @!attribute [rw] dealer_type
706
+ # Dealer type for your TRN in Israel. If you're not a local
707
+ # authorized dealer with an Israeli VAT ID, specify your tax
708
+ # identification number so that Amazon Web Services can send you a
709
+ # compliant tax invoice.
710
+ # @return [String]
711
+ #
712
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/IsraelAdditionalInfo AWS API Documentation
713
+ #
714
+ class IsraelAdditionalInfo < Struct.new(
715
+ :customer_type,
716
+ :dealer_type)
717
+ SENSITIVE = []
718
+ include Aws::Structure
719
+ end
720
+
721
+ # Additional tax information associated with your TRN in Italy.
722
+ #
723
+ # @!attribute [rw] cig_number
724
+ # The tender procedure identification code.
725
+ # @return [String]
726
+ #
727
+ # @!attribute [rw] cup_number
728
+ # Additional tax information to specify for a TRN in Italy. This is
729
+ # managed by the Interministerial Committee for Economic Planning
730
+ # (CIPE) which characterizes every public investment project
731
+ # (Individual Project Code).
732
+ # @return [String]
733
+ #
734
+ # @!attribute [rw] sdi_account_id
735
+ # Additional tax information to specify for a TRN in Italy. Use
736
+ # CodiceDestinatario to receive your invoices via web service (API) or
737
+ # FTP.
738
+ # @return [String]
739
+ #
740
+ # @!attribute [rw] tax_code
741
+ # List of service tax codes for your TRN in Italy. You can use your
742
+ # customer tax code as part of a VAT Group.
743
+ # @return [String]
744
+ #
745
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/ItalyAdditionalInfo AWS API Documentation
746
+ #
747
+ class ItalyAdditionalInfo < Struct.new(
748
+ :cig_number,
749
+ :cup_number,
750
+ :sdi_account_id,
751
+ :tax_code)
752
+ SENSITIVE = []
753
+ include Aws::Structure
754
+ end
755
+
756
+ # The jurisdiction details of the TRN information of the customers. This
757
+ # doesn't contain full legal address, and contains only country code
758
+ # and state/region/province.
759
+ #
760
+ # @!attribute [rw] country_code
761
+ # The country code of the jurisdiction.
762
+ # @return [String]
763
+ #
764
+ # @!attribute [rw] state_or_region
765
+ # The state, region, or province associated with the country of the
766
+ # jurisdiction, if applicable.
767
+ # @return [String]
768
+ #
769
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/Jurisdiction AWS API Documentation
770
+ #
771
+ class Jurisdiction < Struct.new(
772
+ :country_code,
773
+ :state_or_region)
774
+ SENSITIVE = []
775
+ include Aws::Structure
776
+ end
777
+
778
+ # Additional tax information associated with your TRN in Kenya.
779
+ #
780
+ # @!attribute [rw] person_type
781
+ # The legal person or physical person assigned to this TRN in Kenya.
782
+ # @return [String]
783
+ #
784
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/KenyaAdditionalInfo AWS API Documentation
785
+ #
786
+ class KenyaAdditionalInfo < Struct.new(
787
+ :person_type)
788
+ SENSITIVE = []
789
+ include Aws::Structure
790
+ end
791
+
792
+ # @!attribute [rw] max_results
793
+ # Number of `accountDetails` results you want in one response.
794
+ # @return [Integer]
795
+ #
796
+ # @!attribute [rw] next_token
797
+ # The token to retrieve the next set of results.
798
+ # @return [String]
799
+ #
800
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/ListTaxRegistrationsRequest AWS API Documentation
801
+ #
802
+ class ListTaxRegistrationsRequest < Struct.new(
803
+ :max_results,
804
+ :next_token)
805
+ SENSITIVE = []
806
+ include Aws::Structure
807
+ end
808
+
809
+ # @!attribute [rw] account_details
810
+ # The list of account details. This contains account Ids and TRN
811
+ # Information for each of the linked accounts.
812
+ # @return [Array<Types::AccountDetails>]
813
+ #
814
+ # @!attribute [rw] next_token
815
+ # The token to retrieve the next set of results.
816
+ # @return [String]
817
+ #
818
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/ListTaxRegistrationsResponse AWS API Documentation
819
+ #
820
+ class ListTaxRegistrationsResponse < Struct.new(
821
+ :account_details,
822
+ :next_token)
823
+ SENSITIVE = []
824
+ include Aws::Structure
825
+ end
826
+
827
+ # Additional tax information associated with your TRN in Malaysia.
828
+ #
829
+ # @!attribute [rw] service_tax_codes
830
+ # List of service tax codes for your TRN in Malaysia.
831
+ # @return [Array<String>]
832
+ #
833
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/MalaysiaAdditionalInfo AWS API Documentation
834
+ #
835
+ class MalaysiaAdditionalInfo < Struct.new(
836
+ :service_tax_codes)
837
+ SENSITIVE = []
838
+ include Aws::Structure
839
+ end
840
+
841
+ # Additional tax information associated with your TRN in Poland.
842
+ #
843
+ # @!attribute [rw] individual_registration_number
844
+ # The individual tax registration number (NIP). Individual NIP is
845
+ # valid for other taxes excluding VAT purposes.
846
+ # @return [String]
847
+ #
848
+ # @!attribute [rw] is_group_vat_enabled
849
+ # True if your business is a member of a VAT group with a NIP active
850
+ # for VAT purposes. Otherwise, this is false.
851
+ # @return [Boolean]
852
+ #
853
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/PolandAdditionalInfo AWS API Documentation
854
+ #
855
+ class PolandAdditionalInfo < Struct.new(
856
+ :individual_registration_number,
857
+ :is_group_vat_enabled)
858
+ SENSITIVE = []
859
+ include Aws::Structure
860
+ end
861
+
862
+ # @!attribute [rw] account_id
863
+ # Your unique account identifier.
864
+ # @return [String]
865
+ #
866
+ # @!attribute [rw] tax_registration_entry
867
+ # Your TRN information that will be stored to the account mentioned in
868
+ # `accountId`.
869
+ # @return [Types::TaxRegistrationEntry]
870
+ #
871
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/PutTaxRegistrationRequest AWS API Documentation
872
+ #
873
+ class PutTaxRegistrationRequest < Struct.new(
874
+ :account_id,
875
+ :tax_registration_entry)
876
+ SENSITIVE = [:tax_registration_entry]
877
+ include Aws::Structure
878
+ end
879
+
880
+ # @!attribute [rw] status
881
+ # The status of your TRN stored in the system after processing. Based
882
+ # on the validation occurring on the TRN, the status can be
883
+ # `Verified`, `Pending` or `Rejected`.
884
+ # @return [String]
885
+ #
886
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/PutTaxRegistrationResponse AWS API Documentation
887
+ #
888
+ class PutTaxRegistrationResponse < Struct.new(
889
+ :status)
890
+ SENSITIVE = []
891
+ include Aws::Structure
892
+ end
893
+
894
+ # The exception thrown when the input doesn't have a resource
895
+ # associated to it.
896
+ #
897
+ # @!attribute [rw] error_code
898
+ # 404
899
+ # @return [String]
900
+ #
901
+ # @!attribute [rw] message
902
+ # @return [String]
903
+ #
904
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/ResourceNotFoundException AWS API Documentation
905
+ #
906
+ class ResourceNotFoundException < Struct.new(
907
+ :error_code,
908
+ :message)
909
+ SENSITIVE = [:message]
910
+ include Aws::Structure
911
+ end
912
+
913
+ # Additional tax information to specify for a TRN in Romania.
914
+ #
915
+ # @!attribute [rw] tax_registration_number_type
916
+ # The tax registration number type. The value can be
917
+ # `TaxRegistrationNumber` or `LocalRegistrationNumber`.
918
+ # @return [String]
919
+ #
920
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/RomaniaAdditionalInfo AWS API Documentation
921
+ #
922
+ class RomaniaAdditionalInfo < Struct.new(
923
+ :tax_registration_number_type)
924
+ SENSITIVE = []
925
+ include Aws::Structure
926
+ end
927
+
928
+ # Additional tax information associated with your TRN in Saudi Arabia.
929
+ #
930
+ # @!attribute [rw] tax_registration_number_type
931
+ # The tax registration number type.
932
+ # @return [String]
933
+ #
934
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/SaudiArabiaAdditionalInfo AWS API Documentation
935
+ #
936
+ class SaudiArabiaAdditionalInfo < Struct.new(
937
+ :tax_registration_number_type)
938
+ SENSITIVE = []
939
+ include Aws::Structure
940
+ end
941
+
942
+ # The Amazon S3 bucket in your account where your tax document is
943
+ # located.
944
+ #
945
+ # @!attribute [rw] bucket
946
+ # The name of your Amazon S3 bucket that your tax document is located.
947
+ # @return [String]
948
+ #
949
+ # @!attribute [rw] key
950
+ # The object key of your tax document object in Amazon S3.
951
+ # @return [String]
952
+ #
953
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/SourceS3Location AWS API Documentation
954
+ #
955
+ class SourceS3Location < Struct.new(
956
+ :bucket,
957
+ :key)
958
+ SENSITIVE = []
959
+ include Aws::Structure
960
+ end
961
+
962
+ # Additional tax information associated with your TRN in South Korea.
963
+ #
964
+ # @!attribute [rw] business_representative_name
965
+ # The business legal name based on the most recently uploaded tax
966
+ # registration certificate.
967
+ # @return [String]
968
+ #
969
+ # @!attribute [rw] item_of_business
970
+ # Item of business based on the most recently uploaded tax
971
+ # registration certificate.
972
+ # @return [String]
973
+ #
974
+ # @!attribute [rw] line_of_business
975
+ # Line of business based on the most recently uploaded tax
976
+ # registration certificate.
977
+ # @return [String]
978
+ #
979
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/SouthKoreaAdditionalInfo AWS API Documentation
980
+ #
981
+ class SouthKoreaAdditionalInfo < Struct.new(
982
+ :business_representative_name,
983
+ :item_of_business,
984
+ :line_of_business)
985
+ SENSITIVE = []
986
+ include Aws::Structure
987
+ end
988
+
989
+ # Additional tax information associated with your TRN in Spain.
990
+ #
991
+ # @!attribute [rw] registration_type
992
+ # The registration type in Spain.
993
+ # @return [String]
994
+ #
995
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/SpainAdditionalInfo AWS API Documentation
996
+ #
997
+ class SpainAdditionalInfo < Struct.new(
998
+ :registration_type)
999
+ SENSITIVE = []
1000
+ include Aws::Structure
1001
+ end
1002
+
1003
+ # The metadata for your tax document.
1004
+ #
1005
+ # @!attribute [rw] tax_document_access_token
1006
+ # The tax document access token, which contains information that the
1007
+ # Tax Settings API uses to locate the tax document.
1008
+ #
1009
+ # <note markdown="1"> If you update your tax registration, the existing
1010
+ # `taxDocumentAccessToken` won't be valid. To get the latest token,
1011
+ # call the `GetTaxRegistration` or `ListTaxRegistrations` API
1012
+ # operation. This token is valid for 24 hours.
1013
+ #
1014
+ # </note>
1015
+ # @return [String]
1016
+ #
1017
+ # @!attribute [rw] tax_document_name
1018
+ # The name of your tax document.
1019
+ # @return [String]
1020
+ #
1021
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/TaxDocumentMetadata AWS API Documentation
1022
+ #
1023
+ class TaxDocumentMetadata < Struct.new(
1024
+ :tax_document_access_token,
1025
+ :tax_document_name)
1026
+ SENSITIVE = []
1027
+ include Aws::Structure
1028
+ end
1029
+
1030
+ # Tax inheritance information associated with the account.
1031
+ #
1032
+ # @!attribute [rw] inheritance_obtained_reason
1033
+ # Tax inheritance reason information associated with the account.
1034
+ # @return [String]
1035
+ #
1036
+ # @!attribute [rw] parent_entity_id
1037
+ # Tax inheritance parent account information associated with the
1038
+ # account.
1039
+ # @return [String]
1040
+ #
1041
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/TaxInheritanceDetails AWS API Documentation
1042
+ #
1043
+ class TaxInheritanceDetails < Struct.new(
1044
+ :inheritance_obtained_reason,
1045
+ :parent_entity_id)
1046
+ SENSITIVE = []
1047
+ include Aws::Structure
1048
+ end
1049
+
1050
+ # Your TRN information.
1051
+ #
1052
+ # @!attribute [rw] additional_tax_information
1053
+ # Additional tax information associated with your TRN.
1054
+ # @return [Types::AdditionalInfoResponse]
1055
+ #
1056
+ # @!attribute [rw] certified_email_id
1057
+ # The email address to receive VAT invoices.
1058
+ # @return [String]
1059
+ #
1060
+ # @!attribute [rw] legal_address
1061
+ # The legal address associated with your TRN registration.
1062
+ # @return [Types::Address]
1063
+ #
1064
+ # @!attribute [rw] legal_name
1065
+ # The legal name associated with your TRN registration.
1066
+ # @return [String]
1067
+ #
1068
+ # @!attribute [rw] registration_id
1069
+ # Your tax registration unique identifier.
1070
+ # @return [String]
1071
+ #
1072
+ # @!attribute [rw] registration_type
1073
+ # Type of your tax registration. This can be either `VAT` or `GST`.
1074
+ # @return [String]
1075
+ #
1076
+ # @!attribute [rw] sector
1077
+ # The industry that describes your business. For business-to-business
1078
+ # (B2B) customers, specify Business. For business-to-consumer (B2C)
1079
+ # customers, specify Individual. For business-to-government (B2G),
1080
+ # specify Government. Note that certain values may not applicable for
1081
+ # the request country. Please refer to country specific information in
1082
+ # API document.
1083
+ # @return [String]
1084
+ #
1085
+ # @!attribute [rw] status
1086
+ # The status of your TRN. This can be either `Verified`, `Pending`,
1087
+ # `Deleted`, or `Rejected`.
1088
+ # @return [String]
1089
+ #
1090
+ # @!attribute [rw] tax_document_metadatas
1091
+ # The metadata for your tax document.
1092
+ # @return [Array<Types::TaxDocumentMetadata>]
1093
+ #
1094
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/TaxRegistration AWS API Documentation
1095
+ #
1096
+ class TaxRegistration < Struct.new(
1097
+ :additional_tax_information,
1098
+ :certified_email_id,
1099
+ :legal_address,
1100
+ :legal_name,
1101
+ :registration_id,
1102
+ :registration_type,
1103
+ :sector,
1104
+ :status,
1105
+ :tax_document_metadatas)
1106
+ SENSITIVE = []
1107
+ include Aws::Structure
1108
+ end
1109
+
1110
+ # Tax registration document information.
1111
+ #
1112
+ # @!attribute [rw] s3_location
1113
+ # The Amazon S3 location where your tax registration document is
1114
+ # stored.
1115
+ # @return [Types::SourceS3Location]
1116
+ #
1117
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/TaxRegistrationDocument AWS API Documentation
1118
+ #
1119
+ class TaxRegistrationDocument < Struct.new(
1120
+ :s3_location)
1121
+ SENSITIVE = []
1122
+ include Aws::Structure
1123
+ end
1124
+
1125
+ # The TRN information you provide when you add a new TRN, or update.
1126
+ #
1127
+ # @!attribute [rw] additional_tax_information
1128
+ # Additional tax information associated with your TRN. You only need
1129
+ # to specify this parameter if Amazon Web Services collects any
1130
+ # additional information for your country within
1131
+ # AdditionalInfoRequest.
1132
+ # @return [Types::AdditionalInfoRequest]
1133
+ #
1134
+ # @!attribute [rw] certified_email_id
1135
+ # The email address to receive VAT invoices.
1136
+ # @return [String]
1137
+ #
1138
+ # @!attribute [rw] legal_address
1139
+ # The legal address associated with your TRN.
1140
+ #
1141
+ # <note markdown="1"> If you're setting a TRN in Brazil for the CNPJ tax type, you don't
1142
+ # need to specify the legal address.
1143
+ #
1144
+ # For TRNs in other countries and for CPF tax types Brazil, you must
1145
+ # specify the legal address.
1146
+ #
1147
+ # </note>
1148
+ # @return [Types::Address]
1149
+ #
1150
+ # @!attribute [rw] legal_name
1151
+ # The legal name associated with your TRN.
1152
+ #
1153
+ # <note markdown="1"> If you're setting a TRN in Brazil, you don't need to specify the
1154
+ # legal name. For TRNs in other countries, you must specify the legal
1155
+ # name.
1156
+ #
1157
+ # </note>
1158
+ # @return [String]
1159
+ #
1160
+ # @!attribute [rw] registration_id
1161
+ # Your tax registration unique identifier.
1162
+ # @return [String]
1163
+ #
1164
+ # @!attribute [rw] registration_type
1165
+ # Your tax registration type. This can be either `VAT` or `GST`.
1166
+ # @return [String]
1167
+ #
1168
+ # @!attribute [rw] sector
1169
+ # The industry that describes your business. For business-to-business
1170
+ # (B2B) customers, specify Business. For business-to-consumer (B2C)
1171
+ # customers, specify Individual. For business-to-government (B2G),
1172
+ # specify Government.Note that certain values may not applicable for
1173
+ # the request country. Please refer to country specific information in
1174
+ # API document.
1175
+ # @return [String]
1176
+ #
1177
+ # @!attribute [rw] verification_details
1178
+ # Additional details needed to verify your TRN information in Brazil.
1179
+ # You only need to specify this parameter when you set a TRN in Brazil
1180
+ # that is the CPF tax type.
1181
+ #
1182
+ # <note markdown="1"> Don't specify this parameter to set a TRN in Brazil of the CNPJ tax
1183
+ # type or to set a TRN for another country.
1184
+ #
1185
+ # </note>
1186
+ # @return [Types::VerificationDetails]
1187
+ #
1188
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/TaxRegistrationEntry AWS API Documentation
1189
+ #
1190
+ class TaxRegistrationEntry < Struct.new(
1191
+ :additional_tax_information,
1192
+ :certified_email_id,
1193
+ :legal_address,
1194
+ :legal_name,
1195
+ :registration_id,
1196
+ :registration_type,
1197
+ :sector,
1198
+ :verification_details)
1199
+ SENSITIVE = []
1200
+ include Aws::Structure
1201
+ end
1202
+
1203
+ # Your TRN information with jurisdiction details. This doesn't contain
1204
+ # the full legal address associated with the TRN information.
1205
+ #
1206
+ # @!attribute [rw] additional_tax_information
1207
+ # Additional tax information associated with your TRN.
1208
+ # @return [Types::AdditionalInfoResponse]
1209
+ #
1210
+ # @!attribute [rw] certified_email_id
1211
+ # The email address to receive VAT invoices.
1212
+ # @return [String]
1213
+ #
1214
+ # @!attribute [rw] jurisdiction
1215
+ # The jurisdiction associated with your TRN information.
1216
+ # @return [Types::Jurisdiction]
1217
+ #
1218
+ # @!attribute [rw] legal_name
1219
+ # The legal name associated with your TRN information.
1220
+ # @return [String]
1221
+ #
1222
+ # @!attribute [rw] registration_id
1223
+ # Your tax registration unique identifier.
1224
+ # @return [String]
1225
+ #
1226
+ # @!attribute [rw] registration_type
1227
+ # The type of your tax registration. This can be either `VAT` or
1228
+ # `GST`.
1229
+ # @return [String]
1230
+ #
1231
+ # @!attribute [rw] sector
1232
+ # The industry that describes your business. For business-to-business
1233
+ # (B2B) customers, specify Business. For business-to-consumer (B2C)
1234
+ # customers, specify Individual. For business-to-government (B2G),
1235
+ # specify Government.Note that certain values may not applicable for
1236
+ # the request country. Please refer to country specific information in
1237
+ # API document.
1238
+ # @return [String]
1239
+ #
1240
+ # @!attribute [rw] status
1241
+ # The status of your TRN. This can be either `Verified`, `Pending`,
1242
+ # `Deleted`, or `Rejected`.
1243
+ # @return [String]
1244
+ #
1245
+ # @!attribute [rw] tax_document_metadatas
1246
+ # The metadata for your tax document.
1247
+ # @return [Array<Types::TaxDocumentMetadata>]
1248
+ #
1249
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/TaxRegistrationWithJurisdiction AWS API Documentation
1250
+ #
1251
+ class TaxRegistrationWithJurisdiction < Struct.new(
1252
+ :additional_tax_information,
1253
+ :certified_email_id,
1254
+ :jurisdiction,
1255
+ :legal_name,
1256
+ :registration_id,
1257
+ :registration_type,
1258
+ :sector,
1259
+ :status,
1260
+ :tax_document_metadatas)
1261
+ SENSITIVE = []
1262
+ include Aws::Structure
1263
+ end
1264
+
1265
+ # Additional tax information associated with your TRN in Turkey.
1266
+ #
1267
+ # @!attribute [rw] industries
1268
+ # The industry information that tells the Tax Settings API if you're
1269
+ # subject to additional withholding taxes. This information required
1270
+ # for business-to-business (B2B) customers. This information is
1271
+ # conditionally mandatory for B2B customers who are subject to KDV
1272
+ # tax.
1273
+ # @return [String]
1274
+ #
1275
+ # @!attribute [rw] kep_email_id
1276
+ # The Registered Electronic Mail (REM) that is used to send notarized
1277
+ # communication. This parameter is optional for business-to-business
1278
+ # (B2B) and business-to-government (B2G) customers. It's not required
1279
+ # for business-to-consumer (B2C) customers.
1280
+ # @return [String]
1281
+ #
1282
+ # @!attribute [rw] secondary_tax_id
1283
+ # Secondary tax ID (“harcama birimi VKN”si”). If one isn't provided,
1284
+ # we will use your VKN as the secondary ID.
1285
+ # @return [String]
1286
+ #
1287
+ # @!attribute [rw] tax_office
1288
+ # The tax office where you're registered. You can enter this
1289
+ # information as a string. The Tax Settings API will add this
1290
+ # information to your invoice. This parameter is required for
1291
+ # business-to-business (B2B) and business-to-government customers.
1292
+ # It's not required for business-to-consumer (B2C) customers.
1293
+ # @return [String]
1294
+ #
1295
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/TurkeyAdditionalInfo AWS API Documentation
1296
+ #
1297
+ class TurkeyAdditionalInfo < Struct.new(
1298
+ :industries,
1299
+ :kep_email_id,
1300
+ :secondary_tax_id,
1301
+ :tax_office)
1302
+ SENSITIVE = []
1303
+ include Aws::Structure
1304
+ end
1305
+
1306
+ # Additional tax information associated with your TRN in Ukraine.
1307
+ #
1308
+ # @!attribute [rw] ukraine_trn_type
1309
+ # The tax registration type.
1310
+ # @return [String]
1311
+ #
1312
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/UkraineAdditionalInfo AWS API Documentation
1313
+ #
1314
+ class UkraineAdditionalInfo < Struct.new(
1315
+ :ukraine_trn_type)
1316
+ SENSITIVE = []
1317
+ include Aws::Structure
1318
+ end
1319
+
1320
+ # The exception when the input doesn't pass validation for at least one
1321
+ # of the input parameters.
1322
+ #
1323
+ # @!attribute [rw] error_code
1324
+ # 400
1325
+ # @return [String]
1326
+ #
1327
+ # @!attribute [rw] field_list
1328
+ # 400
1329
+ # @return [Array<Types::ValidationExceptionField>]
1330
+ #
1331
+ # @!attribute [rw] message
1332
+ # @return [String]
1333
+ #
1334
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/ValidationException AWS API Documentation
1335
+ #
1336
+ class ValidationException < Struct.new(
1337
+ :error_code,
1338
+ :field_list,
1339
+ :message)
1340
+ SENSITIVE = [:message]
1341
+ include Aws::Structure
1342
+ end
1343
+
1344
+ # The information about the specified parameter in the request that
1345
+ # caused an error.
1346
+ #
1347
+ # @!attribute [rw] name
1348
+ # The name of the parameter that caused a `ValidationException` error.
1349
+ # @return [String]
1350
+ #
1351
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/ValidationExceptionField AWS API Documentation
1352
+ #
1353
+ class ValidationExceptionField < Struct.new(
1354
+ :name)
1355
+ SENSITIVE = []
1356
+ include Aws::Structure
1357
+ end
1358
+
1359
+ # Required information to verify your TRN.
1360
+ #
1361
+ # @!attribute [rw] date_of_birth
1362
+ # Date of birth to verify your submitted TRN. Use the `YYYY-MM-DD`
1363
+ # format.
1364
+ # @return [String]
1365
+ #
1366
+ # @!attribute [rw] tax_registration_documents
1367
+ # The tax registration document, which is required for specific
1368
+ # countries such as Bangladesh, Kenya, South Korea and Spain.
1369
+ # @return [Array<Types::TaxRegistrationDocument>]
1370
+ #
1371
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/VerificationDetails AWS API Documentation
1372
+ #
1373
+ class VerificationDetails < Struct.new(
1374
+ :date_of_birth,
1375
+ :tax_registration_documents)
1376
+ SENSITIVE = []
1377
+ include Aws::Structure
1378
+ end
1379
+
1380
+ end
1381
+ end