taxsettings

package
v1.54.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2024 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Overview

Package taxsettings provides the client and types for making API requests to Tax Settings.

You can use the tax setting API to programmatically set, modify, and delete the tax registration number (TRN), associated business legal name, and address (Collectively referred to as "TRN information"). You can also programmatically view TRN information and tax addresses ("Tax profiles").

You can use this API to automate your TRN information settings instead of manually using the console.

Service Endpoint

See https://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10 for more information on this service.

See taxsettings package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/taxsettings/

Using the Client

To contact Tax Settings with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the Tax Settings client TaxSettings for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/taxsettings/#New

Index

Constants

View Source
const (
	// AddressRoleTypeTaxAddress is a AddressRoleType enum value
	AddressRoleTypeTaxAddress = "TaxAddress"

	// AddressRoleTypeBillingAddress is a AddressRoleType enum value
	AddressRoleTypeBillingAddress = "BillingAddress"

	// AddressRoleTypeContactAddress is a AddressRoleType enum value
	AddressRoleTypeContactAddress = "ContactAddress"
)
View Source
const (
	// IndustriesCirculatingOrg is a Industries enum value
	IndustriesCirculatingOrg = "CirculatingOrg"

	// IndustriesProfessionalOrg is a Industries enum value
	IndustriesProfessionalOrg = "ProfessionalOrg"

	// IndustriesBanks is a Industries enum value
	IndustriesBanks = "Banks"

	// IndustriesInsurance is a Industries enum value
	IndustriesInsurance = "Insurance"

	// IndustriesPensionAndBenefitFunds is a Industries enum value
	IndustriesPensionAndBenefitFunds = "PensionAndBenefitFunds"

	// IndustriesDevelopmentAgencies is a Industries enum value
	IndustriesDevelopmentAgencies = "DevelopmentAgencies"
)
View Source
const (
	// IsraelCustomerTypeBusiness is a IsraelCustomerType enum value
	IsraelCustomerTypeBusiness = "Business"

	// IsraelCustomerTypeIndividual is a IsraelCustomerType enum value
	IsraelCustomerTypeIndividual = "Individual"
)
View Source
const (
	// IsraelDealerTypeAuthorized is a IsraelDealerType enum value
	IsraelDealerTypeAuthorized = "Authorized"

	// IsraelDealerTypeNonAuthorized is a IsraelDealerType enum value
	IsraelDealerTypeNonAuthorized = "Non-authorized"
)
View Source
const (
	// MalaysiaServiceTaxCodeConsultancy is a MalaysiaServiceTaxCode enum value
	MalaysiaServiceTaxCodeConsultancy = "Consultancy"

	// MalaysiaServiceTaxCodeDigitalServiceAndElectronicMedium is a MalaysiaServiceTaxCode enum value
	MalaysiaServiceTaxCodeDigitalServiceAndElectronicMedium = "Digital Service And Electronic Medium"

	// MalaysiaServiceTaxCodeItservices is a MalaysiaServiceTaxCode enum value
	MalaysiaServiceTaxCodeItservices = "IT Services"

	// MalaysiaServiceTaxCodeTrainingOrCoaching is a MalaysiaServiceTaxCode enum value
	MalaysiaServiceTaxCodeTrainingOrCoaching = "Training Or Coaching"
)
View Source
const (
	// PersonTypeLegalPerson is a PersonType enum value
	PersonTypeLegalPerson = "Legal Person"

	// PersonTypePhysicalPerson is a PersonType enum value
	PersonTypePhysicalPerson = "Physical Person"

	// PersonTypeBusiness is a PersonType enum value
	PersonTypeBusiness = "Business"
)
View Source
const (
	// RegistrationTypeIntraEu is a RegistrationType enum value
	RegistrationTypeIntraEu = "Intra-EU"

	// RegistrationTypeLocal is a RegistrationType enum value
	RegistrationTypeLocal = "Local"
)
View Source
const (
	// SaudiArabiaTaxRegistrationNumberTypeTaxRegistrationNumber is a SaudiArabiaTaxRegistrationNumberType enum value
	SaudiArabiaTaxRegistrationNumberTypeTaxRegistrationNumber = "TaxRegistrationNumber"

	// SaudiArabiaTaxRegistrationNumberTypeTaxIdentificationNumber is a SaudiArabiaTaxRegistrationNumberType enum value
	SaudiArabiaTaxRegistrationNumberTypeTaxIdentificationNumber = "TaxIdentificationNumber"

	// SaudiArabiaTaxRegistrationNumberTypeCommercialRegistrationNumber is a SaudiArabiaTaxRegistrationNumberType enum value
	SaudiArabiaTaxRegistrationNumberTypeCommercialRegistrationNumber = "CommercialRegistrationNumber"
)
View Source
const (
	// SectorBusiness is a Sector enum value
	SectorBusiness = "Business"

	// SectorIndividual is a Sector enum value
	SectorIndividual = "Individual"

	// SectorGovernment is a Sector enum value
	SectorGovernment = "Government"
)
View Source
const (
	// TaxRegistrationNumberTypeTaxRegistrationNumber is a TaxRegistrationNumberType enum value
	TaxRegistrationNumberTypeTaxRegistrationNumber = "TaxRegistrationNumber"

	// TaxRegistrationNumberTypeLocalRegistrationNumber is a TaxRegistrationNumberType enum value
	TaxRegistrationNumberTypeLocalRegistrationNumber = "LocalRegistrationNumber"
)
View Source
const (
	// TaxRegistrationStatusVerified is a TaxRegistrationStatus enum value
	TaxRegistrationStatusVerified = "Verified"

	// TaxRegistrationStatusPending is a TaxRegistrationStatus enum value
	TaxRegistrationStatusPending = "Pending"

	// TaxRegistrationStatusDeleted is a TaxRegistrationStatus enum value
	TaxRegistrationStatusDeleted = "Deleted"

	// TaxRegistrationStatusRejected is a TaxRegistrationStatus enum value
	TaxRegistrationStatusRejected = "Rejected"
)
View Source
const (
	// TaxRegistrationTypeVat is a TaxRegistrationType enum value
	TaxRegistrationTypeVat = "VAT"

	// TaxRegistrationTypeGst is a TaxRegistrationType enum value
	TaxRegistrationTypeGst = "GST"

	// TaxRegistrationTypeCpf is a TaxRegistrationType enum value
	TaxRegistrationTypeCpf = "CPF"

	// TaxRegistrationTypeCnpj is a TaxRegistrationType enum value
	TaxRegistrationTypeCnpj = "CNPJ"

	// TaxRegistrationTypeSst is a TaxRegistrationType enum value
	TaxRegistrationTypeSst = "SST"
)
View Source
const (
	// UkraineTrnTypeBusiness is a UkraineTrnType enum value
	UkraineTrnTypeBusiness = "Business"

	// UkraineTrnTypeIndividual is a UkraineTrnType enum value
	UkraineTrnTypeIndividual = "Individual"
)
View Source
const (
	// ValidationExceptionErrorCodeMalformedToken is a ValidationExceptionErrorCode enum value
	ValidationExceptionErrorCodeMalformedToken = "MalformedToken"

	// ValidationExceptionErrorCodeExpiredToken is a ValidationExceptionErrorCode enum value
	ValidationExceptionErrorCodeExpiredToken = "ExpiredToken"

	// ValidationExceptionErrorCodeInvalidToken is a ValidationExceptionErrorCode enum value
	ValidationExceptionErrorCodeInvalidToken = "InvalidToken"

	// ValidationExceptionErrorCodeFieldValidationFailed is a ValidationExceptionErrorCode enum value
	ValidationExceptionErrorCodeFieldValidationFailed = "FieldValidationFailed"

	// ValidationExceptionErrorCodeMissingInput is a ValidationExceptionErrorCode enum value
	ValidationExceptionErrorCodeMissingInput = "MissingInput"
)
View Source
const (

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// The exception when the input is creating conflict with the given state.
	ErrCodeConflictException = "ConflictException"

	// ErrCodeInternalServerException for service response error code
	// "InternalServerException".
	//
	// The exception thrown when an unexpected error occurs when processing a request.
	ErrCodeInternalServerException = "InternalServerException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// The exception thrown when the input doesn't have a resource associated to
	// it.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// The exception when the input doesn't pass validation for at least one of
	// the input parameters.
	ErrCodeValidationException = "ValidationException"
)
View Source
const (
	ServiceName = "TaxSettings" // Name of service.
	EndpointsID = "tax"         // ID to lookup a service endpoint with.
	ServiceID   = "TaxSettings" // ServiceID is a unique identifier of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

func AddressRoleType_Values

func AddressRoleType_Values() []string

AddressRoleType_Values returns all elements of the AddressRoleType enum

func Industries_Values

func Industries_Values() []string

Industries_Values returns all elements of the Industries enum

func IsraelCustomerType_Values

func IsraelCustomerType_Values() []string

IsraelCustomerType_Values returns all elements of the IsraelCustomerType enum

func IsraelDealerType_Values

func IsraelDealerType_Values() []string

IsraelDealerType_Values returns all elements of the IsraelDealerType enum

func MalaysiaServiceTaxCode_Values

func MalaysiaServiceTaxCode_Values() []string

MalaysiaServiceTaxCode_Values returns all elements of the MalaysiaServiceTaxCode enum

func PersonType_Values

func PersonType_Values() []string

PersonType_Values returns all elements of the PersonType enum

func RegistrationType_Values

func RegistrationType_Values() []string

RegistrationType_Values returns all elements of the RegistrationType enum

func SaudiArabiaTaxRegistrationNumberType_Values

func SaudiArabiaTaxRegistrationNumberType_Values() []string

SaudiArabiaTaxRegistrationNumberType_Values returns all elements of the SaudiArabiaTaxRegistrationNumberType enum

func Sector_Values

func Sector_Values() []string

Sector_Values returns all elements of the Sector enum

func TaxRegistrationNumberType_Values

func TaxRegistrationNumberType_Values() []string

TaxRegistrationNumberType_Values returns all elements of the TaxRegistrationNumberType enum

func TaxRegistrationStatus_Values

func TaxRegistrationStatus_Values() []string

TaxRegistrationStatus_Values returns all elements of the TaxRegistrationStatus enum

func TaxRegistrationType_Values

func TaxRegistrationType_Values() []string

TaxRegistrationType_Values returns all elements of the TaxRegistrationType enum

func UkraineTrnType_Values

func UkraineTrnType_Values() []string

UkraineTrnType_Values returns all elements of the UkraineTrnType enum

func ValidationExceptionErrorCode_Values

func ValidationExceptionErrorCode_Values() []string

ValidationExceptionErrorCode_Values returns all elements of the ValidationExceptionErrorCode enum

Types

type AccountDetails

type AccountDetails struct {

	// List of unique account identifiers.
	AccountId *string `locationName:"accountId" min:"12" type:"string"`

	// The meta data information associated with the account.
	//
	// AccountMetaData is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by AccountDetails's
	// String and GoString methods.
	AccountMetaData *AccountMetaData `locationName:"accountMetaData" type:"structure" sensitive:"true"`

	// Tax inheritance information associated with the account.
	TaxInheritanceDetails *TaxInheritanceDetails `locationName:"taxInheritanceDetails" type:"structure"`

	// Your TRN information. Instead of having full legal address, here TRN information
	// will have jurisdiction details (for example, country code and state/region/province
	// if applicable).
	//
	// TaxRegistration is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by AccountDetails's
	// String and GoString methods.
	TaxRegistration *TaxRegistrationWithJurisdiction `locationName:"taxRegistration" type:"structure" sensitive:"true"`
	// contains filtered or unexported fields
}

An object with your accountId and TRN information.

func (AccountDetails) GoString

func (s AccountDetails) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccountDetails) SetAccountId

func (s *AccountDetails) SetAccountId(v string) *AccountDetails

SetAccountId sets the AccountId field's value.

func (*AccountDetails) SetAccountMetaData

func (s *AccountDetails) SetAccountMetaData(v *AccountMetaData) *AccountDetails

SetAccountMetaData sets the AccountMetaData field's value.

func (*AccountDetails) SetTaxInheritanceDetails

func (s *AccountDetails) SetTaxInheritanceDetails(v *TaxInheritanceDetails) *AccountDetails

SetTaxInheritanceDetails sets the TaxInheritanceDetails field's value.

func (*AccountDetails) SetTaxRegistration

SetTaxRegistration sets the TaxRegistration field's value.

func (AccountDetails) String

func (s AccountDetails) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AccountMetaData

