@aws-sdk/client-taxsettings 3.590.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.
Files changed (119) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +272 -0
  3. package/dist-cjs/TaxSettings.js +25 -0
  4. package/dist-cjs/TaxSettingsClient.js +56 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/BatchDeleteTaxRegistrationCommand.js +29 -0
  8. package/dist-cjs/commands/BatchPutTaxRegistrationCommand.js +29 -0
  9. package/dist-cjs/commands/DeleteTaxRegistrationCommand.js +28 -0
  10. package/dist-cjs/commands/GetTaxRegistrationCommand.js +29 -0
  11. package/dist-cjs/commands/GetTaxRegistrationDocumentCommand.js +28 -0
  12. package/dist-cjs/commands/ListTaxRegistrationsCommand.js +29 -0
  13. package/dist-cjs/commands/PutTaxRegistrationCommand.js +29 -0
  14. package/dist-cjs/commands/index.js +10 -0
  15. package/dist-cjs/endpoint/EndpointParameters.js +18 -0
  16. package/dist-cjs/endpoint/endpointResolver.js +14 -0
  17. package/dist-cjs/endpoint/ruleset.js +7 -0
  18. package/dist-cjs/extensionConfiguration.js +2 -0
  19. package/dist-cjs/index.js +11 -0
  20. package/dist-cjs/models/TaxSettingsServiceException.js +12 -0
  21. package/dist-cjs/models/index.js +4 -0
  22. package/dist-cjs/models/models_0.js +198 -0
  23. package/dist-cjs/pagination/Interfaces.js +2 -0
  24. package/dist-cjs/pagination/ListTaxRegistrationsPaginator.js +7 -0
  25. package/dist-cjs/pagination/index.js +5 -0
  26. package/dist-cjs/protocols/Aws_restJson1.js +311 -0
  27. package/dist-cjs/runtimeConfig.browser.js +39 -0
  28. package/dist-cjs/runtimeConfig.js +49 -0
  29. package/dist-cjs/runtimeConfig.native.js +15 -0
  30. package/dist-cjs/runtimeConfig.shared.js +34 -0
  31. package/dist-cjs/runtimeExtensions.js +25 -0
  32. package/dist-es/TaxSettings.js +21 -0
  33. package/dist-es/TaxSettingsClient.js +52 -0
  34. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  35. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  36. package/dist-es/commands/BatchDeleteTaxRegistrationCommand.js +25 -0
  37. package/dist-es/commands/BatchPutTaxRegistrationCommand.js +25 -0
  38. package/dist-es/commands/DeleteTaxRegistrationCommand.js +24 -0
  39. package/dist-es/commands/GetTaxRegistrationCommand.js +25 -0
  40. package/dist-es/commands/GetTaxRegistrationDocumentCommand.js +24 -0
  41. package/dist-es/commands/ListTaxRegistrationsCommand.js +25 -0
  42. package/dist-es/commands/PutTaxRegistrationCommand.js +25 -0
  43. package/dist-es/commands/index.js +7 -0
  44. package/dist-es/endpoint/EndpointParameters.js +14 -0
  45. package/dist-es/endpoint/endpointResolver.js +10 -0
  46. package/dist-es/endpoint/ruleset.js +4 -0
  47. package/dist-es/extensionConfiguration.js +1 -0
  48. package/dist-es/index.js +6 -0
  49. package/dist-es/models/TaxSettingsServiceException.js +8 -0
  50. package/dist-es/models/index.js +1 -0
  51. package/dist-es/models/models_0.js +178 -0
  52. package/dist-es/pagination/Interfaces.js +1 -0
  53. package/dist-es/pagination/ListTaxRegistrationsPaginator.js +4 -0
  54. package/dist-es/pagination/index.js +2 -0
  55. package/dist-es/protocols/Aws_restJson1.js +294 -0
  56. package/dist-es/runtimeConfig.browser.js +34 -0
  57. package/dist-es/runtimeConfig.js +44 -0
  58. package/dist-es/runtimeConfig.native.js +11 -0
  59. package/dist-es/runtimeConfig.shared.js +30 -0
  60. package/dist-es/runtimeExtensions.js +21 -0
  61. package/dist-types/TaxSettings.d.ts +73 -0
  62. package/dist-types/TaxSettingsClient.d.ts +189 -0
  63. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  64. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  65. package/dist-types/commands/BatchDeleteTaxRegistrationCommand.d.ts +81 -0
  66. package/dist-types/commands/BatchPutTaxRegistrationCommand.d.ts +346 -0
  67. package/dist-types/commands/DeleteTaxRegistrationCommand.d.ts +73 -0
  68. package/dist-types/commands/GetTaxRegistrationCommand.d.ts +158 -0
  69. package/dist-types/commands/GetTaxRegistrationDocumentCommand.d.ts +74 -0
  70. package/dist-types/commands/ListTaxRegistrationsCommand.d.ts +186 -0
  71. package/dist-types/commands/PutTaxRegistrationCommand.d.ts +336 -0
  72. package/dist-types/commands/index.d.ts +7 -0
  73. package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
  74. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  75. package/dist-types/endpoint/ruleset.d.ts +2 -0
  76. package/dist-types/extensionConfiguration.d.ts +9 -0
  77. package/dist-types/index.d.ts +25 -0
  78. package/dist-types/models/TaxSettingsServiceException.d.ts +13 -0
  79. package/dist-types/models/index.d.ts +1 -0
  80. package/dist-types/models/models_0.d.ts +1476 -0
  81. package/dist-types/pagination/Interfaces.d.ts +8 -0
  82. package/dist-types/pagination/ListTaxRegistrationsPaginator.d.ts +7 -0
  83. package/dist-types/pagination/index.d.ts +2 -0
  84. package/dist-types/protocols/Aws_restJson1.d.ts +65 -0
  85. package/dist-types/runtimeConfig.browser.d.ts +45 -0
  86. package/dist-types/runtimeConfig.d.ts +45 -0
  87. package/dist-types/runtimeConfig.native.d.ts +44 -0
  88. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  89. package/dist-types/runtimeExtensions.d.ts +17 -0
  90. package/dist-types/ts3.4/TaxSettings.d.ts +129 -0
  91. package/dist-types/ts3.4/TaxSettingsClient.d.ts +162 -0
  92. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  93. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  94. package/dist-types/ts3.4/commands/BatchDeleteTaxRegistrationCommand.d.ts +39 -0
  95. package/dist-types/ts3.4/commands/BatchPutTaxRegistrationCommand.d.ts +39 -0
  96. package/dist-types/ts3.4/commands/DeleteTaxRegistrationCommand.d.ts +39 -0
  97. package/dist-types/ts3.4/commands/GetTaxRegistrationCommand.d.ts +39 -0
  98. package/dist-types/ts3.4/commands/GetTaxRegistrationDocumentCommand.d.ts +39 -0
  99. package/dist-types/ts3.4/commands/ListTaxRegistrationsCommand.d.ts +39 -0
  100. package/dist-types/ts3.4/commands/PutTaxRegistrationCommand.d.ts +39 -0
  101. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  102. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  103. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  104. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  105. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  106. package/dist-types/ts3.4/index.d.ts +9 -0
  107. package/dist-types/ts3.4/models/TaxSettingsServiceException.d.ts +8 -0
  108. package/dist-types/ts3.4/models/index.d.ts +1 -0
  109. package/dist-types/ts3.4/models/models_0.d.ts +408 -0
  110. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  111. package/dist-types/ts3.4/pagination/ListTaxRegistrationsPaginator.d.ts +11 -0
  112. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  113. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +89 -0
  114. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +85 -0
  115. package/dist-types/ts3.4/runtimeConfig.d.ts +89 -0
  116. package/dist-types/ts3.4/runtimeConfig.native.d.ts +79 -0
  117. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  118. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  119. package/package.json +101 -0
