From 23a1507e28c7ce04b2e3184f244b2ca190759544 Mon Sep 17 00:00:00 2001 From: awstools Date: Fri, 1 Nov 2024 18:15:15 +0000 Subject: [PATCH] feat(client-taxsettings): Add support for supplemental tax registrations via these new APIs: PutSupplementalTaxRegistration, ListSupplementalTaxRegistrations, and DeleteSupplementalTaxRegistration. --- clients/client-taxsettings/README.md | 26 +- clients/client-taxsettings/src/TaxSettings.ts | 70 ++++ .../src/TaxSettingsClient.ts | 18 + .../BatchPutTaxRegistrationCommand.ts | 31 +- ...eleteSupplementalTaxRegistrationCommand.ts | 113 ++++++ .../src/commands/GetTaxRegistrationCommand.ts | 6 +- ...ListSupplementalTaxRegistrationsCommand.ts | 133 +++++++ .../commands/ListTaxRegistrationsCommand.ts | 6 +- .../PutSupplementalTaxRegistrationCommand.ts | 128 ++++++ .../src/commands/PutTaxRegistrationCommand.ts | 31 +- .../client-taxsettings/src/commands/index.ts | 3 + .../client-taxsettings/src/models/models_0.ts | 273 ++++++++++++- ...stSupplementalTaxRegistrationsPaginator.ts | 24 ++ .../src/pagination/index.ts | 1 + .../src/protocols/Aws_restJson1.ts | 147 +++++++ .../sdk-codegen/aws-models/taxsettings.json | 375 +++++++++++++++++- 16 files changed, 1336 insertions(+), 49 deletions(-) create mode 100644 clients/client-taxsettings/src/commands/DeleteSupplementalTaxRegistrationCommand.ts create mode 100644 clients/client-taxsettings/src/commands/ListSupplementalTaxRegistrationsCommand.ts create mode 100644 clients/client-taxsettings/src/commands/PutSupplementalTaxRegistrationCommand.ts create mode 100644 clients/client-taxsettings/src/pagination/ListSupplementalTaxRegistrationsPaginator.ts diff --git a/clients/client-taxsettings/README.md b/clients/client-taxsettings/README.md index 215122291bba..6e73eed37509 100644 --- a/clients/client-taxsettings/README.md +++ b/clients/client-taxsettings/README.md @@ -21,7 +21,7 @@ the console.