type AccountMetaData struct {

	// The Amazon Web Services accounts name.
	AccountName *string `locationName:"accountName" type:"string"`

	// The details of the address associated with the TRN information.
	Address *Address `locationName:"address" type:"structure"`

	// Address roles associated with the account containing country code information.
	AddressRoleMap map[string]*Jurisdiction `locationName:"addressRoleMap" type:"map"`

	// The type of address associated with the legal profile.
	AddressType *string `locationName:"addressType" type:"string" enum:"AddressRoleType"`

	// Seller information associated with the account.
	Seller *string `locationName:"seller" type:"string"`
	// contains filtered or unexported fields
}

The meta data information associated with the account.

func (AccountMetaData) GoString

func (s AccountMetaData) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccountMetaData) SetAccountName

func (s *AccountMetaData) SetAccountName(v string) *AccountMetaData

SetAccountName sets the AccountName field's value.

func (*AccountMetaData) SetAddress

func (s *AccountMetaData) SetAddress(v *Address) *AccountMetaData

SetAddress sets the Address field's value.

func (*AccountMetaData) SetAddressRoleMap

func (s *AccountMetaData) SetAddressRoleMap(v map[string]*Jurisdiction) *AccountMetaData

SetAddressRoleMap sets the AddressRoleMap field's value.

func (*AccountMetaData) SetAddressType

func (s *AccountMetaData) SetAddressType(v string) *AccountMetaData

SetAddressType sets the AddressType field's value.

func (*AccountMetaData) SetSeller

func (s *AccountMetaData) SetSeller(v string) *AccountMetaData

SetSeller sets the Seller field's value.

func (AccountMetaData) String

func (s AccountMetaData) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AdditionalInfoRequest

type AdditionalInfoRequest struct {

	// Additional tax information associated with your TRN in Canada.
	CanadaAdditionalInfo *CanadaAdditionalInfo `locationName:"canadaAdditionalInfo" type:"structure"`

	// Additional tax information to specify for a TRN in Estonia.
	EstoniaAdditionalInfo *EstoniaAdditionalInfo `locationName:"estoniaAdditionalInfo" type:"structure"`

	// Additional tax information to specify for a TRN in Georgia.
	GeorgiaAdditionalInfo *GeorgiaAdditionalInfo `locationName:"georgiaAdditionalInfo" type:"structure"`

	// Additional tax information to specify for a TRN in Israel.
	IsraelAdditionalInfo *IsraelAdditionalInfo `locationName:"israelAdditionalInfo" type:"structure"`

	// Additional tax information to specify for a TRN in Italy.
	ItalyAdditionalInfo *ItalyAdditionalInfo `locationName:"italyAdditionalInfo" type:"structure"`

	// Additional tax information to specify for a TRN in Kenya.
	KenyaAdditionalInfo *KenyaAdditionalInfo `locationName:"kenyaAdditionalInfo" type:"structure"`

	// Additional tax information to specify for a TRN in Malaysia.
	MalaysiaAdditionalInfo *MalaysiaAdditionalInfo `locationName:"malaysiaAdditionalInfo" type:"structure"`

	// Additional tax information associated with your TRN in Poland.
	PolandAdditionalInfo *PolandAdditionalInfo `locationName:"polandAdditionalInfo" type:"structure"`

	// Additional tax information to specify for a TRN in Romania.
	RomaniaAdditionalInfo *RomaniaAdditionalInfo `locationName:"romaniaAdditionalInfo" type:"structure"`

	// Additional tax information associated with your TRN in Saudi Arabia.
	SaudiArabiaAdditionalInfo *SaudiArabiaAdditionalInfo `locationName:"saudiArabiaAdditionalInfo" type:"structure"`

	// Additional tax information to specify for a TRN in South Korea.
	SouthKoreaAdditionalInfo *SouthKoreaAdditionalInfo `locationName:"southKoreaAdditionalInfo" type:"structure"`

	// Additional tax information to specify for a TRN in Spain.
	SpainAdditionalInfo *SpainAdditionalInfo `locationName:"spainAdditionalInfo" type:"structure"`

	// Additional tax information to specify for a TRN in Turkey.
	TurkeyAdditionalInfo *TurkeyAdditionalInfo `locationName:"turkeyAdditionalInfo" type:"structure"`

	// Additional tax information associated with your TRN in Ukraine.
	UkraineAdditionalInfo *UkraineAdditionalInfo `locationName:"ukraineAdditionalInfo" type:"structure"`
	// contains filtered or unexported fields
}

Additional tax information associated with your tax registration number (TRN). Depending on the TRN for a specific country, you might need to specify this information when you set your TRN.

You can only specify one of the following parameters and the value can't be empty.

The parameter that you specify must match the country for the TRN, if available. For example, if you set a TRN in Canada for specific provinces, you must also specify the canadaAdditionalInfo parameter.

func (AdditionalInfoRequest) GoString

func (s AdditionalInfoRequest) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AdditionalInfoRequest) SetCanadaAdditionalInfo

func (s *AdditionalInfoRequest) SetCanadaAdditionalInfo(v *CanadaAdditionalInfo) *AdditionalInfoRequest

SetCanadaAdditionalInfo sets the CanadaAdditionalInfo field's value.

func (*AdditionalInfoRequest) SetEstoniaAdditionalInfo

func (s *AdditionalInfoRequest) SetEstoniaAdditionalInfo(v *EstoniaAdditionalInfo) *AdditionalInfoRequest

SetEstoniaAdditionalInfo sets the EstoniaAdditionalInfo field's value.

func (*AdditionalInfoRequest) SetGeorgiaAdditionalInfo

func (s *AdditionalInfoRequest) SetGeorgiaAdditionalInfo(v *GeorgiaAdditionalInfo) *AdditionalInfoRequest

SetGeorgiaAdditionalInfo sets the GeorgiaAdditionalInfo field's value.

func (*AdditionalInfoRequest) SetIsraelAdditionalInfo

func (s *AdditionalInfoRequest) SetIsraelAdditionalInfo(v *IsraelAdditionalInfo) *AdditionalInfoRequest

SetIsraelAdditionalInfo sets the IsraelAdditionalInfo field's value.

func (*AdditionalInfoRequest) SetItalyAdditionalInfo

func (s *AdditionalInfoRequest) SetItalyAdditionalInfo(v *ItalyAdditionalInfo) *AdditionalInfoRequest

SetItalyAdditionalInfo sets the ItalyAdditionalInfo field's value.

func (*AdditionalInfoRequest) SetKenyaAdditionalInfo

func (s *AdditionalInfoRequest) SetKenyaAdditionalInfo(v *KenyaAdditionalInfo) *AdditionalInfoRequest

SetKenyaAdditionalInfo sets the KenyaAdditionalInfo field's value.

func (*AdditionalInfoRequest) SetMalaysiaAdditionalInfo

func (s *AdditionalInfoRequest) SetMalaysiaAdditionalInfo(v *MalaysiaAdditionalInfo) *AdditionalInfoRequest

SetMalaysiaAdditionalInfo sets the MalaysiaAdditionalInfo field's value.

func (*AdditionalInfoRequest) SetPolandAdditionalInfo

func (s *AdditionalInfoRequest) SetPolandAdditionalInfo(v *PolandAdditionalInfo) *AdditionalInfoRequest

SetPolandAdditionalInfo sets the PolandAdditionalInfo field's value.

func (*AdditionalInfoRequest) SetRomaniaAdditionalInfo

func (s *AdditionalInfoRequest) SetRomaniaAdditionalInfo(v *RomaniaAdditionalInfo) *AdditionalInfoRequest

SetRomaniaAdditionalInfo sets the RomaniaAdditionalInfo field's value.

func (*AdditionalInfoRequest) SetSaudiArabiaAdditionalInfo

func (s *AdditionalInfoRequest) SetSaudiArabiaAdditionalInfo(v *SaudiArabiaAdditionalInfo) *AdditionalInfoRequest

SetSaudiArabiaAdditionalInfo sets the SaudiArabiaAdditionalInfo field's value.

func (*AdditionalInfoRequest) SetSouthKoreaAdditionalInfo

func (s *AdditionalInfoRequest) SetSouthKoreaAdditionalInfo(v *SouthKoreaAdditionalInfo) *AdditionalInfoRequest

SetSouthKoreaAdditionalInfo sets the SouthKoreaAdditionalInfo field's value.

func (*AdditionalInfoRequest) SetSpainAdditionalInfo

func (s *AdditionalInfoRequest) SetSpainAdditionalInfo(v *SpainAdditionalInfo) *AdditionalInfoRequest

SetSpainAdditionalInfo sets the SpainAdditionalInfo field's value.

func (*AdditionalInfoRequest) SetTurkeyAdditionalInfo

func (s *AdditionalInfoRequest) SetTurkeyAdditionalInfo(v *TurkeyAdditionalInfo) *AdditionalInfoRequest

SetTurkeyAdditionalInfo sets the TurkeyAdditionalInfo field's value.

func (*AdditionalInfoRequest) SetUkraineAdditionalInfo

func (s *AdditionalInfoRequest) SetUkraineAdditionalInfo(v *UkraineAdditionalInfo) *AdditionalInfoRequest

SetUkraineAdditionalInfo sets the UkraineAdditionalInfo field's value.

func (AdditionalInfoRequest) String

func (s AdditionalInfoRequest) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AdditionalInfoRequest) Validate

func (s *AdditionalInfoRequest) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AdditionalInfoResponse

type AdditionalInfoResponse struct {

	// Additional tax information associated with your TRN in Brazil. The Tax Settings
	// API returns this information in your response when any additional information
	// is present with your TRN in Brazil.
	BrazilAdditionalInfo *BrazilAdditionalInfo `locationName:"brazilAdditionalInfo" type:"structure"`

	// Additional tax information associated with your TRN in Canada.
	CanadaAdditionalInfo *CanadaAdditionalInfo `locationName:"canadaAdditionalInfo" type:"structure"`

	// Additional tax information associated with your TRN in Estonia.
	EstoniaAdditionalInfo *EstoniaAdditionalInfo `locationName:"estoniaAdditionalInfo" type:"structure"`

	// Additional tax information associated with your TRN in Georgia.
	GeorgiaAdditionalInfo *GeorgiaAdditionalInfo `locationName:"georgiaAdditionalInfo" type:"structure"`

	// Additional tax information in India.
	IndiaAdditionalInfo *IndiaAdditionalInfo `locationName:"indiaAdditionalInfo" type:"structure"`

	// Additional tax information associated with your TRN in Israel.
	IsraelAdditionalInfo *IsraelAdditionalInfo `locationName:"israelAdditionalInfo" type:"structure"`

	// Additional tax information associated with your TRN in Italy.
	ItalyAdditionalInfo *ItalyAdditionalInfo `locationName:"italyAdditionalInfo" type:"structure"`

	// Additional tax information associated with your TRN in Kenya.
	KenyaAdditionalInfo *KenyaAdditionalInfo `locationName:"kenyaAdditionalInfo" type:"structure"`

	// Additional tax information associated with your TRN in Malaysia.
	MalaysiaAdditionalInfo *MalaysiaAdditionalInfo `locationName:"malaysiaAdditionalInfo" type:"structure"`

	// Additional tax information associated with your TRN in Poland.
	PolandAdditionalInfo *PolandAdditionalInfo `locationName:"polandAdditionalInfo" type:"structure"`

	// Additional tax information to specify for a TRN in Romania.
	RomaniaAdditionalInfo *RomaniaAdditionalInfo `locationName:"romaniaAdditionalInfo" type:"structure"`

	// Additional tax information associated with your TRN in Saudi Arabia.
	SaudiArabiaAdditionalInfo *SaudiArabiaAdditionalInfo `locationName:"saudiArabiaAdditionalInfo" type:"structure"`

	// Additional tax information associated with your TRN in South Korea.
	SouthKoreaAdditionalInfo *SouthKoreaAdditionalInfo `locationName:"southKoreaAdditionalInfo" type:"structure"`

	// Additional tax information associated with your TRN in Spain.
	SpainAdditionalInfo *SpainAdditionalInfo `locationName:"spainAdditionalInfo" type:"structure"`

	// Additional tax information associated with your TRN in Turkey.
	TurkeyAdditionalInfo *TurkeyAdditionalInfo `locationName:"turkeyAdditionalInfo" type:"structure"`

	// Additional tax information associated with your TRN in Ukraine.
	UkraineAdditionalInfo *UkraineAdditionalInfo `locationName:"ukraineAdditionalInfo" type:"structure"`
	// contains filtered or unexported fields
}

Additional tax information associated with your TRN. The Tax Settings API returns country-specific information in the response when any additional information is present with your TRN for the following countries.

func (AdditionalInfoResponse) GoString

