From 23a1507e28c7ce04b2e3184f244b2ca190759544 Mon Sep 17 00:00:00 2001
From: awstools
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 0000000000000..639405be64ea0 --- /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 426e70d93496f..cda5d0e9b90c4 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 0000000000000..ab909ba196767 --- /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 96b0f727b32dd..10033780dfe4d 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 0000000000000..9c158b52929dd --- /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 57dca66c2c41d..4305cea3e92c2 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 23134ad4ce558..e367309417d0d 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 9616f21d409a5..3fca202b73d2f 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.
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.
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.
+ *
+ * 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
.
+ *
The state, region, or province that the address is located.
\nIf 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.
\nIf 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.
\nTo call this API operation for specific countries, see the following country-specific\n requirements.
\n\n Bangladesh\n
\nYou must specify the tax registration certificate document in the\n taxRegistrationDocuments
field of the VerificationDetails
\n object.
\n Brazil\n
\nYou 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.
\nFor Amazon Web Services accounts created through Organizations, you can call this API operation when you don't have a billing address.
\n\n Georgia\n
\nThe valid personType
values are Physical Person
and Business
.
\n Kenya\n
\nYou must specify the personType
in the kenyaAdditionalInfo
\n field of the additionalTaxInformation
object.
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 Malaysia\n
\nIf 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.
\nBy 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.
\nAmazon Web Services reserves the right to seek additional information and/or take other actions to\n support your self-declaration as appropriate.
\nIf 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.
\nOnly use this API operation to upload the TRNs for accounts through which you're\n reselling Amazon Web Services.
\nAmazon 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.
\nTaxable service and service tax codes:
\nConsultancy - 9907061674
\nTraining or coaching service - 9907071685
\nIT service - 9907101676
\nDigital services and electronic medium - 9907121690
\n\n Nepal\n
\nThe sector valid values are Business
and Individual
.
\n Saudi Arabia\n
\nFor address
, you must specify addressLine3
.
\n South Korea\n
\nYou must specify the certifiedEmailId
and legalName
in the\n TaxRegistrationEntry
object. Use Korean characters for\n legalName
.
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.
You must specify the tax registration certificate document in the\n taxRegistrationDocuments
field of the VerificationDetails
\n object.
For the address
object, use Korean characters for addressLine1
, addressLine2
\n city
, postalCode
, and stateOrRegion
.
\n Spain\n
\nYou must specify the registrationType
in the\n spainAdditionalInfo
field of the additionalTaxInformation
\n object.
If the registrationType
is Local
, you must specify the tax\n registration certificate document in the taxRegistrationDocuments
field of\n the VerificationDetails
object.
\n Turkey\n
\nYou must specify the sector
in the taxRegistrationEntry
object.
If your sector
is Business
, Individual
, or\n Government
:
Specify the taxOffice
. If your\n sector
is Individual
, don't enter this value.
(Optional) Specify the kepEmailId
. If your\n sector
is Individual
, don't enter this value.
\n Note: In the Tax Settings page of the Billing console, Government
appears as Public institutions\n
If your sector
is Business
and you're subject to KDV tax,\n you must specify your industry in the industries
field.
For address
, you must specify districtOrCounty
.
\n Ukraine\n
\nThe sector valid values are Business
and Individual
.
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.
\nTo call this API operation for specific countries, see the following country-specific\n requirements.
\n\n Bangladesh\n
\nYou must specify the tax registration certificate document in the\n taxRegistrationDocuments
field of the VerificationDetails
\n object.
\n Brazil\n
\nYou 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.
\nFor Amazon Web Services accounts created through Organizations, you can call this API operation when you don't have a billing address.
\n\n Georgia\n
\nThe valid personType
values are Physical Person
and Business
.
\n Kenya\n
\nYou must specify the personType
in the kenyaAdditionalInfo
\n field of the additionalTaxInformation
object.
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 Malaysia\n
\nThe sector valid values are Business
and Individual
.
\n RegistrationType
valid values are NRIC
for individual, and TIN and sales and service tax (SST) for Business.
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.
Amazon Web Services reserves the right to seek additional information and/or take other actions to\n support your self-declaration as appropriate.
\nAmazon 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.
\nTaxable service and service tax codes:
\nConsultancy - 9907061674
\nTraining or coaching service - 9907071685
\nIT service - 9907101676
\nDigital services and electronic medium - 9907121690
\n\n Nepal\n
\nThe sector valid values are Business
and Individual
.
\n Saudi Arabia\n
\nFor address
, you must specify addressLine3
.
\n South Korea\n
\nYou must specify the certifiedEmailId
and legalName
in the\n TaxRegistrationEntry
object. Use Korean characters for\n legalName
.
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.
You must specify the tax registration certificate document in the\n taxRegistrationDocuments
field of the VerificationDetails
\n object.
For the address
object, use Korean characters for addressLine1
, addressLine2
\n city
, postalCode
, and stateOrRegion
.
\n Spain\n
\nYou must specify the registrationType
in the\n spainAdditionalInfo
field of the additionalTaxInformation
\n object.
If the registrationType
is Local
, you must specify the tax\n registration certificate document in the taxRegistrationDocuments
field of\n the VerificationDetails
object.
\n Turkey\n
\nYou must specify the sector
in the taxRegistrationEntry
object.
If your sector
is Business
, Individual
, or\n Government
:
Specify the taxOffice
. If your\n sector
is Individual
, don't enter this value.
(Optional) Specify the kepEmailId
. If your\n sector
is Individual
, don't enter this value.
\n Note: In the Tax Settings page of the Billing console, Government
appears as Public institutions\n
If your sector
is Business
and you're subject to KDV tax,\n you must specify your industry in the industries
field.
For address
, you must specify districtOrCounty
.
\n Ukraine\n
\nThe sector valid values are Business
and Individual
.
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
\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
\nFor 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
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.
The tax registration number (TRN) in Malaysia.
\nFor 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
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 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
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.
\nTo call this API operation for specific countries, see the following country-specific\n requirements.
\n\n Bangladesh\n
\nYou must specify the tax registration certificate document in the\n taxRegistrationDocuments
field of the VerificationDetails
\n object.
\n Brazil\n
\nYou 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.
\nFor Amazon Web Services accounts created through Organizations, you can call this API operation when you don't have a billing address.
\n\n Georgia\n
\nThe valid personType
values are Physical Person
and Business
.
\n Kenya\n
\nYou must specify the personType
in the kenyaAdditionalInfo
\n field of the additionalTaxInformation
object.
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 Malaysia\n
\nIf 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.
\nBy 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.
\nAmazon Web Services reserves the right to seek additional information and/or take other actions to\n support your self-declaration as appropriate.
\nIf 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.
\nOnly use this API operation to upload the TRNs for accounts through which you're\n reselling Amazon Web Services.
\nAmazon 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.
\nTaxable service and service tax codes:
\nConsultancy - 9907061674
\nTraining or coaching service - 9907071685
\nIT service - 9907101676
\nDigital services and electronic medium - 9907121690
\n\n Nepal\n
\nThe sector valid values are Business
and Individual
.
\n Saudi Arabia\n
\nFor address
, you must specify addressLine3
.
\n South Korea\n
\nYou must specify the certifiedEmailId
and legalName
in the\n TaxRegistrationEntry
object. Use Korean characters for\n legalName
.
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.
You must specify the tax registration certificate document in the\n taxRegistrationDocuments
field of the VerificationDetails
\n object.
For the address
object, use Korean characters for addressLine1
, addressLine2
\n city
, postalCode
, and stateOrRegion
.
\n Spain\n
\nYou must specify the registrationType
in the\n spainAdditionalInfo
field of the additionalTaxInformation
\n object.
If the registrationType
is Local
, you must specify the tax\n registration certificate document in the taxRegistrationDocuments
field of\n the VerificationDetails
object.
\n Turkey\n
\nYou must specify the sector
in the taxRegistrationEntry
object.
If your sector
is Business
, Individual
, or\n Government
:
Specify the taxOffice
. If your\n sector
is Individual
, don't enter this value.
(Optional) Specify the kepEmailId
. If your\n sector
is Individual
, don't enter this value.
\n Note: In the Tax Settings page of the Billing console, Government
appears as Public institutions\n
If your sector
is Business
and you're subject to KDV tax,\n you must specify your industry in the industries
field.
For address
, you must specify districtOrCounty
.
\n Ukraine\n
\nThe sector valid values are Business
and Individual
.
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.
\nTo call this API operation for specific countries, see the following country-specific\n requirements.
\n\n Bangladesh\n
\nYou must specify the tax registration certificate document in the\n taxRegistrationDocuments
field of the VerificationDetails
\n object.
\n Brazil\n
\nYou 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.
\nFor Amazon Web Services accounts created through Organizations, you can call this API operation when you don't have a billing address.
\n\n Georgia\n
\nThe valid personType
values are Physical Person
and Business
.
\n Kenya\n
\nYou must specify the personType
in the kenyaAdditionalInfo
\n field of the additionalTaxInformation
object.
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 Malaysia\n
\nThe sector valid values are Business
and Individual
.
\n RegistrationType
valid values are NRIC
for individual, and TIN and sales and service tax (SST) for Business.
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.
Amazon Web Services reserves the right to seek additional information and/or take other actions to\n support your self-declaration as appropriate.
\nAmazon 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.
\nTaxable service and service tax codes:
\nConsultancy - 9907061674
\nTraining or coaching service - 9907071685
\nIT service - 9907101676
\nDigital services and electronic medium - 9907121690
\n\n Nepal\n
\nThe sector valid values are Business
and Individual
.
\n Saudi Arabia\n
\nFor address
, you must specify addressLine3
.
\n South Korea\n
\nYou must specify the certifiedEmailId
and legalName
in the\n TaxRegistrationEntry
object. Use Korean characters for\n legalName
.
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.
You must specify the tax registration certificate document in the\n taxRegistrationDocuments
field of the VerificationDetails
\n object.
For the address
object, use Korean characters for addressLine1
, addressLine2
\n city
, postalCode
, and stateOrRegion
.
\n Spain\n
\nYou must specify the registrationType
in the\n spainAdditionalInfo
field of the additionalTaxInformation
\n object.
If the registrationType
is Local
, you must specify the tax\n registration certificate document in the taxRegistrationDocuments
field of\n the VerificationDetails
object.
\n Turkey\n
\nYou must specify the sector
in the taxRegistrationEntry
object.
If your sector
is Business
, Individual
, or\n Government
:
Specify the taxOffice
. If your\n sector
is Individual
, don't enter this value.
(Optional) Specify the kepEmailId
. If your\n sector
is Individual
, don't enter this value.
\n Note: In the Tax Settings page of the Billing console, Government
appears as Public institutions\n
If your sector
is Business
and you're subject to KDV tax,\n you must specify your industry in the industries
field.
For address
, you must specify districtOrCounty
.
\n Ukraine\n
\nThe sector valid values are Business
and Individual
.
\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" }