## Installing -To install the this package, simply type add or install @aws-sdk/client-taxsettings +To install this package, simply type add or install @aws-sdk/client-taxsettings using your favorite package manager: - `npm install @aws-sdk/client-taxsettings` @@ -229,6 +229,14 @@ BatchPutTaxRegistration [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/taxsettings/command/BatchPutTaxRegistrationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-taxsettings/Interface/BatchPutTaxRegistrationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-taxsettings/Interface/BatchPutTaxRegistrationCommandOutput/) + +
+ +DeleteSupplementalTaxRegistration + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/taxsettings/command/DeleteSupplementalTaxRegistrationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-taxsettings/Interface/DeleteSupplementalTaxRegistrationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-taxsettings/Interface/DeleteSupplementalTaxRegistrationCommandOutput/) +
@@ -253,6 +261,14 @@ GetTaxRegistrationDocument [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/taxsettings/command/GetTaxRegistrationDocumentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-taxsettings/Interface/GetTaxRegistrationDocumentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-taxsettings/Interface/GetTaxRegistrationDocumentCommandOutput/) +
+
+ +ListSupplementalTaxRegistrations + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/taxsettings/command/ListSupplementalTaxRegistrationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-taxsettings/Interface/ListSupplementalTaxRegistrationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-taxsettings/Interface/ListSupplementalTaxRegistrationsCommandOutput/) +
@@ -261,6 +277,14 @@ ListTaxRegistrations [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/taxsettings/command/ListTaxRegistrationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-taxsettings/Interface/ListTaxRegistrationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-taxsettings/Interface/ListTaxRegistrationsCommandOutput/) +
+
+ +PutSupplementalTaxRegistration + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/taxsettings/command/PutSupplementalTaxRegistrationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-taxsettings/Interface/PutSupplementalTaxRegistrationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-taxsettings/Interface/PutSupplementalTaxRegistrationCommandOutput/) +
diff --git a/clients/client-taxsettings/src/TaxSettings.ts b/clients/client-taxsettings/src/TaxSettings.ts index 1ba80693d1d4..5f2887a82629 100644 --- a/clients/client-taxsettings/src/TaxSettings.ts +++ b/clients/client-taxsettings/src/TaxSettings.ts @@ -12,6 +12,11 @@ import { BatchPutTaxRegistrationCommandInput, BatchPutTaxRegistrationCommandOutput, } from "./commands/BatchPutTaxRegistrationCommand"; +import { + DeleteSupplementalTaxRegistrationCommand, + DeleteSupplementalTaxRegistrationCommandInput, + DeleteSupplementalTaxRegistrationCommandOutput, +} from "./commands/DeleteSupplementalTaxRegistrationCommand"; import { DeleteTaxRegistrationCommand, DeleteTaxRegistrationCommandInput, @@ -27,11 +32,21 @@ import { GetTaxRegistrationDocumentCommandInput, GetTaxRegistrationDocumentCommandOutput, } from "./commands/GetTaxRegistrationDocumentCommand"; +import { + ListSupplementalTaxRegistrationsCommand, + ListSupplementalTaxRegistrationsCommandInput, + ListSupplementalTaxRegistrationsCommandOutput, +} from "./commands/ListSupplementalTaxRegistrationsCommand"; import { ListTaxRegistrationsCommand, ListTaxRegistrationsCommandInput, ListTaxRegistrationsCommandOutput, } from "./commands/ListTaxRegistrationsCommand"; +import { + PutSupplementalTaxRegistrationCommand, + PutSupplementalTaxRegistrationCommandInput, + PutSupplementalTaxRegistrationCommandOutput, +} from "./commands/PutSupplementalTaxRegistrationCommand"; import { PutTaxRegistrationCommand, PutTaxRegistrationCommandInput, @@ -42,10 +57,13 @@ import { TaxSettingsClient, TaxSettingsClientConfig } from "./TaxSettingsClient" const commands = { BatchDeleteTaxRegistrationCommand, BatchPutTaxRegistrationCommand, + DeleteSupplementalTaxRegistrationCommand, DeleteTaxRegistrationCommand, GetTaxRegistrationCommand, GetTaxRegistrationDocumentCommand, + ListSupplementalTaxRegistrationsCommand, ListTaxRegistrationsCommand, + PutSupplementalTaxRegistrationCommand, PutTaxRegistrationCommand, }; @@ -84,6 +102,23 @@ export interface TaxSettings { cb: (err: any, data?: BatchPutTaxRegistrationCommandOutput) => void ): void; + /** + * @see {@link DeleteSupplementalTaxRegistrationCommand} + */ + deleteSupplementalTaxRegistration( + args: DeleteSupplementalTaxRegistrationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + deleteSupplementalTaxRegistration( + args: DeleteSupplementalTaxRegistrationCommandInput, + cb: (err: any, data?: DeleteSupplementalTaxRegistrationCommandOutput) => void + ): void; + deleteSupplementalTaxRegistration( + args: DeleteSupplementalTaxRegistrationCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteSupplementalTaxRegistrationCommandOutput) => void + ): void; + /** * @see {@link DeleteTaxRegistrationCommand} */ @@ -137,6 +172,24 @@ export interface TaxSettings { cb: (err: any, data?: GetTaxRegistrationDocumentCommandOutput) => void ): void; + /** + * @see {@link ListSupplementalTaxRegistrationsCommand} + */ + listSupplementalTaxRegistrations(): Promise; + listSupplementalTaxRegistrations( + args: ListSupplementalTaxRegistrationsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + listSupplementalTaxRegistrations( + args: ListSupplementalTaxRegistrationsCommandInput, + cb: (err: any, data?: ListSupplementalTaxRegistrationsCommandOutput) => void + ): void; + listSupplementalTaxRegistrations( + args: ListSupplementalTaxRegistrationsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListSupplementalTaxRegistrationsCommandOutput) => void + ): void; + /** * @see {@link ListTaxRegistrationsCommand} */ @@ -155,6 +208,23 @@ export interface TaxSettings { cb: (err: any, data?: ListTaxRegistrationsCommandOutput) => void ): void; + /** + * @see {@link PutSupplementalTaxRegistrationCommand} + */ + putSupplementalTaxRegistration( + args: PutSupplementalTaxRegistrationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + putSupplementalTaxRegistration( + args: PutSupplementalTaxRegistrationCommandInput, + cb: (err: any, data?: PutSupplementalTaxRegistrationCommandOutput) => void + ): void; + putSupplementalTaxRegistration( + args: PutSupplementalTaxRegistrationCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: PutSupplementalTaxRegistrationCommandOutput) => void + ): void; + /** * @see {@link PutTaxRegistrationCommand} */ diff --git a/clients/client-taxsettings/src/TaxSettingsClient.ts b/clients/client-taxsettings/src/TaxSettingsClient.ts index f79b04c8162a..b28fc186e84f 100644 --- a/clients/client-taxsettings/src/TaxSettingsClient.ts +++ b/clients/client-taxsettings/src/TaxSettingsClient.ts @@ -61,6 +61,10 @@ import { BatchPutTaxRegistrationCommandInput, BatchPutTaxRegistrationCommandOutput, } from "./commands/BatchPutTaxRegistrationCommand"; +import { + DeleteSupplementalTaxRegistrationCommandInput, + DeleteSupplementalTaxRegistrationCommandOutput, +} from "./commands/DeleteSupplementalTaxRegistrationCommand"; import { DeleteTaxRegistrationCommandInput, DeleteTaxRegistrationCommandOutput, @@ -70,10 +74,18 @@ import { GetTaxRegistrationDocumentCommandInput, GetTaxRegistrationDocumentCommandOutput, } from "./commands/GetTaxRegistrationDocumentCommand"; +import { + ListSupplementalTaxRegistrationsCommandInput, + ListSupplementalTaxRegistrationsCommandOutput, +} from "./commands/ListSupplementalTaxRegistrationsCommand"; import { ListTaxRegistrationsCommandInput, ListTaxRegistrationsCommandOutput, } from "./commands/ListTaxRegistrationsCommand"; +import { + PutSupplementalTaxRegistrationCommandInput, + PutSupplementalTaxRegistrationCommandOutput, +} from "./commands/PutSupplementalTaxRegistrationCommand"; import { PutTaxRegistrationCommandInput, PutTaxRegistrationCommandOutput } from "./commands/PutTaxRegistrationCommand"; import { ClientInputEndpointParameters, @@ -92,10 +104,13 @@ export { __Client }; export type ServiceInputTypes = | BatchDeleteTaxRegistrationCommandInput | BatchPutTaxRegistrationCommandInput + | DeleteSupplementalTaxRegistrationCommandInput | DeleteTaxRegistrationCommandInput | GetTaxRegistrationCommandInput | GetTaxRegistrationDocumentCommandInput + | ListSupplementalTaxRegistrationsCommandInput | ListTaxRegistrationsCommandInput + | PutSupplementalTaxRegistrationCommandInput | PutTaxRegistrationCommandInput; /** @@ -104,10 +119,13 @@ export type ServiceInputTypes = export type ServiceOutputTypes = | BatchDeleteTaxRegistrationCommandOutput | BatchPutTaxRegistrationCommandOutput + | DeleteSupplementalTaxRegistrationCommandOutput | DeleteTaxRegistrationCommandOutput | GetTaxRegistrationCommandOutput | GetTaxRegistrationDocumentCommandOutput + | ListSupplementalTaxRegistrationsCommandOutput | ListTaxRegistrationsCommandOutput + | PutSupplementalTaxRegistrationCommandOutput | PutTaxRegistrationCommandOutput; /** diff --git a/clients/client-taxsettings/src/commands/BatchPutTaxRegistrationCommand.ts b/clients/client-taxsettings/src/commands/BatchPutTaxRegistrationCommand.ts index 67df74149596..eac46f78919f 100644 --- a/clients/client-taxsettings/src/commands/BatchPutTaxRegistrationCommand.ts +++ b/clients/client-taxsettings/src/commands/BatchPutTaxRegistrationCommand.ts @@ -85,26 +85,27 @@ export interface BatchPutTaxRegistrationCommandOutput extends BatchPutTaxRegistr *

*
    *
  • - *

    If you use this operation to set a tax registration number (TRN) in Malaysia, only - * resellers with a valid sales and service tax (SST) number are required to provide tax - * registration information.

    + *

    The sector valid values are Business and Individual.

    *
  • *
  • - *

    By using this API operation to set a TRN in Malaysia, Amazon Web Services will regard you as - * self-declaring that you're an authorized business reseller registered with the Royal - * Malaysia Customs Department (RMCD) and have a valid SST number.

    + *

    + * RegistrationType valid values are NRIC for individual, and TIN and sales and service tax (SST) for Business.

    *
  • *
  • - *

    Amazon Web Services reserves the right to seek additional information and/or take other actions to - * support your self-declaration as appropriate.

    + *

    For individual, you can specify the taxInformationNumber in MalaysiaAdditionalInfo with NRIC type, and a valid MyKad or NRIC number.

    + *
  • + *
  • + *

    For business, you must specify a businessRegistrationNumber in MalaysiaAdditionalInfo with a TIN type and tax identification number.

    *
  • *
  • - *

    If you're not a reseller of Amazon Web Services, we don't recommend that you use - * this operation to set the TRN in Malaysia.

    + *

    For business resellers, you must specify a businessRegistrationNumber and taxInformationNumber in MalaysiaAdditionalInfo with a sales and service tax (SST) type and a valid SST number.

    *
  • *
  • - *

    Only use this API operation to upload the TRNs for accounts through which you're - * reselling Amazon Web Services.

    + *

    For business resellers with service codes, you must specify businessRegistrationNumber, taxInformationNumber, and distinct serviceTaxCodes in MalaysiaAdditionalInfo with a SST type and valid sales and service tax (SST) number. By using this API operation, Amazon Web Services registers your self-declaration that you’re an authorized business reseller registered with the Royal Malaysia Customs Department (RMCD), and have a valid SST number.

    + *
  • + *
  • + *

    Amazon Web Services reserves the right to seek additional information and/or take other actions to + * support your self-declaration as appropriate.

    *
  • *
  • *

    Amazon Web Services is currently registered under the following service tax codes. You must include @@ -227,7 +228,7 @@ export interface BatchPutTaxRegistrationCommandOutput extends BatchPutTaxRegistr * ], * taxRegistrationEntry: { // TaxRegistrationEntry * registrationId: "STRING_VALUE", // required - * registrationType: "VAT" || "GST" || "CPF" || "CNPJ" || "SST", // required + * registrationType: "VAT" || "GST" || "CPF" || "CNPJ" || "SST" || "TIN" || "NRIC", // required * legalName: "STRING_VALUE", * legalAddress: { // Address * addressLine1: "STRING_VALUE", // required @@ -242,9 +243,11 @@ export interface BatchPutTaxRegistrationCommandOutput extends BatchPutTaxRegistr * sector: "Business" || "Individual" || "Government", * additionalTaxInformation: { // AdditionalInfoRequest * malaysiaAdditionalInfo: { // MalaysiaAdditionalInfo - * serviceTaxCodes: [ // MalaysiaServiceTaxCodesList // required + * serviceTaxCodes: [ // MalaysiaServiceTaxCodesList * "Consultancy" || "Digital Service And Electronic Medium" || "IT Services" || "Training Or Coaching", * ], + * taxInformationNumber: "STRING_VALUE", + * businessRegistrationNumber: "STRING_VALUE", * }, * israelAdditionalInfo: { // IsraelAdditionalInfo * dealerType: "Authorized" || "Non-authorized", // required diff --git a/clients/client-taxsettings/src/commands/DeleteSupplementalTaxRegistrationCommand.ts b/clients/client-taxsettings/src/commands/DeleteSupplementalTaxRegistrationCommand.ts new file mode 100644 index 000000000000..639405be64ea --- /dev/null +++ b/clients/client-taxsettings/src/commands/DeleteSupplementalTaxRegistrationCommand.ts @@ -0,0 +1,113 @@ +// smithy-typescript generated code +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; + +import { commonParams } from "../endpoint/EndpointParameters"; +import { + DeleteSupplementalTaxRegistrationRequest, + DeleteSupplementalTaxRegistrationResponse, +} from "../models/models_0"; +import { + de_DeleteSupplementalTaxRegistrationCommand, + se_DeleteSupplementalTaxRegistrationCommand, +} from "../protocols/Aws_restJson1"; +import { ServiceInputTypes, ServiceOutputTypes, TaxSettingsClientResolvedConfig } from "../TaxSettingsClient"; + +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link DeleteSupplementalTaxRegistrationCommand}. + */ +export interface DeleteSupplementalTaxRegistrationCommandInput extends DeleteSupplementalTaxRegistrationRequest {} +/** + * @public + * + * The output of {@link DeleteSupplementalTaxRegistrationCommand}. + */ +export interface DeleteSupplementalTaxRegistrationCommandOutput + extends DeleteSupplementalTaxRegistrationResponse, + __MetadataBearer {} + +/** + *

    + * Deletes a supplemental tax registration for a single account. + *

    + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { TaxSettingsClient, DeleteSupplementalTaxRegistrationCommand } from "@aws-sdk/client-taxsettings"; // ES Modules import + * // const { TaxSettingsClient, DeleteSupplementalTaxRegistrationCommand } = require("@aws-sdk/client-taxsettings"); // CommonJS import + * const client = new TaxSettingsClient(config); + * const input = { // DeleteSupplementalTaxRegistrationRequest + * authorityId: "STRING_VALUE", // required + * }; + * const command = new DeleteSupplementalTaxRegistrationCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param DeleteSupplementalTaxRegistrationCommandInput - {@link DeleteSupplementalTaxRegistrationCommandInput} + * @returns {@link DeleteSupplementalTaxRegistrationCommandOutput} + * @see {@link DeleteSupplementalTaxRegistrationCommandInput} for command's `input` shape. + * @see {@link DeleteSupplementalTaxRegistrationCommandOutput} for command's `response` shape. + * @see {@link TaxSettingsClientResolvedConfig | config} for TaxSettingsClient's `config` shape. + * + * @throws {@link ConflictException} (client fault) + *

    The exception when the input is creating conflict with the given state.

    + * + * @throws {@link InternalServerException} (server fault) + *

    The exception thrown when an unexpected error occurs when processing a request.

    + * + * @throws {@link ResourceNotFoundException} (client fault) + *

    The exception thrown when the input doesn't have a resource associated to it.

    + * + * @throws {@link ValidationException} (client fault) + *

    The exception when the input doesn't pass validation for at least one of the input + * parameters.

    + * + * @throws {@link TaxSettingsServiceException} + *

    Base exception class for all service exceptions from TaxSettings service.

    + * + * @public + */ +export class DeleteSupplementalTaxRegistrationCommand extends $Command + .classBuilder< + DeleteSupplementalTaxRegistrationCommandInput, + DeleteSupplementalTaxRegistrationCommandOutput, + TaxSettingsClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >() + .ep(commonParams) + .m(function (this: any, Command: any, cs: any, config: TaxSettingsClientResolvedConfig, o: any) { + return [ + getSerdePlugin(config, this.serialize, this.deserialize), + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + ]; + }) + .s("TaxSettings", "DeleteSupplementalTaxRegistration", {}) + .n("TaxSettingsClient", "DeleteSupplementalTaxRegistrationCommand") + .f(void 0, void 0) + .ser(se_DeleteSupplementalTaxRegistrationCommand) + .de(de_DeleteSupplementalTaxRegistrationCommand) + .build() { + /** @internal type navigation helper, not in runtime. */ + protected declare static __types: { + api: { + input: DeleteSupplementalTaxRegistrationRequest; + output: {}; + }; + sdk: { + input: DeleteSupplementalTaxRegistrationCommandInput; + output: DeleteSupplementalTaxRegistrationCommandOutput; + }; + }; +} diff --git a/clients/client-taxsettings/src/commands/GetTaxRegistrationCommand.ts b/clients/client-taxsettings/src/commands/GetTaxRegistrationCommand.ts index 426e70d93496..cda5d0e9b90c 100644 --- a/clients/client-taxsettings/src/commands/GetTaxRegistrationCommand.ts +++ b/clients/client-taxsettings/src/commands/GetTaxRegistrationCommand.ts @@ -47,7 +47,7 @@ export interface GetTaxRegistrationCommandOutput extends GetTaxRegistrationRespo * // { // GetTaxRegistrationResponse * // taxRegistration: { // TaxRegistration * // registrationId: "STRING_VALUE", // required - * // registrationType: "VAT" || "GST" || "CPF" || "CNPJ" || "SST", // required + * // registrationType: "VAT" || "GST" || "CPF" || "CNPJ" || "SST" || "TIN" || "NRIC", // required * // legalName: "STRING_VALUE", // required * // status: "Verified" || "Pending" || "Deleted" || "Rejected", // required * // sector: "Business" || "Individual" || "Government", @@ -60,9 +60,11 @@ export interface GetTaxRegistrationCommandOutput extends GetTaxRegistrationRespo * // certifiedEmailId: "STRING_VALUE", * // additionalTaxInformation: { // AdditionalInfoResponse * // malaysiaAdditionalInfo: { // MalaysiaAdditionalInfo - * // serviceTaxCodes: [ // MalaysiaServiceTaxCodesList // required + * // serviceTaxCodes: [ // MalaysiaServiceTaxCodesList * // "Consultancy" || "Digital Service And Electronic Medium" || "IT Services" || "Training Or Coaching", * // ], + * // taxInformationNumber: "STRING_VALUE", + * // businessRegistrationNumber: "STRING_VALUE", * // }, * // israelAdditionalInfo: { // IsraelAdditionalInfo * // dealerType: "Authorized" || "Non-authorized", // required diff --git a/clients/client-taxsettings/src/commands/ListSupplementalTaxRegistrationsCommand.ts b/clients/client-taxsettings/src/commands/ListSupplementalTaxRegistrationsCommand.ts new file mode 100644 index 000000000000..ab909ba19676 --- /dev/null +++ b/clients/client-taxsettings/src/commands/ListSupplementalTaxRegistrationsCommand.ts @@ -0,0 +1,133 @@ +// smithy-typescript generated code +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; + +import { commonParams } from "../endpoint/EndpointParameters"; +import { + ListSupplementalTaxRegistrationsRequest, + ListSupplementalTaxRegistrationsResponse, + ListSupplementalTaxRegistrationsResponseFilterSensitiveLog, +} from "../models/models_0"; +import { + de_ListSupplementalTaxRegistrationsCommand, + se_ListSupplementalTaxRegistrationsCommand, +} from "../protocols/Aws_restJson1"; +import { ServiceInputTypes, ServiceOutputTypes, TaxSettingsClientResolvedConfig } from "../TaxSettingsClient"; + +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link ListSupplementalTaxRegistrationsCommand}. + */ +export interface ListSupplementalTaxRegistrationsCommandInput extends ListSupplementalTaxRegistrationsRequest {} +/** + * @public + * + * The output of {@link ListSupplementalTaxRegistrationsCommand}. + */ +export interface ListSupplementalTaxRegistrationsCommandOutput + extends ListSupplementalTaxRegistrationsResponse, + __MetadataBearer {} + +/** + *

    + * Retrieves supplemental tax registrations for a single account. + *

    + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { TaxSettingsClient, ListSupplementalTaxRegistrationsCommand } from "@aws-sdk/client-taxsettings"; // ES Modules import + * // const { TaxSettingsClient, ListSupplementalTaxRegistrationsCommand } = require("@aws-sdk/client-taxsettings"); // CommonJS import + * const client = new TaxSettingsClient(config); + * const input = { // ListSupplementalTaxRegistrationsRequest + * maxResults: Number("int"), + * nextToken: "STRING_VALUE", + * }; + * const command = new ListSupplementalTaxRegistrationsCommand(input); + * const response = await client.send(command); + * // { // ListSupplementalTaxRegistrationsResponse + * // taxRegistrations: [ // SupplementalTaxRegistrationList // required + * // { // SupplementalTaxRegistration + * // registrationId: "STRING_VALUE", // required + * // registrationType: "VAT", // required + * // legalName: "STRING_VALUE", // required + * // address: { // Address + * // addressLine1: "STRING_VALUE", // required + * // addressLine2: "STRING_VALUE", + * // addressLine3: "STRING_VALUE", + * // districtOrCounty: "STRING_VALUE", + * // city: "STRING_VALUE", // required + * // stateOrRegion: "STRING_VALUE", + * // postalCode: "STRING_VALUE", // required + * // countryCode: "STRING_VALUE", // required + * // }, + * // authorityId: "STRING_VALUE", // required + * // status: "Verified" || "Pending" || "Deleted" || "Rejected", // required + * // }, + * // ], + * // nextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param ListSupplementalTaxRegistrationsCommandInput - {@link ListSupplementalTaxRegistrationsCommandInput} + * @returns {@link ListSupplementalTaxRegistrationsCommandOutput} + * @see {@link ListSupplementalTaxRegistrationsCommandInput} for command's `input` shape. + * @see {@link ListSupplementalTaxRegistrationsCommandOutput} for command's `response` shape. + * @see {@link TaxSettingsClientResolvedConfig | config} for TaxSettingsClient's `config` shape. + * + * @throws {@link InternalServerException} (server fault) + *

    The exception thrown when an unexpected error occurs when processing a request.

    + * + * @throws {@link ResourceNotFoundException} (client fault) + *

    The exception thrown when the input doesn't have a resource associated to it.

    + * + * @throws {@link ValidationException} (client fault) + *

    The exception when the input doesn't pass validation for at least one of the input + * parameters.

    + * + * @throws {@link TaxSettingsServiceException} + *

    Base exception class for all service exceptions from TaxSettings service.

    + * + * @public + */ +export class ListSupplementalTaxRegistrationsCommand extends $Command + .classBuilder< + ListSupplementalTaxRegistrationsCommandInput, + ListSupplementalTaxRegistrationsCommandOutput, + TaxSettingsClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >() + .ep(commonParams) + .m(function (this: any, Command: any, cs: any, config: TaxSettingsClientResolvedConfig, o: any) { + return [ + getSerdePlugin(config, this.serialize, this.deserialize), + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + ]; + }) + .s("TaxSettings", "ListSupplementalTaxRegistrations", {}) + .n("TaxSettingsClient", "ListSupplementalTaxRegistrationsCommand") + .f(void 0, ListSupplementalTaxRegistrationsResponseFilterSensitiveLog) + .ser(se_ListSupplementalTaxRegistrationsCommand) + .de(de_ListSupplementalTaxRegistrationsCommand) + .build() { + /** @internal type navigation helper, not in runtime. */ + protected declare static __types: { + api: { + input: ListSupplementalTaxRegistrationsRequest; + output: ListSupplementalTaxRegistrationsResponse; + }; + sdk: { + input: ListSupplementalTaxRegistrationsCommandInput; + output: ListSupplementalTaxRegistrationsCommandOutput; + }; + }; +} diff --git a/clients/client-taxsettings/src/commands/ListTaxRegistrationsCommand.ts b/clients/client-taxsettings/src/commands/ListTaxRegistrationsCommand.ts index 96b0f727b32d..10033780dfe4 100644 --- a/clients/client-taxsettings/src/commands/ListTaxRegistrationsCommand.ts +++ b/clients/client-taxsettings/src/commands/ListTaxRegistrationsCommand.ts @@ -53,7 +53,7 @@ export interface ListTaxRegistrationsCommandOutput extends ListTaxRegistrationsR * // accountId: "STRING_VALUE", * // taxRegistration: { // TaxRegistrationWithJurisdiction * // registrationId: "STRING_VALUE", // required - * // registrationType: "VAT" || "GST" || "CPF" || "CNPJ" || "SST", // required + * // registrationType: "VAT" || "GST" || "CPF" || "CNPJ" || "SST" || "TIN" || "NRIC", // required * // legalName: "STRING_VALUE", // required * // status: "Verified" || "Pending" || "Deleted" || "Rejected", // required * // sector: "Business" || "Individual" || "Government", @@ -66,9 +66,11 @@ export interface ListTaxRegistrationsCommandOutput extends ListTaxRegistrationsR * // certifiedEmailId: "STRING_VALUE", * // additionalTaxInformation: { // AdditionalInfoResponse * // malaysiaAdditionalInfo: { // MalaysiaAdditionalInfo - * // serviceTaxCodes: [ // MalaysiaServiceTaxCodesList // required + * // serviceTaxCodes: [ // MalaysiaServiceTaxCodesList * // "Consultancy" || "Digital Service And Electronic Medium" || "IT Services" || "Training Or Coaching", * // ], + * // taxInformationNumber: "STRING_VALUE", + * // businessRegistrationNumber: "STRING_VALUE", * // }, * // israelAdditionalInfo: { // IsraelAdditionalInfo * // dealerType: "Authorized" || "Non-authorized", // required diff --git a/clients/client-taxsettings/src/commands/PutSupplementalTaxRegistrationCommand.ts b/clients/client-taxsettings/src/commands/PutSupplementalTaxRegistrationCommand.ts new file mode 100644 index 000000000000..9c158b52929d --- /dev/null +++ b/clients/client-taxsettings/src/commands/PutSupplementalTaxRegistrationCommand.ts @@ -0,0 +1,128 @@ +// smithy-typescript generated code +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; + +import { commonParams } from "../endpoint/EndpointParameters"; +import { + PutSupplementalTaxRegistrationRequest, + PutSupplementalTaxRegistrationRequestFilterSensitiveLog, + PutSupplementalTaxRegistrationResponse, +} from "../models/models_0"; +import { + de_PutSupplementalTaxRegistrationCommand, + se_PutSupplementalTaxRegistrationCommand, +} from "../protocols/Aws_restJson1"; +import { ServiceInputTypes, ServiceOutputTypes, TaxSettingsClientResolvedConfig } from "../TaxSettingsClient"; + +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link PutSupplementalTaxRegistrationCommand}. + */ +export interface PutSupplementalTaxRegistrationCommandInput extends PutSupplementalTaxRegistrationRequest {} +/** + * @public + * + * The output of {@link PutSupplementalTaxRegistrationCommand}. + */ +export interface PutSupplementalTaxRegistrationCommandOutput + extends PutSupplementalTaxRegistrationResponse, + __MetadataBearer {} + +/** + *

    + * Stores supplemental tax registration for a single account. + *

    + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { TaxSettingsClient, PutSupplementalTaxRegistrationCommand } from "@aws-sdk/client-taxsettings"; // ES Modules import + * // const { TaxSettingsClient, PutSupplementalTaxRegistrationCommand } = require("@aws-sdk/client-taxsettings"); // CommonJS import + * const client = new TaxSettingsClient(config); + * const input = { // PutSupplementalTaxRegistrationRequest + * taxRegistrationEntry: { // SupplementalTaxRegistrationEntry + * registrationId: "STRING_VALUE", // required + * registrationType: "VAT", // required + * legalName: "STRING_VALUE", // required + * address: { // Address + * addressLine1: "STRING_VALUE", // required + * addressLine2: "STRING_VALUE", + * addressLine3: "STRING_VALUE", + * districtOrCounty: "STRING_VALUE", + * city: "STRING_VALUE", // required + * stateOrRegion: "STRING_VALUE", + * postalCode: "STRING_VALUE", // required + * countryCode: "STRING_VALUE", // required + * }, + * }, + * }; + * const command = new PutSupplementalTaxRegistrationCommand(input); + * const response = await client.send(command); + * // { // PutSupplementalTaxRegistrationResponse + * // authorityId: "STRING_VALUE", // required + * // status: "Verified" || "Pending" || "Deleted" || "Rejected", // required + * // }; + * + * ``` + * + * @param PutSupplementalTaxRegistrationCommandInput - {@link PutSupplementalTaxRegistrationCommandInput} + * @returns {@link PutSupplementalTaxRegistrationCommandOutput} + * @see {@link PutSupplementalTaxRegistrationCommandInput} for command's `input` shape. + * @see {@link PutSupplementalTaxRegistrationCommandOutput} for command's `response` shape. + * @see {@link TaxSettingsClientResolvedConfig | config} for TaxSettingsClient's `config` shape. + * + * @throws {@link ConflictException} (client fault) + *

    The exception when the input is creating conflict with the given state.

    + * + * @throws {@link InternalServerException} (server fault) + *

    The exception thrown when an unexpected error occurs when processing a request.

    + * + * @throws {@link ValidationException} (client fault) + *

    The exception when the input doesn't pass validation for at least one of the input + * parameters.

    + * + * @throws {@link TaxSettingsServiceException} + *

    Base exception class for all service exceptions from TaxSettings service.

    + * + * @public + */ +export class PutSupplementalTaxRegistrationCommand extends $Command + .classBuilder< + PutSupplementalTaxRegistrationCommandInput, + PutSupplementalTaxRegistrationCommandOutput, + TaxSettingsClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >() + .ep(commonParams) + .m(function (this: any, Command: any, cs: any, config: TaxSettingsClientResolvedConfig, o: any) { + return [ + getSerdePlugin(config, this.serialize, this.deserialize), + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + ]; + }) + .s("TaxSettings", "PutSupplementalTaxRegistration", {}) + .n("TaxSettingsClient", "PutSupplementalTaxRegistrationCommand") + .f(PutSupplementalTaxRegistrationRequestFilterSensitiveLog, void 0) + .ser(se_PutSupplementalTaxRegistrationCommand) + .de(de_PutSupplementalTaxRegistrationCommand) + .build() { + /** @internal type navigation helper, not in runtime. */ + protected declare static __types: { + api: { + input: PutSupplementalTaxRegistrationRequest; + output: PutSupplementalTaxRegistrationResponse; + }; + sdk: { + input: PutSupplementalTaxRegistrationCommandInput; + output: PutSupplementalTaxRegistrationCommandOutput; + }; + }; +} diff --git a/clients/client-taxsettings/src/commands/PutTaxRegistrationCommand.ts b/clients/client-taxsettings/src/commands/PutTaxRegistrationCommand.ts index 57dca66c2c41..4305cea3e92c 100644 --- a/clients/client-taxsettings/src/commands/PutTaxRegistrationCommand.ts +++ b/clients/client-taxsettings/src/commands/PutTaxRegistrationCommand.ts @@ -83,26 +83,27 @@ export interface PutTaxRegistrationCommandOutput extends PutTaxRegistrationRespo *

    *
      *
    • - *

      If you use this operation to set a tax registration number (TRN) in Malaysia, only - * resellers with a valid sales and service tax (SST) number are required to provide tax - * registration information.

      + *

      The sector valid values are Business and Individual.

      *
    • *
    • - *

      By using this API operation to set a TRN in Malaysia, Amazon Web Services will regard you as - * self-declaring that you're an authorized business reseller registered with the Royal - * Malaysia Customs Department (RMCD) and have a valid SST number.

      + *

      + * RegistrationType valid values are NRIC for individual, and TIN and sales and service tax (SST) for Business.

      *
    • *
    • - *

      Amazon Web Services reserves the right to seek additional information and/or take other actions to - * support your self-declaration as appropriate.

      + *

      For individual, you can specify the taxInformationNumber in MalaysiaAdditionalInfo with NRIC type, and a valid MyKad or NRIC number.

      + *
    • + *
    • + *

      For business, you must specify a businessRegistrationNumber in MalaysiaAdditionalInfo with a TIN type and tax identification number.

      *
    • *
    • - *

      If you're not a reseller of Amazon Web Services, we don't recommend that you use - * this operation to set the TRN in Malaysia.

      + *

      For business resellers, you must specify a businessRegistrationNumber and taxInformationNumber in MalaysiaAdditionalInfo with a sales and service tax (SST) type and a valid SST number.

      *
    • *
    • - *

      Only use this API operation to upload the TRNs for accounts through which you're - * reselling Amazon Web Services.

      + *

      For business resellers with service codes, you must specify businessRegistrationNumber, taxInformationNumber, and distinct serviceTaxCodes in MalaysiaAdditionalInfo with a SST type and valid sales and service tax (SST) number. By using this API operation, Amazon Web Services registers your self-declaration that you’re an authorized business reseller registered with the Royal Malaysia Customs Department (RMCD), and have a valid SST number.

      + *
    • + *
    • + *

      Amazon Web Services reserves the right to seek additional information and/or take other actions to + * support your self-declaration as appropriate.

      *
    • *
    • *

      Amazon Web Services is currently registered under the following service tax codes. You must include @@ -223,7 +224,7 @@ export interface PutTaxRegistrationCommandOutput extends PutTaxRegistrationRespo * accountId: "STRING_VALUE", * taxRegistrationEntry: { // TaxRegistrationEntry * registrationId: "STRING_VALUE", // required - * registrationType: "VAT" || "GST" || "CPF" || "CNPJ" || "SST", // required + * registrationType: "VAT" || "GST" || "CPF" || "CNPJ" || "SST" || "TIN" || "NRIC", // required * legalName: "STRING_VALUE", * legalAddress: { // Address * addressLine1: "STRING_VALUE", // required @@ -238,9 +239,11 @@ export interface PutTaxRegistrationCommandOutput extends PutTaxRegistrationRespo * sector: "Business" || "Individual" || "Government", * additionalTaxInformation: { // AdditionalInfoRequest * malaysiaAdditionalInfo: { // MalaysiaAdditionalInfo - * serviceTaxCodes: [ // MalaysiaServiceTaxCodesList // required + * serviceTaxCodes: [ // MalaysiaServiceTaxCodesList * "Consultancy" || "Digital Service And Electronic Medium" || "IT Services" || "Training Or Coaching", * ], + * taxInformationNumber: "STRING_VALUE", + * businessRegistrationNumber: "STRING_VALUE", * }, * israelAdditionalInfo: { // IsraelAdditionalInfo * dealerType: "Authorized" || "Non-authorized", // required diff --git a/clients/client-taxsettings/src/commands/index.ts b/clients/client-taxsettings/src/commands/index.ts index 23134ad4ce55..e367309417d0 100644 --- a/clients/client-taxsettings/src/commands/index.ts +++ b/clients/client-taxsettings/src/commands/index.ts @@ -1,8 +1,11 @@ // smithy-typescript generated code export * from "./BatchDeleteTaxRegistrationCommand"; export * from "./BatchPutTaxRegistrationCommand"; +export * from "./DeleteSupplementalTaxRegistrationCommand"; export * from "./DeleteTaxRegistrationCommand"; export * from "./GetTaxRegistrationCommand"; export * from "./GetTaxRegistrationDocumentCommand"; +export * from "./ListSupplementalTaxRegistrationsCommand"; export * from "./ListTaxRegistrationsCommand"; +export * from "./PutSupplementalTaxRegistrationCommand"; export * from "./PutTaxRegistrationCommand"; diff --git a/clients/client-taxsettings/src/models/models_0.ts b/clients/client-taxsettings/src/models/models_0.ts index 9616f21d409a..3fca202b73d2 100644 --- a/clients/client-taxsettings/src/models/models_0.ts +++ b/clients/client-taxsettings/src/models/models_0.ts @@ -46,7 +46,7 @@ export interface Address { city: string | undefined; /** - *

      The state, region, or province that the address is located.

      + *

      The state, region, or province that the address is located. This field is only required for Canada, India, United Arab Emirates, Romania, and Brazil (CPF). It is optional for all other countries.

      *

      If this is required for tax settings, use the same name as shown on the Tax Settings page.

      * @public */ @@ -224,7 +224,7 @@ export interface CanadaAdditionalInfo { /** *

      - * Manitoba Retail Sales Tax ID number. Customers purchasing Amazon Web Services for resale in Manitoba must provide a valid Retail Sales Tax ID number for Manitoba. Leave this blank if you do not have a Retail Sales Tax ID number in Manitoba or are not purchasing Amazon Web Services for resale. + * Manitoba Retail Sales Tax ID number. Customers purchasing Amazon Web Services services for resale in Manitoba must provide a valid Retail Sales Tax ID number for Manitoba. Leave this blank if you do not have a Retail Sales Tax ID number in Manitoba or are not purchasing Amazon Web Services services for resale. *

      * @public */ @@ -428,7 +428,26 @@ export interface MalaysiaAdditionalInfo { *

      List of service tax codes for your TRN in Malaysia.

      * @public */ - serviceTaxCodes: MalaysiaServiceTaxCode[] | undefined; + serviceTaxCodes?: MalaysiaServiceTaxCode[]; + + /** + *

      The tax information number in Malaysia. + *

      + *

      For individual, you can specify the taxInformationNumber in MalaysiaAdditionalInfo with NRIC type, and a valid MyKad or NRIC number. For business resellers, you must specify a businessRegistrationNumber and taxInformationNumber in MalaysiaAdditionalInfo with a sales and service tax (SST) type and a valid SST number. + *

      + *

      For business resellers with service codes, you must specify businessRegistrationNumber, taxInformationNumber, and distinct serviceTaxCodes in MalaysiaAdditionalInfo with a SST type and valid sales and service tax (SST) number. By using this API operation, Amazon Web Services registers your self-declaration that you’re an authorized business reseller registered with the Royal Malaysia Customs Department (RMCD), and have a valid SST number.

      + * @public + */ + taxInformationNumber?: string; + + /** + *

      The tax registration number (TRN) in Malaysia.

      + *

      For individual, you can specify the taxInformationNumber in MalaysiaAdditionalInfo with NRIC type, and a valid MyKad or NRIC number. For business, you must specify a businessRegistrationNumber in MalaysiaAdditionalInfo with a TIN type and tax identification number. For business resellers, you must specify a businessRegistrationNumber and taxInformationNumber in MalaysiaAdditionalInfo with a sales and service tax (SST) type and a valid SST number. + *

      + *

      For business resellers with service codes, you must specify businessRegistrationNumber, taxInformationNumber, and distinct serviceTaxCodes in MalaysiaAdditionalInfo with a SST type and valid sales and service tax (SST) number. By using this API operation, Amazon Web Services registers your self-declaration that you’re an authorized business reseller registered with the Royal Malaysia Customs Department (RMCD), and have a valid SST number.

      + * @public + */ + businessRegistrationNumber?: string; } /** @@ -774,7 +793,9 @@ export const TaxRegistrationType = { CNPJ: "CNPJ", CPF: "CPF", GST: "GST", + NRIC: "NRIC", SST: "SST", + TIN: "TIN", VAT: "VAT", } as const; @@ -1400,20 +1421,20 @@ export interface BatchPutTaxRegistrationResponse { /** * @public */ -export interface DeleteTaxRegistrationRequest { +export interface DeleteSupplementalTaxRegistrationRequest { /** - *

      Unique account identifier for the TRN information that needs to be deleted. If this isn't - * passed, the account ID corresponding to the credentials of the API caller will be used for - * this parameter.

      + *

      + * The unique authority Id for the supplemental TRN information that needs to be deleted. + *

      * @public */ - accountId?: string; + authorityId: string | undefined; } /** * @public */ -export interface DeleteTaxRegistrationResponse {} +export interface DeleteSupplementalTaxRegistrationResponse {} /** *

      The exception thrown when the input doesn't have a resource associated to it.

      @@ -1442,6 +1463,24 @@ export class ResourceNotFoundException extends __BaseException { } } +/** + * @public + */ +export interface DeleteTaxRegistrationRequest { + /** + *

      Unique account identifier for the TRN information that needs to be deleted. If this isn't + * passed, the account ID corresponding to the credentials of the API caller will be used for + * this parameter.

      + * @public + */ + accountId?: string; +} + +/** + * @public + */ +export interface DeleteTaxRegistrationResponse {} + /** *

      The location of the Amazon S3 bucket that you specify to download your tax documents to.

      * @public @@ -1573,6 +1612,116 @@ export interface GetTaxRegistrationDocumentResponse { destinationFilePath?: string; } +/** + * @public + */ +export interface ListSupplementalTaxRegistrationsRequest { + /** + *

      + * The number of taxRegistrations results you want in one response. + *

      + * @public + */ + maxResults?: number; + + /** + *

      + * The token to retrieve the next set of results. + *

      + * @public + */ + nextToken?: string; +} + +/** + * @public + * @enum + */ +export const SupplementalTaxRegistrationType = { + VAT: "VAT", +} as const; + +/** + * @public + */ +export type SupplementalTaxRegistrationType = + (typeof SupplementalTaxRegistrationType)[keyof typeof SupplementalTaxRegistrationType]; + +/** + *

      + * Supplemental TRN details. + *

      + * @public + */ +export interface SupplementalTaxRegistration { + /** + *

      + * The supplemental TRN unique identifier. + *

      + * @public + */ + registrationId: string | undefined; + + /** + *

      + * Type of supplemental TRN. Currently, this can only be VAT. + *

      + * @public + */ + registrationType: SupplementalTaxRegistrationType | undefined; + + /** + *

      + * The legal name associated with your TRN registration. + *

      + * @public + */ + legalName: string | undefined; + + /** + *

      The details of the address associated with the TRN information.

      + * @public + */ + address: Address | undefined; + + /** + *

      + * Unique authority ID for the supplemental TRN. + *

      + * @public + */ + authorityId: string | undefined; + + /** + *

      + * The status of your TRN. + *

      + * @public + */ + status: TaxRegistrationStatus | undefined; +} + +/** + * @public + */ +export interface ListSupplementalTaxRegistrationsResponse { + /** + *

      + * The list of supplemental tax registrations. + *

      + * @public + */ + taxRegistrations: SupplementalTaxRegistration[] | undefined; + + /** + *

      + * The token to retrieve the next set of results. + *

      + * @public + */ + nextToken?: string; +} + /** * @public */ @@ -1608,6 +1757,78 @@ export interface ListTaxRegistrationsResponse { nextToken?: string; } +/** + *

      + * The supplemental TRN information to provide when adding or updating a supplemental TRN. + *

      + * @public + */ +export interface SupplementalTaxRegistrationEntry { + /** + *

      + * The supplemental TRN unique identifier. + *

      + * @public + */ + registrationId: string | undefined; + + /** + *

      + * Type of supplemental TRN. Currently, this can only be VAT. + *

      + * @public + */ + registrationType: SupplementalTaxRegistrationType | undefined; + + /** + *

      + * The legal name associated with your TRN registration. + *

      + * @public + */ + legalName: string | undefined; + + /** + *

      The details of the address associated with the TRN information.

      + * @public + */ + address: Address | undefined; +} + +/** + * @public + */ +export interface PutSupplementalTaxRegistrationRequest { + /** + *

      + * The supplemental TRN information that will be stored for the caller account ID. + *

      + * @public + */ + taxRegistrationEntry: SupplementalTaxRegistrationEntry | undefined; +} + +/** + * @public + */ +export interface PutSupplementalTaxRegistrationResponse { + /** + *

      + * Unique authority ID for the supplemental TRN information that was stored. + *

      + * @public + */ + authorityId: string | undefined; + + /** + *

      + * The status of the supplemental TRN stored in the system after processing. Based on the validation occurring on the TRN, the status can be Verified, Pending, Rejected, or Deleted. + *

      + * @public + */ + status: TaxRegistrationStatus | undefined; +} + /** * @public */ @@ -1724,6 +1945,23 @@ export const GetTaxRegistrationResponseFilterSensitiveLog = (obj: GetTaxRegistra ...(obj.taxRegistration && { taxRegistration: SENSITIVE_STRING }), }); +/** + * @internal + */ +export const SupplementalTaxRegistrationFilterSensitiveLog = (obj: SupplementalTaxRegistration): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const ListSupplementalTaxRegistrationsResponseFilterSensitiveLog = ( + obj: ListSupplementalTaxRegistrationsResponse +): any => ({ + ...obj, + ...(obj.taxRegistrations && { taxRegistrations: SENSITIVE_STRING }), +}); + /** * @internal */ @@ -1732,6 +1970,23 @@ export const ListTaxRegistrationsResponseFilterSensitiveLog = (obj: ListTaxRegis ...(obj.accountDetails && { accountDetails: SENSITIVE_STRING }), }); +/** + * @internal + */ +export const SupplementalTaxRegistrationEntryFilterSensitiveLog = (obj: SupplementalTaxRegistrationEntry): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const PutSupplementalTaxRegistrationRequestFilterSensitiveLog = ( + obj: PutSupplementalTaxRegistrationRequest +): any => ({ + ...obj, + ...(obj.taxRegistrationEntry && { taxRegistrationEntry: SENSITIVE_STRING }), +}); + /** * @internal */ diff --git a/clients/client-taxsettings/src/pagination/ListSupplementalTaxRegistrationsPaginator.ts b/clients/client-taxsettings/src/pagination/ListSupplementalTaxRegistrationsPaginator.ts new file mode 100644 index 000000000000..37c94196b9ae --- /dev/null +++ b/clients/client-taxsettings/src/pagination/ListSupplementalTaxRegistrationsPaginator.ts @@ -0,0 +1,24 @@ +// smithy-typescript generated code +import { createPaginator } from "@smithy/core"; +import { Paginator } from "@smithy/types"; + +import { + ListSupplementalTaxRegistrationsCommand, + ListSupplementalTaxRegistrationsCommandInput, + ListSupplementalTaxRegistrationsCommandOutput, +} from "../commands/ListSupplementalTaxRegistrationsCommand"; +import { TaxSettingsClient } from "../TaxSettingsClient"; +import { TaxSettingsPaginationConfiguration } from "./Interfaces"; + +/** + * @public + */ +export const paginateListSupplementalTaxRegistrations: ( + config: TaxSettingsPaginationConfiguration, + input: ListSupplementalTaxRegistrationsCommandInput, + ...rest: any[] +) => Paginator = createPaginator< + TaxSettingsPaginationConfiguration, + ListSupplementalTaxRegistrationsCommandInput, + ListSupplementalTaxRegistrationsCommandOutput +>(TaxSettingsClient, ListSupplementalTaxRegistrationsCommand, "nextToken", "nextToken", "maxResults"); diff --git a/clients/client-taxsettings/src/pagination/index.ts b/clients/client-taxsettings/src/pagination/index.ts index 73538c2c0ca5..7c58f64fee75 100644 --- a/clients/client-taxsettings/src/pagination/index.ts +++ b/clients/client-taxsettings/src/pagination/index.ts @@ -1,3 +1,4 @@ // smithy-typescript generated code export * from "./Interfaces"; +export * from "./ListSupplementalTaxRegistrationsPaginator"; export * from "./ListTaxRegistrationsPaginator"; diff --git a/clients/client-taxsettings/src/protocols/Aws_restJson1.ts b/clients/client-taxsettings/src/protocols/Aws_restJson1.ts index 2be046f5f96e..1b399987a86e 100644 --- a/clients/client-taxsettings/src/protocols/Aws_restJson1.ts +++ b/clients/client-taxsettings/src/protocols/Aws_restJson1.ts @@ -27,6 +27,10 @@ import { BatchPutTaxRegistrationCommandInput, BatchPutTaxRegistrationCommandOutput, } from "../commands/BatchPutTaxRegistrationCommand"; +import { + DeleteSupplementalTaxRegistrationCommandInput, + DeleteSupplementalTaxRegistrationCommandOutput, +} from "../commands/DeleteSupplementalTaxRegistrationCommand"; import { DeleteTaxRegistrationCommandInput, DeleteTaxRegistrationCommandOutput, @@ -36,10 +40,18 @@ import { GetTaxRegistrationDocumentCommandInput, GetTaxRegistrationDocumentCommandOutput, } from "../commands/GetTaxRegistrationDocumentCommand"; +import { + ListSupplementalTaxRegistrationsCommandInput, + ListSupplementalTaxRegistrationsCommandOutput, +} from "../commands/ListSupplementalTaxRegistrationsCommand"; import { ListTaxRegistrationsCommandInput, ListTaxRegistrationsCommandOutput, } from "../commands/ListTaxRegistrationsCommand"; +import { + PutSupplementalTaxRegistrationCommandInput, + PutSupplementalTaxRegistrationCommandOutput, +} from "../commands/PutSupplementalTaxRegistrationCommand"; import { PutTaxRegistrationCommandInput, PutTaxRegistrationCommandOutput } from "../commands/PutTaxRegistrationCommand"; import { AdditionalInfoRequest, @@ -62,6 +74,7 @@ import { SourceS3Location, SouthKoreaAdditionalInfo, SpainAdditionalInfo, + SupplementalTaxRegistrationEntry, TaxDocumentMetadata, TaxRegistrationDocument, TaxRegistrationEntry, @@ -117,6 +130,28 @@ export const se_BatchPutTaxRegistrationCommand = async ( return b.build(); }; +/** + * serializeAws_restJson1DeleteSupplementalTaxRegistrationCommand + */ +export const se_DeleteSupplementalTaxRegistrationCommand = async ( + input: DeleteSupplementalTaxRegistrationCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const b = rb(input, context); + const headers: any = { + "content-type": "application/json", + }; + b.bp("/DeleteSupplementalTaxRegistration"); + let body: any; + body = JSON.stringify( + take(input, { + authorityId: [], + }) + ); + b.m("POST").h(headers).b(body); + return b.build(); +}; + /** * serializeAws_restJson1DeleteTaxRegistrationCommand */ @@ -184,6 +219,29 @@ export const se_GetTaxRegistrationDocumentCommand = async ( return b.build(); }; +/** + * serializeAws_restJson1ListSupplementalTaxRegistrationsCommand + */ +export const se_ListSupplementalTaxRegistrationsCommand = async ( + input: ListSupplementalTaxRegistrationsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const b = rb(input, context); + const headers: any = { + "content-type": "application/json", + }; + b.bp("/ListSupplementalTaxRegistrations"); + let body: any; + body = JSON.stringify( + take(input, { + maxResults: [], + nextToken: [], + }) + ); + b.m("POST").h(headers).b(body); + return b.build(); +}; + /** * serializeAws_restJson1ListTaxRegistrationsCommand */ @@ -207,6 +265,28 @@ export const se_ListTaxRegistrationsCommand = async ( return b.build(); }; +/** + * serializeAws_restJson1PutSupplementalTaxRegistrationCommand + */ +export const se_PutSupplementalTaxRegistrationCommand = async ( + input: PutSupplementalTaxRegistrationCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const b = rb(input, context); + const headers: any = { + "content-type": "application/json", + }; + b.bp("/PutSupplementalTaxRegistration"); + let body: any; + body = JSON.stringify( + take(input, { + taxRegistrationEntry: (_) => _json(_), + }) + ); + b.m("POST").h(headers).b(body); + return b.build(); +}; + /** * serializeAws_restJson1PutTaxRegistrationCommand */ @@ -273,6 +353,23 @@ export const de_BatchPutTaxRegistrationCommand = async ( return contents; }; +/** + * deserializeAws_restJson1DeleteSupplementalTaxRegistrationCommand + */ +export const de_DeleteSupplementalTaxRegistrationCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return de_CommandError(output, context); + } + const contents: any = map({ + $metadata: deserializeMetadata(output), + }); + await collectBody(output.body, context); + return contents; +}; + /** * deserializeAws_restJson1DeleteTaxRegistrationCommand */ @@ -332,6 +429,28 @@ export const de_GetTaxRegistrationDocumentCommand = async ( return contents; }; +/** + * deserializeAws_restJson1ListSupplementalTaxRegistrationsCommand + */ +export const de_ListSupplementalTaxRegistrationsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return de_CommandError(output, context); + } + const contents: any = map({ + $metadata: deserializeMetadata(output), + }); + const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + const doc = take(data, { + nextToken: __expectString, + taxRegistrations: _json, + }); + Object.assign(contents, doc); + return contents; +}; + /** * deserializeAws_restJson1ListTaxRegistrationsCommand */ @@ -354,6 +473,28 @@ export const de_ListTaxRegistrationsCommand = async ( return contents; }; +/** + * deserializeAws_restJson1PutSupplementalTaxRegistrationCommand + */ +export const de_PutSupplementalTaxRegistrationCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return de_CommandError(output, context); + } + const contents: any = map({ + $metadata: deserializeMetadata(output), + }); + const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + const doc = take(data, { + authorityId: __expectString, + status: __expectString, + }); + Object.assign(contents, doc); + return contents; +}; + /** * deserializeAws_restJson1PutTaxRegistrationCommand */ @@ -523,6 +664,8 @@ const de_ValidationExceptionRes = async (parsedOutput: any, context: __SerdeCont // se_SpainAdditionalInfo omitted. +// se_SupplementalTaxRegistrationEntry omitted. + // se_TaxDocumentMetadata omitted. // se_TaxRegistrationDocument omitted. @@ -589,6 +732,10 @@ const de_ValidationExceptionRes = async (parsedOutput: any, context: __SerdeCont // de_SpainAdditionalInfo omitted. +// de_SupplementalTaxRegistration omitted. + +// de_SupplementalTaxRegistrationList omitted. + // de_TaxDocumentMetadata omitted. // de_TaxDocumentMetadatas omitted. diff --git a/codegen/sdk-codegen/aws-models/taxsettings.json b/codegen/sdk-codegen/aws-models/taxsettings.json index e057f94d037b..e2bd4369c2ca 100644 --- a/codegen/sdk-codegen/aws-models/taxsettings.json +++ b/codegen/sdk-codegen/aws-models/taxsettings.json @@ -338,7 +338,7 @@ "stateOrRegion": { "target": "com.amazonaws.taxsettings#State", "traits": { - "smithy.api#documentation": "

      The state, region, or province that the address is located.

      \n

      If this is required for tax settings, use the same name as shown on the Tax Settings page.

      " + "smithy.api#documentation": "

      The state, region, or province that the address is located. This field is only required for Canada, India, United Arab Emirates, Romania, and Brazil (CPF). It is optional for all other countries.

      \n

      If this is required for tax settings, use the same name as shown on the Tax Settings page.

      " } }, "postalCode": { @@ -540,7 +540,7 @@ "aws.iam#iamAction": { "documentation": "Grants store permission" }, - "smithy.api#documentation": "

      Adds or updates tax registration for multiple accounts in batch. This can be used to add\n or update tax registrations for up to five accounts in one batch. You can't set a TRN if there's a pending TRN. You'll need to delete the pending TRN first.

      \n

      To call this API operation for specific countries, see the following country-specific\n requirements.

      \n

      \n Bangladesh\n

      \n
        \n
      • \n

        You must specify the tax registration certificate document in the\n taxRegistrationDocuments field of the VerificationDetails\n object.

        \n
      • \n
      \n

      \n Brazil\n

      \n
        \n
      • \n

        You must complete the tax registration process in the Payment preferences page in the Billing and Cost Management console. After your TRN and billing address are verified, you can call this API operation.

        \n
      • \n
      • \n

        For Amazon Web Services accounts created through Organizations, you can call this API operation when you don't have a billing address.

        \n
      • \n
      \n

      \n Georgia\n

      \n
        \n
      • \n

        The valid personType values are Physical Person and Business.

        \n
      • \n
      \n

      \n Kenya\n

      \n
        \n
      • \n

        You must specify the personType in the kenyaAdditionalInfo\n field of the additionalTaxInformation object.

        \n
      • \n
      • \n

        If the personType is Physical Person, you must specify the\n tax registration certificate document in the taxRegistrationDocuments field\n of the VerificationDetails object.

        \n
      • \n
      \n

      \n Malaysia\n

      \n
        \n
      • \n

        If you use this operation to set a tax registration number (TRN) in Malaysia, only\n resellers with a valid sales and service tax (SST) number are required to provide tax\n registration information.

        \n
      • \n
      • \n

        By using this API operation to set a TRN in Malaysia, Amazon Web Services will regard you as\n self-declaring that you're an authorized business reseller registered with the Royal\n Malaysia Customs Department (RMCD) and have a valid SST number.

        \n
      • \n
      • \n

        Amazon Web Services reserves the right to seek additional information and/or take other actions to\n support your self-declaration as appropriate.

        \n
      • \n
      • \n

        If you're not a reseller of Amazon Web Services, we don't recommend that you use\n this operation to set the TRN in Malaysia.

        \n
      • \n
      • \n

        Only use this API operation to upload the TRNs for accounts through which you're\n reselling Amazon Web Services.

        \n
      • \n
      • \n

        Amazon Web Services is currently registered under the following service tax codes. You must include\n at least one of the service tax codes in the service tax code strings to declare yourself\n as an authorized registered business reseller.

        \n

        Taxable service and service tax codes:

        \n

        Consultancy - 9907061674

        \n

        Training or coaching service - 9907071685

        \n

        IT service - 9907101676

        \n

        Digital services and electronic medium - 9907121690

        \n
      • \n
      \n

      \n Nepal\n

      \n
        \n
      • \n

        The sector valid values are Business and Individual.

        \n
      • \n
      \n

      \n Saudi Arabia\n

      \n
        \n
      • \n

        For address, you must specify addressLine3.

        \n
      • \n
      \n

      \n South Korea\n

      \n
        \n
      • \n

        You must specify the certifiedEmailId and legalName in the\n TaxRegistrationEntry object. Use Korean characters for\n legalName.

        \n
      • \n
      • \n

        You must specify the businessRepresentativeName,\n itemOfBusiness, and lineOfBusiness in the\n southKoreaAdditionalInfo field of the additionalTaxInformation\n object. Use Korean characters for these fields.

        \n
      • \n
      • \n

        You must specify the tax registration certificate document in the\n taxRegistrationDocuments field of the VerificationDetails\n object.

        \n
      • \n
      • \n

        For the address object, use Korean characters for addressLine1, addressLine2\n city, postalCode, and stateOrRegion.

        \n
      • \n
      \n

      \n Spain\n

      \n
        \n
      • \n

        You must specify the registrationType in the\n spainAdditionalInfo field of the additionalTaxInformation\n object.

        \n
      • \n
      • \n

        If the registrationType is Local, you must specify the tax\n registration certificate document in the taxRegistrationDocuments field of\n the VerificationDetails object.

        \n
      • \n
      \n

      \n Turkey\n

      \n
        \n
      • \n

        You must specify the sector in the taxRegistrationEntry object.

        \n
      • \n
      • \n

        If your sector is Business, Individual, or\n Government:

        \n
          \n
        • \n

          Specify the taxOffice. If your\n sector is Individual, don't enter this value.

          \n
        • \n
        • \n

          (Optional) Specify the kepEmailId. If your\n sector is Individual, don't enter this value.

          \n
        • \n
        • \n

          \n Note: In the Tax Settings page of the Billing console, Government appears as Public institutions\n

          \n
        • \n
        \n
      • \n
      • \n

        If your sector is Business and you're subject to KDV tax,\n you must specify your industry in the industries field.

        \n
      • \n
      • \n

        For address, you must specify districtOrCounty.

        \n
      • \n
      \n

      \n Ukraine\n

      \n
        \n
      • \n

        The sector valid values are Business and Individual.

        \n
      • \n
      ", + "smithy.api#documentation": "

      Adds or updates tax registration for multiple accounts in batch. This can be used to add\n or update tax registrations for up to five accounts in one batch. You can't set a TRN if there's a pending TRN. You'll need to delete the pending TRN first.

      \n

      To call this API operation for specific countries, see the following country-specific\n requirements.

      \n

      \n Bangladesh\n

      \n
        \n
      • \n

        You must specify the tax registration certificate document in the\n taxRegistrationDocuments field of the VerificationDetails\n object.

        \n
      • \n
      \n

      \n Brazil\n

      \n
        \n
      • \n

        You must complete the tax registration process in the Payment preferences page in the Billing and Cost Management console. After your TRN and billing address are verified, you can call this API operation.

        \n
      • \n
      • \n

        For Amazon Web Services accounts created through Organizations, you can call this API operation when you don't have a billing address.

        \n
      • \n
      \n

      \n Georgia\n

      \n
        \n
      • \n

        The valid personType values are Physical Person and Business.

        \n
      • \n
      \n

      \n Kenya\n

      \n
        \n
      • \n

        You must specify the personType in the kenyaAdditionalInfo\n field of the additionalTaxInformation object.

        \n
      • \n
      • \n

        If the personType is Physical Person, you must specify the\n tax registration certificate document in the taxRegistrationDocuments field\n of the VerificationDetails object.

        \n
      • \n
      \n

      \n Malaysia\n

      \n
        \n
      • \n

        The sector valid values are Business and Individual.

        \n
      • \n
      • \n

        \n RegistrationType valid values are NRIC for individual, and TIN and sales and service tax (SST) for Business.

        \n
      • \n
      • \n

        For individual, you can specify the taxInformationNumber in MalaysiaAdditionalInfo with NRIC type, and a valid MyKad or NRIC number.

        \n
      • \n
      • \n

        For business, you must specify a businessRegistrationNumber in MalaysiaAdditionalInfo with a TIN type and tax identification number.

        \n
      • \n
      • \n

        For business resellers, you must specify a businessRegistrationNumber and taxInformationNumber in MalaysiaAdditionalInfo with a sales and service tax (SST) type and a valid SST number.

        \n
      • \n
      • \n

        For business resellers with service codes, you must specify businessRegistrationNumber, taxInformationNumber, and distinct serviceTaxCodes in MalaysiaAdditionalInfo with a SST type and valid sales and service tax (SST) number. By using this API operation, Amazon Web Services registers your self-declaration that you’re an authorized business reseller registered with the Royal Malaysia Customs Department (RMCD), and have a valid SST number.

        \n
      • \n
      • \n

        Amazon Web Services reserves the right to seek additional information and/or take other actions to\n support your self-declaration as appropriate.

        \n
      • \n
      • \n

        Amazon Web Services is currently registered under the following service tax codes. You must include\n at least one of the service tax codes in the service tax code strings to declare yourself\n as an authorized registered business reseller.

        \n

        Taxable service and service tax codes:

        \n

        Consultancy - 9907061674

        \n

        Training or coaching service - 9907071685

        \n

        IT service - 9907101676

        \n

        Digital services and electronic medium - 9907121690

        \n
      • \n
      \n

      \n Nepal\n

      \n
        \n
      • \n

        The sector valid values are Business and Individual.

        \n
      • \n
      \n

      \n Saudi Arabia\n

      \n
        \n
      • \n

        For address, you must specify addressLine3.

        \n
      • \n
      \n

      \n South Korea\n

      \n
        \n
      • \n

        You must specify the certifiedEmailId and legalName in the\n TaxRegistrationEntry object. Use Korean characters for\n legalName.

        \n
      • \n
      • \n

        You must specify the businessRepresentativeName,\n itemOfBusiness, and lineOfBusiness in the\n southKoreaAdditionalInfo field of the additionalTaxInformation\n object. Use Korean characters for these fields.

        \n
      • \n
      • \n

        You must specify the tax registration certificate document in the\n taxRegistrationDocuments field of the VerificationDetails\n object.

        \n
      • \n
      • \n

        For the address object, use Korean characters for addressLine1, addressLine2\n city, postalCode, and stateOrRegion.

        \n
      • \n
      \n

      \n Spain\n

      \n
        \n
      • \n

        You must specify the registrationType in the\n spainAdditionalInfo field of the additionalTaxInformation\n object.

        \n
      • \n
      • \n

        If the registrationType is Local, you must specify the tax\n registration certificate document in the taxRegistrationDocuments field of\n the VerificationDetails object.

        \n
      • \n
      \n

      \n Turkey\n

      \n
        \n
      • \n

        You must specify the sector in the taxRegistrationEntry object.

        \n
      • \n
      • \n

        If your sector is Business, Individual, or\n Government:

        \n
          \n
        • \n

          Specify the taxOffice. If your\n sector is Individual, don't enter this value.

          \n
        • \n
        • \n

          (Optional) Specify the kepEmailId. If your\n sector is Individual, don't enter this value.

          \n
        • \n
        • \n

          \n Note: In the Tax Settings page of the Billing console, Government appears as Public institutions\n

          \n
        • \n
        \n
      • \n
      • \n

        If your sector is Business and you're subject to KDV tax,\n you must specify your industry in the industries field.

        \n
      • \n
      • \n

        For address, you must specify districtOrCounty.

        \n
      • \n
      \n

      \n Ukraine\n

      \n
        \n
      • \n

        The sector valid values are Business and Individual.

        \n
      • \n
      ", "smithy.api#http": { "code": 200, "method": "POST", @@ -648,6 +648,12 @@ "smithy.api#documentation": "

      Additional tax information associated with your TRN in Brazil.

      " } }, + "com.amazonaws.taxsettings#BusinessRegistrationNumber": { + "type": "string", + "traits": { + "smithy.api#pattern": "^[0-9]{12}$" + } + }, "com.amazonaws.taxsettings#BusinessRepresentativeName": { "type": "string", "traits": { @@ -676,7 +682,7 @@ "canadaRetailSalesTaxNumber": { "target": "com.amazonaws.taxsettings#CanadaRetailSalesTaxNumberString", "traits": { - "smithy.api#documentation": "

      \n Manitoba Retail Sales Tax ID number. Customers purchasing Amazon Web Services for resale in Manitoba must provide a valid Retail Sales Tax ID number for Manitoba. Leave this blank if you do not have a Retail Sales Tax ID number in Manitoba or are not purchasing Amazon Web Services for resale.\n

      " + "smithy.api#documentation": "

      \n Manitoba Retail Sales Tax ID number. Customers purchasing Amazon Web Services services for resale in Manitoba must provide a valid Retail Sales Tax ID number for Manitoba. Leave this blank if you do not have a Retail Sales Tax ID number in Manitoba or are not purchasing Amazon Web Services services for resale.\n

      " } }, "isResellerAccount": { @@ -792,6 +798,62 @@ "smithy.api#pattern": "^(\\d{4}-(0[0-9]|1[0-2])-([0-2][0-9]|3[0-1]))$" } }, + "com.amazonaws.taxsettings#DeleteSupplementalTaxRegistration": { + "type": "operation", + "input": { + "target": "com.amazonaws.taxsettings#DeleteSupplementalTaxRegistrationRequest" + }, + "output": { + "target": "com.amazonaws.taxsettings#DeleteSupplementalTaxRegistrationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.taxsettings#ConflictException" + }, + { + "target": "com.amazonaws.taxsettings#InternalServerException" + }, + { + "target": "com.amazonaws.taxsettings#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.taxsettings#ValidationException" + } + ], + "traits": { + "aws.iam#iamAction": { + "documentation": "Grants delete permission" + }, + "smithy.api#documentation": "

      \n Deletes a supplemental tax registration for a single account.\n

      ", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/DeleteSupplementalTaxRegistration" + } + } + }, + "com.amazonaws.taxsettings#DeleteSupplementalTaxRegistrationRequest": { + "type": "structure", + "members": { + "authorityId": { + "target": "com.amazonaws.taxsettings#GenericString", + "traits": { + "smithy.api#documentation": "

      \n The unique authority Id for the supplemental TRN information that needs to be deleted.\n

      ", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.taxsettings#DeleteSupplementalTaxRegistrationResponse": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.taxsettings#DeleteTaxRegistration": { "type": "operation", "input": { @@ -926,6 +988,16 @@ "smithy.api#pattern": "^(?!\\s*$)[\\s\\S]+$" } }, + "com.amazonaws.taxsettings#GenericString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 200 + }, + "smithy.api#pattern": "^[\\s\\S]*$" + } + }, "com.amazonaws.taxsettings#GeorgiaAdditionalInfo": { "type": "structure", "members": { @@ -1324,6 +1396,85 @@ "smithy.api#pattern": "^[0-9\\u3130-\\u318F\\uAC00-\\uD7AF,.( )-\\\\s]*$" } }, + "com.amazonaws.taxsettings#ListSupplementalTaxRegistrations": { + "type": "operation", + "input": { + "target": "com.amazonaws.taxsettings#ListSupplementalTaxRegistrationsRequest" + }, + "output": { + "target": "com.amazonaws.taxsettings#ListSupplementalTaxRegistrationsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.taxsettings#InternalServerException" + }, + { + "target": "com.amazonaws.taxsettings#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.taxsettings#ValidationException" + } + ], + "traits": { + "aws.iam#iamAction": { + "documentation": "Grants retrieve permission" + }, + "smithy.api#documentation": "

      \n Retrieves supplemental tax registrations for a single account.\n

      ", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/ListSupplementalTaxRegistrations" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "items": "taxRegistrations", + "pageSize": "maxResults" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.taxsettings#ListSupplementalTaxRegistrationsRequest": { + "type": "structure", + "members": { + "maxResults": { + "target": "com.amazonaws.taxsettings#MaxResults", + "traits": { + "smithy.api#documentation": "

      \n The number of taxRegistrations results you want in one response.\n

      " + } + }, + "nextToken": { + "target": "com.amazonaws.taxsettings#PaginationTokenString", + "traits": { + "smithy.api#documentation": "

      \n The token to retrieve the next set of results. \n

      " + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.taxsettings#ListSupplementalTaxRegistrationsResponse": { + "type": "structure", + "members": { + "taxRegistrations": { + "target": "com.amazonaws.taxsettings#SupplementalTaxRegistrationList", + "traits": { + "smithy.api#documentation": "

      \n The list of supplemental tax registrations. \n

      ", + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "com.amazonaws.taxsettings#PaginationTokenString", + "traits": { + "smithy.api#documentation": "

      \n The token to retrieve the next set of results. \n

      " + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.taxsettings#ListTaxRegistrations": { "type": "operation", "input": { @@ -1409,8 +1560,21 @@ "serviceTaxCodes": { "target": "com.amazonaws.taxsettings#MalaysiaServiceTaxCodesList", "traits": { - "smithy.api#documentation": "

      List of service tax codes for your TRN in Malaysia.

      ", - "smithy.api#required": {} + "smithy.api#addedDefault": {}, + "smithy.api#default": [], + "smithy.api#documentation": "

      List of service tax codes for your TRN in Malaysia.

      " + } + }, + "taxInformationNumber": { + "target": "com.amazonaws.taxsettings#TaxInformationNumber", + "traits": { + "smithy.api#documentation": "

      The tax information number in Malaysia. \n

      \n

      For individual, you can specify the taxInformationNumber in MalaysiaAdditionalInfo with NRIC type, and a valid MyKad or NRIC number. For business resellers, you must specify a businessRegistrationNumber and taxInformationNumber in MalaysiaAdditionalInfo with a sales and service tax (SST) type and a valid SST number.\n

      \n

      For business resellers with service codes, you must specify businessRegistrationNumber, taxInformationNumber, and distinct serviceTaxCodes in MalaysiaAdditionalInfo with a SST type and valid sales and service tax (SST) number. By using this API operation, Amazon Web Services registers your self-declaration that you’re an authorized business reseller registered with the Royal Malaysia Customs Department (RMCD), and have a valid SST number.

      " + } + }, + "businessRegistrationNumber": { + "target": "com.amazonaws.taxsettings#BusinessRegistrationNumber", + "traits": { + "smithy.api#documentation": "

      The tax registration number (TRN) in Malaysia.

      \n

      For individual, you can specify the taxInformationNumber in MalaysiaAdditionalInfo with NRIC type, and a valid MyKad or NRIC number. For business, you must specify a businessRegistrationNumber in MalaysiaAdditionalInfo with a TIN type and tax identification number. For business resellers, you must specify a businessRegistrationNumber and taxInformationNumber in MalaysiaAdditionalInfo with a sales and service tax (SST) type and a valid SST number.\n

      \n

      For business resellers with service codes, you must specify businessRegistrationNumber, taxInformationNumber, and distinct serviceTaxCodes in MalaysiaAdditionalInfo with a SST type and valid sales and service tax (SST) number. By using this API operation, Amazon Web Services registers your self-declaration that you’re an authorized business reseller registered with the Royal Malaysia Customs Department (RMCD), and have a valid SST number.

      " } } }, @@ -1454,7 +1618,6 @@ }, "traits": { "smithy.api#length": { - "min": 1, "max": 4 }, "smithy.api#uniqueItems": {} @@ -1538,6 +1701,74 @@ "smithy.api#pattern": "^(?!\\s*$)[\\s\\S]+$" } }, + "com.amazonaws.taxsettings#PutSupplementalTaxRegistration": { + "type": "operation", + "input": { + "target": "com.amazonaws.taxsettings#PutSupplementalTaxRegistrationRequest" + }, + "output": { + "target": "com.amazonaws.taxsettings#PutSupplementalTaxRegistrationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.taxsettings#ConflictException" + }, + { + "target": "com.amazonaws.taxsettings#InternalServerException" + }, + { + "target": "com.amazonaws.taxsettings#ValidationException" + } + ], + "traits": { + "aws.iam#iamAction": { + "documentation": "Grants store permission" + }, + "smithy.api#documentation": "

      \n Stores supplemental tax registration for a single account.\n

      ", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/PutSupplementalTaxRegistration" + } + } + }, + "com.amazonaws.taxsettings#PutSupplementalTaxRegistrationRequest": { + "type": "structure", + "members": { + "taxRegistrationEntry": { + "target": "com.amazonaws.taxsettings#SupplementalTaxRegistrationEntry", + "traits": { + "smithy.api#documentation": "

      \n The supplemental TRN information that will be stored for the caller account ID.\n

      ", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.taxsettings#PutSupplementalTaxRegistrationResponse": { + "type": "structure", + "members": { + "authorityId": { + "target": "com.amazonaws.taxsettings#GenericString", + "traits": { + "smithy.api#documentation": "

      \n Unique authority ID for the supplemental TRN information that was stored.\n

      ", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.taxsettings#TaxRegistrationStatus", + "traits": { + "smithy.api#documentation": "

      \n The status of the supplemental TRN stored in the system after processing. Based on the validation occurring on the TRN, the status can be Verified, Pending, Rejected, or Deleted.\n

      ", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.taxsettings#PutTaxRegistration": { "type": "operation", "input": { @@ -1561,7 +1792,7 @@ "aws.iam#iamAction": { "documentation": "Grants store permission" }, - "smithy.api#documentation": "

      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.

      \n

      To call this API operation for specific countries, see the following country-specific\n requirements.

      \n

      \n Bangladesh\n

      \n
        \n
      • \n

        You must specify the tax registration certificate document in the\n taxRegistrationDocuments field of the VerificationDetails\n object.

        \n
      • \n
      \n

      \n Brazil\n

      \n
        \n
      • \n

        You must complete the tax registration process in the Payment preferences page in the Billing and Cost Management console. After your TRN and billing address are verified, you can call this API operation.

        \n
      • \n
      • \n

        For Amazon Web Services accounts created through Organizations, you can call this API operation when you don't have a billing address.

        \n
      • \n
      \n

      \n Georgia\n

      \n
        \n
      • \n

        The valid personType values are Physical Person and Business.

        \n
      • \n
      \n

      \n Kenya\n

      \n
        \n
      • \n

        You must specify the personType in the kenyaAdditionalInfo\n field of the additionalTaxInformation object.

        \n
      • \n
      • \n

        If the personType is Physical Person, you must specify the\n tax registration certificate document in the taxRegistrationDocuments field\n of the VerificationDetails object.

        \n
      • \n
      \n

      \n Malaysia\n

      \n
        \n
      • \n

        If you use this operation to set a tax registration number (TRN) in Malaysia, only\n resellers with a valid sales and service tax (SST) number are required to provide tax\n registration information.

        \n
      • \n
      • \n

        By using this API operation to set a TRN in Malaysia, Amazon Web Services will regard you as\n self-declaring that you're an authorized business reseller registered with the Royal\n Malaysia Customs Department (RMCD) and have a valid SST number.

        \n
      • \n
      • \n

        Amazon Web Services reserves the right to seek additional information and/or take other actions to\n support your self-declaration as appropriate.

        \n
      • \n
      • \n

        If you're not a reseller of Amazon Web Services, we don't recommend that you use\n this operation to set the TRN in Malaysia.

        \n
      • \n
      • \n

        Only use this API operation to upload the TRNs for accounts through which you're\n reselling Amazon Web Services.

        \n
      • \n
      • \n

        Amazon Web Services is currently registered under the following service tax codes. You must include\n at least one of the service tax codes in the service tax code strings to declare yourself\n as an authorized registered business reseller.

        \n

        Taxable service and service tax codes:

        \n

        Consultancy - 9907061674

        \n

        Training or coaching service - 9907071685

        \n

        IT service - 9907101676

        \n

        Digital services and electronic medium - 9907121690

        \n
      • \n
      \n

      \n Nepal\n

      \n
        \n
      • \n

        The sector valid values are Business and Individual.

        \n
      • \n
      \n

      \n Saudi Arabia\n

      \n
        \n
      • \n

        For address, you must specify addressLine3.

        \n
      • \n
      \n

      \n South Korea\n

      \n
        \n
      • \n

        You must specify the certifiedEmailId and legalName in the\n TaxRegistrationEntry object. Use Korean characters for\n legalName.

        \n
      • \n
      • \n

        You must specify the businessRepresentativeName,\n itemOfBusiness, and lineOfBusiness in the\n southKoreaAdditionalInfo field of the additionalTaxInformation\n object. Use Korean characters for these fields.

        \n
      • \n
      • \n

        You must specify the tax registration certificate document in the\n taxRegistrationDocuments field of the VerificationDetails\n object.

        \n
      • \n
      • \n

        For the address object, use Korean characters for addressLine1, addressLine2\n city, postalCode, and stateOrRegion.

        \n
      • \n
      \n

      \n Spain\n

      \n
        \n
      • \n

        You must specify the registrationType in the\n spainAdditionalInfo field of the additionalTaxInformation\n object.

        \n
      • \n
      • \n

        If the registrationType is Local, you must specify the tax\n registration certificate document in the taxRegistrationDocuments field of\n the VerificationDetails object.

        \n
      • \n
      \n

      \n Turkey\n

      \n
        \n
      • \n

        You must specify the sector in the taxRegistrationEntry object.

        \n
      • \n
      • \n

        If your sector is Business, Individual, or\n Government:

        \n
          \n
        • \n

          Specify the taxOffice. If your\n sector is Individual, don't enter this value.

          \n
        • \n
        • \n

          (Optional) Specify the kepEmailId. If your\n sector is Individual, don't enter this value.

          \n
        • \n
        • \n

          \n Note: In the Tax Settings page of the Billing console, Government appears as Public institutions\n

          \n
        • \n
        \n
      • \n
      • \n

        If your sector is Business and you're subject to KDV tax,\n you must specify your industry in the industries field.

        \n
      • \n
      • \n

        For address, you must specify districtOrCounty.

        \n
      • \n
      \n

      \n Ukraine\n

      \n
        \n
      • \n

        The sector valid values are Business and Individual.

        \n
      • \n
      ", + "smithy.api#documentation": "

      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.

      \n

      To call this API operation for specific countries, see the following country-specific\n requirements.

      \n

      \n Bangladesh\n

      \n
        \n
      • \n

        You must specify the tax registration certificate document in the\n taxRegistrationDocuments field of the VerificationDetails\n object.

        \n
      • \n
      \n

      \n Brazil\n

      \n
        \n
      • \n

        You must complete the tax registration process in the Payment preferences page in the Billing and Cost Management console. After your TRN and billing address are verified, you can call this API operation.

        \n
      • \n
      • \n

        For Amazon Web Services accounts created through Organizations, you can call this API operation when you don't have a billing address.

        \n
      • \n
      \n

      \n Georgia\n

      \n
        \n
      • \n

        The valid personType values are Physical Person and Business.

        \n
      • \n
      \n

      \n Kenya\n

      \n
        \n
      • \n

        You must specify the personType in the kenyaAdditionalInfo\n field of the additionalTaxInformation object.

        \n
      • \n
      • \n

        If the personType is Physical Person, you must specify the\n tax registration certificate document in the taxRegistrationDocuments field\n of the VerificationDetails object.

        \n
      • \n
      \n

      \n Malaysia\n

      \n
        \n
      • \n

        The sector valid values are Business and Individual.

        \n
      • \n
      • \n

        \n RegistrationType valid values are NRIC for individual, and TIN and sales and service tax (SST) for Business.

        \n
      • \n
      • \n

        For individual, you can specify the taxInformationNumber in MalaysiaAdditionalInfo with NRIC type, and a valid MyKad or NRIC number.

        \n
      • \n
      • \n

        For business, you must specify a businessRegistrationNumber in MalaysiaAdditionalInfo with a TIN type and tax identification number.

        \n
      • \n
      • \n

        For business resellers, you must specify a businessRegistrationNumber and taxInformationNumber in MalaysiaAdditionalInfo with a sales and service tax (SST) type and a valid SST number.

        \n
      • \n
      • \n

        For business resellers with service codes, you must specify businessRegistrationNumber, taxInformationNumber, and distinct serviceTaxCodes in MalaysiaAdditionalInfo with a SST type and valid sales and service tax (SST) number. By using this API operation, Amazon Web Services registers your self-declaration that you’re an authorized business reseller registered with the Royal Malaysia Customs Department (RMCD), and have a valid SST number.

        \n
      • \n
      • \n

        Amazon Web Services reserves the right to seek additional information and/or take other actions to\n support your self-declaration as appropriate.

        \n
      • \n
      • \n

        Amazon Web Services is currently registered under the following service tax codes. You must include\n at least one of the service tax codes in the service tax code strings to declare yourself\n as an authorized registered business reseller.

        \n

        Taxable service and service tax codes:

        \n

        Consultancy - 9907061674

        \n

        Training or coaching service - 9907071685

        \n

        IT service - 9907101676

        \n

        Digital services and electronic medium - 9907121690

        \n
      • \n
      \n

      \n Nepal\n

      \n
        \n
      • \n

        The sector valid values are Business and Individual.

        \n
      • \n
      \n

      \n Saudi Arabia\n

      \n
        \n
      • \n

        For address, you must specify addressLine3.

        \n
      • \n
      \n

      \n South Korea\n

      \n
        \n
      • \n

        You must specify the certifiedEmailId and legalName in the\n TaxRegistrationEntry object. Use Korean characters for\n legalName.

        \n
      • \n
      • \n

        You must specify the businessRepresentativeName,\n itemOfBusiness, and lineOfBusiness in the\n southKoreaAdditionalInfo field of the additionalTaxInformation\n object. Use Korean characters for these fields.

        \n
      • \n
      • \n

        You must specify the tax registration certificate document in the\n taxRegistrationDocuments field of the VerificationDetails\n object.

        \n
      • \n
      • \n

        For the address object, use Korean characters for addressLine1, addressLine2\n city, postalCode, and stateOrRegion.

        \n
      • \n
      \n

      \n Spain\n

      \n
        \n
      • \n

        You must specify the registrationType in the\n spainAdditionalInfo field of the additionalTaxInformation\n object.

        \n
      • \n
      • \n

        If the registrationType is Local, you must specify the tax\n registration certificate document in the taxRegistrationDocuments field of\n the VerificationDetails object.

        \n
      • \n
      \n

      \n Turkey\n

      \n
        \n
      • \n

        You must specify the sector in the taxRegistrationEntry object.

        \n
      • \n
      • \n

        If your sector is Business, Individual, or\n Government:

        \n
          \n
        • \n

          Specify the taxOffice. If your\n sector is Individual, don't enter this value.

          \n
        • \n
        • \n

          (Optional) Specify the kepEmailId. If your\n sector is Individual, don't enter this value.

          \n
        • \n
        • \n

          \n Note: In the Tax Settings page of the Billing console, Government appears as Public institutions\n

          \n
        • \n
        \n
      • \n
      • \n

        If your sector is Business and you're subject to KDV tax,\n you must specify your industry in the industries field.

        \n
      • \n
      • \n

        For address, you must specify districtOrCounty.

        \n
      • \n
      \n

      \n Ukraine\n

      \n
        \n
      • \n

        The sector valid values are Business and Individual.

        \n
      • \n
      ", "smithy.api#http": { "code": 200, "method": "POST", @@ -1863,6 +2094,109 @@ "smithy.api#pattern": "^(?!\\s*$)[\\s\\S]+$" } }, + "com.amazonaws.taxsettings#SupplementalTaxRegistration": { + "type": "structure", + "members": { + "registrationId": { + "target": "com.amazonaws.taxsettings#RegistrationId", + "traits": { + "smithy.api#documentation": "

      \n The supplemental TRN unique identifier.\n

      ", + "smithy.api#required": {} + } + }, + "registrationType": { + "target": "com.amazonaws.taxsettings#SupplementalTaxRegistrationType", + "traits": { + "smithy.api#documentation": "

      \n Type of supplemental TRN. Currently, this can only be VAT.\n

      ", + "smithy.api#required": {} + } + }, + "legalName": { + "target": "com.amazonaws.taxsettings#LegalName", + "traits": { + "smithy.api#documentation": "

      \n The legal name associated with your TRN registration.\n

      ", + "smithy.api#required": {} + } + }, + "address": { + "target": "com.amazonaws.taxsettings#Address", + "traits": { + "smithy.api#required": {} + } + }, + "authorityId": { + "target": "com.amazonaws.taxsettings#GenericString", + "traits": { + "smithy.api#documentation": "

      \n Unique authority ID for the supplemental TRN.\n

      ", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.taxsettings#TaxRegistrationStatus", + "traits": { + "smithy.api#documentation": "

      \n The status of your TRN.\n

      ", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

      \n Supplemental TRN details.\n

      ", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.taxsettings#SupplementalTaxRegistrationEntry": { + "type": "structure", + "members": { + "registrationId": { + "target": "com.amazonaws.taxsettings#RegistrationId", + "traits": { + "smithy.api#documentation": "

      \n The supplemental TRN unique identifier.\n

      ", + "smithy.api#required": {} + } + }, + "registrationType": { + "target": "com.amazonaws.taxsettings#SupplementalTaxRegistrationType", + "traits": { + "smithy.api#documentation": "

      \n Type of supplemental TRN. Currently, this can only be VAT.\n

      ", + "smithy.api#required": {} + } + }, + "legalName": { + "target": "com.amazonaws.taxsettings#LegalName", + "traits": { + "smithy.api#documentation": "

      \n The legal name associated with your TRN registration.\n

      ", + "smithy.api#required": {} + } + }, + "address": { + "target": "com.amazonaws.taxsettings#Address", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

      \n The supplemental TRN information to provide when adding or updating a supplemental TRN.\n

      ", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.taxsettings#SupplementalTaxRegistrationList": { + "type": "list", + "member": { + "target": "com.amazonaws.taxsettings#SupplementalTaxRegistration" + } + }, + "com.amazonaws.taxsettings#SupplementalTaxRegistrationType": { + "type": "enum", + "members": { + "VAT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VAT" + } + } + } + }, "com.amazonaws.taxsettings#TaxCode": { "type": "string", "traits": { @@ -1915,6 +2249,12 @@ "smithy.api#pattern": "^[\\s\\S]*$" } }, + "com.amazonaws.taxsettings#TaxInformationNumber": { + "type": "string", + "traits": { + "smithy.api#pattern": "^[A-Z]{1,2}[0-9]{1,11}$" + } + }, "com.amazonaws.taxsettings#TaxInheritanceDetails": { "type": "structure", "members": { @@ -2174,6 +2514,18 @@ "traits": { "smithy.api#enumValue": "SST" } + }, + "TIN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TIN" + } + }, + "NRIC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NRIC" + } } } }, @@ -2255,6 +2607,9 @@ { "target": "com.amazonaws.taxsettings#BatchPutTaxRegistration" }, + { + "target": "com.amazonaws.taxsettings#DeleteSupplementalTaxRegistration" + }, { "target": "com.amazonaws.taxsettings#DeleteTaxRegistration" }, @@ -2264,9 +2619,15 @@ { "target": "com.amazonaws.taxsettings#GetTaxRegistrationDocument" }, + { + "target": "com.amazonaws.taxsettings#ListSupplementalTaxRegistrations" + }, { "target": "com.amazonaws.taxsettings#ListTaxRegistrations" }, + { + "target": "com.amazonaws.taxsettings#PutSupplementalTaxRegistration" + }, { "target": "com.amazonaws.taxsettings#PutTaxRegistration" }