func (s AdditionalInfoResponse) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AdditionalInfoResponse) SetBrazilAdditionalInfo

func (s *AdditionalInfoResponse) SetBrazilAdditionalInfo(v *BrazilAdditionalInfo) *AdditionalInfoResponse

SetBrazilAdditionalInfo sets the BrazilAdditionalInfo field's value.

func (*AdditionalInfoResponse) SetCanadaAdditionalInfo

func (s *AdditionalInfoResponse) SetCanadaAdditionalInfo(v *CanadaAdditionalInfo) *AdditionalInfoResponse

SetCanadaAdditionalInfo sets the CanadaAdditionalInfo field's value.

func (*AdditionalInfoResponse) SetEstoniaAdditionalInfo

func (s *AdditionalInfoResponse) SetEstoniaAdditionalInfo(v *EstoniaAdditionalInfo) *AdditionalInfoResponse

SetEstoniaAdditionalInfo sets the EstoniaAdditionalInfo field's value.

func (*AdditionalInfoResponse) SetGeorgiaAdditionalInfo

func (s *AdditionalInfoResponse) SetGeorgiaAdditionalInfo(v *GeorgiaAdditionalInfo) *AdditionalInfoResponse

SetGeorgiaAdditionalInfo sets the GeorgiaAdditionalInfo field's value.

func (*AdditionalInfoResponse) SetIndiaAdditionalInfo

func (s *AdditionalInfoResponse) SetIndiaAdditionalInfo(v *IndiaAdditionalInfo) *AdditionalInfoResponse

SetIndiaAdditionalInfo sets the IndiaAdditionalInfo field's value.

func (*AdditionalInfoResponse) SetIsraelAdditionalInfo

func (s *AdditionalInfoResponse) SetIsraelAdditionalInfo(v *IsraelAdditionalInfo) *AdditionalInfoResponse

SetIsraelAdditionalInfo sets the IsraelAdditionalInfo field's value.

func (*AdditionalInfoResponse) SetItalyAdditionalInfo

func (s *AdditionalInfoResponse) SetItalyAdditionalInfo(v *ItalyAdditionalInfo) *AdditionalInfoResponse

SetItalyAdditionalInfo sets the ItalyAdditionalInfo field's value.

func (*AdditionalInfoResponse) SetKenyaAdditionalInfo

func (s *AdditionalInfoResponse) SetKenyaAdditionalInfo(v *KenyaAdditionalInfo) *AdditionalInfoResponse

SetKenyaAdditionalInfo sets the KenyaAdditionalInfo field's value.

func (*AdditionalInfoResponse) SetMalaysiaAdditionalInfo

func (s *AdditionalInfoResponse) SetMalaysiaAdditionalInfo(v *MalaysiaAdditionalInfo) *AdditionalInfoResponse

SetMalaysiaAdditionalInfo sets the MalaysiaAdditionalInfo field's value.

func (*AdditionalInfoResponse) SetPolandAdditionalInfo

func (s *AdditionalInfoResponse) SetPolandAdditionalInfo(v *PolandAdditionalInfo) *AdditionalInfoResponse

SetPolandAdditionalInfo sets the PolandAdditionalInfo field's value.

func (*AdditionalInfoResponse) SetRomaniaAdditionalInfo

func (s *AdditionalInfoResponse) SetRomaniaAdditionalInfo(v *RomaniaAdditionalInfo) *AdditionalInfoResponse

SetRomaniaAdditionalInfo sets the RomaniaAdditionalInfo field's value.

func (*AdditionalInfoResponse) SetSaudiArabiaAdditionalInfo

func (s *AdditionalInfoResponse) SetSaudiArabiaAdditionalInfo(v *SaudiArabiaAdditionalInfo) *AdditionalInfoResponse

SetSaudiArabiaAdditionalInfo sets the SaudiArabiaAdditionalInfo field's value.

func (*AdditionalInfoResponse) SetSouthKoreaAdditionalInfo

func (s *AdditionalInfoResponse) SetSouthKoreaAdditionalInfo(v *SouthKoreaAdditionalInfo) *AdditionalInfoResponse

SetSouthKoreaAdditionalInfo sets the SouthKoreaAdditionalInfo field's value.

func (*AdditionalInfoResponse) SetSpainAdditionalInfo

func (s *AdditionalInfoResponse) SetSpainAdditionalInfo(v *SpainAdditionalInfo) *AdditionalInfoResponse

SetSpainAdditionalInfo sets the SpainAdditionalInfo field's value.

func (*AdditionalInfoResponse) SetTurkeyAdditionalInfo

func (s *AdditionalInfoResponse) SetTurkeyAdditionalInfo(v *TurkeyAdditionalInfo) *AdditionalInfoResponse

SetTurkeyAdditionalInfo sets the TurkeyAdditionalInfo field's value.

func (*AdditionalInfoResponse) SetUkraineAdditionalInfo

func (s *AdditionalInfoResponse) SetUkraineAdditionalInfo(v *UkraineAdditionalInfo) *AdditionalInfoResponse

SetUkraineAdditionalInfo sets the UkraineAdditionalInfo field's value.

func (AdditionalInfoResponse) String

func (s AdditionalInfoResponse) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Address

type Address struct {

	// The first line of the address.
	//
	// AddressLine1 is a required field
	AddressLine1 *string `locationName:"addressLine1" min:"1" type:"string" required:"true"`

	// The second line of the address, if applicable.
	AddressLine2 *string `locationName:"addressLine2" min:"1" type:"string"`

	// The third line of the address, if applicable. Currently, the Tax Settings
	// API accepts the addressLine3 parameter only for Saudi Arabia. When you specify
	// a TRN in Saudi Arabia, you must enter the addressLine3 and specify the building
	// number for the address. For example, you might enter 1234.
	AddressLine3 *string `locationName:"addressLine3" min:"1" type:"string"`

	// The city that the address is in.
	//
	// City is a required field
	City *string `locationName:"city" min:"1" type:"string" required:"true"`

	// The country code for the country that the address is in.
	//
	// CountryCode is a required field
	CountryCode *string `locationName:"countryCode" min:"2" type:"string" required:"true"`

	// The district or county the address is located.
	//
	// For addresses in Brazil, this parameter uses the name of the neighborhood.
	// When you set a TRN in Brazil, use districtOrCounty for the neighborhood name.
	DistrictOrCounty *string `locationName:"districtOrCounty" min:"1" type:"string"`

	// The postal code associated with the address.
	//
	// PostalCode is a required field
	PostalCode *string `locationName:"postalCode" min:"1" type:"string" required:"true"`

	// The state, region, or province that the address is located.
	//
	// If this is required for tax settings, use the same name as shown on the Tax
	// Settings page.
	StateOrRegion *string `locationName:"stateOrRegion" min:"1" type:"string"`
	// contains filtered or unexported fields
}

The details of the address associated with the TRN information.

func (Address) GoString

func (s Address) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Address) SetAddressLine1

func (s *Address) SetAddressLine1(v string) *Address

SetAddressLine1 sets the AddressLine1 field's value.

func (*Address) SetAddressLine2

func (s *Address) SetAddressLine2(v string) *Address

SetAddressLine2 sets the AddressLine2 field's value.

func (*Address) SetAddressLine3

func (s *Address) SetAddressLine3(v string) *Address

SetAddressLine3 sets the AddressLine3 field's value.

func (*Address) SetCity

func (s *Address) SetCity(v string) *Address

SetCity sets the City field's value.

func (*Address) SetCountryCode

func (s *Address) SetCountryCode(v string) *Address

SetCountryCode sets the CountryCode field's value.

func (*Address) SetDistrictOrCounty

func (s *Address) SetDistrictOrCounty(v string) *Address

SetDistrictOrCounty sets the DistrictOrCounty field's value.

func (*Address) SetPostalCode

func (s *Address) SetPostalCode(v string) *Address

SetPostalCode sets the PostalCode field's value.

func (*Address) SetStateOrRegion

func (s *Address) SetStateOrRegion(v string) *Address

SetStateOrRegion sets the StateOrRegion field's value.

func (Address) String

func (s Address) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Address) Validate

func (s *Address) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type BatchDeleteTaxRegistrationError

type BatchDeleteTaxRegistrationError struct {

	// The unique account identifier for the account whose tax registration couldn't
	// be deleted during the BatchDeleteTaxRegistration operation.
	//
	// AccountId is a required field
	AccountId *string `locationName:"accountId" min:"12" type:"string" required:"true"`

	// The error code for an individual failure in BatchDeleteTaxRegistration operation.
	Code *string `locationName:"code" type:"string"`

	// The error message for an individual failure in the BatchDeleteTaxRegistration
	// operation.
	//
	// Message is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by BatchDeleteTaxRegistrationError's
	// String and GoString methods.
	//
	// Message is a required field
	Message *string `locationName:"message" type:"string" required:"true" sensitive:"true"`
	// contains filtered or unexported fields
}

The error object for representing failures in the BatchDeleteTaxRegistration operation.

func (BatchDeleteTaxRegistrationError) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchDeleteTaxRegistrationError) SetAccountId

SetAccountId sets the AccountId field's value.

func (*BatchDeleteTaxRegistrationError) SetCode

SetCode sets the Code field's value.

func (*BatchDeleteTaxRegistrationError) SetMessage

SetMessage sets the Message field's value.

func (BatchDeleteTaxRegistrationError) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BatchDeleteTaxRegistrationInput

