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
- func AddressRoleType_Values() []string
- func Industries_Values() []string
- func IsraelCustomerType_Values() []string
- func IsraelDealerType_Values() []string
- func MalaysiaServiceTaxCode_Values() []string
- func PersonType_Values() []string
- func RegistrationType_Values() []string
- func SaudiArabiaTaxRegistrationNumberType_Values() []string
- func Sector_Values() []string
- func TaxRegistrationNumberType_Values() []string
- func TaxRegistrationStatus_Values() []string
- func TaxRegistrationType_Values() []string
- func UkraineTrnType_Values() []string
- func ValidationExceptionErrorCode_Values() []string
- type AccountDetails
- func (s AccountDetails) GoString() string
- func (s *AccountDetails) SetAccountId(v string) *AccountDetails
- func (s *AccountDetails) SetAccountMetaData(v *AccountMetaData) *AccountDetails
- func (s *AccountDetails) SetTaxInheritanceDetails(v *TaxInheritanceDetails) *AccountDetails
- func (s *AccountDetails) SetTaxRegistration(v *TaxRegistrationWithJurisdiction) *AccountDetails
- func (s AccountDetails) String() string
- type AccountMetaData
- func (s AccountMetaData) GoString() string
- func (s *AccountMetaData) SetAccountName(v string) *AccountMetaData
- func (s *AccountMetaData) SetAddress(v *Address) *AccountMetaData
- func (s *AccountMetaData) SetAddressRoleMap(v map[string]*Jurisdiction) *AccountMetaData
- func (s *AccountMetaData) SetAddressType(v string) *AccountMetaData
- func (s *AccountMetaData) SetSeller(v string) *AccountMetaData
- func (s AccountMetaData) String() string
- type AdditionalInfoRequest
- func (s AdditionalInfoRequest) GoString() string
- func (s *AdditionalInfoRequest) SetCanadaAdditionalInfo(v *CanadaAdditionalInfo) *AdditionalInfoRequest
- func (s *AdditionalInfoRequest) SetEstoniaAdditionalInfo(v *EstoniaAdditionalInfo) *AdditionalInfoRequest
- func (s *AdditionalInfoRequest) SetGeorgiaAdditionalInfo(v *GeorgiaAdditionalInfo) *AdditionalInfoRequest
- func (s *AdditionalInfoRequest) SetIsraelAdditionalInfo(v *IsraelAdditionalInfo) *AdditionalInfoRequest
- func (s *AdditionalInfoRequest) SetItalyAdditionalInfo(v *ItalyAdditionalInfo) *AdditionalInfoRequest
- func (s *AdditionalInfoRequest) SetKenyaAdditionalInfo(v *KenyaAdditionalInfo) *AdditionalInfoRequest
- func (s *AdditionalInfoRequest) SetMalaysiaAdditionalInfo(v *MalaysiaAdditionalInfo) *AdditionalInfoRequest
- func (s *AdditionalInfoRequest) SetPolandAdditionalInfo(v *PolandAdditionalInfo) *AdditionalInfoRequest
- func (s *AdditionalInfoRequest) SetRomaniaAdditionalInfo(v *RomaniaAdditionalInfo) *AdditionalInfoRequest
- func (s *AdditionalInfoRequest) SetSaudiArabiaAdditionalInfo(v *SaudiArabiaAdditionalInfo) *AdditionalInfoRequest
- func (s *AdditionalInfoRequest) SetSouthKoreaAdditionalInfo(v *SouthKoreaAdditionalInfo) *AdditionalInfoRequest
- func (s *AdditionalInfoRequest) SetSpainAdditionalInfo(v *SpainAdditionalInfo) *AdditionalInfoRequest
- func (s *AdditionalInfoRequest) SetTurkeyAdditionalInfo(v *TurkeyAdditionalInfo) *AdditionalInfoRequest
- func (s *AdditionalInfoRequest) SetUkraineAdditionalInfo(v *UkraineAdditionalInfo) *AdditionalInfoRequest
- func (s AdditionalInfoRequest) String() string
- func (s *AdditionalInfoRequest) Validate() error
- type AdditionalInfoResponse
- func (s AdditionalInfoResponse) GoString() string
- func (s *AdditionalInfoResponse) SetBrazilAdditionalInfo(v *BrazilAdditionalInfo) *AdditionalInfoResponse
- func (s *AdditionalInfoResponse) SetCanadaAdditionalInfo(v *CanadaAdditionalInfo) *AdditionalInfoResponse
- func (s *AdditionalInfoResponse) SetEstoniaAdditionalInfo(v *EstoniaAdditionalInfo) *AdditionalInfoResponse
- func (s *AdditionalInfoResponse) SetGeorgiaAdditionalInfo(v *GeorgiaAdditionalInfo) *AdditionalInfoResponse
- func (s *AdditionalInfoResponse) SetIndiaAdditionalInfo(v *IndiaAdditionalInfo) *AdditionalInfoResponse
- func (s *AdditionalInfoResponse) SetIsraelAdditionalInfo(v *IsraelAdditionalInfo) *AdditionalInfoResponse
- func (s *AdditionalInfoResponse) SetItalyAdditionalInfo(v *ItalyAdditionalInfo) *AdditionalInfoResponse
- func (s *AdditionalInfoResponse) SetKenyaAdditionalInfo(v *KenyaAdditionalInfo) *AdditionalInfoResponse
- func (s *AdditionalInfoResponse) SetMalaysiaAdditionalInfo(v *MalaysiaAdditionalInfo) *AdditionalInfoResponse
- func (s *AdditionalInfoResponse) SetPolandAdditionalInfo(v *PolandAdditionalInfo) *AdditionalInfoResponse
- func (s *AdditionalInfoResponse) SetRomaniaAdditionalInfo(v *RomaniaAdditionalInfo) *AdditionalInfoResponse
- func (s *AdditionalInfoResponse) SetSaudiArabiaAdditionalInfo(v *SaudiArabiaAdditionalInfo) *AdditionalInfoResponse
- func (s *AdditionalInfoResponse) SetSouthKoreaAdditionalInfo(v *SouthKoreaAdditionalInfo) *AdditionalInfoResponse
- func (s *AdditionalInfoResponse) SetSpainAdditionalInfo(v *SpainAdditionalInfo) *AdditionalInfoResponse
- func (s *AdditionalInfoResponse) SetTurkeyAdditionalInfo(v *TurkeyAdditionalInfo) *AdditionalInfoResponse
- func (s *AdditionalInfoResponse) SetUkraineAdditionalInfo(v *UkraineAdditionalInfo) *AdditionalInfoResponse
- func (s AdditionalInfoResponse) String() string
- type Address
- func (s Address) GoString() string
- func (s *Address) SetAddressLine1(v string) *Address
- func (s *Address) SetAddressLine2(v string) *Address
- func (s *Address) SetAddressLine3(v string) *Address
- func (s *Address) SetCity(v string) *Address
- func (s *Address) SetCountryCode(v string) *Address
- func (s *Address) SetDistrictOrCounty(v string) *Address
- func (s *Address) SetPostalCode(v string) *Address
- func (s *Address) SetStateOrRegion(v string) *Address
- func (s Address) String() string
- func (s *Address) Validate() error
- type BatchDeleteTaxRegistrationError
- func (s BatchDeleteTaxRegistrationError) GoString() string
- func (s *BatchDeleteTaxRegistrationError) SetAccountId(v string) *BatchDeleteTaxRegistrationError
- func (s *BatchDeleteTaxRegistrationError) SetCode(v string) *BatchDeleteTaxRegistrationError
- func (s *BatchDeleteTaxRegistrationError) SetMessage(v string) *BatchDeleteTaxRegistrationError
- func (s BatchDeleteTaxRegistrationError) String() string
- type BatchDeleteTaxRegistrationInput
- type BatchDeleteTaxRegistrationOutput
- type BatchPutTaxRegistrationError
- func (s BatchPutTaxRegistrationError) GoString() string
- func (s *BatchPutTaxRegistrationError) SetAccountId(v string) *BatchPutTaxRegistrationError
- func (s *BatchPutTaxRegistrationError) SetCode(v string) *BatchPutTaxRegistrationError
- func (s *BatchPutTaxRegistrationError) SetMessage(v string) *BatchPutTaxRegistrationError
- func (s BatchPutTaxRegistrationError) String() string
- type BatchPutTaxRegistrationInput
- func (s BatchPutTaxRegistrationInput) GoString() string
- func (s *BatchPutTaxRegistrationInput) SetAccountIds(v []*string) *BatchPutTaxRegistrationInput
- func (s *BatchPutTaxRegistrationInput) SetTaxRegistrationEntry(v *TaxRegistrationEntry) *BatchPutTaxRegistrationInput
- func (s BatchPutTaxRegistrationInput) String() string
- func (s *BatchPutTaxRegistrationInput) Validate() error
- type BatchPutTaxRegistrationOutput
- func (s BatchPutTaxRegistrationOutput) GoString() string
- func (s *BatchPutTaxRegistrationOutput) SetErrors(v []*BatchPutTaxRegistrationError) *BatchPutTaxRegistrationOutput
- func (s *BatchPutTaxRegistrationOutput) SetStatus(v string) *BatchPutTaxRegistrationOutput
- func (s BatchPutTaxRegistrationOutput) String() string
- type BrazilAdditionalInfo
- type CanadaAdditionalInfo
- func (s CanadaAdditionalInfo) GoString() string
- func (s *CanadaAdditionalInfo) SetCanadaQuebecSalesTaxNumber(v string) *CanadaAdditionalInfo
- func (s *CanadaAdditionalInfo) SetCanadaRetailSalesTaxNumber(v string) *CanadaAdditionalInfo
- func (s *CanadaAdditionalInfo) SetIsResellerAccount(v bool) *CanadaAdditionalInfo
- func (s *CanadaAdditionalInfo) SetProvincialSalesTaxId(v string) *CanadaAdditionalInfo
- func (s CanadaAdditionalInfo) String() string
- func (s *CanadaAdditionalInfo) Validate() error
- type ConflictException
- func (s *ConflictException) Code() string
- func (s *ConflictException) Error() string
- func (s ConflictException) GoString() string
- func (s *ConflictException) Message() string
- func (s *ConflictException) OrigErr() error
- func (s *ConflictException) RequestID() string
- func (s *ConflictException) StatusCode() int
- func (s ConflictException) String() string
- type DeleteTaxRegistrationInput
- type DeleteTaxRegistrationOutput
- type DestinationS3Location
- type EstoniaAdditionalInfo
- type GeorgiaAdditionalInfo
- type GetTaxRegistrationDocumentInput
- func (s GetTaxRegistrationDocumentInput) GoString() string
- func (s *GetTaxRegistrationDocumentInput) SetDestinationS3Location(v *DestinationS3Location) *GetTaxRegistrationDocumentInput
- func (s *GetTaxRegistrationDocumentInput) SetTaxDocumentMetadata(v *TaxDocumentMetadata) *GetTaxRegistrationDocumentInput
- func (s GetTaxRegistrationDocumentInput) String() string
- func (s *GetTaxRegistrationDocumentInput) Validate() error
- type GetTaxRegistrationDocumentOutput
- type GetTaxRegistrationInput
- type GetTaxRegistrationOutput
- type IndiaAdditionalInfo
- type InternalServerException
- func (s *InternalServerException) Code() string
- func (s *InternalServerException) Error() string
- func (s InternalServerException) GoString() string
- func (s *InternalServerException) Message() string
- func (s *InternalServerException) OrigErr() error
- func (s *InternalServerException) RequestID() string
- func (s *InternalServerException) StatusCode() int
- func (s InternalServerException) String() string
- type IsraelAdditionalInfo
- type ItalyAdditionalInfo
- func (s ItalyAdditionalInfo) GoString() string
- func (s *ItalyAdditionalInfo) SetCigNumber(v string) *ItalyAdditionalInfo
- func (s *ItalyAdditionalInfo) SetCupNumber(v string) *ItalyAdditionalInfo
- func (s *ItalyAdditionalInfo) SetSdiAccountId(v string) *ItalyAdditionalInfo
- func (s *ItalyAdditionalInfo) SetTaxCode(v string) *ItalyAdditionalInfo
- func (s ItalyAdditionalInfo) String() string
- type Jurisdiction
- type KenyaAdditionalInfo
- type ListTaxRegistrationsInput
- func (s ListTaxRegistrationsInput) GoString() string
- func (s *ListTaxRegistrationsInput) SetMaxResults(v int64) *ListTaxRegistrationsInput
- func (s *ListTaxRegistrationsInput) SetNextToken(v string) *ListTaxRegistrationsInput
- func (s ListTaxRegistrationsInput) String() string
- func (s *ListTaxRegistrationsInput) Validate() error
- type ListTaxRegistrationsOutput
- type MalaysiaAdditionalInfo
- type PolandAdditionalInfo
- type PutTaxRegistrationInput
- func (s PutTaxRegistrationInput) GoString() string
- func (s *PutTaxRegistrationInput) SetAccountId(v string) *PutTaxRegistrationInput
- func (s *PutTaxRegistrationInput) SetTaxRegistrationEntry(v *TaxRegistrationEntry) *PutTaxRegistrationInput
- func (s PutTaxRegistrationInput) String() string
- func (s *PutTaxRegistrationInput) Validate() error
- type PutTaxRegistrationOutput
- type ResourceNotFoundException
- func (s *ResourceNotFoundException) Code() string
- func (s *ResourceNotFoundException) Error() string
- func (s ResourceNotFoundException) GoString() string
- func (s *ResourceNotFoundException) Message() string
- func (s *ResourceNotFoundException) OrigErr() error
- func (s *ResourceNotFoundException) RequestID() string
- func (s *ResourceNotFoundException) StatusCode() int
- func (s ResourceNotFoundException) String() string
- type RomaniaAdditionalInfo
- type SaudiArabiaAdditionalInfo
- type SourceS3Location
- type SouthKoreaAdditionalInfo
- func (s SouthKoreaAdditionalInfo) GoString() string
- func (s *SouthKoreaAdditionalInfo) SetBusinessRepresentativeName(v string) *SouthKoreaAdditionalInfo
- func (s *SouthKoreaAdditionalInfo) SetItemOfBusiness(v string) *SouthKoreaAdditionalInfo
- func (s *SouthKoreaAdditionalInfo) SetLineOfBusiness(v string) *SouthKoreaAdditionalInfo
- func (s SouthKoreaAdditionalInfo) String() string
- func (s *SouthKoreaAdditionalInfo) Validate() error
- type SpainAdditionalInfo
- type TaxDocumentMetadata
- func (s TaxDocumentMetadata) GoString() string
- func (s *TaxDocumentMetadata) SetTaxDocumentAccessToken(v string) *TaxDocumentMetadata
- func (s *TaxDocumentMetadata) SetTaxDocumentName(v string) *TaxDocumentMetadata
- func (s TaxDocumentMetadata) String() string
- func (s *TaxDocumentMetadata) Validate() error
- type TaxInheritanceDetails
- type TaxRegistration
- func (s TaxRegistration) GoString() string
- func (s *TaxRegistration) SetAdditionalTaxInformation(v *AdditionalInfoResponse) *TaxRegistration
- func (s *TaxRegistration) SetCertifiedEmailId(v string) *TaxRegistration
- func (s *TaxRegistration) SetLegalAddress(v *Address) *TaxRegistration
- func (s *TaxRegistration) SetLegalName(v string) *TaxRegistration
- func (s *TaxRegistration) SetRegistrationId(v string) *TaxRegistration
- func (s *TaxRegistration) SetRegistrationType(v string) *TaxRegistration
- func (s *TaxRegistration) SetSector(v string) *TaxRegistration
- func (s *TaxRegistration) SetStatus(v string) *TaxRegistration
- func (s *TaxRegistration) SetTaxDocumentMetadatas(v []*TaxDocumentMetadata) *TaxRegistration
- func (s TaxRegistration) String() string
- type TaxRegistrationDocument
- type TaxRegistrationEntry
- func (s TaxRegistrationEntry) GoString() string
- func (s *TaxRegistrationEntry) SetAdditionalTaxInformation(v *AdditionalInfoRequest) *TaxRegistrationEntry
- func (s *TaxRegistrationEntry) SetCertifiedEmailId(v string) *TaxRegistrationEntry
- func (s *TaxRegistrationEntry) SetLegalAddress(v *Address) *TaxRegistrationEntry
- func (s *TaxRegistrationEntry) SetLegalName(v string) *TaxRegistrationEntry
- func (s *TaxRegistrationEntry) SetRegistrationId(v string) *TaxRegistrationEntry
- func (s *TaxRegistrationEntry) SetRegistrationType(v string) *TaxRegistrationEntry
- func (s *TaxRegistrationEntry) SetSector(v string) *TaxRegistrationEntry
- func (s *TaxRegistrationEntry) SetVerificationDetails(v *VerificationDetails) *TaxRegistrationEntry
- func (s TaxRegistrationEntry) String() string
- func (s *TaxRegistrationEntry) Validate() error
- type TaxRegistrationWithJurisdiction
- func (s TaxRegistrationWithJurisdiction) GoString() string
- func (s *TaxRegistrationWithJurisdiction) SetAdditionalTaxInformation(v *AdditionalInfoResponse) *TaxRegistrationWithJurisdiction
- func (s *TaxRegistrationWithJurisdiction) SetCertifiedEmailId(v string) *TaxRegistrationWithJurisdiction
- func (s *TaxRegistrationWithJurisdiction) SetJurisdiction(v *Jurisdiction) *TaxRegistrationWithJurisdiction
- func (s *TaxRegistrationWithJurisdiction) SetLegalName(v string) *TaxRegistrationWithJurisdiction
- func (s *TaxRegistrationWithJurisdiction) SetRegistrationId(v string) *TaxRegistrationWithJurisdiction
- func (s *TaxRegistrationWithJurisdiction) SetRegistrationType(v string) *TaxRegistrationWithJurisdiction
- func (s *TaxRegistrationWithJurisdiction) SetSector(v string) *TaxRegistrationWithJurisdiction
- func (s *TaxRegistrationWithJurisdiction) SetStatus(v string) *TaxRegistrationWithJurisdiction
- func (s *TaxRegistrationWithJurisdiction) SetTaxDocumentMetadatas(v []*TaxDocumentMetadata) *TaxRegistrationWithJurisdiction
- func (s TaxRegistrationWithJurisdiction) String() string
- type TaxSettings
- func (c *TaxSettings) BatchDeleteTaxRegistration(input *BatchDeleteTaxRegistrationInput) (*BatchDeleteTaxRegistrationOutput, error)
- func (c *TaxSettings) BatchDeleteTaxRegistrationRequest(input *BatchDeleteTaxRegistrationInput) (req *request.Request, output *BatchDeleteTaxRegistrationOutput)
- func (c *TaxSettings) BatchDeleteTaxRegistrationWithContext(ctx aws.Context, input *BatchDeleteTaxRegistrationInput, ...) (*BatchDeleteTaxRegistrationOutput, error)
- func (c *TaxSettings) BatchPutTaxRegistration(input *BatchPutTaxRegistrationInput) (*BatchPutTaxRegistrationOutput, error)
- func (c *TaxSettings) BatchPutTaxRegistrationRequest(input *BatchPutTaxRegistrationInput) (req *request.Request, output *BatchPutTaxRegistrationOutput)
- func (c *TaxSettings) BatchPutTaxRegistrationWithContext(ctx aws.Context, input *BatchPutTaxRegistrationInput, opts ...request.Option) (*BatchPutTaxRegistrationOutput, error)
- func (c *TaxSettings) DeleteTaxRegistration(input *DeleteTaxRegistrationInput) (*DeleteTaxRegistrationOutput, error)
- func (c *TaxSettings) DeleteTaxRegistrationRequest(input *DeleteTaxRegistrationInput) (req *request.Request, output *DeleteTaxRegistrationOutput)
- func (c *TaxSettings) DeleteTaxRegistrationWithContext(ctx aws.Context, input *DeleteTaxRegistrationInput, opts ...request.Option) (*DeleteTaxRegistrationOutput, error)
- func (c *TaxSettings) GetTaxRegistration(input *GetTaxRegistrationInput) (*GetTaxRegistrationOutput, error)
- func (c *TaxSettings) GetTaxRegistrationDocument(input *GetTaxRegistrationDocumentInput) (*GetTaxRegistrationDocumentOutput, error)
- func (c *TaxSettings) GetTaxRegistrationDocumentRequest(input *GetTaxRegistrationDocumentInput) (req *request.Request, output *GetTaxRegistrationDocumentOutput)
- func (c *TaxSettings) GetTaxRegistrationDocumentWithContext(ctx aws.Context, input *GetTaxRegistrationDocumentInput, ...) (*GetTaxRegistrationDocumentOutput, error)
- func (c *TaxSettings) GetTaxRegistrationRequest(input *GetTaxRegistrationInput) (req *request.Request, output *GetTaxRegistrationOutput)
- func (c *TaxSettings) GetTaxRegistrationWithContext(ctx aws.Context, input *GetTaxRegistrationInput, opts ...request.Option) (*GetTaxRegistrationOutput, error)
- func (c *TaxSettings) ListTaxRegistrations(input *ListTaxRegistrationsInput) (*ListTaxRegistrationsOutput, error)
- func (c *TaxSettings) ListTaxRegistrationsPages(input *ListTaxRegistrationsInput, ...) error
- func (c *TaxSettings) ListTaxRegistrationsPagesWithContext(ctx aws.Context, input *ListTaxRegistrationsInput, ...) error
- func (c *TaxSettings) ListTaxRegistrationsRequest(input *ListTaxRegistrationsInput) (req *request.Request, output *ListTaxRegistrationsOutput)
- func (c *TaxSettings) ListTaxRegistrationsWithContext(ctx aws.Context, input *ListTaxRegistrationsInput, opts ...request.Option) (*ListTaxRegistrationsOutput, error)
- func (c *TaxSettings) PutTaxRegistration(input *PutTaxRegistrationInput) (*PutTaxRegistrationOutput, error)
- func (c *TaxSettings) PutTaxRegistrationRequest(input *PutTaxRegistrationInput) (req *request.Request, output *PutTaxRegistrationOutput)
- func (c *TaxSettings) PutTaxRegistrationWithContext(ctx aws.Context, input *PutTaxRegistrationInput, opts ...request.Option) (*PutTaxRegistrationOutput, error)
- type TurkeyAdditionalInfo
- func (s TurkeyAdditionalInfo) GoString() string
- func (s *TurkeyAdditionalInfo) SetIndustries(v string) *TurkeyAdditionalInfo
- func (s *TurkeyAdditionalInfo) SetKepEmailId(v string) *TurkeyAdditionalInfo
- func (s *TurkeyAdditionalInfo) SetSecondaryTaxId(v string) *TurkeyAdditionalInfo
- func (s *TurkeyAdditionalInfo) SetTaxOffice(v string) *TurkeyAdditionalInfo
- func (s TurkeyAdditionalInfo) String() string
- type UkraineAdditionalInfo
- type ValidationException
- func (s *ValidationException) Code() string
- func (s *ValidationException) Error() string
- func (s ValidationException) GoString() string
- func (s *ValidationException) Message() string
- func (s *ValidationException) OrigErr() error
- func (s *ValidationException) RequestID() string
- func (s *ValidationException) StatusCode() int
- func (s ValidationException) String() string
- type ValidationExceptionField
- type VerificationDetails
- func (s VerificationDetails) GoString() string
- func (s *VerificationDetails) SetDateOfBirth(v string) *VerificationDetails
- func (s *VerificationDetails) SetTaxRegistrationDocuments(v []*TaxRegistrationDocument) *VerificationDetails
- func (s VerificationDetails) String() string
- func (s *VerificationDetails) Validate() error
Constants ¶
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" )
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" )
const ( // IsraelCustomerTypeBusiness is a IsraelCustomerType enum value IsraelCustomerTypeBusiness = "Business" // IsraelCustomerTypeIndividual is a IsraelCustomerType enum value IsraelCustomerTypeIndividual = "Individual" )
const ( // IsraelDealerTypeAuthorized is a IsraelDealerType enum value IsraelDealerTypeAuthorized = "Authorized" // IsraelDealerTypeNonAuthorized is a IsraelDealerType enum value IsraelDealerTypeNonAuthorized = "Non-authorized" )
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" )
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" )
const ( // RegistrationTypeIntraEu is a RegistrationType enum value RegistrationTypeIntraEu = "Intra-EU" // RegistrationTypeLocal is a RegistrationType enum value RegistrationTypeLocal = "Local" )
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" )
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" )
const ( // TaxRegistrationNumberTypeTaxRegistrationNumber is a TaxRegistrationNumberType enum value TaxRegistrationNumberTypeTaxRegistrationNumber = "TaxRegistrationNumber" // TaxRegistrationNumberTypeLocalRegistrationNumber is a TaxRegistrationNumberType enum value TaxRegistrationNumberTypeLocalRegistrationNumber = "LocalRegistrationNumber" )
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" )
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" )
const ( // UkraineTrnTypeBusiness is a UkraineTrnType enum value UkraineTrnTypeBusiness = "Business" // UkraineTrnTypeIndividual is a UkraineTrnType enum value UkraineTrnTypeIndividual = "Individual" )
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" )
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" )
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 ¶
func (s *AccountDetails) SetTaxRegistration(v *TaxRegistrationWithJurisdiction) *AccountDetails
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 ¶
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 ¶
SetAddressLine1 sets the AddressLine1 field's value.
func (*Address) SetAddressLine2 ¶
SetAddressLine2 sets the AddressLine2 field's value.
func (*Address) SetAddressLine3 ¶
SetAddressLine3 sets the AddressLine3 field's value.
func (*Address) SetCountryCode ¶
SetCountryCode sets the CountryCode field's value.
func (*Address) SetDistrictOrCounty ¶
SetDistrictOrCounty sets the DistrictOrCounty field's value.
func (*Address) SetPostalCode ¶
SetPostalCode sets the PostalCode field's value.
func (*Address) SetStateOrRegion ¶
SetStateOrRegion sets the StateOrRegion field's value.
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 ¶
func (s BatchDeleteTaxRegistrationError) 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 (*BatchDeleteTaxRegistrationError) SetAccountId ¶
func (s *BatchDeleteTaxRegistrationError) SetAccountId(v string) *BatchDeleteTaxRegistrationError
SetAccountId sets the AccountId field's value.
func (*BatchDeleteTaxRegistrationError) SetCode ¶
func (s *BatchDeleteTaxRegistrationError) SetCode(v string) *BatchDeleteTaxRegistrationError
SetCode sets the Code field's value.
func (*BatchDeleteTaxRegistrationError) SetMessage ¶
func (s *BatchDeleteTaxRegistrationError) SetMessage(v string) *BatchDeleteTaxRegistrationError
SetMessage sets the Message field's value.
func (BatchDeleteTaxRegistrationError) String ¶
func (s BatchDeleteTaxRegistrationError) 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 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 ¶
func (s BatchDeleteTaxRegistrationInput) 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 (*BatchDeleteTaxRegistrationInput) SetAccountIds ¶
func (s *BatchDeleteTaxRegistrationInput) SetAccountIds(v []*string) *BatchDeleteTaxRegistrationInput
SetAccountIds sets the AccountIds field's value.
func (BatchDeleteTaxRegistrationInput) String ¶
func (s BatchDeleteTaxRegistrationInput) 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 (*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 ¶
func (s BatchDeleteTaxRegistrationOutput) 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 (*BatchDeleteTaxRegistrationOutput) SetErrors ¶
func (s *BatchDeleteTaxRegistrationOutput) SetErrors(v []*BatchDeleteTaxRegistrationError) *BatchDeleteTaxRegistrationOutput
SetErrors sets the Errors field's value.
func (BatchDeleteTaxRegistrationOutput) String ¶
func (s BatchDeleteTaxRegistrationOutput) 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 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 ¶
func (s *BatchPutTaxRegistrationError) SetAccountId(v string) *BatchPutTaxRegistrationError
SetAccountId sets the AccountId field's value.
func (*BatchPutTaxRegistrationError) SetCode ¶
func (s *BatchPutTaxRegistrationError) SetCode(v string) *BatchPutTaxRegistrationError
SetCode sets the Code field's value.
func (*BatchPutTaxRegistrationError) SetMessage ¶
func (s *BatchPutTaxRegistrationError) SetMessage(v string) *BatchPutTaxRegistrationError
SetMessage sets the Message field's value.
func (BatchPutTaxRegistrationError) String ¶
func (s BatchPutTaxRegistrationError) 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 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 ¶
func (s *BatchPutTaxRegistrationInput) SetAccountIds(v []*string) *BatchPutTaxRegistrationInput
SetAccountIds sets the AccountIds field's value.
func (*BatchPutTaxRegistrationInput) SetTaxRegistrationEntry ¶
func (s *BatchPutTaxRegistrationInput) SetTaxRegistrationEntry(v *TaxRegistrationEntry) *BatchPutTaxRegistrationInput
SetTaxRegistrationEntry sets the TaxRegistrationEntry field's value.
func (BatchPutTaxRegistrationInput) String ¶
func (s BatchPutTaxRegistrationInput) 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 (*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 ¶
func (s BatchPutTaxRegistrationOutput) 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 (*BatchPutTaxRegistrationOutput) SetErrors ¶
func (s *BatchPutTaxRegistrationOutput) SetErrors(v []*BatchPutTaxRegistrationError) *BatchPutTaxRegistrationOutput
SetErrors sets the Errors field's value.
func (*BatchPutTaxRegistrationOutput) SetStatus ¶
func (s *BatchPutTaxRegistrationOutput) SetStatus(v string) *BatchPutTaxRegistrationOutput
SetStatus sets the Status field's value.
func (BatchPutTaxRegistrationOutput) String ¶
func (s BatchPutTaxRegistrationOutput) 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 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 ¶
func (s *BrazilAdditionalInfo) SetCcmCode(v string) *BrazilAdditionalInfo
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 ¶
func (s *DeleteTaxRegistrationInput) SetAccountId(v string) *DeleteTaxRegistrationInput
SetAccountId sets the AccountId field's value.
func (DeleteTaxRegistrationInput) String ¶
func (s DeleteTaxRegistrationInput) 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 (*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 ¶
func (s DeleteTaxRegistrationOutput) 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 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 ¶
func (s *DestinationS3Location) SetBucket(v string) *DestinationS3Location
SetBucket sets the Bucket field's value.
func (*DestinationS3Location) SetPrefix ¶
func (s *DestinationS3Location) SetPrefix(v string) *DestinationS3Location
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 ¶
func (s GetTaxRegistrationDocumentInput) 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 (*GetTaxRegistrationDocumentInput) SetDestinationS3Location ¶
func (s *GetTaxRegistrationDocumentInput) SetDestinationS3Location(v *DestinationS3Location) *GetTaxRegistrationDocumentInput
SetDestinationS3Location sets the DestinationS3Location field's value.
func (*GetTaxRegistrationDocumentInput) SetTaxDocumentMetadata ¶
func (s *GetTaxRegistrationDocumentInput) SetTaxDocumentMetadata(v *TaxDocumentMetadata) *GetTaxRegistrationDocumentInput
SetTaxDocumentMetadata sets the TaxDocumentMetadata field's value.
func (GetTaxRegistrationDocumentInput) String ¶
func (s GetTaxRegistrationDocumentInput) 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 (*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 ¶
func (s GetTaxRegistrationDocumentOutput) 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 (*GetTaxRegistrationDocumentOutput) SetDestinationFilePath ¶
func (s *GetTaxRegistrationDocumentOutput) SetDestinationFilePath(v string) *GetTaxRegistrationDocumentOutput
SetDestinationFilePath sets the DestinationFilePath field's value.
func (GetTaxRegistrationDocumentOutput) String ¶
func (s GetTaxRegistrationDocumentOutput) 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 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 ¶
func (s *GetTaxRegistrationInput) SetAccountId(v string) *GetTaxRegistrationInput
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 ¶
func (s *GetTaxRegistrationOutput) SetTaxRegistration(v *TaxRegistration) *GetTaxRegistrationOutput
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 ¶
func (s *IndiaAdditionalInfo) SetPan(v string) *IndiaAdditionalInfo
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 ¶
func (s *ItalyAdditionalInfo) SetTaxCode(v string) *ItalyAdditionalInfo
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 ¶
func (s *ListTaxRegistrationsInput) SetMaxResults(v int64) *ListTaxRegistrationsInput
SetMaxResults sets the MaxResults field's value.
func (*ListTaxRegistrationsInput) SetNextToken ¶
func (s *ListTaxRegistrationsInput) SetNextToken(v string) *ListTaxRegistrationsInput
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" sensitive:"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 ¶
func (s *ListTaxRegistrationsOutput) SetAccountDetails(v []*AccountDetails) *ListTaxRegistrationsOutput
SetAccountDetails sets the AccountDetails field's value.
func (*ListTaxRegistrationsOutput) SetNextToken ¶
func (s *ListTaxRegistrationsOutput) SetNextToken(v string) *ListTaxRegistrationsOutput
SetNextToken sets the NextToken field's value.
func (ListTaxRegistrationsOutput) String ¶
func (s ListTaxRegistrationsOutput) 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 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 ¶
func (s *PutTaxRegistrationInput) SetAccountId(v string) *PutTaxRegistrationInput
SetAccountId sets the AccountId field's value.
func (*PutTaxRegistrationInput) SetTaxRegistrationEntry ¶
func (s *PutTaxRegistrationInput) SetTaxRegistrationEntry(v *TaxRegistrationEntry) *PutTaxRegistrationInput
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 ¶
func (s *PutTaxRegistrationOutput) SetStatus(v string) *PutTaxRegistrationOutput
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 ¶
func (s *ResourceNotFoundException) Code() string
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 ¶
func (s *SourceS3Location) SetKey(v string) *SourceS3Location
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 ¶
func (s *TaxRegistrationDocument) SetS3Location(v *SourceS3Location) *TaxRegistrationDocument
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 ¶
func (s *TaxRegistrationEntry) SetSector(v string) *TaxRegistrationEntry
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 ¶
func (s TaxRegistrationWithJurisdiction) 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 (*TaxRegistrationWithJurisdiction) SetAdditionalTaxInformation ¶
func (s *TaxRegistrationWithJurisdiction) SetAdditionalTaxInformation(v *AdditionalInfoResponse) *TaxRegistrationWithJurisdiction
SetAdditionalTaxInformation sets the AdditionalTaxInformation field's value.
func (*TaxRegistrationWithJurisdiction) SetCertifiedEmailId ¶
func (s *TaxRegistrationWithJurisdiction) SetCertifiedEmailId(v string) *TaxRegistrationWithJurisdiction
SetCertifiedEmailId sets the CertifiedEmailId field's value.
func (*TaxRegistrationWithJurisdiction) SetJurisdiction ¶
func (s *TaxRegistrationWithJurisdiction) SetJurisdiction(v *Jurisdiction) *TaxRegistrationWithJurisdiction
SetJurisdiction sets the Jurisdiction field's value.
func (*TaxRegistrationWithJurisdiction) SetLegalName ¶
func (s *TaxRegistrationWithJurisdiction) SetLegalName(v string) *TaxRegistrationWithJurisdiction
SetLegalName sets the LegalName field's value.
func (*TaxRegistrationWithJurisdiction) SetRegistrationId ¶
func (s *TaxRegistrationWithJurisdiction) SetRegistrationId(v string) *TaxRegistrationWithJurisdiction
SetRegistrationId sets the RegistrationId field's value.
func (*TaxRegistrationWithJurisdiction) SetRegistrationType ¶
func (s *TaxRegistrationWithJurisdiction) SetRegistrationType(v string) *TaxRegistrationWithJurisdiction
SetRegistrationType sets the RegistrationType field's value.
func (*TaxRegistrationWithJurisdiction) SetSector ¶
func (s *TaxRegistrationWithJurisdiction) SetSector(v string) *TaxRegistrationWithJurisdiction
SetSector sets the Sector field's value.
func (*TaxRegistrationWithJurisdiction) SetStatus ¶
func (s *TaxRegistrationWithJurisdiction) SetStatus(v string) *TaxRegistrationWithJurisdiction
SetStatus sets the Status field's value.
func (*TaxRegistrationWithJurisdiction) SetTaxDocumentMetadatas ¶
func (s *TaxRegistrationWithJurisdiction) SetTaxDocumentMetadatas(v []*TaxDocumentMetadata) *TaxRegistrationWithJurisdiction
SetTaxDocumentMetadatas sets the TaxDocumentMetadatas field's value.
func (TaxRegistrationWithJurisdiction) String ¶
func (s TaxRegistrationWithJurisdiction) 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 TaxSettings ¶
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 ¶
func (s *ValidationExceptionField) SetName(v string) *ValidationExceptionField
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. |