@@ -0,0 +1,186 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListTaxRegistrationsRequest, ListTaxRegistrationsResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TaxSettingsClientResolvedConfig } from "../TaxSettingsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link ListTaxRegistrationsCommand}.
13
+ */
14
+ export interface ListTaxRegistrationsCommandInput extends ListTaxRegistrationsRequest {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link ListTaxRegistrationsCommand}.
20
+ */
21
+ export interface ListTaxRegistrationsCommandOutput extends ListTaxRegistrationsResponse, __MetadataBearer {
22
+ }
23
+ declare const ListTaxRegistrationsCommand_base: {
24
+ new (input: ListTaxRegistrationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListTaxRegistrationsCommandInput, ListTaxRegistrationsCommandOutput, TaxSettingsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (...[input]: [] | [ListTaxRegistrationsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListTaxRegistrationsCommandInput, ListTaxRegistrationsCommandOutput, TaxSettingsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>Retrieves the tax registration of accounts listed in a consolidated billing family. This
30
+ * can be used to retrieve up to 100 accounts' tax registrations in one call (default 50).
31
+ * </p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { TaxSettingsClient, ListTaxRegistrationsCommand } from "@aws-sdk/client-taxsettings"; // ES Modules import
36
+ * // const { TaxSettingsClient, ListTaxRegistrationsCommand } = require("@aws-sdk/client-taxsettings"); // CommonJS import
37
+ * const client = new TaxSettingsClient(config);
38
+ * const input = { // ListTaxRegistrationsRequest
39
+ * maxResults: Number("int"),
40
+ * nextToken: "STRING_VALUE",
41
+ * };
42
+ * const command = new ListTaxRegistrationsCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListTaxRegistrationsResponse
45
+ * // accountDetails: [ // AccountDetailsList // required
46
+ * // { // AccountDetails
47
+ * // accountId: "STRING_VALUE",
48
+ * // taxRegistration: { // TaxRegistrationWithJurisdiction
49
+ * // registrationId: "STRING_VALUE", // required
50
+ * // registrationType: "VAT" || "GST" || "CPF" || "CNPJ" || "SST", // required
51
+ * // legalName: "STRING_VALUE", // required
52
+ * // status: "Verified" || "Pending" || "Deleted" || "Rejected", // required
53
+ * // sector: "Business" || "Individual" || "Government",
54
+ * // taxDocumentMetadatas: [ // TaxDocumentMetadatas
55
+ * // { // TaxDocumentMetadata
56
+ * // taxDocumentAccessToken: "STRING_VALUE", // required
57
+ * // taxDocumentName: "STRING_VALUE", // required
58
+ * // },
59
+ * // ],
60
+ * // certifiedEmailId: "STRING_VALUE",
61
+ * // additionalTaxInformation: { // AdditionalInfoResponse
62
+ * // malaysiaAdditionalInfo: { // MalaysiaAdditionalInfo
63
+ * // serviceTaxCodes: [ // MalaysiaServiceTaxCodesList // required
64
+ * // "Consultancy" || "Digital Service And Electronic Medium" || "IT Services" || "Training Or Coaching",
65
+ * // ],
66
+ * // },
67
+ * // israelAdditionalInfo: { // IsraelAdditionalInfo
68
+ * // dealerType: "Authorized" || "Non-authorized", // required
69
+ * // customerType: "Business" || "Individual", // required
70
+ * // },
71
+ * // estoniaAdditionalInfo: { // EstoniaAdditionalInfo
72
+ * // registryCommercialCode: "STRING_VALUE", // required
73
+ * // },
74
+ * // canadaAdditionalInfo: { // CanadaAdditionalInfo
75
+ * // provincialSalesTaxId: "STRING_VALUE",
76
+ * // canadaQuebecSalesTaxNumber: "STRING_VALUE",
77
+ * // canadaRetailSalesTaxNumber: "STRING_VALUE",
78
+ * // isResellerAccount: true || false,
79
+ * // },
80
+ * // brazilAdditionalInfo: { // BrazilAdditionalInfo
81
+ * // ccmCode: "STRING_VALUE",
82
+ * // legalNatureCode: "STRING_VALUE",
83
+ * // },
84
+ * // spainAdditionalInfo: { // SpainAdditionalInfo
85
+ * // registrationType: "Intra-EU" || "Local", // required
86
+ * // },
87
+ * // kenyaAdditionalInfo: { // KenyaAdditionalInfo
88
+ * // personType: "Legal Person" || "Physical Person" || "Business", // required
89
+ * // },
90
+ * // southKoreaAdditionalInfo: { // SouthKoreaAdditionalInfo
91
+ * // businessRepresentativeName: "STRING_VALUE", // required
92
+ * // lineOfBusiness: "STRING_VALUE", // required
93
+ * // itemOfBusiness: "STRING_VALUE", // required
94
+ * // },
95
+ * // turkeyAdditionalInfo: { // TurkeyAdditionalInfo
96
+ * // taxOffice: "STRING_VALUE",
97
+ * // kepEmailId: "STRING_VALUE",
98
+ * // secondaryTaxId: "STRING_VALUE",
99
+ * // industries: "CirculatingOrg" || "ProfessionalOrg" || "Banks" || "Insurance" || "PensionAndBenefitFunds" || "DevelopmentAgencies",
100
+ * // },
101
+ * // georgiaAdditionalInfo: { // GeorgiaAdditionalInfo
102
+ * // personType: "Legal Person" || "Physical Person" || "Business", // required
103
+ * // },
104
+ * // italyAdditionalInfo: { // ItalyAdditionalInfo
105
+ * // sdiAccountId: "STRING_VALUE",
106
+ * // cigNumber: "STRING_VALUE",
107
+ * // cupNumber: "STRING_VALUE",
108
+ * // taxCode: "STRING_VALUE",
109
+ * // },
110
+ * // romaniaAdditionalInfo: { // RomaniaAdditionalInfo
111
+ * // taxRegistrationNumberType: "TaxRegistrationNumber" || "LocalRegistrationNumber", // required
112
+ * // },
113
+ * // ukraineAdditionalInfo: { // UkraineAdditionalInfo
114
+ * // ukraineTrnType: "Business" || "Individual", // required
115
+ * // },
116
+ * // polandAdditionalInfo: { // PolandAdditionalInfo
117
+ * // individualRegistrationNumber: "STRING_VALUE",
118
+ * // isGroupVatEnabled: true || false,
119
+ * // },
120
+ * // saudiArabiaAdditionalInfo: { // SaudiArabiaAdditionalInfo
121
+ * // taxRegistrationNumberType: "TaxRegistrationNumber" || "TaxIdentificationNumber" || "CommercialRegistrationNumber",
122
+ * // },
123
+ * // indiaAdditionalInfo: { // IndiaAdditionalInfo
124
+ * // pan: "STRING_VALUE",
125
+ * // },
126
+ * // },
127
+ * // jurisdiction: { // Jurisdiction
128
+ * // stateOrRegion: "STRING_VALUE",
129
+ * // countryCode: "STRING_VALUE", // required
130
+ * // },
131
+ * // },
132
+ * // taxInheritanceDetails: { // TaxInheritanceDetails
133
+ * // parentEntityId: "STRING_VALUE",
134
+ * // inheritanceObtainedReason: "STRING_VALUE",
135
+ * // },
136
+ * // accountMetaData: { // AccountMetaData
137
+ * // accountName: "STRING_VALUE",
138
+ * // seller: "STRING_VALUE",
139
+ * // address: { // Address
140
+ * // addressLine1: "STRING_VALUE", // required
141
+ * // addressLine2: "STRING_VALUE",
142
+ * // addressLine3: "STRING_VALUE",
143
+ * // districtOrCounty: "STRING_VALUE",
144
+ * // city: "STRING_VALUE", // required
145
+ * // stateOrRegion: "STRING_VALUE",
146
+ * // postalCode: "STRING_VALUE", // required
147
+ * // countryCode: "STRING_VALUE", // required
148
+ * // },
149
+ * // addressType: "TaxAddress" || "BillingAddress" || "ContactAddress",
150
+ * // addressRoleMap: { // AddressRoleMap
151
+ * // "<keys>": {
152
+ * // stateOrRegion: "STRING_VALUE",
153
+ * // countryCode: "STRING_VALUE", // required
154
+ * // },
155
+ * // },
156
+ * // },
157
+ * // },
158
+ * // ],
159
+ * // nextToken: "STRING_VALUE",
160
+ * // };
161
+ *
162
+ * ```
163
+ *
164
+ * @param ListTaxRegistrationsCommandInput - {@link ListTaxRegistrationsCommandInput}
165
+ * @returns {@link ListTaxRegistrationsCommandOutput}
166
+ * @see {@link ListTaxRegistrationsCommandInput} for command's `input` shape.
167
+ * @see {@link ListTaxRegistrationsCommandOutput} for command's `response` shape.
168
+ * @see {@link TaxSettingsClientResolvedConfig | config} for TaxSettingsClient's `config` shape.
169
+ *
170
+ * @throws {@link InternalServerException} (server fault)
171
+ * <p>The exception thrown when an unexpected error occurs when processing a request.</p>
172
+ *
173
+ * @throws {@link ResourceNotFoundException} (client fault)
174
+ * <p>The exception thrown when the input doesn't have a resource associated to it.</p>
175
+ *
176
+ * @throws {@link ValidationException} (client fault)
177
+ * <p>The exception when the input doesn't pass validation for at least one of the input
178
+ * parameters. </p>
179
+ *
180
+ * @throws {@link TaxSettingsServiceException}
181
+ * <p>Base exception class for all service exceptions from TaxSettings service.</p>
182
+ *
183
+ * @public
184
+ */
185
+ export declare class ListTaxRegistrationsCommand extends ListTaxRegistrationsCommand_base {
186
+ }
@@ -0,0 +1,336 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { PutTaxRegistrationRequest, PutTaxRegistrationResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TaxSettingsClientResolvedConfig } from "../TaxSettingsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link PutTaxRegistrationCommand}.
13
+ */
14
+ export interface PutTaxRegistrationCommandInput extends PutTaxRegistrationRequest {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link PutTaxRegistrationCommand}.
20
+ */
21
+ export interface PutTaxRegistrationCommandOutput extends PutTaxRegistrationResponse, __MetadataBearer {
22
+ }
23
+ declare const PutTaxRegistrationCommand_base: {
24
+ new (input: PutTaxRegistrationCommandInput): import("@smithy/smithy-client").CommandImpl<PutTaxRegistrationCommandInput, PutTaxRegistrationCommandOutput, TaxSettingsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: PutTaxRegistrationCommandInput): import("@smithy/smithy-client").CommandImpl<PutTaxRegistrationCommandInput, PutTaxRegistrationCommandOutput, TaxSettingsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>Adds or updates tax registration for a single account. You can't set a TRN if there's a pending TRN. You'll need to delete the pending TRN first.</p>
30
+ * <p>To call this API operation for specific countries, see the following country-specific
31
+ * requirements.</p>
32
+ * <p>
33
+ * <b>Bangladesh</b>
34
+ * </p>
35
+ * <ul>
36
+ * <li>
37
+ * <p>You must specify the tax registration certificate document in the
38
+ * <code>taxRegistrationDocuments</code> field of the <code>VerificationDetails</code>
39
+ * object.</p>
40
+ * </li>
41
+ * </ul>
42
+ * <p>
43
+ * <b>Brazil</b>
44
+ * </p>
45
+ * <ul>
46
+ * <li>
47
+ * <p>You must complete the tax registration process in the <a href="https://console.aws.amazon.com/billing/home#/paymentpreferences/paymentmethods">Payment preferences</a> page in the Billing and Cost Management console. After your TRN and billing address are verified, you can call this API operation.</p>
48
+ * </li>
49
+ * <li>
50
+ * <p>For Amazon Web Services accounts created through Organizations, you can call this API operation when you don't have a billing address.</p>
51
+ * </li>
52
+ * </ul>
53
+ * <p>
54
+ * <b>Georgia</b>
55
+ * </p>
56
+ * <ul>
57
+ * <li>
58
+ * <p>The valid <code>personType</code> values are <code>Physical Person</code> and <code>Business</code>.</p>
59
+ * </li>
60
+ * </ul>
61
+ * <p>
62
+ * <b>Kenya</b>
63
+ * </p>
64
+ * <ul>
65
+ * <li>
66
+ * <p>You must specify the <code>personType</code> in the <code>kenyaAdditionalInfo</code>
67
+ * field of the <code>additionalTaxInformation</code> object.</p>
68
+ * </li>
69
+ * <li>
70
+ * <p>If the <code>personType</code> is <code>Physical Person</code>, you must specify the
71
+ * tax registration certificate document in the <code>taxRegistrationDocuments</code> field
72
+ * of the <code>VerificationDetails</code> object.</p>
73
+ * </li>
74
+ * </ul>
75
+ * <p>
76
+ * <b>Malaysia</b>
77
+ * </p>
78
+ * <ul>
79
+ * <li>
80
+ * <p>If you use this operation to set a tax registration number (TRN) in Malaysia, only
81
+ * resellers with a valid sales and service tax (SST) number are required to provide tax
82
+ * registration information.</p>
83
+ * </li>
84
+ * <li>
85
+ * <p>By using this API operation to set a TRN in Malaysia, Amazon Web Services will regard you as
86
+ * self-declaring that you're an authorized business reseller registered with the Royal
87
+ * Malaysia Customs Department (RMCD) and have a valid SST number.</p>
88
+ * </li>
89
+ * <li>
90
+ * <p>Amazon Web Services reserves the right to seek additional information and/or take other actions to
91
+ * support your self-declaration as appropriate.</p>
92
+ * </li>
93
+ * <li>
94
+ * <p>If you're not a reseller of Amazon Web Services, we don't recommend that you use
95
+ * this operation to set the TRN in Malaysia.</p>
96
+ * </li>
97
+ * <li>
98
+ * <p>Only use this API operation to upload the TRNs for accounts through which you're
99
+ * reselling Amazon Web Services.</p>
100
+ * </li>
101
+ * <li>
102
+ * <p>Amazon Web Services is currently registered under the following service tax codes. You must include
103
+ * at least one of the service tax codes in the service tax code strings to declare yourself
104
+ * as an authorized registered business reseller.</p>
105
+ * <p>Taxable service and service tax codes:</p>
106
+ * <p>Consultancy - 9907061674</p>
107
+ * <p>Training or coaching service - 9907071685</p>
108
+ * <p>IT service - 9907101676</p>
109
+ * <p>Digital services and electronic medium - 9907121690</p>
110
+ * </li>
111
+ * </ul>
112
+ * <p>
113
+ * <b>Nepal</b>
114
+ * </p>
115
+ * <ul>
116
+ * <li>
117
+ * <p>The sector valid values are <code>Business</code> and <code>Individual</code>.</p>
118
+ * </li>
119
+ * </ul>
120
+ * <p>
121
+ * <b>Saudi Arabia</b>
122
+ * </p>
123
+ * <ul>
124
+ * <li>
125
+ * <p>For <code>address</code>, you must specify <code>addressLine3</code>.</p>
126
+ * </li>
127
+ * </ul>
128
+ * <p>
129
+ * <b>South Korea</b>
130
+ * </p>
131
+ * <ul>
132
+ * <li>
133
+ * <p>You must specify the <code>certifiedEmailId</code> and <code>legalName</code> in the
134
+ * <code>TaxRegistrationEntry</code> object. Use Korean characters for
135
+ * <code>legalName</code>.</p>
136
+ * </li>
137
+ * <li>
138
+ * <p>You must specify the <code>businessRepresentativeName</code>,
139
+ * <code>itemOfBusiness</code>, and <code>lineOfBusiness</code> in the
140
+ * <code>southKoreaAdditionalInfo</code> field of the <code>additionalTaxInformation</code>
141
+ * object. Use Korean characters for these fields.</p>
142
+ * </li>
143
+ * <li>
144
+ * <p>You must specify the tax registration certificate document in the
145
+ * <code>taxRegistrationDocuments</code> field of the <code>VerificationDetails</code>
146
+ * object.</p>
147
+ * </li>
148
+ * <li>
149
+ * <p>For the <code>address</code> object, use Korean characters for <code>addressLine1</code>, <code>addressLine2</code>
150
+ * <code>city</code>, <code>postalCode</code>, and <code>stateOrRegion</code>.</p>
151
+ * </li>
152
+ * </ul>
153
+ * <p>
154
+ * <b>Spain</b>
155
+ * </p>
156
+ * <ul>
157
+ * <li>
158
+ * <p>You must specify the <code>registrationType</code> in the
159
+ * <code>spainAdditionalInfo</code> field of the <code>additionalTaxInformation</code>
160
+ * object.</p>
161
+ * </li>
162
+ * <li>
163
+ * <p>If the <code>registrationType</code> is <code>Local</code>, you must specify the tax
164
+ * registration certificate document in the <code>taxRegistrationDocuments</code> field of
165
+ * the <code>VerificationDetails</code> object.</p>
166
+ * </li>
167
+ * </ul>
168
+ * <p>
169
+ * <b>Turkey</b>
170
+ * </p>
171
+ * <ul>
172
+ * <li>
173
+ * <p>You must specify the <code>sector</code> in the <code>taxRegistrationEntry</code> object.</p>
174
+ * </li>
175
+ * <li>
176
+ * <p>If your <code>sector</code> is <code>Business</code>, <code>Individual</code>, or
177
+ * <code>Government</code>:</p>
178
+ * <ul>
179
+ * <li>
180
+ * <p>Specify the <code>taxOffice</code>. If your
181
+ * <code>sector</code> is <code>Individual</code>, don't enter this value.</p>
182
+ * </li>
183
+ * <li>
184
+ * <p>(Optional) Specify the <code>kepEmailId</code>. If your
185
+ * <code>sector</code> is <code>Individual</code>, don't enter this value.</p>
186
+ * </li>
187
+ * <li>
188
+ * <p>
189
+ * <b>Note:</b> In the <b>Tax Settings</b> page of the Billing console, <code>Government</code> appears as <b>Public institutions</b>
190
+ * </p>
191
+ * </li>
192
+ * </ul>
193
+ * </li>
194
+ * <li>
195
+ * <p>If your <code>sector</code> is <code>Business</code> and you're subject to KDV tax,
196
+ * you must specify your industry in the <code>industries</code> field.</p>
197
+ * </li>
198
+ * <li>
199
+ * <p>For <code>address</code>, you must specify <code>districtOrCounty</code>.</p>
200
+ * </li>
201
+ * </ul>
202
+ * <p>
203
+ * <b>Ukraine</b>
204
+ * </p>
205
+ * <ul>
206
+ * <li>
207
+ * <p>The sector valid values are <code>Business</code> and <code>Individual</code>.</p>
208
+ * </li>
209
+ * </ul>
210
+ * @example
211
+ * Use a bare-bones client and the command you need to make an API call.
212
+ * ```javascript
213
+ * import { TaxSettingsClient, PutTaxRegistrationCommand } from "@aws-sdk/client-taxsettings"; // ES Modules import
214
+ * // const { TaxSettingsClient, PutTaxRegistrationCommand } = require("@aws-sdk/client-taxsettings"); // CommonJS import
215
+ * const client = new TaxSettingsClient(config);
216
+ * const input = { // PutTaxRegistrationRequest
217
+ * accountId: "STRING_VALUE",
218
+ * taxRegistrationEntry: { // TaxRegistrationEntry
219
+ * registrationId: "STRING_VALUE", // required
220
+ * registrationType: "VAT" || "GST" || "CPF" || "CNPJ" || "SST", // required
221
+ * legalName: "STRING_VALUE",
222
+ * legalAddress: { // Address
223
+ * addressLine1: "STRING_VALUE", // required
224
+ * addressLine2: "STRING_VALUE",
225
+ * addressLine3: "STRING_VALUE",
226
+ * districtOrCounty: "STRING_VALUE",
227
+ * city: "STRING_VALUE", // required
228
+ * stateOrRegion: "STRING_VALUE",
229
+ * postalCode: "STRING_VALUE", // required
230
+ * countryCode: "STRING_VALUE", // required
231
+ * },
232
+ * sector: "Business" || "Individual" || "Government",
233
+ * additionalTaxInformation: { // AdditionalInfoRequest
234
+ * malaysiaAdditionalInfo: { // MalaysiaAdditionalInfo
235
+ * serviceTaxCodes: [ // MalaysiaServiceTaxCodesList // required
236
+ * "Consultancy" || "Digital Service And Electronic Medium" || "IT Services" || "Training Or Coaching",
237
+ * ],
238
+ * },
239
+ * israelAdditionalInfo: { // IsraelAdditionalInfo
240
+ * dealerType: "Authorized" || "Non-authorized", // required
241
+ * customerType: "Business" || "Individual", // required
242
+ * },
243
+ * estoniaAdditionalInfo: { // EstoniaAdditionalInfo
244
+ * registryCommercialCode: "STRING_VALUE", // required
245
+ * },
246
+ * canadaAdditionalInfo: { // CanadaAdditionalInfo
247
+ * provincialSalesTaxId: "STRING_VALUE",
248
+ * canadaQuebecSalesTaxNumber: "STRING_VALUE",
249
+ * canadaRetailSalesTaxNumber: "STRING_VALUE",
250
+ * isResellerAccount: true || false,
251
+ * },
252
+ * spainAdditionalInfo: { // SpainAdditionalInfo
253
+ * registrationType: "Intra-EU" || "Local", // required
254
+ * },
255
+ * kenyaAdditionalInfo: { // KenyaAdditionalInfo
256
+ * personType: "Legal Person" || "Physical Person" || "Business", // required
257
+ * },
258
+ * southKoreaAdditionalInfo: { // SouthKoreaAdditionalInfo
259
+ * businessRepresentativeName: "STRING_VALUE", // required
260
+ * lineOfBusiness: "STRING_VALUE", // required
261
+ * itemOfBusiness: "STRING_VALUE", // required
262
+ * },
263
+ * turkeyAdditionalInfo: { // TurkeyAdditionalInfo
264
+ * taxOffice: "STRING_VALUE",
265
+ * kepEmailId: "STRING_VALUE",
266
+ * secondaryTaxId: "STRING_VALUE",
267
+ * industries: "CirculatingOrg" || "ProfessionalOrg" || "Banks" || "Insurance" || "PensionAndBenefitFunds" || "DevelopmentAgencies",
268
+ * },
269
+ * georgiaAdditionalInfo: { // GeorgiaAdditionalInfo
270
+ * personType: "Legal Person" || "Physical Person" || "Business", // required
271
+ * },
272
+ * italyAdditionalInfo: { // ItalyAdditionalInfo
273
+ * sdiAccountId: "STRING_VALUE",
274
+ * cigNumber: "STRING_VALUE",
275
+ * cupNumber: "STRING_VALUE",
276
+ * taxCode: "STRING_VALUE",
277
+ * },
278
+ * romaniaAdditionalInfo: { // RomaniaAdditionalInfo
279
+ * taxRegistrationNumberType: "TaxRegistrationNumber" || "LocalRegistrationNumber", // required
280
+ * },
281
+ * ukraineAdditionalInfo: { // UkraineAdditionalInfo
282
+ * ukraineTrnType: "Business" || "Individual", // required
283
+ * },
284
+ * polandAdditionalInfo: { // PolandAdditionalInfo
285
+ * individualRegistrationNumber: "STRING_VALUE",
286
+ * isGroupVatEnabled: true || false,
287
+ * },
288
+ * saudiArabiaAdditionalInfo: { // SaudiArabiaAdditionalInfo
289
+ * taxRegistrationNumberType: "TaxRegistrationNumber" || "TaxIdentificationNumber" || "CommercialRegistrationNumber",
290
+ * },
291
+ * },
292
+ * verificationDetails: { // VerificationDetails
293
+ * dateOfBirth: "STRING_VALUE",
294
+ * taxRegistrationDocuments: [ // TaxRegistrationDocuments
295
+ * { // TaxRegistrationDocument
296
+ * s3Location: { // SourceS3Location
297
+ * bucket: "STRING_VALUE", // required
298
+ * key: "STRING_VALUE", // required
299
+ * },
300
+ * },
301
+ * ],
302
+ * },
303
+ * certifiedEmailId: "STRING_VALUE",
304
+ * },
305
+ * };
306
+ * const command = new PutTaxRegistrationCommand(input);
307
+ * const response = await client.send(command);
308
+ * // { // PutTaxRegistrationResponse
309
+ * // status: "Verified" || "Pending" || "Deleted" || "Rejected",
310
+ * // };
311
+ *
312
+ * ```
313
+ *
314
+ * @param PutTaxRegistrationCommandInput - {@link PutTaxRegistrationCommandInput}
315
+ * @returns {@link PutTaxRegistrationCommandOutput}
316
+ * @see {@link PutTaxRegistrationCommandInput} for command's `input` shape.
317
+ * @see {@link PutTaxRegistrationCommandOutput} for command's `response` shape.
318
+ * @see {@link TaxSettingsClientResolvedConfig | config} for TaxSettingsClient's `config` shape.
319
+ *
320
+ * @throws {@link ConflictException} (client fault)
321
+ * <p>The exception when the input is creating conflict with the given state.</p>
322
+ *
323
+ * @throws {@link InternalServerException} (server fault)
324
+ * <p>The exception thrown when an unexpected error occurs when processing a request.</p>
325
+ *
326
+ * @throws {@link ValidationException} (client fault)
327
+ * <p>The exception when the input doesn't pass validation for at least one of the input
328
+ * parameters. </p>
329
+ *
330
+ * @throws {@link TaxSettingsServiceException}
331
+ * <p>Base exception class for all service exceptions from TaxSettings service.</p>
332
+ *
333
+ * @public
334
+ */
335
+ export declare class PutTaxRegistrationCommand extends PutTaxRegistrationCommand_base {
336
+ }
@@ -0,0 +1,7 @@
1
+ export * from "./BatchDeleteTaxRegistrationCommand";
2
+ export * from "./BatchPutTaxRegistrationCommand";
3
+ export * from "./DeleteTaxRegistrationCommand";
4
+ export * from "./GetTaxRegistrationCommand";
5
+ export * from "./GetTaxRegistrationDocumentCommand";
6
+ export * from "./ListTaxRegistrationsCommand";
7
+ export * from "./PutTaxRegistrationCommand";
@@ -0,0 +1,40 @@
1
+ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface ClientInputEndpointParameters {
6
+ region?: string | Provider<string>;
7
+ useDualstackEndpoint?: boolean | Provider<boolean>;
8
+ useFipsEndpoint?: boolean | Provider<boolean>;
9
+ endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
10
+ }
11
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
12
+ defaultSigningName: string;
13
+ };
14
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
15
+ defaultSigningName: string;
16
+ };
17
+ export declare const commonParams: {
18
+ readonly UseFIPS: {
19
+ readonly type: "builtInParams";
20
+ readonly name: "useFipsEndpoint";
21
+ };
22
+ readonly Endpoint: {
23
+ readonly type: "builtInParams";
24
+ readonly name: "endpoint";
25
+ };
26
+ readonly Region: {
27
+ readonly type: "builtInParams";
28
+ readonly name: "region";
29
+ };
30
+ readonly UseDualStack: {
31
+ readonly type: "builtInParams";
32
+ readonly name: "useDualstackEndpoint";
33
+ };
34
+ };
35
+ export interface EndpointParameters extends __EndpointParameters {
36
+ Region?: string;
37
+ UseDualStack?: boolean;
38
+ UseFIPS?: boolean;
39
+ Endpoint?: string;
40
+ }
@@ -0,0 +1,5 @@
1
+ import { EndpointV2, Logger } from "@smithy/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
+ logger?: Logger;
5
+ }) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@smithy/types";
2
+ export declare const ruleSet: RuleSetObject;
@@ -0,0 +1,9 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
+ /**
6
+ * @internal
7
+ */
8
+ export interface TaxSettingsExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
9
+ }
@@ -0,0 +1,25 @@
1
+ /**
2
+ * <p>You can use the tax setting API to programmatically set, modify, and delete the tax
3
+ * registration number (TRN), associated business legal name, and address (Collectively referred
4
+ * to as "TRN information"). You can also programmatically view TRN information and tax addresses
5
+ * ("Tax profiles"). </p>
6
+ * <p>You can use this API to automate your TRN information settings instead of manually using
7
+ * the console.</p>
8
+ * <p>Service Endpoint</p>
9
+ * <ul>
10
+ * <li>
11
+ * <p>https://tax.us-east-1.amazonaws.com</p>
12
+ * </li>
13
+ * </ul>
14
+ *
15
+ * @packageDocumentation
16
+ */
17
+ export * from "./TaxSettingsClient";
18
+ export * from "./TaxSettings";
19
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
20
+ export { RuntimeExtension } from "./runtimeExtensions";
21
+ export { TaxSettingsExtensionConfiguration } from "./extensionConfiguration";
22
+ export * from "./commands";
23
+ export * from "./pagination";
24
+ export * from "./models";
25
+ export { TaxSettingsServiceException } from "./models/TaxSettingsServiceException";
@@ -0,0 +1,13 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
2
+ export { __ServiceException, __ServiceExceptionOptions };
3
+ /**
4
+ * @public
5
+ *
6
+ * Base exception class for all service exceptions from TaxSettings service.
7
+ */
8
+ export declare class TaxSettingsServiceException extends __ServiceException {
9
+ /**
10
+ * @internal
11
+ */
12
+ constructor(options: __ServiceExceptionOptions);
13
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";