type BatchDeleteTaxRegistrationInput struct {

	// List of unique account identifiers.
	//
	// AccountIds is a required field
	AccountIds []*string `locationName:"accountIds" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (BatchDeleteTaxRegistrationInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchDeleteTaxRegistrationInput) SetAccountIds

SetAccountIds sets the AccountIds field's value.

func (BatchDeleteTaxRegistrationInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchDeleteTaxRegistrationInput) Validate

func (s *BatchDeleteTaxRegistrationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type BatchDeleteTaxRegistrationOutput

type BatchDeleteTaxRegistrationOutput struct {

	// The list of errors for the accounts the TRN information could not be deleted
	// for.
	//
	// Errors is a required field
	Errors []*BatchDeleteTaxRegistrationError `locationName:"errors" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (BatchDeleteTaxRegistrationOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchDeleteTaxRegistrationOutput) SetErrors

SetErrors sets the Errors field's value.

func (BatchDeleteTaxRegistrationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BatchPutTaxRegistrationError

type BatchPutTaxRegistrationError struct {

	// The unique account identifier for the account that the tax registration couldn't
	// be added, or updated during the BatchPutTaxRegistration operation.
	//
	// AccountId is a required field
	AccountId *string `locationName:"accountId" min:"12" type:"string" required:"true"`

	// The error code for an individual failure in the BatchPutTaxRegistration operation.
	Code *string `locationName:"code" type:"string"`

	// The error message for an individual failure in the BatchPutTaxRegistration
	// operation.
	//
	// Message is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by BatchPutTaxRegistrationError's
	// String and GoString methods.
	//
	// Message is a required field
	Message *string `locationName:"message" type:"string" required:"true" sensitive:"true"`
	// contains filtered or unexported fields
}

The error object for representing failures in the BatchPutTaxRegistration operation.

func (BatchPutTaxRegistrationError) GoString

func (s BatchPutTaxRegistrationError) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchPutTaxRegistrationError) SetAccountId

SetAccountId sets the AccountId field's value.

func (*BatchPutTaxRegistrationError) SetCode

SetCode sets the Code field's value.

func (*BatchPutTaxRegistrationError) SetMessage

SetMessage sets the Message field's value.

func (BatchPutTaxRegistrationError) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BatchPutTaxRegistrationInput

type BatchPutTaxRegistrationInput struct {

	// List of unique account identifiers.
	//
	// AccountIds is a required field
	AccountIds []*string `locationName:"accountIds" min:"1" type:"list" required:"true"`

	// Your TRN information that will be stored to the accounts mentioned in putEntries.
	//
	// TaxRegistrationEntry is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by BatchPutTaxRegistrationInput's
	// String and GoString methods.
	//
	// TaxRegistrationEntry is a required field
	TaxRegistrationEntry *TaxRegistrationEntry `locationName:"taxRegistrationEntry" type:"structure" required:"true" sensitive:"true"`
	// contains filtered or unexported fields
}

func (BatchPutTaxRegistrationInput) GoString

func (s BatchPutTaxRegistrationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchPutTaxRegistrationInput) SetAccountIds

SetAccountIds sets the AccountIds field's value.

func (*BatchPutTaxRegistrationInput) SetTaxRegistrationEntry

SetTaxRegistrationEntry sets the TaxRegistrationEntry field's value.

func (BatchPutTaxRegistrationInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchPutTaxRegistrationInput) Validate

func (s *BatchPutTaxRegistrationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type BatchPutTaxRegistrationOutput

type BatchPutTaxRegistrationOutput struct {

	// List of errors for the accounts the TRN information could not be added or
	// updated to.
	//
	// Errors is a required field
	Errors []*BatchPutTaxRegistrationError `locationName:"errors" type:"list" required:"true"`

	// The status of your TRN stored in the system after processing. Based on the
	// validation occurring on the TRN, the status can be Verified, Pending or Rejected.
	Status *string `locationName:"status" type:"string" enum:"TaxRegistrationStatus"`
	// contains filtered or unexported fields
}

func (BatchPutTaxRegistrationOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchPutTaxRegistrationOutput) SetErrors

SetErrors sets the Errors field's value.

func (*BatchPutTaxRegistrationOutput) SetStatus

SetStatus sets the Status field's value.

func (BatchPutTaxRegistrationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BrazilAdditionalInfo

type BrazilAdditionalInfo struct {

	// The Cadastro de Contribuintes Mobiliários (CCM) code for your TRN in Brazil.
	// This only applies for a CNPJ tax type for the São Paulo municipality.
	CcmCode *string `locationName:"ccmCode" type:"string"`

	// Legal nature of business, based on your TRN in Brazil. This only applies
	// for a CNPJ tax type.
	LegalNatureCode *string `locationName:"legalNatureCode" type:"string"`
	// contains filtered or unexported fields
}

Additional tax information associated with your TRN in Brazil.

func (BrazilAdditionalInfo) GoString

func (s BrazilAdditionalInfo) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BrazilAdditionalInfo) SetCcmCode

SetCcmCode sets the CcmCode field's value.

func (*BrazilAdditionalInfo) SetLegalNatureCode

func (s *BrazilAdditionalInfo) SetLegalNatureCode(v string) *BrazilAdditionalInfo

SetLegalNatureCode sets the LegalNatureCode field's value.

func (BrazilAdditionalInfo) String

func (s BrazilAdditionalInfo) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CanadaAdditionalInfo

type CanadaAdditionalInfo struct {

	// The Quebec Sales Tax ID number. Leave blank if you do not have a Quebec Sales
	// Tax ID number.
	CanadaQuebecSalesTaxNumber *string `locationName:"canadaQuebecSalesTaxNumber" type:"string"`

	// 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.
	CanadaRetailSalesTaxNumber *string `locationName:"canadaRetailSalesTaxNumber" type:"string"`

	// The value for this parameter must be true if the provincialSalesTaxId value
	// is provided for a TRN in British Columbia, Saskatchewan, or Manitoba provinces.
	//
	// To claim a provincial sales tax (PST) and retail sales tax (RST) reseller
	// exemption, you must confirm that purchases from this account were made for
	// resale. Otherwise, remove the PST or RST number from the provincialSalesTaxId
	// parameter from your request.
	IsResellerAccount *bool `locationName:"isResellerAccount" type:"boolean"`

	// The provincial sales tax ID for your TRN in Canada. This parameter can represent
	// the following:
	//
	//    * Provincial sales tax ID number for British Columbia and Saskatchewan
	//    provinces
	//
	//    * Manitoba retail sales tax ID number for Manitoba province
	//
	//    * Quebec sales tax ID number for Quebec province
	//
	// The Tax Setting API only accepts this parameter if the TRN is specified for
	// the previous provinces. For other provinces, the Tax Settings API doesn't
	// accept this parameter.
	ProvincialSalesTaxId *string `locationName:"provincialSalesTaxId" min:"7" type:"string"`
	// contains filtered or unexported fields
}

Additional tax information associated with your TRN in Canada .

func (CanadaAdditionalInfo) GoString

func (s CanadaAdditionalInfo) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CanadaAdditionalInfo) SetCanadaQuebecSalesTaxNumber

func (s *CanadaAdditionalInfo) SetCanadaQuebecSalesTaxNumber(v string) *CanadaAdditionalInfo

SetCanadaQuebecSalesTaxNumber sets the CanadaQuebecSalesTaxNumber field's value.

func (*CanadaAdditionalInfo) SetCanadaRetailSalesTaxNumber

func (s *CanadaAdditionalInfo) SetCanadaRetailSalesTaxNumber(v string) *CanadaAdditionalInfo

SetCanadaRetailSalesTaxNumber sets the CanadaRetailSalesTaxNumber field's value.

func (*CanadaAdditionalInfo) SetIsResellerAccount

func (s *CanadaAdditionalInfo) SetIsResellerAccount(v bool) *CanadaAdditionalInfo

SetIsResellerAccount sets the IsResellerAccount field's value.

func (*CanadaAdditionalInfo) SetProvincialSalesTaxId

func (s *CanadaAdditionalInfo) SetProvincialSalesTaxId(v string) *CanadaAdditionalInfo

SetProvincialSalesTaxId sets the ProvincialSalesTaxId field's value.

func (CanadaAdditionalInfo) String

func (s CanadaAdditionalInfo) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CanadaAdditionalInfo) Validate

func (s *CanadaAdditionalInfo) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ConflictException

type ConflictException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// 409
	//
	// ErrorCode is a required field
	ErrorCode *string `locationName:"errorCode" type:"string" required:"true"`

	// Message_ is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by ConflictException's
	// String and GoString methods.
	Message_ *string `locationName:"message" type:"string" sensitive:"true"`
	// contains filtered or unexported fields
}

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

func (*ConflictException) Code

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error

func (s *ConflictException) Error() string

func (ConflictException) GoString

func (s ConflictException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ConflictException) Message

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode

func (s *ConflictException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ConflictException) String

func (s ConflictException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteTaxRegistrationInput

type DeleteTaxRegistrationInput struct {

	// 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.
	AccountId *string `locationName:"accountId" min:"12" type:"string"`
	// contains filtered or unexported fields
}

func (DeleteTaxRegistrationInput) GoString

func (s DeleteTaxRegistrationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteTaxRegistrationInput) SetAccountId

SetAccountId sets the AccountId field's value.

func (DeleteTaxRegistrationInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteTaxRegistrationInput) Validate

func (s *DeleteTaxRegistrationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteTaxRegistrationOutput

type DeleteTaxRegistrationOutput struct {
	// contains filtered or unexported fields
}

func (DeleteTaxRegistrationOutput) GoString

func (s DeleteTaxRegistrationOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteTaxRegistrationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DestinationS3Location

type DestinationS3Location struct {

	// The name of your Amazon S3 bucket that you specify to download your tax documents
	// to.
	//
	// Bucket is a required field
	Bucket *string `locationName:"bucket" min:"3" type:"string" required:"true"`

	// The Amazon S3 object prefix that you specify for your tax document file.
	Prefix *string `locationName:"prefix" type:"string"`
	// contains filtered or unexported fields
}

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

func (DestinationS3Location) GoString

func (s DestinationS3Location) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DestinationS3Location) SetBucket

SetBucket sets the Bucket field's value.

func (*DestinationS3Location) SetPrefix

SetPrefix sets the Prefix field's value.

func (DestinationS3Location) String

func (s DestinationS3Location) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DestinationS3Location) Validate

func (s *DestinationS3Location) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type EstoniaAdditionalInfo

type EstoniaAdditionalInfo struct {

	// Registry commercial code (RCC) for your TRN in Estonia. This value is an
	// eight-numeric string, such as 12345678.
	//
	// RegistryCommercialCode is a required field
	RegistryCommercialCode *string `locationName:"registryCommercialCode" min:"8" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Additional tax information associated with your TRN in Estonia.

func (EstoniaAdditionalInfo) GoString

func (s EstoniaAdditionalInfo) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EstoniaAdditionalInfo) SetRegistryCommercialCode

func (s *EstoniaAdditionalInfo) SetRegistryCommercialCode(v string) *EstoniaAdditionalInfo

SetRegistryCommercialCode sets the RegistryCommercialCode field's value.

func (EstoniaAdditionalInfo) String

func (s EstoniaAdditionalInfo) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EstoniaAdditionalInfo) Validate

func (s *EstoniaAdditionalInfo) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GeorgiaAdditionalInfo

type GeorgiaAdditionalInfo struct {

	// The legal person or physical person assigned to this TRN in Georgia.
	//
	// PersonType is a required field
	PersonType *string `locationName:"personType" type:"string" required:"true" enum:"PersonType"`
	// contains filtered or unexported fields
}

Additional tax information associated with your TRN in Georgia.

func (GeorgiaAdditionalInfo) GoString

func (s GeorgiaAdditionalInfo) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GeorgiaAdditionalInfo) SetPersonType

func (s *GeorgiaAdditionalInfo) SetPersonType(v string) *GeorgiaAdditionalInfo

SetPersonType sets the PersonType field's value.

func (GeorgiaAdditionalInfo) String

func (s GeorgiaAdditionalInfo) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GeorgiaAdditionalInfo) Validate

func (s *GeorgiaAdditionalInfo) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetTaxRegistrationDocumentInput

type GetTaxRegistrationDocumentInput struct {

	// The Amazon S3 bucket that you specify to download your tax documents to.
	//
	// DestinationS3Location is a required field
	DestinationS3Location *DestinationS3Location `locationName:"destinationS3Location" type:"structure" required:"true"`

	// The metadata for your tax document.
	//
	// TaxDocumentMetadata is a required field
	TaxDocumentMetadata *TaxDocumentMetadata `locationName:"taxDocumentMetadata" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (GetTaxRegistrationDocumentInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetTaxRegistrationDocumentInput) SetDestinationS3Location

SetDestinationS3Location sets the DestinationS3Location field's value.

func (*GetTaxRegistrationDocumentInput) SetTaxDocumentMetadata

SetTaxDocumentMetadata sets the TaxDocumentMetadata field's value.

func (GetTaxRegistrationDocumentInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetTaxRegistrationDocumentInput) Validate

func (s *GetTaxRegistrationDocumentInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetTaxRegistrationDocumentOutput

type GetTaxRegistrationDocumentOutput struct {

	// The file path of the Amazon S3 bucket where you want to download your tax
	// document to.
	DestinationFilePath *string `locationName:"destinationFilePath" type:"string"`
	// contains filtered or unexported fields
}

func (GetTaxRegistrationDocumentOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetTaxRegistrationDocumentOutput) SetDestinationFilePath

SetDestinationFilePath sets the DestinationFilePath field's value.

func (GetTaxRegistrationDocumentOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetTaxRegistrationInput

type GetTaxRegistrationInput struct {

	// Your unique account identifier.
	AccountId *string `locationName:"accountId" min:"12" type:"string"`
	// contains filtered or unexported fields
}

func (GetTaxRegistrationInput) GoString

func (s GetTaxRegistrationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetTaxRegistrationInput) SetAccountId

SetAccountId sets the AccountId field's value.

func (GetTaxRegistrationInput) String

func (s GetTaxRegistrationInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetTaxRegistrationInput) Validate

func (s *GetTaxRegistrationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetTaxRegistrationOutput

type GetTaxRegistrationOutput struct {

	// TRN information of the account mentioned in the request.
	//
	// TaxRegistration is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by GetTaxRegistrationOutput's
	// String and GoString methods.
	TaxRegistration *TaxRegistration `locationName:"taxRegistration" type:"structure" sensitive:"true"`
	// contains filtered or unexported fields
}

func (GetTaxRegistrationOutput) GoString

func (s GetTaxRegistrationOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetTaxRegistrationOutput) SetTaxRegistration

SetTaxRegistration sets the TaxRegistration field's value.

func (GetTaxRegistrationOutput) String

func (s GetTaxRegistrationOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type IndiaAdditionalInfo

type IndiaAdditionalInfo struct {

	// India pan information associated with the account.
	Pan *string `locationName:"pan" type:"string"`
	// contains filtered or unexported fields
}

Additional tax information in India.

func (IndiaAdditionalInfo) GoString

func (s IndiaAdditionalInfo) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*IndiaAdditionalInfo) SetPan

SetPan sets the Pan field's value.

func (IndiaAdditionalInfo) String

func (s IndiaAdditionalInfo) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InternalServerException

type InternalServerException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// 500
	//
	// ErrorCode is a required field
	ErrorCode *string `locationName:"errorCode" type:"string" required:"true"`

	// Message_ is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by InternalServerException's
	// String and GoString methods.
	Message_ *string `locationName:"message" type:"string" sensitive:"true"`
	// contains filtered or unexported fields
}

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

func (*InternalServerException) Code

func (s *InternalServerException) Code() string

Code returns the exception type name.

func (*InternalServerException) Error

func (s *InternalServerException) Error() string

func (InternalServerException) GoString

func (s InternalServerException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InternalServerException) Message

func (s *InternalServerException) Message() string

Message returns the exception's message.

func (*InternalServerException) OrigErr

func (s *InternalServerException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServerException) RequestID

func (s *InternalServerException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServerException) StatusCode

func (s *InternalServerException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InternalServerException) String

func (s InternalServerException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type IsraelAdditionalInfo

type IsraelAdditionalInfo struct {

	// Customer type for your TRN in Israel. The value can be Business or Individual.
	// Use Businessfor entities such as not-for-profit and financial institutions.
	//
	// CustomerType is a required field
	CustomerType *string `locationName:"customerType" type:"string" required:"true" enum:"IsraelCustomerType"`

	// Dealer type for your TRN in Israel. If you're not a local authorized dealer
	// with an Israeli VAT ID, specify your tax identification number so that Amazon
	// Web Services can send you a compliant tax invoice.
	//
	// DealerType is a required field
	DealerType *string `locationName:"dealerType" type:"string" required:"true" enum:"IsraelDealerType"`
	// contains filtered or unexported fields
}

Additional tax information associated with your TRN in Israel.

func (IsraelAdditionalInfo) GoString

func (s IsraelAdditionalInfo) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*IsraelAdditionalInfo) SetCustomerType

func (s *IsraelAdditionalInfo) SetCustomerType(v string) *IsraelAdditionalInfo

SetCustomerType sets the CustomerType field's value.

func (*IsraelAdditionalInfo) SetDealerType

func (s *IsraelAdditionalInfo) SetDealerType(v string) *IsraelAdditionalInfo

SetDealerType sets the DealerType field's value.

func (IsraelAdditionalInfo) String

func (s IsraelAdditionalInfo) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*IsraelAdditionalInfo) Validate

func (s *IsraelAdditionalInfo) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ItalyAdditionalInfo

type ItalyAdditionalInfo struct {

	// The tender procedure identification code.
	CigNumber *string `locationName:"cigNumber" type:"string"`

	// Additional tax information to specify for a TRN in Italy. This is managed
	// by the Interministerial Committee for Economic Planning (CIPE) which characterizes
	// every public investment project (Individual Project Code).
	CupNumber *string `locationName:"cupNumber" type:"string"`

	// Additional tax information to specify for a TRN in Italy. Use CodiceDestinatario
	// to receive your invoices via web service (API) or FTP.
	SdiAccountId *string `locationName:"sdiAccountId" type:"string"`

	// List of service tax codes for your TRN in Italy. You can use your customer
	// tax code as part of a VAT Group.
	TaxCode *string `locationName:"taxCode" type:"string"`
	// contains filtered or unexported fields
}

Additional tax information associated with your TRN in Italy.

func (ItalyAdditionalInfo) GoString

func (s ItalyAdditionalInfo) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ItalyAdditionalInfo) SetCigNumber

func (s *ItalyAdditionalInfo) SetCigNumber(v string) *ItalyAdditionalInfo

SetCigNumber sets the CigNumber field's value.

func (*ItalyAdditionalInfo) SetCupNumber

func (s *ItalyAdditionalInfo) SetCupNumber(v string) *ItalyAdditionalInfo

SetCupNumber sets the CupNumber field's value.

func (*ItalyAdditionalInfo) SetSdiAccountId

func (s *ItalyAdditionalInfo) SetSdiAccountId(v string) *ItalyAdditionalInfo

SetSdiAccountId sets the SdiAccountId field's value.

func (*ItalyAdditionalInfo) SetTaxCode

SetTaxCode sets the TaxCode field's value.

func (ItalyAdditionalInfo) String

func (s ItalyAdditionalInfo) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Jurisdiction

type Jurisdiction struct {

	// The country code of the jurisdiction.
	//
	// CountryCode is a required field
	CountryCode *string `locationName:"countryCode" min:"2" type:"string" required:"true"`

	// The state, region, or province associated with the country of the jurisdiction,
	// if applicable.
	StateOrRegion *string `locationName:"stateOrRegion" min:"1" type:"string"`
	// contains filtered or unexported fields
}

The jurisdiction details of the TRN information of the customers. This doesn't contain full legal address, and contains only country code and state/region/province.

func (Jurisdiction) GoString

func (s Jurisdiction) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Jurisdiction) SetCountryCode

func (s *Jurisdiction) SetCountryCode(v string) *Jurisdiction

SetCountryCode sets the CountryCode field's value.

func (*Jurisdiction) SetStateOrRegion

func (s *Jurisdiction) SetStateOrRegion(v string) *Jurisdiction

SetStateOrRegion sets the StateOrRegion field's value.

func (Jurisdiction) String

func (s Jurisdiction) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type KenyaAdditionalInfo

type KenyaAdditionalInfo struct {

	// The legal person or physical person assigned to this TRN in Kenya.
	//
	// PersonType is a required field
	PersonType *string `locationName:"personType" type:"string" required:"true" enum:"PersonType"`
	// contains filtered or unexported fields
}

Additional tax information associated with your TRN in Kenya.

func (KenyaAdditionalInfo) GoString

func (s KenyaAdditionalInfo) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*KenyaAdditionalInfo) SetPersonType

