aws-sdk-taxsettings 1.12.0 → 1.13.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-taxsettings/client.rb +180 -33
- data/lib/aws-sdk-taxsettings/client_api.rb +92 -1
- data/lib/aws-sdk-taxsettings/types.rb +203 -6
- data/lib/aws-sdk-taxsettings.rb +1 -1
- data/sig/client.rbs +54 -4
- data/sig/types.rbs +54 -3
- 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: f6ddd27656b84a7f8d40e6668caaf56a631506e8daab7abdb9c9efe0f1143a44
|
4
|
+
data.tar.gz: bf5ba75485e155ae52a430eb3e061b6766802f2715d67ea122e17b1e467d8486
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1027b0d9b93c892f3d365dbf818a31b8964f08dcfe5ecacb14a2561cab7e35669f0b9a8f6a5bff9c367beae56e21c468dd1052bc9c39cb517cb482fa6a06338
|
7
|
+
data.tar.gz: e98d6caab0faf8cb46e128a11d2da6f5341d3f67c11569e3820ab735e2a0a52abc5454bb7e1ae469e6fb9130328ce1291b153cac7a9d835a99bb610ddfb3b4bb
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.13.0 (2024-11-01)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add support for supplemental tax registrations via these new APIs: PutSupplementalTaxRegistration, ListSupplementalTaxRegistrations, and DeleteSupplementalTaxRegistration.
|
8
|
+
|
4
9
|
1.12.0 (2024-10-18)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.13.0
|
@@ -532,25 +532,36 @@ module Aws::TaxSettings
|
|
532
532
|
#
|
533
533
|
# **Malaysia**
|
534
534
|
#
|
535
|
-
# *
|
536
|
-
#
|
537
|
-
#
|
535
|
+
# * The sector valid values are `Business` and `Individual`.
|
536
|
+
#
|
537
|
+
# * `RegistrationType` valid values are `NRIC` for individual, and TIN
|
538
|
+
# and sales and service tax (SST) for Business.
|
539
|
+
#
|
540
|
+
# * For individual, you can specify the `taxInformationNumber` in
|
541
|
+
# `MalaysiaAdditionalInfo` with NRIC type, and a valid `MyKad` or NRIC
|
542
|
+
# number.
|
543
|
+
#
|
544
|
+
# * For business, you must specify a `businessRegistrationNumber` in
|
545
|
+
# `MalaysiaAdditionalInfo` with a TIN type and tax identification
|
546
|
+
# number.
|
547
|
+
#
|
548
|
+
# * For business resellers, you must specify a
|
549
|
+
# `businessRegistrationNumber` and `taxInformationNumber` in
|
550
|
+
# `MalaysiaAdditionalInfo` with a sales and service tax (SST) type and
|
551
|
+
# a valid SST number.
|
538
552
|
#
|
539
|
-
# *
|
540
|
-
#
|
541
|
-
#
|
542
|
-
#
|
553
|
+
# * For business resellers with service codes, you must specify
|
554
|
+
# `businessRegistrationNumber`, `taxInformationNumber`, and distinct
|
555
|
+
# `serviceTaxCodes` in `MalaysiaAdditionalInfo` with a SST type and
|
556
|
+
# valid sales and service tax (SST) number. By using this API
|
557
|
+
# operation, Amazon Web Services registers your self-declaration that
|
558
|
+
# you’re an authorized business reseller registered with the Royal
|
559
|
+
# Malaysia Customs Department (RMCD), and have a valid SST number.
|
543
560
|
#
|
544
561
|
# * Amazon Web Services reserves the right to seek additional
|
545
562
|
# information and/or take other actions to support your
|
546
563
|
# self-declaration as appropriate.
|
547
564
|
#
|
548
|
-
# * If you're not a reseller of Amazon Web Services, we don't
|
549
|
-
# recommend that you use this operation to set the TRN in Malaysia.
|
550
|
-
#
|
551
|
-
# * Only use this API operation to upload the TRNs for accounts through
|
552
|
-
# which you're reselling Amazon Web Services.
|
553
|
-
#
|
554
565
|
# * Amazon Web Services is currently registered under the following
|
555
566
|
# service tax codes. You must include at least one of the service tax
|
556
567
|
# codes in the service tax code strings to declare yourself as an
|
@@ -679,7 +690,9 @@ module Aws::TaxSettings
|
|
679
690
|
# person_type: "Legal Person", # required, accepts Legal Person, Physical Person, Business
|
680
691
|
# },
|
681
692
|
# malaysia_additional_info: {
|
682
|
-
#
|
693
|
+
# business_registration_number: "BusinessRegistrationNumber",
|
694
|
+
# service_tax_codes: ["Consultancy"], # accepts Consultancy, Digital Service And Electronic Medium, IT Services, Training Or Coaching
|
695
|
+
# tax_information_number: "TaxInformationNumber",
|
683
696
|
# },
|
684
697
|
# poland_additional_info: {
|
685
698
|
# individual_registration_number: "IndividualRegistrationNumber",
|
@@ -722,7 +735,7 @@ module Aws::TaxSettings
|
|
722
735
|
# },
|
723
736
|
# legal_name: "LegalName",
|
724
737
|
# registration_id: "RegistrationId", # required
|
725
|
-
# registration_type: "VAT", # required, accepts VAT, GST, CPF, CNPJ, SST
|
738
|
+
# registration_type: "VAT", # required, accepts VAT, GST, CPF, CNPJ, SST, TIN, NRIC
|
726
739
|
# sector: "Business", # accepts Business, Individual, Government
|
727
740
|
# verification_details: {
|
728
741
|
# date_of_birth: "DateOfBirth",
|
@@ -755,6 +768,29 @@ module Aws::TaxSettings
|
|
755
768
|
req.send_request(options)
|
756
769
|
end
|
757
770
|
|
771
|
+
# Deletes a supplemental tax registration for a single account.
|
772
|
+
#
|
773
|
+
# @option params [required, String] :authority_id
|
774
|
+
# The unique authority Id for the supplemental TRN information that
|
775
|
+
# needs to be deleted.
|
776
|
+
#
|
777
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
778
|
+
#
|
779
|
+
# @example Request syntax with placeholder values
|
780
|
+
#
|
781
|
+
# resp = client.delete_supplemental_tax_registration({
|
782
|
+
# authority_id: "GenericString", # required
|
783
|
+
# })
|
784
|
+
#
|
785
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/DeleteSupplementalTaxRegistration AWS API Documentation
|
786
|
+
#
|
787
|
+
# @overload delete_supplemental_tax_registration(params = {})
|
788
|
+
# @param [Hash] params ({})
|
789
|
+
def delete_supplemental_tax_registration(params = {}, options = {})
|
790
|
+
req = build_request(:delete_supplemental_tax_registration, params)
|
791
|
+
req.send_request(options)
|
792
|
+
end
|
793
|
+
|
758
794
|
# Deletes tax registration for a single account.
|
759
795
|
#
|
760
796
|
# <note markdown="1"> This API operation can't be used to delete your tax registration in
|
@@ -822,8 +858,10 @@ module Aws::TaxSettings
|
|
822
858
|
# resp.tax_registration.additional_tax_information.italy_additional_info.sdi_account_id #=> String
|
823
859
|
# resp.tax_registration.additional_tax_information.italy_additional_info.tax_code #=> String
|
824
860
|
# resp.tax_registration.additional_tax_information.kenya_additional_info.person_type #=> String, one of "Legal Person", "Physical Person", "Business"
|
861
|
+
# resp.tax_registration.additional_tax_information.malaysia_additional_info.business_registration_number #=> String
|
825
862
|
# resp.tax_registration.additional_tax_information.malaysia_additional_info.service_tax_codes #=> Array
|
826
863
|
# resp.tax_registration.additional_tax_information.malaysia_additional_info.service_tax_codes[0] #=> String, one of "Consultancy", "Digital Service And Electronic Medium", "IT Services", "Training Or Coaching"
|
864
|
+
# resp.tax_registration.additional_tax_information.malaysia_additional_info.tax_information_number #=> String
|
827
865
|
# resp.tax_registration.additional_tax_information.poland_additional_info.individual_registration_number #=> String
|
828
866
|
# resp.tax_registration.additional_tax_information.poland_additional_info.is_group_vat_enabled #=> Boolean
|
829
867
|
# resp.tax_registration.additional_tax_information.romania_additional_info.tax_registration_number_type #=> String, one of "TaxRegistrationNumber", "LocalRegistrationNumber"
|
@@ -848,7 +886,7 @@ module Aws::TaxSettings
|
|
848
886
|
# resp.tax_registration.legal_address.state_or_region #=> String
|
849
887
|
# resp.tax_registration.legal_name #=> String
|
850
888
|
# resp.tax_registration.registration_id #=> String
|
851
|
-
# resp.tax_registration.registration_type #=> String, one of "VAT", "GST", "CPF", "CNPJ", "SST"
|
889
|
+
# resp.tax_registration.registration_type #=> String, one of "VAT", "GST", "CPF", "CNPJ", "SST", "TIN", "NRIC"
|
852
890
|
# resp.tax_registration.sector #=> String, one of "Business", "Individual", "Government"
|
853
891
|
# resp.tax_registration.status #=> String, one of "Verified", "Pending", "Deleted", "Rejected"
|
854
892
|
# resp.tax_registration.tax_document_metadatas #=> Array
|
@@ -904,6 +942,55 @@ module Aws::TaxSettings
|
|
904
942
|
req.send_request(options)
|
905
943
|
end
|
906
944
|
|
945
|
+
# Retrieves supplemental tax registrations for a single account.
|
946
|
+
#
|
947
|
+
# @option params [Integer] :max_results
|
948
|
+
# The number of `taxRegistrations` results you want in one response.
|
949
|
+
#
|
950
|
+
# @option params [String] :next_token
|
951
|
+
# The token to retrieve the next set of results.
|
952
|
+
#
|
953
|
+
# @return [Types::ListSupplementalTaxRegistrationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
954
|
+
#
|
955
|
+
# * {Types::ListSupplementalTaxRegistrationsResponse#next_token #next_token} => String
|
956
|
+
# * {Types::ListSupplementalTaxRegistrationsResponse#tax_registrations #tax_registrations} => Array<Types::SupplementalTaxRegistration>
|
957
|
+
#
|
958
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
959
|
+
#
|
960
|
+
# @example Request syntax with placeholder values
|
961
|
+
#
|
962
|
+
# resp = client.list_supplemental_tax_registrations({
|
963
|
+
# max_results: 1,
|
964
|
+
# next_token: "PaginationTokenString",
|
965
|
+
# })
|
966
|
+
#
|
967
|
+
# @example Response structure
|
968
|
+
#
|
969
|
+
# resp.next_token #=> String
|
970
|
+
# resp.tax_registrations #=> Array
|
971
|
+
# resp.tax_registrations[0].address.address_line_1 #=> String
|
972
|
+
# resp.tax_registrations[0].address.address_line_2 #=> String
|
973
|
+
# resp.tax_registrations[0].address.address_line_3 #=> String
|
974
|
+
# resp.tax_registrations[0].address.city #=> String
|
975
|
+
# resp.tax_registrations[0].address.country_code #=> String
|
976
|
+
# resp.tax_registrations[0].address.district_or_county #=> String
|
977
|
+
# resp.tax_registrations[0].address.postal_code #=> String
|
978
|
+
# resp.tax_registrations[0].address.state_or_region #=> String
|
979
|
+
# resp.tax_registrations[0].authority_id #=> String
|
980
|
+
# resp.tax_registrations[0].legal_name #=> String
|
981
|
+
# resp.tax_registrations[0].registration_id #=> String
|
982
|
+
# resp.tax_registrations[0].registration_type #=> String, one of "VAT"
|
983
|
+
# resp.tax_registrations[0].status #=> String, one of "Verified", "Pending", "Deleted", "Rejected"
|
984
|
+
#
|
985
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/ListSupplementalTaxRegistrations AWS API Documentation
|
986
|
+
#
|
987
|
+
# @overload list_supplemental_tax_registrations(params = {})
|
988
|
+
# @param [Hash] params ({})
|
989
|
+
def list_supplemental_tax_registrations(params = {}, options = {})
|
990
|
+
req = build_request(:list_supplemental_tax_registrations, params)
|
991
|
+
req.send_request(options)
|
992
|
+
end
|
993
|
+
|
907
994
|
# Retrieves the tax registration of accounts listed in a consolidated
|
908
995
|
# billing family. This can be used to retrieve up to 100 accounts' tax
|
909
996
|
# registrations in one call (default 50).
|
@@ -964,8 +1051,10 @@ module Aws::TaxSettings
|
|
964
1051
|
# resp.account_details[0].tax_registration.additional_tax_information.italy_additional_info.sdi_account_id #=> String
|
965
1052
|
# resp.account_details[0].tax_registration.additional_tax_information.italy_additional_info.tax_code #=> String
|
966
1053
|
# resp.account_details[0].tax_registration.additional_tax_information.kenya_additional_info.person_type #=> String, one of "Legal Person", "Physical Person", "Business"
|
1054
|
+
# resp.account_details[0].tax_registration.additional_tax_information.malaysia_additional_info.business_registration_number #=> String
|
967
1055
|
# resp.account_details[0].tax_registration.additional_tax_information.malaysia_additional_info.service_tax_codes #=> Array
|
968
1056
|
# resp.account_details[0].tax_registration.additional_tax_information.malaysia_additional_info.service_tax_codes[0] #=> String, one of "Consultancy", "Digital Service And Electronic Medium", "IT Services", "Training Or Coaching"
|
1057
|
+
# resp.account_details[0].tax_registration.additional_tax_information.malaysia_additional_info.tax_information_number #=> String
|
969
1058
|
# resp.account_details[0].tax_registration.additional_tax_information.poland_additional_info.individual_registration_number #=> String
|
970
1059
|
# resp.account_details[0].tax_registration.additional_tax_information.poland_additional_info.is_group_vat_enabled #=> Boolean
|
971
1060
|
# resp.account_details[0].tax_registration.additional_tax_information.romania_additional_info.tax_registration_number_type #=> String, one of "TaxRegistrationNumber", "LocalRegistrationNumber"
|
@@ -984,7 +1073,7 @@ module Aws::TaxSettings
|
|
984
1073
|
# resp.account_details[0].tax_registration.jurisdiction.state_or_region #=> String
|
985
1074
|
# resp.account_details[0].tax_registration.legal_name #=> String
|
986
1075
|
# resp.account_details[0].tax_registration.registration_id #=> String
|
987
|
-
# resp.account_details[0].tax_registration.registration_type #=> String, one of "VAT", "GST", "CPF", "CNPJ", "SST"
|
1076
|
+
# resp.account_details[0].tax_registration.registration_type #=> String, one of "VAT", "GST", "CPF", "CNPJ", "SST", "TIN", "NRIC"
|
988
1077
|
# resp.account_details[0].tax_registration.sector #=> String, one of "Business", "Individual", "Government"
|
989
1078
|
# resp.account_details[0].tax_registration.status #=> String, one of "Verified", "Pending", "Deleted", "Rejected"
|
990
1079
|
# resp.account_details[0].tax_registration.tax_document_metadatas #=> Array
|
@@ -1001,6 +1090,51 @@ module Aws::TaxSettings
|
|
1001
1090
|
req.send_request(options)
|
1002
1091
|
end
|
1003
1092
|
|
1093
|
+
# Stores supplemental tax registration for a single account.
|
1094
|
+
#
|
1095
|
+
# @option params [required, Types::SupplementalTaxRegistrationEntry] :tax_registration_entry
|
1096
|
+
# The supplemental TRN information that will be stored for the caller
|
1097
|
+
# account ID.
|
1098
|
+
#
|
1099
|
+
# @return [Types::PutSupplementalTaxRegistrationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1100
|
+
#
|
1101
|
+
# * {Types::PutSupplementalTaxRegistrationResponse#authority_id #authority_id} => String
|
1102
|
+
# * {Types::PutSupplementalTaxRegistrationResponse#status #status} => String
|
1103
|
+
#
|
1104
|
+
# @example Request syntax with placeholder values
|
1105
|
+
#
|
1106
|
+
# resp = client.put_supplemental_tax_registration({
|
1107
|
+
# tax_registration_entry: { # required
|
1108
|
+
# address: { # required
|
1109
|
+
# address_line_1: "AddressLine1", # required
|
1110
|
+
# address_line_2: "AddressLine2",
|
1111
|
+
# address_line_3: "AddressLine3",
|
1112
|
+
# city: "City", # required
|
1113
|
+
# country_code: "CountryCode", # required
|
1114
|
+
# district_or_county: "District",
|
1115
|
+
# postal_code: "PostalCode", # required
|
1116
|
+
# state_or_region: "State",
|
1117
|
+
# },
|
1118
|
+
# legal_name: "LegalName", # required
|
1119
|
+
# registration_id: "RegistrationId", # required
|
1120
|
+
# registration_type: "VAT", # required, accepts VAT
|
1121
|
+
# },
|
1122
|
+
# })
|
1123
|
+
#
|
1124
|
+
# @example Response structure
|
1125
|
+
#
|
1126
|
+
# resp.authority_id #=> String
|
1127
|
+
# resp.status #=> String, one of "Verified", "Pending", "Deleted", "Rejected"
|
1128
|
+
#
|
1129
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/PutSupplementalTaxRegistration AWS API Documentation
|
1130
|
+
#
|
1131
|
+
# @overload put_supplemental_tax_registration(params = {})
|
1132
|
+
# @param [Hash] params ({})
|
1133
|
+
def put_supplemental_tax_registration(params = {}, options = {})
|
1134
|
+
req = build_request(:put_supplemental_tax_registration, params)
|
1135
|
+
req.send_request(options)
|
1136
|
+
end
|
1137
|
+
|
1004
1138
|
# Adds or updates tax registration for a single account. You can't set
|
1005
1139
|
# a TRN if there's a pending TRN. You'll need to delete the pending
|
1006
1140
|
# TRN first.
|
@@ -1043,25 +1177,36 @@ module Aws::TaxSettings
|
|
1043
1177
|
#
|
1044
1178
|
# **Malaysia**
|
1045
1179
|
#
|
1046
|
-
# *
|
1047
|
-
#
|
1048
|
-
#
|
1180
|
+
# * The sector valid values are `Business` and `Individual`.
|
1181
|
+
#
|
1182
|
+
# * `RegistrationType` valid values are `NRIC` for individual, and TIN
|
1183
|
+
# and sales and service tax (SST) for Business.
|
1184
|
+
#
|
1185
|
+
# * For individual, you can specify the `taxInformationNumber` in
|
1186
|
+
# `MalaysiaAdditionalInfo` with NRIC type, and a valid `MyKad` or NRIC
|
1187
|
+
# number.
|
1049
1188
|
#
|
1050
|
-
# *
|
1051
|
-
#
|
1052
|
-
#
|
1053
|
-
#
|
1189
|
+
# * For business, you must specify a `businessRegistrationNumber` in
|
1190
|
+
# `MalaysiaAdditionalInfo` with a TIN type and tax identification
|
1191
|
+
# number.
|
1192
|
+
#
|
1193
|
+
# * For business resellers, you must specify a
|
1194
|
+
# `businessRegistrationNumber` and `taxInformationNumber` in
|
1195
|
+
# `MalaysiaAdditionalInfo` with a sales and service tax (SST) type and
|
1196
|
+
# a valid SST number.
|
1197
|
+
#
|
1198
|
+
# * For business resellers with service codes, you must specify
|
1199
|
+
# `businessRegistrationNumber`, `taxInformationNumber`, and distinct
|
1200
|
+
# `serviceTaxCodes` in `MalaysiaAdditionalInfo` with a SST type and
|
1201
|
+
# valid sales and service tax (SST) number. By using this API
|
1202
|
+
# operation, Amazon Web Services registers your self-declaration that
|
1203
|
+
# you’re an authorized business reseller registered with the Royal
|
1204
|
+
# Malaysia Customs Department (RMCD), and have a valid SST number.
|
1054
1205
|
#
|
1055
1206
|
# * Amazon Web Services reserves the right to seek additional
|
1056
1207
|
# information and/or take other actions to support your
|
1057
1208
|
# self-declaration as appropriate.
|
1058
1209
|
#
|
1059
|
-
# * If you're not a reseller of Amazon Web Services, we don't
|
1060
|
-
# recommend that you use this operation to set the TRN in Malaysia.
|
1061
|
-
#
|
1062
|
-
# * Only use this API operation to upload the TRNs for accounts through
|
1063
|
-
# which you're reselling Amazon Web Services.
|
1064
|
-
#
|
1065
1210
|
# * Amazon Web Services is currently registered under the following
|
1066
1211
|
# service tax codes. You must include at least one of the service tax
|
1067
1212
|
# codes in the service tax code strings to declare yourself as an
|
@@ -1189,7 +1334,9 @@ module Aws::TaxSettings
|
|
1189
1334
|
# person_type: "Legal Person", # required, accepts Legal Person, Physical Person, Business
|
1190
1335
|
# },
|
1191
1336
|
# malaysia_additional_info: {
|
1192
|
-
#
|
1337
|
+
# business_registration_number: "BusinessRegistrationNumber",
|
1338
|
+
# service_tax_codes: ["Consultancy"], # accepts Consultancy, Digital Service And Electronic Medium, IT Services, Training Or Coaching
|
1339
|
+
# tax_information_number: "TaxInformationNumber",
|
1193
1340
|
# },
|
1194
1341
|
# poland_additional_info: {
|
1195
1342
|
# individual_registration_number: "IndividualRegistrationNumber",
|
@@ -1232,7 +1379,7 @@ module Aws::TaxSettings
|
|
1232
1379
|
# },
|
1233
1380
|
# legal_name: "LegalName",
|
1234
1381
|
# registration_id: "RegistrationId", # required
|
1235
|
-
# registration_type: "VAT", # required, accepts VAT, GST, CPF, CNPJ, SST
|
1382
|
+
# registration_type: "VAT", # required, accepts VAT, GST, CPF, CNPJ, SST, TIN, NRIC
|
1236
1383
|
# sector: "Business", # accepts Business, Individual, Government
|
1237
1384
|
# verification_details: {
|
1238
1385
|
# date_of_birth: "DateOfBirth",
|
@@ -1279,7 +1426,7 @@ module Aws::TaxSettings
|
|
1279
1426
|
tracer: tracer
|
1280
1427
|
)
|
1281
1428
|
context[:gem_name] = 'aws-sdk-taxsettings'
|
1282
|
-
context[:gem_version] = '1.
|
1429
|
+
context[:gem_version] = '1.13.0'
|
1283
1430
|
Seahorse::Client::Request.new(handlers, context)
|
1284
1431
|
end
|
1285
1432
|
|
@@ -38,6 +38,7 @@ module Aws::TaxSettings
|
|
38
38
|
BatchPutTaxRegistrationResponse = Shapes::StructureShape.new(name: 'BatchPutTaxRegistrationResponse')
|
39
39
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
40
40
|
BrazilAdditionalInfo = Shapes::StructureShape.new(name: 'BrazilAdditionalInfo')
|
41
|
+
BusinessRegistrationNumber = Shapes::StringShape.new(name: 'BusinessRegistrationNumber')
|
41
42
|
BusinessRepresentativeName = Shapes::StringShape.new(name: 'BusinessRepresentativeName')
|
42
43
|
CanadaAdditionalInfo = Shapes::StructureShape.new(name: 'CanadaAdditionalInfo')
|
43
44
|
CanadaProvincialSalesTaxIdString = Shapes::StringShape.new(name: 'CanadaProvincialSalesTaxIdString')
|
@@ -51,6 +52,8 @@ module Aws::TaxSettings
|
|
51
52
|
CountryCode = Shapes::StringShape.new(name: 'CountryCode')
|
52
53
|
CupNumber = Shapes::StringShape.new(name: 'CupNumber')
|
53
54
|
DateOfBirth = Shapes::StringShape.new(name: 'DateOfBirth')
|
55
|
+
DeleteSupplementalTaxRegistrationRequest = Shapes::StructureShape.new(name: 'DeleteSupplementalTaxRegistrationRequest')
|
56
|
+
DeleteSupplementalTaxRegistrationResponse = Shapes::StructureShape.new(name: 'DeleteSupplementalTaxRegistrationResponse')
|
54
57
|
DeleteTaxRegistrationRequest = Shapes::StructureShape.new(name: 'DeleteTaxRegistrationRequest')
|
55
58
|
DeleteTaxRegistrationResponse = Shapes::StructureShape.new(name: 'DeleteTaxRegistrationResponse')
|
56
59
|
DestinationFilePath = Shapes::StringShape.new(name: 'DestinationFilePath')
|
@@ -60,6 +63,7 @@ module Aws::TaxSettings
|
|
60
63
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
61
64
|
EstoniaAdditionalInfo = Shapes::StructureShape.new(name: 'EstoniaAdditionalInfo')
|
62
65
|
FieldName = Shapes::StringShape.new(name: 'FieldName')
|
66
|
+
GenericString = Shapes::StringShape.new(name: 'GenericString')
|
63
67
|
GeorgiaAdditionalInfo = Shapes::StructureShape.new(name: 'GeorgiaAdditionalInfo')
|
64
68
|
GetTaxRegistrationDocumentRequest = Shapes::StructureShape.new(name: 'GetTaxRegistrationDocumentRequest')
|
65
69
|
GetTaxRegistrationDocumentResponse = Shapes::StructureShape.new(name: 'GetTaxRegistrationDocumentResponse')
|
@@ -81,6 +85,8 @@ module Aws::TaxSettings
|
|
81
85
|
LegalName = Shapes::StringShape.new(name: 'LegalName')
|
82
86
|
LegalNatureCode = Shapes::StringShape.new(name: 'LegalNatureCode')
|
83
87
|
LineOfBusiness = Shapes::StringShape.new(name: 'LineOfBusiness')
|
88
|
+
ListSupplementalTaxRegistrationsRequest = Shapes::StructureShape.new(name: 'ListSupplementalTaxRegistrationsRequest')
|
89
|
+
ListSupplementalTaxRegistrationsResponse = Shapes::StructureShape.new(name: 'ListSupplementalTaxRegistrationsResponse')
|
84
90
|
ListTaxRegistrationsRequest = Shapes::StructureShape.new(name: 'ListTaxRegistrationsRequest')
|
85
91
|
ListTaxRegistrationsResponse = Shapes::StructureShape.new(name: 'ListTaxRegistrationsResponse')
|
86
92
|
MalaysiaAdditionalInfo = Shapes::StructureShape.new(name: 'MalaysiaAdditionalInfo')
|
@@ -92,6 +98,8 @@ module Aws::TaxSettings
|
|
92
98
|
PersonType = Shapes::StringShape.new(name: 'PersonType')
|
93
99
|
PolandAdditionalInfo = Shapes::StructureShape.new(name: 'PolandAdditionalInfo')
|
94
100
|
PostalCode = Shapes::StringShape.new(name: 'PostalCode')
|
101
|
+
PutSupplementalTaxRegistrationRequest = Shapes::StructureShape.new(name: 'PutSupplementalTaxRegistrationRequest')
|
102
|
+
PutSupplementalTaxRegistrationResponse = Shapes::StructureShape.new(name: 'PutSupplementalTaxRegistrationResponse')
|
95
103
|
PutTaxRegistrationRequest = Shapes::StructureShape.new(name: 'PutTaxRegistrationRequest')
|
96
104
|
PutTaxRegistrationResponse = Shapes::StructureShape.new(name: 'PutTaxRegistrationResponse')
|
97
105
|
RegistrationId = Shapes::StringShape.new(name: 'RegistrationId')
|
@@ -112,11 +120,16 @@ module Aws::TaxSettings
|
|
112
120
|
SouthKoreaAdditionalInfo = Shapes::StructureShape.new(name: 'SouthKoreaAdditionalInfo')
|
113
121
|
SpainAdditionalInfo = Shapes::StructureShape.new(name: 'SpainAdditionalInfo')
|
114
122
|
State = Shapes::StringShape.new(name: 'State')
|
123
|
+
SupplementalTaxRegistration = Shapes::StructureShape.new(name: 'SupplementalTaxRegistration')
|
124
|
+
SupplementalTaxRegistrationEntry = Shapes::StructureShape.new(name: 'SupplementalTaxRegistrationEntry')
|
125
|
+
SupplementalTaxRegistrationList = Shapes::ListShape.new(name: 'SupplementalTaxRegistrationList')
|
126
|
+
SupplementalTaxRegistrationType = Shapes::StringShape.new(name: 'SupplementalTaxRegistrationType')
|
115
127
|
TaxCode = Shapes::StringShape.new(name: 'TaxCode')
|
116
128
|
TaxDocumentAccessToken = Shapes::StringShape.new(name: 'TaxDocumentAccessToken')
|
117
129
|
TaxDocumentMetadata = Shapes::StructureShape.new(name: 'TaxDocumentMetadata')
|
118
130
|
TaxDocumentMetadatas = Shapes::ListShape.new(name: 'TaxDocumentMetadatas')
|
119
131
|
TaxDocumentName = Shapes::StringShape.new(name: 'TaxDocumentName')
|
132
|
+
TaxInformationNumber = Shapes::StringShape.new(name: 'TaxInformationNumber')
|
120
133
|
TaxInheritanceDetails = Shapes::StructureShape.new(name: 'TaxInheritanceDetails')
|
121
134
|
TaxOffice = Shapes::StringShape.new(name: 'TaxOffice')
|
122
135
|
TaxRegistration = Shapes::StructureShape.new(name: 'TaxRegistration')
|
@@ -242,6 +255,11 @@ module Aws::TaxSettings
|
|
242
255
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
|
243
256
|
ConflictException.struct_class = Types::ConflictException
|
244
257
|
|
258
|
+
DeleteSupplementalTaxRegistrationRequest.add_member(:authority_id, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "authorityId"))
|
259
|
+
DeleteSupplementalTaxRegistrationRequest.struct_class = Types::DeleteSupplementalTaxRegistrationRequest
|
260
|
+
|
261
|
+
DeleteSupplementalTaxRegistrationResponse.struct_class = Types::DeleteSupplementalTaxRegistrationResponse
|
262
|
+
|
245
263
|
DeleteTaxRegistrationRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
|
246
264
|
DeleteTaxRegistrationRequest.struct_class = Types::DeleteTaxRegistrationRequest
|
247
265
|
|
@@ -294,6 +312,14 @@ module Aws::TaxSettings
|
|
294
312
|
KenyaAdditionalInfo.add_member(:person_type, Shapes::ShapeRef.new(shape: PersonType, required: true, location_name: "personType"))
|
295
313
|
KenyaAdditionalInfo.struct_class = Types::KenyaAdditionalInfo
|
296
314
|
|
315
|
+
ListSupplementalTaxRegistrationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
316
|
+
ListSupplementalTaxRegistrationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationTokenString, location_name: "nextToken"))
|
317
|
+
ListSupplementalTaxRegistrationsRequest.struct_class = Types::ListSupplementalTaxRegistrationsRequest
|
318
|
+
|
319
|
+
ListSupplementalTaxRegistrationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationTokenString, location_name: "nextToken"))
|
320
|
+
ListSupplementalTaxRegistrationsResponse.add_member(:tax_registrations, Shapes::ShapeRef.new(shape: SupplementalTaxRegistrationList, required: true, location_name: "taxRegistrations"))
|
321
|
+
ListSupplementalTaxRegistrationsResponse.struct_class = Types::ListSupplementalTaxRegistrationsResponse
|
322
|
+
|
297
323
|
ListTaxRegistrationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
298
324
|
ListTaxRegistrationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationTokenString, location_name: "nextToken"))
|
299
325
|
ListTaxRegistrationsRequest.struct_class = Types::ListTaxRegistrationsRequest
|
@@ -302,7 +328,9 @@ module Aws::TaxSettings
|
|
302
328
|
ListTaxRegistrationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationTokenString, location_name: "nextToken"))
|
303
329
|
ListTaxRegistrationsResponse.struct_class = Types::ListTaxRegistrationsResponse
|
304
330
|
|
305
|
-
MalaysiaAdditionalInfo.add_member(:
|
331
|
+
MalaysiaAdditionalInfo.add_member(:business_registration_number, Shapes::ShapeRef.new(shape: BusinessRegistrationNumber, location_name: "businessRegistrationNumber"))
|
332
|
+
MalaysiaAdditionalInfo.add_member(:service_tax_codes, Shapes::ShapeRef.new(shape: MalaysiaServiceTaxCodesList, location_name: "serviceTaxCodes"))
|
333
|
+
MalaysiaAdditionalInfo.add_member(:tax_information_number, Shapes::ShapeRef.new(shape: TaxInformationNumber, location_name: "taxInformationNumber"))
|
306
334
|
MalaysiaAdditionalInfo.struct_class = Types::MalaysiaAdditionalInfo
|
307
335
|
|
308
336
|
MalaysiaServiceTaxCodesList.member = Shapes::ShapeRef.new(shape: MalaysiaServiceTaxCode)
|
@@ -311,6 +339,13 @@ module Aws::TaxSettings
|
|
311
339
|
PolandAdditionalInfo.add_member(:is_group_vat_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "isGroupVatEnabled"))
|
312
340
|
PolandAdditionalInfo.struct_class = Types::PolandAdditionalInfo
|
313
341
|
|
342
|
+
PutSupplementalTaxRegistrationRequest.add_member(:tax_registration_entry, Shapes::ShapeRef.new(shape: SupplementalTaxRegistrationEntry, required: true, location_name: "taxRegistrationEntry"))
|
343
|
+
PutSupplementalTaxRegistrationRequest.struct_class = Types::PutSupplementalTaxRegistrationRequest
|
344
|
+
|
345
|
+
PutSupplementalTaxRegistrationResponse.add_member(:authority_id, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "authorityId"))
|
346
|
+
PutSupplementalTaxRegistrationResponse.add_member(:status, Shapes::ShapeRef.new(shape: TaxRegistrationStatus, required: true, location_name: "status"))
|
347
|
+
PutSupplementalTaxRegistrationResponse.struct_class = Types::PutSupplementalTaxRegistrationResponse
|
348
|
+
|
314
349
|
PutTaxRegistrationRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
|
315
350
|
PutTaxRegistrationRequest.add_member(:tax_registration_entry, Shapes::ShapeRef.new(shape: TaxRegistrationEntry, required: true, location_name: "taxRegistrationEntry"))
|
316
351
|
PutTaxRegistrationRequest.struct_class = Types::PutTaxRegistrationRequest
|
@@ -340,6 +375,22 @@ module Aws::TaxSettings
|
|
340
375
|
SpainAdditionalInfo.add_member(:registration_type, Shapes::ShapeRef.new(shape: RegistrationType, required: true, location_name: "registrationType"))
|
341
376
|
SpainAdditionalInfo.struct_class = Types::SpainAdditionalInfo
|
342
377
|
|
378
|
+
SupplementalTaxRegistration.add_member(:address, Shapes::ShapeRef.new(shape: Address, required: true, location_name: "address"))
|
379
|
+
SupplementalTaxRegistration.add_member(:authority_id, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "authorityId"))
|
380
|
+
SupplementalTaxRegistration.add_member(:legal_name, Shapes::ShapeRef.new(shape: LegalName, required: true, location_name: "legalName"))
|
381
|
+
SupplementalTaxRegistration.add_member(:registration_id, Shapes::ShapeRef.new(shape: RegistrationId, required: true, location_name: "registrationId"))
|
382
|
+
SupplementalTaxRegistration.add_member(:registration_type, Shapes::ShapeRef.new(shape: SupplementalTaxRegistrationType, required: true, location_name: "registrationType"))
|
383
|
+
SupplementalTaxRegistration.add_member(:status, Shapes::ShapeRef.new(shape: TaxRegistrationStatus, required: true, location_name: "status"))
|
384
|
+
SupplementalTaxRegistration.struct_class = Types::SupplementalTaxRegistration
|
385
|
+
|
386
|
+
SupplementalTaxRegistrationEntry.add_member(:address, Shapes::ShapeRef.new(shape: Address, required: true, location_name: "address"))
|
387
|
+
SupplementalTaxRegistrationEntry.add_member(:legal_name, Shapes::ShapeRef.new(shape: LegalName, required: true, location_name: "legalName"))
|
388
|
+
SupplementalTaxRegistrationEntry.add_member(:registration_id, Shapes::ShapeRef.new(shape: RegistrationId, required: true, location_name: "registrationId"))
|
389
|
+
SupplementalTaxRegistrationEntry.add_member(:registration_type, Shapes::ShapeRef.new(shape: SupplementalTaxRegistrationType, required: true, location_name: "registrationType"))
|
390
|
+
SupplementalTaxRegistrationEntry.struct_class = Types::SupplementalTaxRegistrationEntry
|
391
|
+
|
392
|
+
SupplementalTaxRegistrationList.member = Shapes::ShapeRef.new(shape: SupplementalTaxRegistration)
|
393
|
+
|
343
394
|
TaxDocumentMetadata.add_member(:tax_document_access_token, Shapes::ShapeRef.new(shape: TaxDocumentAccessToken, required: true, location_name: "taxDocumentAccessToken"))
|
344
395
|
TaxDocumentMetadata.add_member(:tax_document_name, Shapes::ShapeRef.new(shape: TaxDocumentName, required: true, location_name: "taxDocumentName"))
|
345
396
|
TaxDocumentMetadata.struct_class = Types::TaxDocumentMetadata
|
@@ -452,6 +503,18 @@ module Aws::TaxSettings
|
|
452
503
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
453
504
|
end)
|
454
505
|
|
506
|
+
api.add_operation(:delete_supplemental_tax_registration, Seahorse::Model::Operation.new.tap do |o|
|
507
|
+
o.name = "DeleteSupplementalTaxRegistration"
|
508
|
+
o.http_method = "POST"
|
509
|
+
o.http_request_uri = "/DeleteSupplementalTaxRegistration"
|
510
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteSupplementalTaxRegistrationRequest)
|
511
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteSupplementalTaxRegistrationResponse)
|
512
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
513
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
514
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
515
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
516
|
+
end)
|
517
|
+
|
455
518
|
api.add_operation(:delete_tax_registration, Seahorse::Model::Operation.new.tap do |o|
|
456
519
|
o.name = "DeleteTaxRegistration"
|
457
520
|
o.http_method = "POST"
|
@@ -485,6 +548,23 @@ module Aws::TaxSettings
|
|
485
548
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
486
549
|
end)
|
487
550
|
|
551
|
+
api.add_operation(:list_supplemental_tax_registrations, Seahorse::Model::Operation.new.tap do |o|
|
552
|
+
o.name = "ListSupplementalTaxRegistrations"
|
553
|
+
o.http_method = "POST"
|
554
|
+
o.http_request_uri = "/ListSupplementalTaxRegistrations"
|
555
|
+
o.input = Shapes::ShapeRef.new(shape: ListSupplementalTaxRegistrationsRequest)
|
556
|
+
o.output = Shapes::ShapeRef.new(shape: ListSupplementalTaxRegistrationsResponse)
|
557
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
558
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
559
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
560
|
+
o[:pager] = Aws::Pager.new(
|
561
|
+
limit_key: "max_results",
|
562
|
+
tokens: {
|
563
|
+
"next_token" => "next_token"
|
564
|
+
}
|
565
|
+
)
|
566
|
+
end)
|
567
|
+
|
488
568
|
api.add_operation(:list_tax_registrations, Seahorse::Model::Operation.new.tap do |o|
|
489
569
|
o.name = "ListTaxRegistrations"
|
490
570
|
o.http_method = "POST"
|
@@ -502,6 +582,17 @@ module Aws::TaxSettings
|
|
502
582
|
)
|
503
583
|
end)
|
504
584
|
|
585
|
+
api.add_operation(:put_supplemental_tax_registration, Seahorse::Model::Operation.new.tap do |o|
|
586
|
+
o.name = "PutSupplementalTaxRegistration"
|
587
|
+
o.http_method = "POST"
|
588
|
+
o.http_request_uri = "/PutSupplementalTaxRegistration"
|
589
|
+
o.input = Shapes::ShapeRef.new(shape: PutSupplementalTaxRegistrationRequest)
|
590
|
+
o.output = Shapes::ShapeRef.new(shape: PutSupplementalTaxRegistrationResponse)
|
591
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
592
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
593
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
594
|
+
end)
|
595
|
+
|
505
596
|
api.add_operation(:put_tax_registration, Seahorse::Model::Operation.new.tap do |o|
|
506
597
|
o.name = "PutTaxRegistration"
|
507
598
|
o.http_method = "POST"
|
@@ -301,7 +301,9 @@ module Aws::TaxSettings
|
|
301
301
|
# @return [String]
|
302
302
|
#
|
303
303
|
# @!attribute [rw] state_or_region
|
304
|
-
# The state, region, or province that the address is located.
|
304
|
+
# The state, region, or province that the address is located. This
|
305
|
+
# field is only required for Canada, India, United Arab Emirates,
|
306
|
+
# Romania, and Brazil (CPF). It is optional for all other countries.
|
305
307
|
#
|
306
308
|
# If this is required for tax settings, use the same name as shown on
|
307
309
|
# the **Tax Settings** page.
|
@@ -474,10 +476,10 @@ module Aws::TaxSettings
|
|
474
476
|
#
|
475
477
|
# @!attribute [rw] canada_retail_sales_tax_number
|
476
478
|
# Manitoba Retail Sales Tax ID number. Customers purchasing Amazon Web
|
477
|
-
# Services for resale in Manitoba must provide a valid Retail
|
478
|
-
# Tax ID number for Manitoba. Leave this blank if you do not
|
479
|
-
# Retail Sales Tax ID number in Manitoba or are not purchasing
|
480
|
-
# Web Services for resale.
|
479
|
+
# Services services for resale in Manitoba must provide a valid Retail
|
480
|
+
# Sales Tax ID number for Manitoba. Leave this blank if you do not
|
481
|
+
# have a Retail Sales Tax ID number in Manitoba or are not purchasing
|
482
|
+
# Amazon Web Services services for resale.
|
481
483
|
# @return [String]
|
482
484
|
#
|
483
485
|
# @!attribute [rw] is_reseller_account
|
@@ -537,6 +539,23 @@ module Aws::TaxSettings
|
|
537
539
|
include Aws::Structure
|
538
540
|
end
|
539
541
|
|
542
|
+
# @!attribute [rw] authority_id
|
543
|
+
# The unique authority Id for the supplemental TRN information that
|
544
|
+
# needs to be deleted.
|
545
|
+
# @return [String]
|
546
|
+
#
|
547
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/DeleteSupplementalTaxRegistrationRequest AWS API Documentation
|
548
|
+
#
|
549
|
+
class DeleteSupplementalTaxRegistrationRequest < Struct.new(
|
550
|
+
:authority_id)
|
551
|
+
SENSITIVE = []
|
552
|
+
include Aws::Structure
|
553
|
+
end
|
554
|
+
|
555
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/DeleteSupplementalTaxRegistrationResponse AWS API Documentation
|
556
|
+
#
|
557
|
+
class DeleteSupplementalTaxRegistrationResponse < Aws::EmptyStructure; end
|
558
|
+
|
540
559
|
# @!attribute [rw] account_id
|
541
560
|
# Unique account identifier for the TRN information that needs to be
|
542
561
|
# deleted. If this isn't passed, the account ID corresponding to the
|
@@ -789,6 +808,40 @@ module Aws::TaxSettings
|
|
789
808
|
include Aws::Structure
|
790
809
|
end
|
791
810
|
|
811
|
+
# @!attribute [rw] max_results
|
812
|
+
# The number of `taxRegistrations` results you want in one response.
|
813
|
+
# @return [Integer]
|
814
|
+
#
|
815
|
+
# @!attribute [rw] next_token
|
816
|
+
# The token to retrieve the next set of results.
|
817
|
+
# @return [String]
|
818
|
+
#
|
819
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/ListSupplementalTaxRegistrationsRequest AWS API Documentation
|
820
|
+
#
|
821
|
+
class ListSupplementalTaxRegistrationsRequest < Struct.new(
|
822
|
+
:max_results,
|
823
|
+
:next_token)
|
824
|
+
SENSITIVE = []
|
825
|
+
include Aws::Structure
|
826
|
+
end
|
827
|
+
|
828
|
+
# @!attribute [rw] next_token
|
829
|
+
# The token to retrieve the next set of results.
|
830
|
+
# @return [String]
|
831
|
+
#
|
832
|
+
# @!attribute [rw] tax_registrations
|
833
|
+
# The list of supplemental tax registrations.
|
834
|
+
# @return [Array<Types::SupplementalTaxRegistration>]
|
835
|
+
#
|
836
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/ListSupplementalTaxRegistrationsResponse AWS API Documentation
|
837
|
+
#
|
838
|
+
class ListSupplementalTaxRegistrationsResponse < Struct.new(
|
839
|
+
:next_token,
|
840
|
+
:tax_registrations)
|
841
|
+
SENSITIVE = [:tax_registrations]
|
842
|
+
include Aws::Structure
|
843
|
+
end
|
844
|
+
|
792
845
|
# @!attribute [rw] max_results
|
793
846
|
# Number of `accountDetails` results you want in one response.
|
794
847
|
# @return [Integer]
|
@@ -826,14 +879,56 @@ module Aws::TaxSettings
|
|
826
879
|
|
827
880
|
# Additional tax information associated with your TRN in Malaysia.
|
828
881
|
#
|
882
|
+
# @!attribute [rw] business_registration_number
|
883
|
+
# The tax registration number (TRN) in Malaysia.
|
884
|
+
#
|
885
|
+
# For individual, you can specify the `taxInformationNumber` in
|
886
|
+
# `MalaysiaAdditionalInfo` with NRIC type, and a valid MyKad or NRIC
|
887
|
+
# number. For business, you must specify a
|
888
|
+
# `businessRegistrationNumber` in `MalaysiaAdditionalInfo` with a TIN
|
889
|
+
# type and tax identification number. For business resellers, you must
|
890
|
+
# specify a `businessRegistrationNumber` and `taxInformationNumber` in
|
891
|
+
# `MalaysiaAdditionalInfo` with a sales and service tax (SST) type and
|
892
|
+
# a valid SST number.
|
893
|
+
#
|
894
|
+
# For business resellers with service codes, you must specify
|
895
|
+
# `businessRegistrationNumber`, `taxInformationNumber`, and distinct
|
896
|
+
# `serviceTaxCodes` in `MalaysiaAdditionalInfo` with a SST type and
|
897
|
+
# valid sales and service tax (SST) number. By using this API
|
898
|
+
# operation, Amazon Web Services registers your self-declaration that
|
899
|
+
# you’re an authorized business reseller registered with the Royal
|
900
|
+
# Malaysia Customs Department (RMCD), and have a valid SST number.
|
901
|
+
# @return [String]
|
902
|
+
#
|
829
903
|
# @!attribute [rw] service_tax_codes
|
830
904
|
# List of service tax codes for your TRN in Malaysia.
|
831
905
|
# @return [Array<String>]
|
832
906
|
#
|
907
|
+
# @!attribute [rw] tax_information_number
|
908
|
+
# The tax information number in Malaysia.
|
909
|
+
#
|
910
|
+
# For individual, you can specify the `taxInformationNumber` in
|
911
|
+
# `MalaysiaAdditionalInfo` with NRIC type, and a valid MyKad or NRIC
|
912
|
+
# number. For business resellers, you must specify a
|
913
|
+
# `businessRegistrationNumber` and `taxInformationNumber` in
|
914
|
+
# `MalaysiaAdditionalInfo` with a sales and service tax (SST) type and
|
915
|
+
# a valid SST number.
|
916
|
+
#
|
917
|
+
# For business resellers with service codes, you must specify
|
918
|
+
# `businessRegistrationNumber`, `taxInformationNumber`, and distinct
|
919
|
+
# `serviceTaxCodes` in `MalaysiaAdditionalInfo` with a SST type and
|
920
|
+
# valid sales and service tax (SST) number. By using this API
|
921
|
+
# operation, Amazon Web Services registers your self-declaration that
|
922
|
+
# you’re an authorized business reseller registered with the Royal
|
923
|
+
# Malaysia Customs Department (RMCD), and have a valid SST number.
|
924
|
+
# @return [String]
|
925
|
+
#
|
833
926
|
# @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/MalaysiaAdditionalInfo AWS API Documentation
|
834
927
|
#
|
835
928
|
class MalaysiaAdditionalInfo < Struct.new(
|
836
|
-
:
|
929
|
+
:business_registration_number,
|
930
|
+
:service_tax_codes,
|
931
|
+
:tax_information_number)
|
837
932
|
SENSITIVE = []
|
838
933
|
include Aws::Structure
|
839
934
|
end
|
@@ -859,6 +954,39 @@ module Aws::TaxSettings
|
|
859
954
|
include Aws::Structure
|
860
955
|
end
|
861
956
|
|
957
|
+
# @!attribute [rw] tax_registration_entry
|
958
|
+
# The supplemental TRN information that will be stored for the caller
|
959
|
+
# account ID.
|
960
|
+
# @return [Types::SupplementalTaxRegistrationEntry]
|
961
|
+
#
|
962
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/PutSupplementalTaxRegistrationRequest AWS API Documentation
|
963
|
+
#
|
964
|
+
class PutSupplementalTaxRegistrationRequest < Struct.new(
|
965
|
+
:tax_registration_entry)
|
966
|
+
SENSITIVE = [:tax_registration_entry]
|
967
|
+
include Aws::Structure
|
968
|
+
end
|
969
|
+
|
970
|
+
# @!attribute [rw] authority_id
|
971
|
+
# Unique authority ID for the supplemental TRN information that was
|
972
|
+
# stored.
|
973
|
+
# @return [String]
|
974
|
+
#
|
975
|
+
# @!attribute [rw] status
|
976
|
+
# The status of the supplemental TRN stored in the system after
|
977
|
+
# processing. Based on the validation occurring on the TRN, the status
|
978
|
+
# can be `Verified`, `Pending`, `Rejected`, or `Deleted`.
|
979
|
+
# @return [String]
|
980
|
+
#
|
981
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/PutSupplementalTaxRegistrationResponse AWS API Documentation
|
982
|
+
#
|
983
|
+
class PutSupplementalTaxRegistrationResponse < Struct.new(
|
984
|
+
:authority_id,
|
985
|
+
:status)
|
986
|
+
SENSITIVE = []
|
987
|
+
include Aws::Structure
|
988
|
+
end
|
989
|
+
|
862
990
|
# @!attribute [rw] account_id
|
863
991
|
# Your unique account identifier.
|
864
992
|
# @return [String]
|
@@ -1000,6 +1128,75 @@ module Aws::TaxSettings
|
|
1000
1128
|
include Aws::Structure
|
1001
1129
|
end
|
1002
1130
|
|
1131
|
+
# Supplemental TRN details.
|
1132
|
+
#
|
1133
|
+
# @!attribute [rw] address
|
1134
|
+
# The details of the address associated with the TRN information.
|
1135
|
+
# @return [Types::Address]
|
1136
|
+
#
|
1137
|
+
# @!attribute [rw] authority_id
|
1138
|
+
# Unique authority ID for the supplemental TRN.
|
1139
|
+
# @return [String]
|
1140
|
+
#
|
1141
|
+
# @!attribute [rw] legal_name
|
1142
|
+
# The legal name associated with your TRN registration.
|
1143
|
+
# @return [String]
|
1144
|
+
#
|
1145
|
+
# @!attribute [rw] registration_id
|
1146
|
+
# The supplemental TRN unique identifier.
|
1147
|
+
# @return [String]
|
1148
|
+
#
|
1149
|
+
# @!attribute [rw] registration_type
|
1150
|
+
# Type of supplemental TRN. Currently, this can only be VAT.
|
1151
|
+
# @return [String]
|
1152
|
+
#
|
1153
|
+
# @!attribute [rw] status
|
1154
|
+
# The status of your TRN.
|
1155
|
+
# @return [String]
|
1156
|
+
#
|
1157
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/SupplementalTaxRegistration AWS API Documentation
|
1158
|
+
#
|
1159
|
+
class SupplementalTaxRegistration < Struct.new(
|
1160
|
+
:address,
|
1161
|
+
:authority_id,
|
1162
|
+
:legal_name,
|
1163
|
+
:registration_id,
|
1164
|
+
:registration_type,
|
1165
|
+
:status)
|
1166
|
+
SENSITIVE = []
|
1167
|
+
include Aws::Structure
|
1168
|
+
end
|
1169
|
+
|
1170
|
+
# The supplemental TRN information to provide when adding or updating a
|
1171
|
+
# supplemental TRN.
|
1172
|
+
#
|
1173
|
+
# @!attribute [rw] address
|
1174
|
+
# The details of the address associated with the TRN information.
|
1175
|
+
# @return [Types::Address]
|
1176
|
+
#
|
1177
|
+
# @!attribute [rw] legal_name
|
1178
|
+
# The legal name associated with your TRN registration.
|
1179
|
+
# @return [String]
|
1180
|
+
#
|
1181
|
+
# @!attribute [rw] registration_id
|
1182
|
+
# The supplemental TRN unique identifier.
|
1183
|
+
# @return [String]
|
1184
|
+
#
|
1185
|
+
# @!attribute [rw] registration_type
|
1186
|
+
# Type of supplemental TRN. Currently, this can only be VAT.
|
1187
|
+
# @return [String]
|
1188
|
+
#
|
1189
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/SupplementalTaxRegistrationEntry AWS API Documentation
|
1190
|
+
#
|
1191
|
+
class SupplementalTaxRegistrationEntry < Struct.new(
|
1192
|
+
:address,
|
1193
|
+
:legal_name,
|
1194
|
+
:registration_id,
|
1195
|
+
:registration_type)
|
1196
|
+
SENSITIVE = []
|
1197
|
+
include Aws::Structure
|
1198
|
+
end
|
1199
|
+
|
1003
1200
|
# The metadata for your tax document.
|
1004
1201
|
#
|
1005
1202
|
# @!attribute [rw] tax_document_access_token
|
data/lib/aws-sdk-taxsettings.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -121,7 +121,9 @@ module Aws
|
|
121
121
|
person_type: ("Legal Person" | "Physical Person" | "Business")
|
122
122
|
}?,
|
123
123
|
malaysia_additional_info: {
|
124
|
-
|
124
|
+
business_registration_number: ::String?,
|
125
|
+
service_tax_codes: Array[("Consultancy" | "Digital Service And Electronic Medium" | "IT Services" | "Training Or Coaching")]?,
|
126
|
+
tax_information_number: ::String?
|
125
127
|
}?,
|
126
128
|
poland_additional_info: {
|
127
129
|
individual_registration_number: ::String?,
|
@@ -164,7 +166,7 @@ module Aws
|
|
164
166
|
}?,
|
165
167
|
legal_name: ::String?,
|
166
168
|
registration_id: ::String,
|
167
|
-
registration_type: ("VAT" | "GST" | "CPF" | "CNPJ" | "SST"),
|
169
|
+
registration_type: ("VAT" | "GST" | "CPF" | "CNPJ" | "SST" | "TIN" | "NRIC"),
|
168
170
|
sector: ("Business" | "Individual" | "Government")?,
|
169
171
|
verification_details: {
|
170
172
|
date_of_birth: ::String?,
|
@@ -181,6 +183,15 @@ module Aws
|
|
181
183
|
) -> _BatchPutTaxRegistrationResponseSuccess
|
182
184
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchPutTaxRegistrationResponseSuccess
|
183
185
|
|
186
|
+
interface _DeleteSupplementalTaxRegistrationResponseSuccess
|
187
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSupplementalTaxRegistrationResponse]
|
188
|
+
end
|
189
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TaxSettings/Client.html#delete_supplemental_tax_registration-instance_method
|
190
|
+
def delete_supplemental_tax_registration: (
|
191
|
+
authority_id: ::String
|
192
|
+
) -> _DeleteSupplementalTaxRegistrationResponseSuccess
|
193
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSupplementalTaxRegistrationResponseSuccess
|
194
|
+
|
184
195
|
interface _DeleteTaxRegistrationResponseSuccess
|
185
196
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteTaxRegistrationResponse]
|
186
197
|
end
|
@@ -217,6 +228,18 @@ module Aws
|
|
217
228
|
) -> _GetTaxRegistrationDocumentResponseSuccess
|
218
229
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTaxRegistrationDocumentResponseSuccess
|
219
230
|
|
231
|
+
interface _ListSupplementalTaxRegistrationsResponseSuccess
|
232
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListSupplementalTaxRegistrationsResponse]
|
233
|
+
def next_token: () -> ::String
|
234
|
+
def tax_registrations: () -> ::Array[Types::SupplementalTaxRegistration]
|
235
|
+
end
|
236
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TaxSettings/Client.html#list_supplemental_tax_registrations-instance_method
|
237
|
+
def list_supplemental_tax_registrations: (
|
238
|
+
?max_results: ::Integer,
|
239
|
+
?next_token: ::String
|
240
|
+
) -> _ListSupplementalTaxRegistrationsResponseSuccess
|
241
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSupplementalTaxRegistrationsResponseSuccess
|
242
|
+
|
220
243
|
interface _ListTaxRegistrationsResponseSuccess
|
221
244
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListTaxRegistrationsResponse]
|
222
245
|
def account_details: () -> ::Array[Types::AccountDetails]
|
@@ -229,6 +252,31 @@ module Aws
|
|
229
252
|
) -> _ListTaxRegistrationsResponseSuccess
|
230
253
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTaxRegistrationsResponseSuccess
|
231
254
|
|
255
|
+
interface _PutSupplementalTaxRegistrationResponseSuccess
|
256
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutSupplementalTaxRegistrationResponse]
|
257
|
+
def authority_id: () -> ::String
|
258
|
+
def status: () -> ("Verified" | "Pending" | "Deleted" | "Rejected")
|
259
|
+
end
|
260
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TaxSettings/Client.html#put_supplemental_tax_registration-instance_method
|
261
|
+
def put_supplemental_tax_registration: (
|
262
|
+
tax_registration_entry: {
|
263
|
+
address: {
|
264
|
+
address_line_1: ::String,
|
265
|
+
address_line_2: ::String?,
|
266
|
+
address_line_3: ::String?,
|
267
|
+
city: ::String,
|
268
|
+
country_code: ::String,
|
269
|
+
district_or_county: ::String?,
|
270
|
+
postal_code: ::String,
|
271
|
+
state_or_region: ::String?
|
272
|
+
},
|
273
|
+
legal_name: ::String,
|
274
|
+
registration_id: ::String,
|
275
|
+
registration_type: ("VAT")
|
276
|
+
}
|
277
|
+
) -> _PutSupplementalTaxRegistrationResponseSuccess
|
278
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutSupplementalTaxRegistrationResponseSuccess
|
279
|
+
|
232
280
|
interface _PutTaxRegistrationResponseSuccess
|
233
281
|
include ::Seahorse::Client::_ResponseSuccess[Types::PutTaxRegistrationResponse]
|
234
282
|
def status: () -> ("Verified" | "Pending" | "Deleted" | "Rejected")
|
@@ -264,7 +312,9 @@ module Aws
|
|
264
312
|
person_type: ("Legal Person" | "Physical Person" | "Business")
|
265
313
|
}?,
|
266
314
|
malaysia_additional_info: {
|
267
|
-
|
315
|
+
business_registration_number: ::String?,
|
316
|
+
service_tax_codes: Array[("Consultancy" | "Digital Service And Electronic Medium" | "IT Services" | "Training Or Coaching")]?,
|
317
|
+
tax_information_number: ::String?
|
268
318
|
}?,
|
269
319
|
poland_additional_info: {
|
270
320
|
individual_registration_number: ::String?,
|
@@ -307,7 +357,7 @@ module Aws
|
|
307
357
|
}?,
|
308
358
|
legal_name: ::String?,
|
309
359
|
registration_id: ::String,
|
310
|
-
registration_type: ("VAT" | "GST" | "CPF" | "CNPJ" | "SST"),
|
360
|
+
registration_type: ("VAT" | "GST" | "CPF" | "CNPJ" | "SST" | "TIN" | "NRIC"),
|
311
361
|
sector: ("Business" | "Individual" | "Government")?,
|
312
362
|
verification_details: {
|
313
363
|
date_of_birth: ::String?,
|
data/sig/types.rbs
CHANGED
@@ -131,6 +131,14 @@ module Aws::TaxSettings
|
|
131
131
|
SENSITIVE: [:message]
|
132
132
|
end
|
133
133
|
|
134
|
+
class DeleteSupplementalTaxRegistrationRequest
|
135
|
+
attr_accessor authority_id: ::String
|
136
|
+
SENSITIVE: []
|
137
|
+
end
|
138
|
+
|
139
|
+
class DeleteSupplementalTaxRegistrationResponse < Aws::EmptyStructure
|
140
|
+
end
|
141
|
+
|
134
142
|
class DeleteTaxRegistrationRequest
|
135
143
|
attr_accessor account_id: ::String
|
136
144
|
SENSITIVE: []
|
@@ -212,6 +220,18 @@ module Aws::TaxSettings
|
|
212
220
|
SENSITIVE: []
|
213
221
|
end
|
214
222
|
|
223
|
+
class ListSupplementalTaxRegistrationsRequest
|
224
|
+
attr_accessor max_results: ::Integer
|
225
|
+
attr_accessor next_token: ::String
|
226
|
+
SENSITIVE: []
|
227
|
+
end
|
228
|
+
|
229
|
+
class ListSupplementalTaxRegistrationsResponse
|
230
|
+
attr_accessor next_token: ::String
|
231
|
+
attr_accessor tax_registrations: ::Array[Types::SupplementalTaxRegistration]
|
232
|
+
SENSITIVE: []
|
233
|
+
end
|
234
|
+
|
215
235
|
class ListTaxRegistrationsRequest
|
216
236
|
attr_accessor max_results: ::Integer
|
217
237
|
attr_accessor next_token: ::String
|
@@ -225,7 +245,9 @@ module Aws::TaxSettings
|
|
225
245
|
end
|
226
246
|
|
227
247
|
class MalaysiaAdditionalInfo
|
248
|
+
attr_accessor business_registration_number: ::String
|
228
249
|
attr_accessor service_tax_codes: ::Array[("Consultancy" | "Digital Service And Electronic Medium" | "IT Services" | "Training Or Coaching")]
|
250
|
+
attr_accessor tax_information_number: ::String
|
229
251
|
SENSITIVE: []
|
230
252
|
end
|
231
253
|
|
@@ -235,6 +257,17 @@ module Aws::TaxSettings
|
|
235
257
|
SENSITIVE: []
|
236
258
|
end
|
237
259
|
|
260
|
+
class PutSupplementalTaxRegistrationRequest
|
261
|
+
attr_accessor tax_registration_entry: Types::SupplementalTaxRegistrationEntry
|
262
|
+
SENSITIVE: [:tax_registration_entry]
|
263
|
+
end
|
264
|
+
|
265
|
+
class PutSupplementalTaxRegistrationResponse
|
266
|
+
attr_accessor authority_id: ::String
|
267
|
+
attr_accessor status: ("Verified" | "Pending" | "Deleted" | "Rejected")
|
268
|
+
SENSITIVE: []
|
269
|
+
end
|
270
|
+
|
238
271
|
class PutTaxRegistrationRequest
|
239
272
|
attr_accessor account_id: ::String
|
240
273
|
attr_accessor tax_registration_entry: Types::TaxRegistrationEntry
|
@@ -280,6 +313,24 @@ module Aws::TaxSettings
|
|
280
313
|
SENSITIVE: []
|
281
314
|
end
|
282
315
|
|
316
|
+
class SupplementalTaxRegistration
|
317
|
+
attr_accessor address: Types::Address
|
318
|
+
attr_accessor authority_id: ::String
|
319
|
+
attr_accessor legal_name: ::String
|
320
|
+
attr_accessor registration_id: ::String
|
321
|
+
attr_accessor registration_type: ("VAT")
|
322
|
+
attr_accessor status: ("Verified" | "Pending" | "Deleted" | "Rejected")
|
323
|
+
SENSITIVE: []
|
324
|
+
end
|
325
|
+
|
326
|
+
class SupplementalTaxRegistrationEntry
|
327
|
+
attr_accessor address: Types::Address
|
328
|
+
attr_accessor legal_name: ::String
|
329
|
+
attr_accessor registration_id: ::String
|
330
|
+
attr_accessor registration_type: ("VAT")
|
331
|
+
SENSITIVE: []
|
332
|
+
end
|
333
|
+
|
283
334
|
class TaxDocumentMetadata
|
284
335
|
attr_accessor tax_document_access_token: ::String
|
285
336
|
attr_accessor tax_document_name: ::String
|
@@ -298,7 +349,7 @@ module Aws::TaxSettings
|
|
298
349
|
attr_accessor legal_address: Types::Address
|
299
350
|
attr_accessor legal_name: ::String
|
300
351
|
attr_accessor registration_id: ::String
|
301
|
-
attr_accessor registration_type: ("VAT" | "GST" | "CPF" | "CNPJ" | "SST")
|
352
|
+
attr_accessor registration_type: ("VAT" | "GST" | "CPF" | "CNPJ" | "SST" | "TIN" | "NRIC")
|
302
353
|
attr_accessor sector: ("Business" | "Individual" | "Government")
|
303
354
|
attr_accessor status: ("Verified" | "Pending" | "Deleted" | "Rejected")
|
304
355
|
attr_accessor tax_document_metadatas: ::Array[Types::TaxDocumentMetadata]
|
@@ -316,7 +367,7 @@ module Aws::TaxSettings
|
|
316
367
|
attr_accessor legal_address: Types::Address
|
317
368
|
attr_accessor legal_name: ::String
|
318
369
|
attr_accessor registration_id: ::String
|
319
|
-
attr_accessor registration_type: ("VAT" | "GST" | "CPF" | "CNPJ" | "SST")
|
370
|
+
attr_accessor registration_type: ("VAT" | "GST" | "CPF" | "CNPJ" | "SST" | "TIN" | "NRIC")
|
320
371
|
attr_accessor sector: ("Business" | "Individual" | "Government")
|
321
372
|
attr_accessor verification_details: Types::VerificationDetails
|
322
373
|
SENSITIVE: []
|
@@ -328,7 +379,7 @@ module Aws::TaxSettings
|
|
328
379
|
attr_accessor jurisdiction: Types::Jurisdiction
|
329
380
|
attr_accessor legal_name: ::String
|
330
381
|
attr_accessor registration_id: ::String
|
331
|
-
attr_accessor registration_type: ("VAT" | "GST" | "CPF" | "CNPJ" | "SST")
|
382
|
+
attr_accessor registration_type: ("VAT" | "GST" | "CPF" | "CNPJ" | "SST" | "TIN" | "NRIC")
|
332
383
|
attr_accessor sector: ("Business" | "Individual" | "Government")
|
333
384
|
attr_accessor status: ("Verified" | "Pending" | "Deleted" | "Rejected")
|
334
385
|
attr_accessor tax_document_metadatas: ::Array[Types::TaxDocumentMetadata]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-taxsettings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|