func (s *KenyaAdditionalInfo) SetPersonType(v string) *KenyaAdditionalInfo

SetPersonType sets the PersonType field's value.

func (KenyaAdditionalInfo) String

func (s KenyaAdditionalInfo) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*KenyaAdditionalInfo) Validate

func (s *KenyaAdditionalInfo) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTaxRegistrationsInput

type ListTaxRegistrationsInput struct {

	// Number of accountDetails results you want in one response.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// The token to retrieve the next set of results.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListTaxRegistrationsInput) GoString

func (s ListTaxRegistrationsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTaxRegistrationsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListTaxRegistrationsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListTaxRegistrationsInput) String

func (s ListTaxRegistrationsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTaxRegistrationsInput) Validate

func (s *ListTaxRegistrationsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTaxRegistrationsOutput

type ListTaxRegistrationsOutput struct {

	// The list of account details. This contains account Ids and TRN Information
	// for each of the linked accounts.
	//
	// AccountDetails is a required field
	AccountDetails []*AccountDetails `locationName:"accountDetails" type:"list" required:"true"`

	// The token to retrieve the next set of results.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListTaxRegistrationsOutput) GoString

func (s ListTaxRegistrationsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTaxRegistrationsOutput) SetAccountDetails

SetAccountDetails sets the AccountDetails field's value.

func (*ListTaxRegistrationsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListTaxRegistrationsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MalaysiaAdditionalInfo

type MalaysiaAdditionalInfo struct {

	// List of service tax codes for your TRN in Malaysia.
	//
	// ServiceTaxCodes is a required field
	ServiceTaxCodes []*string `locationName:"serviceTaxCodes" min:"1" type:"list" required:"true" enum:"MalaysiaServiceTaxCode"`
	// contains filtered or unexported fields
}

Additional tax information associated with your TRN in Malaysia.

func (MalaysiaAdditionalInfo) GoString

func (s MalaysiaAdditionalInfo) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MalaysiaAdditionalInfo) SetServiceTaxCodes

func (s *MalaysiaAdditionalInfo) SetServiceTaxCodes(v []*string) *MalaysiaAdditionalInfo

SetServiceTaxCodes sets the ServiceTaxCodes field's value.

func (MalaysiaAdditionalInfo) String

func (s MalaysiaAdditionalInfo) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MalaysiaAdditionalInfo) Validate

func (s *MalaysiaAdditionalInfo) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PolandAdditionalInfo

type PolandAdditionalInfo struct {

	// The individual tax registration number (NIP). Individual NIP is valid for
	// other taxes excluding VAT purposes.
	IndividualRegistrationNumber *string `locationName:"individualRegistrationNumber" type:"string"`

	// True if your business is a member of a VAT group with a NIP active for VAT
	// purposes. Otherwise, this is false.
	IsGroupVatEnabled *bool `locationName:"isGroupVatEnabled" type:"boolean"`
	// contains filtered or unexported fields
}

Additional tax information associated with your TRN in Poland.

func (PolandAdditionalInfo) GoString

func (s PolandAdditionalInfo) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PolandAdditionalInfo) SetIndividualRegistrationNumber

func (s *PolandAdditionalInfo) SetIndividualRegistrationNumber(v string) *PolandAdditionalInfo

SetIndividualRegistrationNumber sets the IndividualRegistrationNumber field's value.

func (*PolandAdditionalInfo) SetIsGroupVatEnabled

func (s *PolandAdditionalInfo) SetIsGroupVatEnabled(v bool) *PolandAdditionalInfo

SetIsGroupVatEnabled sets the IsGroupVatEnabled field's value.

func (PolandAdditionalInfo) String

func (s PolandAdditionalInfo) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutTaxRegistrationInput

type PutTaxRegistrationInput struct {

	// Your unique account identifier.
	AccountId *string `locationName:"accountId" min:"12" type:"string"`

	// Your TRN information that will be stored to the account mentioned in accountId.
	//
	// TaxRegistrationEntry is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by PutTaxRegistrationInput's
	// String and GoString methods.
	//
	// TaxRegistrationEntry is a required field
	TaxRegistrationEntry *TaxRegistrationEntry `locationName:"taxRegistrationEntry" type:"structure" required:"true" sensitive:"true"`
	// contains filtered or unexported fields
}

func (PutTaxRegistrationInput) GoString

func (s PutTaxRegistrationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutTaxRegistrationInput) SetAccountId

SetAccountId sets the AccountId field's value.

func (*PutTaxRegistrationInput) SetTaxRegistrationEntry

SetTaxRegistrationEntry sets the TaxRegistrationEntry field's value.

func (PutTaxRegistrationInput) String

func (s PutTaxRegistrationInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutTaxRegistrationInput) Validate

func (s *PutTaxRegistrationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutTaxRegistrationOutput

type PutTaxRegistrationOutput struct {

	// The status of your TRN stored in the system after processing. Based on the
	// validation occurring on the TRN, the status can be Verified, Pending or Rejected.
	Status *string `locationName:"status" type:"string" enum:"TaxRegistrationStatus"`
	// contains filtered or unexported fields
}

func (PutTaxRegistrationOutput) GoString

func (s PutTaxRegistrationOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutTaxRegistrationOutput) SetStatus

SetStatus sets the Status field's value.

func (PutTaxRegistrationOutput) String

func (s PutTaxRegistrationOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceNotFoundException

type ResourceNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// 404
	//
	// ErrorCode is a required field
	ErrorCode *string `locationName:"errorCode" type:"string" required:"true"`

	// Message_ is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by ResourceNotFoundException's
	// String and GoString methods.
	Message_ *string `locationName:"message" type:"string" sensitive:"true"`
	// contains filtered or unexported fields
}

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

func (*ResourceNotFoundException) Code

Code returns the exception type name.

func (*ResourceNotFoundException) Error

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceNotFoundException) Message

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode

func (s *ResourceNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceNotFoundException) String

func (s ResourceNotFoundException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RomaniaAdditionalInfo

type RomaniaAdditionalInfo struct {

	// The tax registration number type. The value can be TaxRegistrationNumber
	// or LocalRegistrationNumber.
	//
	// TaxRegistrationNumberType is a required field
	TaxRegistrationNumberType *string `locationName:"taxRegistrationNumberType" type:"string" required:"true" enum:"TaxRegistrationNumberType"`
	// contains filtered or unexported fields
}

Additional tax information to specify for a TRN in Romania.

func (RomaniaAdditionalInfo) GoString

func (s RomaniaAdditionalInfo) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RomaniaAdditionalInfo) SetTaxRegistrationNumberType

func (s *RomaniaAdditionalInfo) SetTaxRegistrationNumberType(v string) *RomaniaAdditionalInfo

SetTaxRegistrationNumberType sets the TaxRegistrationNumberType field's value.

func (RomaniaAdditionalInfo) String

func (s RomaniaAdditionalInfo) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RomaniaAdditionalInfo) Validate

func (s *RomaniaAdditionalInfo) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SaudiArabiaAdditionalInfo

type SaudiArabiaAdditionalInfo struct {

	// The tax registration number type.
	TaxRegistrationNumberType *string `locationName:"taxRegistrationNumberType" type:"string" enum:"SaudiArabiaTaxRegistrationNumberType"`
	// contains filtered or unexported fields
}

Additional tax information associated with your TRN in Saudi Arabia.

func (SaudiArabiaAdditionalInfo) GoString

func (s SaudiArabiaAdditionalInfo) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SaudiArabiaAdditionalInfo) SetTaxRegistrationNumberType

func (s *SaudiArabiaAdditionalInfo) SetTaxRegistrationNumberType(v string) *SaudiArabiaAdditionalInfo

SetTaxRegistrationNumberType sets the TaxRegistrationNumberType field's value.

func (SaudiArabiaAdditionalInfo) String

func (s SaudiArabiaAdditionalInfo) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SourceS3Location

type SourceS3Location struct {

	// The name of your Amazon S3 bucket that your tax document is located.
	//
	// Bucket is a required field
	Bucket *string `locationName:"bucket" min:"3" type:"string" required:"true"`

	// The object key of your tax document object in Amazon S3.
	//
	// Key is a required field
	Key *string `locationName:"key" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The Amazon S3 bucket in your account where your tax document is located.

func (SourceS3Location) GoString

func (s SourceS3Location) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SourceS3Location) SetBucket

func (s *SourceS3Location) SetBucket(v string) *SourceS3Location

SetBucket sets the Bucket field's value.

func (*SourceS3Location) SetKey

SetKey sets the Key field's value.

func (SourceS3Location) String

func (s SourceS3Location) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SourceS3Location) Validate

func (s *SourceS3Location) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SouthKoreaAdditionalInfo

type SouthKoreaAdditionalInfo struct {

	// The business legal name based on the most recently uploaded tax registration
	// certificate.
	//
	// BusinessRepresentativeName is a required field
	BusinessRepresentativeName *string `locationName:"businessRepresentativeName" min:"1" type:"string" required:"true"`

	// Item of business based on the most recently uploaded tax registration certificate.
	//
	// ItemOfBusiness is a required field
	ItemOfBusiness *string `locationName:"itemOfBusiness" min:"1" type:"string" required:"true"`

	// Line of business based on the most recently uploaded tax registration certificate.
	//
	// LineOfBusiness is a required field
	LineOfBusiness *string `locationName:"lineOfBusiness" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Additional tax information associated with your TRN in South Korea.

func (SouthKoreaAdditionalInfo) GoString

func (s SouthKoreaAdditionalInfo) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SouthKoreaAdditionalInfo) SetBusinessRepresentativeName

func (s *SouthKoreaAdditionalInfo) SetBusinessRepresentativeName(v string) *SouthKoreaAdditionalInfo

SetBusinessRepresentativeName sets the BusinessRepresentativeName field's value.

func (*SouthKoreaAdditionalInfo) SetItemOfBusiness

func (s *SouthKoreaAdditionalInfo) SetItemOfBusiness(v string) *SouthKoreaAdditionalInfo

SetItemOfBusiness sets the ItemOfBusiness field's value.

func (*SouthKoreaAdditionalInfo) SetLineOfBusiness

func (s *SouthKoreaAdditionalInfo) SetLineOfBusiness(v string) *SouthKoreaAdditionalInfo

SetLineOfBusiness sets the LineOfBusiness field's value.

func (SouthKoreaAdditionalInfo) String

func (s SouthKoreaAdditionalInfo) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SouthKoreaAdditionalInfo) Validate

func (s *SouthKoreaAdditionalInfo) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SpainAdditionalInfo

type SpainAdditionalInfo struct {

	// The registration type in Spain.
	//
	// RegistrationType is a required field
	RegistrationType *string `locationName:"registrationType" type:"string" required:"true" enum:"RegistrationType"`
	// contains filtered or unexported fields
}

Additional tax information associated with your TRN in Spain.

func (SpainAdditionalInfo) GoString

func (s SpainAdditionalInfo) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SpainAdditionalInfo) SetRegistrationType

func (s *SpainAdditionalInfo) SetRegistrationType(v string) *SpainAdditionalInfo

SetRegistrationType sets the RegistrationType field's value.

func (SpainAdditionalInfo) String

func (s SpainAdditionalInfo) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SpainAdditionalInfo) Validate

func (s *SpainAdditionalInfo) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TaxDocumentMetadata

type TaxDocumentMetadata struct {

	// The tax document access token, which contains information that the Tax Settings
	// API uses to locate the tax document.
	//
	// If you update your tax registration, the existing taxDocumentAccessToken
	// won't be valid. To get the latest token, call the GetTaxRegistration or ListTaxRegistrations
	// API operation. This token is valid for 24 hours.
	//
	// TaxDocumentAccessToken is a required field
	TaxDocumentAccessToken *string `locationName:"taxDocumentAccessToken" type:"string" required:"true"`

	// The name of your tax document.
	//
	// TaxDocumentName is a required field
	TaxDocumentName *string `locationName:"taxDocumentName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The metadata for your tax document.

func (TaxDocumentMetadata) GoString

func (s TaxDocumentMetadata) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TaxDocumentMetadata) SetTaxDocumentAccessToken

func (s *TaxDocumentMetadata) SetTaxDocumentAccessToken(v string) *TaxDocumentMetadata

SetTaxDocumentAccessToken sets the TaxDocumentAccessToken field's value.

func (*TaxDocumentMetadata) SetTaxDocumentName

func (s *TaxDocumentMetadata) SetTaxDocumentName(v string) *TaxDocumentMetadata

SetTaxDocumentName sets the TaxDocumentName field's value.

func (TaxDocumentMetadata) String

func (s TaxDocumentMetadata) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TaxDocumentMetadata) Validate

func (s *TaxDocumentMetadata) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TaxInheritanceDetails

type TaxInheritanceDetails struct {

	// Tax inheritance reason information associated with the account.
	InheritanceObtainedReason *string `locationName:"inheritanceObtainedReason" type:"string"`

	// Tax inheritance parent account information associated with the account.
	ParentEntityId *string `locationName:"parentEntityId" min:"12" type:"string"`
	// contains filtered or unexported fields
}

Tax inheritance information associated with the account.

func (TaxInheritanceDetails) GoString

func (s TaxInheritanceDetails) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TaxInheritanceDetails) SetInheritanceObtainedReason

func (s *TaxInheritanceDetails) SetInheritanceObtainedReason(v string) *TaxInheritanceDetails

SetInheritanceObtainedReason sets the InheritanceObtainedReason field's value.

func (*TaxInheritanceDetails) SetParentEntityId

func (s *TaxInheritanceDetails) SetParentEntityId(v string) *TaxInheritanceDetails

SetParentEntityId sets the ParentEntityId field's value.

func (TaxInheritanceDetails) String

func (s TaxInheritanceDetails) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TaxRegistration

type TaxRegistration struct {

	// Additional tax information associated with your TRN.
	AdditionalTaxInformation *AdditionalInfoResponse `locationName:"additionalTaxInformation" type:"structure"`

	// The email address to receive VAT invoices.
	CertifiedEmailId *string `locationName:"certifiedEmailId" type:"string"`

	// The legal address associated with your TRN registration.
	//
	// LegalAddress is a required field
	LegalAddress *Address `locationName:"legalAddress" type:"structure" required:"true"`

	// The legal name associated with your TRN registration.
	//
	// LegalName is a required field
	LegalName *string `locationName:"legalName" min:"1" type:"string" required:"true"`

	// Your tax registration unique identifier.
	//
	// RegistrationId is a required field
	RegistrationId *string `locationName:"registrationId" min:"1" type:"string" required:"true"`

	// Type of your tax registration. This can be either VAT or GST.
	//
	// RegistrationType is a required field
	RegistrationType *string `locationName:"registrationType" type:"string" required:"true" enum:"TaxRegistrationType"`

	// The industry that describes your business. For business-to-business (B2B)
	// customers, specify Business. For business-to-consumer (B2C) customers, specify
	// Individual. For business-to-government (B2G), specify Government. Note that
	// certain values may not applicable for the request country. Please refer to
	// country specific information in API document.
	Sector *string `locationName:"sector" type:"string" enum:"Sector"`

	// The status of your TRN. This can be either Verified, Pending, Deleted, or
	// Rejected.
	//
	// Status is a required field
	Status *string `locationName:"status" type:"string" required:"true" enum:"TaxRegistrationStatus"`

	// The metadata for your tax document.
	TaxDocumentMetadatas []*TaxDocumentMetadata `locationName:"taxDocumentMetadatas" min:"1" type:"list"`
	// contains filtered or unexported fields
}

Your TRN information.

func (TaxRegistration) GoString

func (s TaxRegistration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TaxRegistration) SetAdditionalTaxInformation

func (s *TaxRegistration) SetAdditionalTaxInformation(v *AdditionalInfoResponse) *TaxRegistration

SetAdditionalTaxInformation sets the AdditionalTaxInformation field's value.

func (*TaxRegistration) SetCertifiedEmailId

func (s *TaxRegistration) SetCertifiedEmailId(v string) *TaxRegistration

SetCertifiedEmailId sets the CertifiedEmailId field's value.

func (*TaxRegistration) SetLegalAddress

func (s *TaxRegistration) SetLegalAddress(v *Address) *TaxRegistration

SetLegalAddress sets the LegalAddress field's value.

func (*TaxRegistration) SetLegalName

func (s *TaxRegistration) SetLegalName(v string) *TaxRegistration

SetLegalName sets the LegalName field's value.

func (*TaxRegistration) SetRegistrationId

func (s *TaxRegistration) SetRegistrationId(v string) *TaxRegistration

SetRegistrationId sets the RegistrationId field's value.

func (*TaxRegistration) SetRegistrationType

func (s *TaxRegistration) SetRegistrationType(v string) *TaxRegistration

SetRegistrationType sets the RegistrationType field's value.

func (*TaxRegistration) SetSector

func (s *TaxRegistration) SetSector(v string) *TaxRegistration

SetSector sets the Sector field's value.

func (*TaxRegistration) SetStatus

func (s *TaxRegistration) SetStatus(v string) *TaxRegistration

SetStatus sets the Status field's value.

func (*TaxRegistration) SetTaxDocumentMetadatas

func (s *TaxRegistration) SetTaxDocumentMetadatas(v []*TaxDocumentMetadata) *TaxRegistration

SetTaxDocumentMetadatas sets the TaxDocumentMetadatas field's value.

func (TaxRegistration) String

func (s TaxRegistration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TaxRegistrationDocument

type TaxRegistrationDocument struct {

	// The Amazon S3 location where your tax registration document is stored.
	//
	// S3Location is a required field
	S3Location *SourceS3Location `locationName:"s3Location" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Tax registration document information.

func (TaxRegistrationDocument) GoString

func (s TaxRegistrationDocument) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TaxRegistrationDocument) SetS3Location

SetS3Location sets the S3Location field's value.

func (TaxRegistrationDocument) String

func (s TaxRegistrationDocument) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TaxRegistrationDocument) Validate

func (s *TaxRegistrationDocument) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TaxRegistrationEntry

type TaxRegistrationEntry struct {

	// Additional tax information associated with your TRN. You only need to specify
	// this parameter if Amazon Web Services collects any additional information
	// for your country within AdditionalInfoRequest.
	AdditionalTaxInformation *AdditionalInfoRequest `locationName:"additionalTaxInformation" type:"structure"`

	// The email address to receive VAT invoices.
	CertifiedEmailId *string `locationName:"certifiedEmailId" type:"string"`

	// The legal address associated with your TRN.
	//
	// If you're setting a TRN in Brazil for the CNPJ tax type, you don't need to
	// specify the legal address.
	//
	// For TRNs in other countries and for CPF tax types Brazil, you must specify
	// the legal address.
	LegalAddress *Address `locationName:"legalAddress" type:"structure"`

	// The legal name associated with your TRN.
	//
	// If you're setting a TRN in Brazil, you don't need to specify the legal name.
	// For TRNs in other countries, you must specify the legal name.
	LegalName *string `locationName:"legalName" min:"1" type:"string"`

	// Your tax registration unique identifier.
	//
	// RegistrationId is a required field
	RegistrationId *string `locationName:"registrationId" min:"1" type:"string" required:"true"`

	// Your tax registration type. This can be either VAT or GST.
	//
	// RegistrationType is a required field
	RegistrationType *string `locationName:"registrationType" type:"string" required:"true" enum:"TaxRegistrationType"`

	// The industry that describes your business. For business-to-business (B2B)
	// customers, specify Business. For business-to-consumer (B2C) customers, specify
	// Individual. For business-to-government (B2G), specify Government.Note that
	// certain values may not applicable for the request country. Please refer to
	// country specific information in API document.
	Sector *string `locationName:"sector" type:"string" enum:"Sector"`

	// Additional details needed to verify your TRN information in Brazil. You only
	// need to specify this parameter when you set a TRN in Brazil that is the CPF
	// tax type.
	//
	// Don't specify this parameter to set a TRN in Brazil of the CNPJ tax type
	// or to set a TRN for another country.
	VerificationDetails *VerificationDetails `locationName:"verificationDetails" type:"structure"`
	// contains filtered or unexported fields
}

The TRN information you provide when you add a new TRN, or update.

func (TaxRegistrationEntry) GoString

func (s TaxRegistrationEntry) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TaxRegistrationEntry) SetAdditionalTaxInformation

func (s *TaxRegistrationEntry) SetAdditionalTaxInformation(v *AdditionalInfoRequest) *TaxRegistrationEntry

SetAdditionalTaxInformation sets the AdditionalTaxInformation field's value.

func (*TaxRegistrationEntry) SetCertifiedEmailId

func (s *TaxRegistrationEntry) SetCertifiedEmailId(v string) *TaxRegistrationEntry

SetCertifiedEmailId sets the CertifiedEmailId field's value.

func (*TaxRegistrationEntry) SetLegalAddress

func (s *TaxRegistrationEntry) SetLegalAddress(v *Address) *TaxRegistrationEntry

SetLegalAddress sets the LegalAddress field's value.

func (*TaxRegistrationEntry) SetLegalName

func (s *TaxRegistrationEntry) SetLegalName(v string) *TaxRegistrationEntry

SetLegalName sets the LegalName field's value.

func (*TaxRegistrationEntry) SetRegistrationId

func (s *TaxRegistrationEntry) SetRegistrationId(v string) *TaxRegistrationEntry

SetRegistrationId sets the RegistrationId field's value.

func (*TaxRegistrationEntry) SetRegistrationType

func (s *TaxRegistrationEntry) SetRegistrationType(v string) *TaxRegistrationEntry

SetRegistrationType sets the RegistrationType field's value.

func (*TaxRegistrationEntry) SetSector

SetSector sets the Sector field's value.

func (*TaxRegistrationEntry) SetVerificationDetails

func (s *TaxRegistrationEntry) SetVerificationDetails(v *VerificationDetails) *TaxRegistrationEntry

SetVerificationDetails sets the VerificationDetails field's value.

func (TaxRegistrationEntry) String

func (s TaxRegistrationEntry) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TaxRegistrationEntry) Validate

func (s *TaxRegistrationEntry) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TaxRegistrationWithJurisdiction

type TaxRegistrationWithJurisdiction struct {

	// Additional tax information associated with your TRN.
	AdditionalTaxInformation *AdditionalInfoResponse `locationName:"additionalTaxInformation" type:"structure"`

	// The email address to receive VAT invoices.
	CertifiedEmailId *string `locationName:"certifiedEmailId" type:"string"`

	// The jurisdiction associated with your TRN information.
	//
	// Jurisdiction is a required field
	Jurisdiction *Jurisdiction `locationName:"jurisdiction" type:"structure" required:"true"`

	// The legal name associated with your TRN information.
	//
	// LegalName is a required field
	LegalName *string `locationName:"legalName" min:"1" type:"string" required:"true"`

	// Your tax registration unique identifier.
	//
	// RegistrationId is a required field
	RegistrationId *string `locationName:"registrationId" min:"1" type:"string" required:"true"`

	// The type of your tax registration. This can be either VAT or GST.
	//
	// RegistrationType is a required field
	RegistrationType *string `locationName:"registrationType" type:"string" required:"true" enum:"TaxRegistrationType"`

	// The industry that describes your business. For business-to-business (B2B)
	// customers, specify Business. For business-to-consumer (B2C) customers, specify
	// Individual. For business-to-government (B2G), specify Government.Note that
	// certain values may not applicable for the request country. Please refer to
	// country specific information in API document.
	Sector *string `locationName:"sector" type:"string" enum:"Sector"`

	// The status of your TRN. This can be either Verified, Pending, Deleted, or
	// Rejected.
	//
	// Status is a required field
	Status *string `locationName:"status" type:"string" required:"true" enum:"TaxRegistrationStatus"`

	// The metadata for your tax document.
	TaxDocumentMetadatas []*TaxDocumentMetadata `locationName:"taxDocumentMetadatas" min:"1" type:"list"`
	// contains filtered or unexported fields
}

Your TRN information with jurisdiction details. This doesn't contain the full legal address associated with the TRN information.

func (TaxRegistrationWithJurisdiction) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TaxRegistrationWithJurisdiction) SetAdditionalTaxInformation

SetAdditionalTaxInformation sets the AdditionalTaxInformation field's value.

func (*TaxRegistrationWithJurisdiction) SetCertifiedEmailId

SetCertifiedEmailId sets the CertifiedEmailId field's value.

func (*TaxRegistrationWithJurisdiction) SetJurisdiction

SetJurisdiction sets the Jurisdiction field's value.

func (*TaxRegistrationWithJurisdiction) SetLegalName

SetLegalName sets the LegalName field's value.

func (*TaxRegistrationWithJurisdiction) SetRegistrationId

SetRegistrationId sets the RegistrationId field's value.

func (*TaxRegistrationWithJurisdiction) SetRegistrationType

SetRegistrationType sets the RegistrationType field's value.

func (*TaxRegistrationWithJurisdiction) SetSector

SetSector sets the Sector field's value.

func (*TaxRegistrationWithJurisdiction) SetStatus

SetStatus sets the Status field's value.

func (*TaxRegistrationWithJurisdiction) SetTaxDocumentMetadatas

SetTaxDocumentMetadatas sets the TaxDocumentMetadatas field's value.

func (TaxRegistrationWithJurisdiction) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TaxSettings

type TaxSettings struct {
	*client.Client
}

TaxSettings provides the API operation methods for making requests to Tax Settings. See this package's package overview docs for details on the service.

TaxSettings methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *TaxSettings

New creates a new instance of the TaxSettings client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

mySession := session.Must(session.NewSession())

// Create a TaxSettings client from just a session.
svc := taxsettings.New(mySession)

// Create a TaxSettings client with additional configuration
svc := taxsettings.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*TaxSettings) BatchDeleteTaxRegistration

func (c *TaxSettings) BatchDeleteTaxRegistration(input *BatchDeleteTaxRegistrationInput) (*BatchDeleteTaxRegistrationOutput, error)

BatchDeleteTaxRegistration API operation for Tax Settings.

Deletes tax registration for multiple accounts in batch. This can be used to delete tax registrations for up to five accounts in one batch.

This API operation can't be used to delete your tax registration in Brazil. Use the Payment preferences (https://console.aws.amazon.com/billing/home#/paymentpreferences/paymentmethods) page in the Billing and Cost Management console instead.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Tax Settings's API operation BatchDeleteTaxRegistration for usage and error information.

Returned Error Types:

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/BatchDeleteTaxRegistration

func (*TaxSettings) BatchDeleteTaxRegistrationRequest

func (c *TaxSettings) BatchDeleteTaxRegistrationRequest(input *BatchDeleteTaxRegistrationInput) (req *request.Request, output *BatchDeleteTaxRegistrationOutput)

BatchDeleteTaxRegistrationRequest generates a "aws/request.Request" representing the client's request for the BatchDeleteTaxRegistration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchDeleteTaxRegistration for more information on using the BatchDeleteTaxRegistration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchDeleteTaxRegistrationRequest method.
req, resp := client.BatchDeleteTaxRegistrationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/BatchDeleteTaxRegistration

func (*TaxSettings) BatchDeleteTaxRegistrationWithContext

func (c *TaxSettings) BatchDeleteTaxRegistrationWithContext(ctx aws.Context, input *BatchDeleteTaxRegistrationInput, opts ...request.Option) (*BatchDeleteTaxRegistrationOutput, error)

BatchDeleteTaxRegistrationWithContext is the same as BatchDeleteTaxRegistration with the addition of the ability to pass a context and additional request options.

See BatchDeleteTaxRegistration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TaxSettings) BatchPutTaxRegistration

func (c *TaxSettings) BatchPutTaxRegistration(input *BatchPutTaxRegistrationInput) (*BatchPutTaxRegistrationOutput, error)

BatchPutTaxRegistration API operation for Tax Settings.

Adds or updates tax registration for multiple accounts in batch. This can be used to add 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.

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

Bangladesh

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

Brazil

  • You must complete the tax registration process in the Payment preferences (https://console.aws.amazon.com/billing/home#/paymentpreferences/paymentmethods) page in the Billing and Cost Management console. After your TRN and billing address are verified, you can call this API operation.

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

Georgia

  • The valid personType values are Physical Person and Business.

Kenya

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

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

Malaysia

  • 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.

  • 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.

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

  • 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.

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

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

  • 9907061674 Training or coaching service - 9907071685 IT service - 9907101676 Digital services and electronic medium - 9907121690

Nepal

  • The sector valid values are Business and Individual.

Saudi Arabia

  • For address, you must specify addressLine3.

South Korea

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

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

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

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

Spain

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

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

Turkey

  • You must specify the sector in the taxRegistrationEntry object.

  • If your sector is Business, Individual, or Government: Specify the taxOffice. If your sector is Individual, don't enter this value. (Optional) Specify the kepEmailId. If your sector is Individual, don't enter this value. Note: In the Tax Settings page of the Billing console, Government appears as Public institutions

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

  • For address, you must specify districtOrCounty.

Ukraine

  • The sector valid values are Business and Individual.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Tax Settings's API operation BatchPutTaxRegistration for usage and error information.

Returned Error Types:

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/BatchPutTaxRegistration

func (*TaxSettings) BatchPutTaxRegistrationRequest

func (c *TaxSettings) BatchPutTaxRegistrationRequest(input *BatchPutTaxRegistrationInput) (req *request.Request, output *BatchPutTaxRegistrationOutput)

BatchPutTaxRegistrationRequest generates a "aws/request.Request" representing the client's request for the BatchPutTaxRegistration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchPutTaxRegistration for more information on using the BatchPutTaxRegistration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchPutTaxRegistrationRequest method.
req, resp := client.BatchPutTaxRegistrationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/BatchPutTaxRegistration

func (*TaxSettings) BatchPutTaxRegistrationWithContext

func (c *TaxSettings) BatchPutTaxRegistrationWithContext(ctx aws.Context, input *BatchPutTaxRegistrationInput, opts ...request.Option) (*BatchPutTaxRegistrationOutput, error)

BatchPutTaxRegistrationWithContext is the same as BatchPutTaxRegistration with the addition of the ability to pass a context and additional request options.

See BatchPutTaxRegistration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TaxSettings) DeleteTaxRegistration

func (c *TaxSettings) DeleteTaxRegistration(input *DeleteTaxRegistrationInput) (*DeleteTaxRegistrationOutput, error)

DeleteTaxRegistration API operation for Tax Settings.

Deletes tax registration for a single account.

This API operation can't be used to delete your tax registration in Brazil. Use the Payment preferences (https://console.aws.amazon.com/billing/home#/paymentpreferences/paymentmethods) page in the Billing and Cost Management console instead.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Tax Settings's API operation DeleteTaxRegistration for usage and error information.

Returned Error Types:

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/DeleteTaxRegistration

func (*TaxSettings) DeleteTaxRegistrationRequest

func (c *TaxSettings) DeleteTaxRegistrationRequest(input *DeleteTaxRegistrationInput) (req *request.Request, output *DeleteTaxRegistrationOutput)

DeleteTaxRegistrationRequest generates a "aws/request.Request" representing the client's request for the DeleteTaxRegistration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteTaxRegistration for more information on using the DeleteTaxRegistration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteTaxRegistrationRequest method.
req, resp := client.DeleteTaxRegistrationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/DeleteTaxRegistration

func (*TaxSettings) DeleteTaxRegistrationWithContext

func (c *TaxSettings) DeleteTaxRegistrationWithContext(ctx aws.Context, input *DeleteTaxRegistrationInput, opts ...request.Option) (*DeleteTaxRegistrationOutput, error)

DeleteTaxRegistrationWithContext is the same as DeleteTaxRegistration with the addition of the ability to pass a context and additional request options.

See DeleteTaxRegistration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TaxSettings) GetTaxRegistration

func (c *TaxSettings) GetTaxRegistration(input *GetTaxRegistrationInput) (*GetTaxRegistrationOutput, error)

GetTaxRegistration API operation for Tax Settings.

Retrieves tax registration for a single account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Tax Settings's API operation GetTaxRegistration for usage and error information.

Returned Error Types:

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/GetTaxRegistration

func (*TaxSettings) GetTaxRegistrationDocument

func (c *TaxSettings) GetTaxRegistrationDocument(input *GetTaxRegistrationDocumentInput) (*GetTaxRegistrationDocumentOutput, error)

GetTaxRegistrationDocument API operation for Tax Settings.

Downloads your tax documents to the Amazon S3 bucket that you specify in your request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Tax Settings's API operation GetTaxRegistrationDocument for usage and error information.

Returned Error Types:

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/GetTaxRegistrationDocument

func (*TaxSettings) GetTaxRegistrationDocumentRequest

func (c *TaxSettings) GetTaxRegistrationDocumentRequest(input *GetTaxRegistrationDocumentInput) (req *request.Request, output *GetTaxRegistrationDocumentOutput)

GetTaxRegistrationDocumentRequest generates a "aws/request.Request" representing the client's request for the GetTaxRegistrationDocument operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetTaxRegistrationDocument for more information on using the GetTaxRegistrationDocument API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetTaxRegistrationDocumentRequest method.
req, resp := client.GetTaxRegistrationDocumentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/GetTaxRegistrationDocument

func (*TaxSettings) GetTaxRegistrationDocumentWithContext

func (c *TaxSettings) GetTaxRegistrationDocumentWithContext(ctx aws.Context, input *GetTaxRegistrationDocumentInput, opts ...request.Option) (*GetTaxRegistrationDocumentOutput, error)

GetTaxRegistrationDocumentWithContext is the same as GetTaxRegistrationDocument with the addition of the ability to pass a context and additional request options.

See GetTaxRegistrationDocument for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TaxSettings) GetTaxRegistrationRequest

func (c *TaxSettings) GetTaxRegistrationRequest(input *GetTaxRegistrationInput) (req *request.Request, output *GetTaxRegistrationOutput)

GetTaxRegistrationRequest generates a "aws/request.Request" representing the client's request for the GetTaxRegistration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetTaxRegistration for more information on using the GetTaxRegistration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetTaxRegistrationRequest method.
req, resp := client.GetTaxRegistrationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/GetTaxRegistration

func (*TaxSettings) GetTaxRegistrationWithContext

func (c *TaxSettings) GetTaxRegistrationWithContext(ctx aws.Context, input *GetTaxRegistrationInput, opts ...request.Option) (*GetTaxRegistrationOutput, error)

GetTaxRegistrationWithContext is the same as GetTaxRegistration with the addition of the ability to pass a context and additional request options.

See GetTaxRegistration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TaxSettings) ListTaxRegistrations

func (c *TaxSettings) ListTaxRegistrations(input *ListTaxRegistrationsInput) (*ListTaxRegistrationsOutput, error)

ListTaxRegistrations API operation for Tax Settings.

Retrieves the tax registration of accounts listed in a consolidated billing family. This can be used to retrieve up to 100 accounts' tax registrations in one call (default 50).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Tax Settings's API operation ListTaxRegistrations for usage and error information.

Returned Error Types:

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/ListTaxRegistrations

func (*TaxSettings) ListTaxRegistrationsPages

func (c *TaxSettings) ListTaxRegistrationsPages(input *ListTaxRegistrationsInput, fn func(*ListTaxRegistrationsOutput, bool) bool) error

ListTaxRegistrationsPages iterates over the pages of a ListTaxRegistrations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListTaxRegistrations method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListTaxRegistrations operation.
pageNum := 0
err := client.ListTaxRegistrationsPages(params,
    func(page *taxsettings.ListTaxRegistrationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*TaxSettings) ListTaxRegistrationsPagesWithContext

func (c *TaxSettings) ListTaxRegistrationsPagesWithContext(ctx aws.Context, input *ListTaxRegistrationsInput, fn func(*ListTaxRegistrationsOutput, bool) bool, opts ...request.Option) error

ListTaxRegistrationsPagesWithContext same as ListTaxRegistrationsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TaxSettings) ListTaxRegistrationsRequest

func (c *TaxSettings) ListTaxRegistrationsRequest(input *ListTaxRegistrationsInput) (req *request.Request, output *ListTaxRegistrationsOutput)

ListTaxRegistrationsRequest generates a "aws/request.Request" representing the client's request for the ListTaxRegistrations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTaxRegistrations for more information on using the ListTaxRegistrations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTaxRegistrationsRequest method.
req, resp := client.ListTaxRegistrationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/ListTaxRegistrations

func (*TaxSettings) ListTaxRegistrationsWithContext

func (c *TaxSettings) ListTaxRegistrationsWithContext(ctx aws.Context, input *ListTaxRegistrationsInput, opts ...request.Option) (*ListTaxRegistrationsOutput, error)

ListTaxRegistrationsWithContext is the same as ListTaxRegistrations with the addition of the ability to pass a context and additional request options.

See ListTaxRegistrations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TaxSettings) PutTaxRegistration

func (c *TaxSettings) PutTaxRegistration(input *PutTaxRegistrationInput) (*PutTaxRegistrationOutput, error)

PutTaxRegistration API operation for Tax Settings.

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.

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

Bangladesh

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

Brazil

  • You must complete the tax registration process in the Payment preferences (https://console.aws.amazon.com/billing/home#/paymentpreferences/paymentmethods) page in the Billing and Cost Management console. After your TRN and billing address are verified, you can call this API operation.

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

Georgia

  • The valid personType values are Physical Person and Business.

Kenya

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

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

Malaysia

  • 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.

  • 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.

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

  • 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.

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

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

  • 9907061674 Training or coaching service - 9907071685 IT service - 9907101676 Digital services and electronic medium - 9907121690

Nepal

  • The sector valid values are Business and Individual.

Saudi Arabia

  • For address, you must specify addressLine3.

South Korea

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

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

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

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

Spain

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

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

Turkey

  • You must specify the sector in the taxRegistrationEntry object.

  • If your sector is Business, Individual, or Government: Specify the taxOffice. If your sector is Individual, don't enter this value. (Optional) Specify the kepEmailId. If your sector is Individual, don't enter this value. Note: In the Tax Settings page of the Billing console, Government appears as Public institutions

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

  • For address, you must specify districtOrCounty.

Ukraine

  • The sector valid values are Business and Individual.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Tax Settings's API operation PutTaxRegistration for usage and error information.

Returned Error Types:

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/PutTaxRegistration

func (*TaxSettings) PutTaxRegistrationRequest

func (c *TaxSettings) PutTaxRegistrationRequest(input *PutTaxRegistrationInput) (req *request.Request, output *PutTaxRegistrationOutput)

PutTaxRegistrationRequest generates a "aws/request.Request" representing the client's request for the PutTaxRegistration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutTaxRegistration for more information on using the PutTaxRegistration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutTaxRegistrationRequest method.
req, resp := client.PutTaxRegistrationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/PutTaxRegistration

func (*TaxSettings) PutTaxRegistrationWithContext

func (c *TaxSettings) PutTaxRegistrationWithContext(ctx aws.Context, input *PutTaxRegistrationInput, opts ...request.Option) (*PutTaxRegistrationOutput, error)

PutTaxRegistrationWithContext is the same as PutTaxRegistration with the addition of the ability to pass a context and additional request options.

See PutTaxRegistration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type TurkeyAdditionalInfo

type TurkeyAdditionalInfo struct {

	// The industry information that tells the Tax Settings API if you're subject
	// to additional withholding taxes. This information required for business-to-business
	// (B2B) customers. This information is conditionally mandatory for B2B customers
	// who are subject to KDV tax.
	Industries *string `locationName:"industries" type:"string" enum:"Industries"`

	// The Registered Electronic Mail (REM) that is used to send notarized communication.
	// This parameter is optional for business-to-business (B2B) and business-to-government
	// (B2G) customers. It's not required for business-to-consumer (B2C) customers.
	KepEmailId *string `locationName:"kepEmailId" type:"string"`

	// Secondary tax ID (“harcama birimi VKN”si”). If one isn't provided,
	// we will use your VKN as the secondary ID.
	SecondaryTaxId *string `locationName:"secondaryTaxId" type:"string"`

	// The tax office where you're registered. You can enter this information as
	// a string. The Tax Settings API will add this information to your invoice.
	// This parameter is required for business-to-business (B2B) and business-to-government
	// customers. It's not required for business-to-consumer (B2C) customers.
	TaxOffice *string `locationName:"taxOffice" type:"string"`
	// contains filtered or unexported fields
}

Additional tax information associated with your TRN in Turkey.

func (TurkeyAdditionalInfo) GoString

func (s TurkeyAdditionalInfo) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TurkeyAdditionalInfo) SetIndustries

func (s *TurkeyAdditionalInfo) SetIndustries(v string) *TurkeyAdditionalInfo

SetIndustries sets the Industries field's value.

func (*TurkeyAdditionalInfo) SetKepEmailId

func (s *TurkeyAdditionalInfo) SetKepEmailId(v string) *TurkeyAdditionalInfo

SetKepEmailId sets the KepEmailId field's value.

func (*TurkeyAdditionalInfo) SetSecondaryTaxId

func (s *TurkeyAdditionalInfo) SetSecondaryTaxId(v string) *TurkeyAdditionalInfo

SetSecondaryTaxId sets the SecondaryTaxId field's value.

func (*TurkeyAdditionalInfo) SetTaxOffice

func (s *TurkeyAdditionalInfo) SetTaxOffice(v string) *TurkeyAdditionalInfo

SetTaxOffice sets the TaxOffice field's value.

func (TurkeyAdditionalInfo) String

func (s TurkeyAdditionalInfo) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UkraineAdditionalInfo

type UkraineAdditionalInfo struct {

	// The tax registration type.
	//
	// UkraineTrnType is a required field
	UkraineTrnType *string `locationName:"ukraineTrnType" type:"string" required:"true" enum:"UkraineTrnType"`
	// contains filtered or unexported fields
}

Additional tax information associated with your TRN in Ukraine.

func (UkraineAdditionalInfo) GoString

func (s UkraineAdditionalInfo) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UkraineAdditionalInfo) SetUkraineTrnType

func (s *UkraineAdditionalInfo) SetUkraineTrnType(v string) *UkraineAdditionalInfo

SetUkraineTrnType sets the UkraineTrnType field's value.

func (UkraineAdditionalInfo) String

func (s UkraineAdditionalInfo) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UkraineAdditionalInfo) Validate

func (s *UkraineAdditionalInfo) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ValidationException

type ValidationException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// 400
	//
	// ErrorCode is a required field
	ErrorCode *string `locationName:"errorCode" type:"string" required:"true" enum:"ValidationExceptionErrorCode"`

	// 400
	FieldList []*ValidationExceptionField `locationName:"fieldList" type:"list"`

	// Message_ is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by ValidationException's
	// String and GoString methods.
	Message_ *string `locationName:"message" type:"string" sensitive:"true"`
	// contains filtered or unexported fields
}

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

func (*ValidationException) Code

func (s *ValidationException) Code() string

Code returns the exception type name.

func (*ValidationException) Error

func (s *ValidationException) Error() string

func (ValidationException) GoString

func (s ValidationException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ValidationException) Message

func (s *ValidationException) Message() string

Message returns the exception's message.

func (*ValidationException) OrigErr

func (s *ValidationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ValidationException) RequestID

func (s *ValidationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ValidationException) StatusCode

func (s *ValidationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ValidationException) String

func (s ValidationException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ValidationExceptionField

type ValidationExceptionField struct {

	// The name of the parameter that caused a ValidationException error.
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The information about the specified parameter in the request that caused an error.

func (ValidationExceptionField) GoString

func (s ValidationExceptionField) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ValidationExceptionField) SetName

SetName sets the Name field's value.

func (ValidationExceptionField) String

func (s ValidationExceptionField) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type VerificationDetails

type VerificationDetails struct {

	// Date of birth to verify your submitted TRN. Use the YYYY-MM-DD format.
	DateOfBirth *string `locationName:"dateOfBirth" min:"10" type:"string"`

	// The tax registration document, which is required for specific countries such
	// as Bangladesh, Kenya, South Korea and Spain.
	TaxRegistrationDocuments []*TaxRegistrationDocument `locationName:"taxRegistrationDocuments" min:"1" type:"list"`
	// contains filtered or unexported fields
}

Required information to verify your TRN.

func (VerificationDetails) GoString

func (s VerificationDetails) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*VerificationDetails) SetDateOfBirth

func (s *VerificationDetails) SetDateOfBirth(v string) *VerificationDetails

SetDateOfBirth sets the DateOfBirth field's value.

func (*VerificationDetails) SetTaxRegistrationDocuments

func (s *VerificationDetails) SetTaxRegistrationDocuments(v []*TaxRegistrationDocument) *VerificationDetails

SetTaxRegistrationDocuments sets the TaxRegistrationDocuments field's value.

func (VerificationDetails) String

func (s VerificationDetails) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*VerificationDetails) Validate

func (s *VerificationDetails) Validate() error

Validate inspects the fields of the type to determine if they are valid.

Directories

Path Synopsis
Package taxsettingsiface provides an interface to enable mocking the Tax Settings service client for testing your code.
Package taxsettingsiface provides an interface to enable mocking the Tax Settings service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL