Documentation ¶
Index ¶
- type AccessDeniedException
- type AccountDetails
- type AccountMetaData
- type AdditionalInfoRequest
- type AdditionalInfoResponse
- type Address
- type AddressRoleType
- type AttachmentUploadException
- type Authority
- type BatchDeleteTaxRegistrationError
- type BatchPutTaxRegistrationError
- type BrazilAdditionalInfo
- type CanadaAdditionalInfo
- type CaseCreationLimitExceededException
- type ConflictException
- type DestinationS3Location
- type EntityExemptionAccountStatus
- type EstoniaAdditionalInfo
- type ExemptionCertificate
- type GeorgiaAdditionalInfo
- type HeritageStatus
- type IndiaAdditionalInfo
- type Industries
- type InternalServerException
- type IsraelAdditionalInfo
- type IsraelCustomerType
- type IsraelDealerType
- type ItalyAdditionalInfo
- type Jurisdiction
- type KenyaAdditionalInfo
- type MalaysiaAdditionalInfo
- type MalaysiaServiceTaxCode
- type PersonType
- type PolandAdditionalInfo
- type RegistrationType
- type ResourceNotFoundException
- type RomaniaAdditionalInfo
- type SaudiArabiaAdditionalInfo
- type SaudiArabiaTaxRegistrationNumberType
- type Sector
- type SourceS3Location
- type SouthKoreaAdditionalInfo
- type SpainAdditionalInfo
- type SupplementalTaxRegistration
- type SupplementalTaxRegistrationEntry
- type SupplementalTaxRegistrationType
- type TaxDocumentMetadata
- type TaxExemption
- type TaxExemptionDetails
- type TaxExemptionType
- type TaxInheritanceDetails
- type TaxRegistration
- type TaxRegistrationDocFile
- type TaxRegistrationDocument
- type TaxRegistrationEntry
- type TaxRegistrationNumberType
- type TaxRegistrationStatus
- type TaxRegistrationType
- type TaxRegistrationWithJurisdiction
- type TurkeyAdditionalInfo
- type UkraineAdditionalInfo
- type UkraineTrnType
- type ValidationException
- type ValidationExceptionErrorCode
- type ValidationExceptionField
- type VerificationDetails
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessDeniedException ¶ added in v1.7.0
type AccessDeniedException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The access is denied for the Amazon Web Services Support API.
func (*AccessDeniedException) Error ¶ added in v1.7.0
func (e *AccessDeniedException) Error() string
func (*AccessDeniedException) ErrorCode ¶ added in v1.7.0
func (e *AccessDeniedException) ErrorCode() string
func (*AccessDeniedException) ErrorFault ¶ added in v1.7.0
func (e *AccessDeniedException) ErrorFault() smithy.ErrorFault
func (*AccessDeniedException) ErrorMessage ¶ added in v1.7.0
func (e *AccessDeniedException) ErrorMessage() string
type AccountDetails ¶
type AccountDetails struct { // List of unique account identifiers. AccountId *string // The meta data information associated with the account. AccountMetaData *AccountMetaData // Tax inheritance information associated with the account. TaxInheritanceDetails *TaxInheritanceDetails // 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 *TaxRegistrationWithJurisdiction // contains filtered or unexported fields }
An object with your accountId and TRN information.
type AccountMetaData ¶
type AccountMetaData struct { // The Amazon Web Services accounts name. AccountName *string // The details of the address associated with the TRN information. Address *Address // Address roles associated with the account containing country code information. AddressRoleMap map[string]Jurisdiction // The type of address associated with the legal profile. AddressType AddressRoleType // Seller information associated with the account. Seller *string // contains filtered or unexported fields }
The meta data information associated with the account.
type AdditionalInfoRequest ¶
type AdditionalInfoRequest struct { // Additional tax information associated with your TRN in Canada. CanadaAdditionalInfo *CanadaAdditionalInfo // Additional tax information to specify for a TRN in Estonia. EstoniaAdditionalInfo *EstoniaAdditionalInfo // Additional tax information to specify for a TRN in Georgia. GeorgiaAdditionalInfo *GeorgiaAdditionalInfo // Additional tax information to specify for a TRN in Israel. IsraelAdditionalInfo *IsraelAdditionalInfo // Additional tax information to specify for a TRN in Italy. ItalyAdditionalInfo *ItalyAdditionalInfo // Additional tax information to specify for a TRN in Kenya. KenyaAdditionalInfo *KenyaAdditionalInfo // Additional tax information to specify for a TRN in Malaysia. MalaysiaAdditionalInfo *MalaysiaAdditionalInfo // Additional tax information associated with your TRN in Poland. PolandAdditionalInfo *PolandAdditionalInfo // Additional tax information to specify for a TRN in Romania. RomaniaAdditionalInfo *RomaniaAdditionalInfo // Additional tax information associated with your TRN in Saudi Arabia. SaudiArabiaAdditionalInfo *SaudiArabiaAdditionalInfo // Additional tax information to specify for a TRN in South Korea. SouthKoreaAdditionalInfo *SouthKoreaAdditionalInfo // Additional tax information to specify for a TRN in Spain. SpainAdditionalInfo *SpainAdditionalInfo // Additional tax information to specify for a TRN in Turkey. TurkeyAdditionalInfo *TurkeyAdditionalInfo // Additional tax information associated with your TRN in Ukraine. UkraineAdditionalInfo *UkraineAdditionalInfo // 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.
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 // Additional tax information associated with your TRN in Canada. CanadaAdditionalInfo *CanadaAdditionalInfo // Additional tax information associated with your TRN in Estonia. EstoniaAdditionalInfo *EstoniaAdditionalInfo // Additional tax information associated with your TRN in Georgia. GeorgiaAdditionalInfo *GeorgiaAdditionalInfo // Additional tax information in India. IndiaAdditionalInfo *IndiaAdditionalInfo // Additional tax information associated with your TRN in Israel. IsraelAdditionalInfo *IsraelAdditionalInfo // Additional tax information associated with your TRN in Italy. ItalyAdditionalInfo *ItalyAdditionalInfo // Additional tax information associated with your TRN in Kenya. KenyaAdditionalInfo *KenyaAdditionalInfo // Additional tax information associated with your TRN in Malaysia. MalaysiaAdditionalInfo *MalaysiaAdditionalInfo // Additional tax information associated with your TRN in Poland. PolandAdditionalInfo *PolandAdditionalInfo // Additional tax information to specify for a TRN in Romania. RomaniaAdditionalInfo *RomaniaAdditionalInfo // Additional tax information associated with your TRN in Saudi Arabia. SaudiArabiaAdditionalInfo *SaudiArabiaAdditionalInfo // Additional tax information associated with your TRN in South Korea. SouthKoreaAdditionalInfo *SouthKoreaAdditionalInfo // Additional tax information associated with your TRN in Spain. SpainAdditionalInfo *SpainAdditionalInfo // Additional tax information associated with your TRN in Turkey. TurkeyAdditionalInfo *TurkeyAdditionalInfo // Additional tax information associated with your TRN in Ukraine. UkraineAdditionalInfo *UkraineAdditionalInfo // 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.
type Address ¶
type Address struct { // The first line of the address. // // This member is required. AddressLine1 *string // The city that the address is in. // // This member is required. City *string // The country code for the country that the address is in. // // This member is required. CountryCode *string // The postal code associated with the address. // // This member is required. PostalCode *string // The second line of the address, if applicable. AddressLine2 *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 // 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 // The state, region, or province that the address is located. This field is only // required for Canada, India, United Arab Emirates, Romania, and Brazil (CPF). It // is optional for all other countries. // // If this is required for tax settings, use the same name as shown on the Tax // Settings page. StateOrRegion *string // contains filtered or unexported fields }
The details of the address associated with the TRN information.
type AddressRoleType ¶
type AddressRoleType string
const ( AddressRoleTypeTaxAddress AddressRoleType = "TaxAddress" AddressRoleTypeBillingAddress AddressRoleType = "BillingAddress" AddressRoleTypeContactAddress AddressRoleType = "ContactAddress" )
Enum values for AddressRoleType
func (AddressRoleType) Values ¶
func (AddressRoleType) Values() []AddressRoleType
Values returns all known values for AddressRoleType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type AttachmentUploadException ¶ added in v1.7.0
type AttachmentUploadException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
Failed to upload the tax exemption document to Amazon Web Services Support case.
func (*AttachmentUploadException) Error ¶ added in v1.7.0
func (e *AttachmentUploadException) Error() string
func (*AttachmentUploadException) ErrorCode ¶ added in v1.7.0
func (e *AttachmentUploadException) ErrorCode() string
func (*AttachmentUploadException) ErrorFault ¶ added in v1.7.0
func (e *AttachmentUploadException) ErrorFault() smithy.ErrorFault
func (*AttachmentUploadException) ErrorMessage ¶ added in v1.7.0
func (e *AttachmentUploadException) ErrorMessage() string
type Authority ¶ added in v1.7.0
type Authority struct { // The country code for the country that the address is in. // // This member is required. Country *string // The state that the address is located. State *string // contains filtered or unexported fields }
The address domain associate with the tax information.
type BatchDeleteTaxRegistrationError ¶
type BatchDeleteTaxRegistrationError struct { // The unique account identifier for the account whose tax registration couldn't // be deleted during the BatchDeleteTaxRegistration operation. // // This member is required. AccountId *string // The error message for an individual failure in the BatchDeleteTaxRegistration // operation. // // This member is required. Message *string // The error code for an individual failure in BatchDeleteTaxRegistration // operation. Code *string // contains filtered or unexported fields }
The error object for representing failures in the BatchDeleteTaxRegistration
operation.
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. // // This member is required. AccountId *string // The error message for an individual failure in the BatchPutTaxRegistration // operation. // // This member is required. Message *string // The error code for an individual failure in the BatchPutTaxRegistration // operation. Code *string // contains filtered or unexported fields }
The error object for representing failures in the BatchPutTaxRegistration
operation.
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 // Legal nature of business, based on your TRN in Brazil. This only applies for a // CNPJ tax type. LegalNatureCode *string // contains filtered or unexported fields }
Additional tax information associated with your TRN in Brazil.
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 // Manitoba Retail Sales Tax ID number. Customers purchasing Amazon Web Services // services for resale in Manitoba must provide a valid Retail Sales Tax ID number // for Manitoba. Leave this blank if you do not have a Retail Sales Tax ID number // in Manitoba or are not purchasing Amazon Web Services services for resale. CanadaRetailSalesTaxNumber *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 // 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 // contains filtered or unexported fields }
Additional tax information associated with your TRN in Canada .
type CaseCreationLimitExceededException ¶ added in v1.7.0
type CaseCreationLimitExceededException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
You've exceeded the Amazon Web Services Support case creation limit for your account.
func (*CaseCreationLimitExceededException) Error ¶ added in v1.7.0
func (e *CaseCreationLimitExceededException) Error() string
func (*CaseCreationLimitExceededException) ErrorCode ¶ added in v1.7.0
func (e *CaseCreationLimitExceededException) ErrorCode() string
func (*CaseCreationLimitExceededException) ErrorFault ¶ added in v1.7.0
func (e *CaseCreationLimitExceededException) ErrorFault() smithy.ErrorFault
func (*CaseCreationLimitExceededException) ErrorMessage ¶ added in v1.7.0
func (e *CaseCreationLimitExceededException) ErrorMessage() string
type ConflictException ¶
type ConflictException struct { Message *string ErrorCodeOverride *string ErrorCode_ *string // contains filtered or unexported fields }
The exception when the input is creating conflict with the given state.
func (*ConflictException) Error ¶
func (e *ConflictException) Error() string
func (*ConflictException) ErrorCode ¶
func (e *ConflictException) ErrorCode() string
func (*ConflictException) ErrorFault ¶
func (e *ConflictException) ErrorFault() smithy.ErrorFault
func (*ConflictException) ErrorMessage ¶
func (e *ConflictException) ErrorMessage() string
type DestinationS3Location ¶
type DestinationS3Location struct { // The name of your Amazon S3 bucket that you specify to download your tax // documents to. // // This member is required. Bucket *string // The Amazon S3 object prefix that you specify for your tax document file. Prefix *string // contains filtered or unexported fields }
The location of the Amazon S3 bucket that you specify to download your tax documents to.
type EntityExemptionAccountStatus ¶ added in v1.7.0
type EntityExemptionAccountStatus string
const ( EntityExemptionAccountStatusNone EntityExemptionAccountStatus = "None" EntityExemptionAccountStatusValid EntityExemptionAccountStatus = "Valid" EntityExemptionAccountStatusExpired EntityExemptionAccountStatus = "Expired" EntityExemptionAccountStatusPending EntityExemptionAccountStatus = "Pending" )
Enum values for EntityExemptionAccountStatus
func (EntityExemptionAccountStatus) Values ¶ added in v1.7.0
func (EntityExemptionAccountStatus) Values() []EntityExemptionAccountStatus
Values returns all known values for EntityExemptionAccountStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type EstoniaAdditionalInfo ¶
type EstoniaAdditionalInfo struct { // Registry commercial code (RCC) for your TRN in Estonia. This value is an // eight-numeric string, such as 12345678 . // // This member is required. RegistryCommercialCode *string // contains filtered or unexported fields }
Additional tax information associated with your TRN in Estonia.
type ExemptionCertificate ¶ added in v1.7.0
type ExemptionCertificate struct { // The exemption certificate file content. // // This member is required. DocumentFile []byte // The exemption certificate file name. // // This member is required. DocumentName *string // contains filtered or unexported fields }
The exemption certificate.
type GeorgiaAdditionalInfo ¶
type GeorgiaAdditionalInfo struct { // The legal person or physical person assigned to this TRN in Georgia. // // This member is required. PersonType PersonType // contains filtered or unexported fields }
Additional tax information associated with your TRN in Georgia.
type HeritageStatus ¶ added in v1.7.0
type HeritageStatus string
const ( HeritageStatusOptIn HeritageStatus = "OptIn" HeritageStatusOptOut HeritageStatus = "OptOut" )
Enum values for HeritageStatus
func (HeritageStatus) Values ¶ added in v1.7.0
func (HeritageStatus) Values() []HeritageStatus
Values returns all known values for HeritageStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type IndiaAdditionalInfo ¶
type IndiaAdditionalInfo struct { // India pan information associated with the account. Pan *string // contains filtered or unexported fields }
Additional tax information in India.
type Industries ¶
type Industries string
const ( IndustriesCirculatingOrg Industries = "CirculatingOrg" IndustriesProfessionalOrg Industries = "ProfessionalOrg" IndustriesBanks Industries = "Banks" IndustriesInsurance Industries = "Insurance" IndustriesPensionAndBenefitFunds Industries = "PensionAndBenefitFunds" IndustriesDevelopmentAgencies Industries = "DevelopmentAgencies" )
Enum values for Industries
func (Industries) Values ¶
func (Industries) Values() []Industries
Values returns all known values for Industries. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type InternalServerException ¶
type InternalServerException struct { Message *string ErrorCodeOverride *string ErrorCode_ *string // contains filtered or unexported fields }
The exception thrown when an unexpected error occurs when processing a request.
func (*InternalServerException) Error ¶
func (e *InternalServerException) Error() string
func (*InternalServerException) ErrorCode ¶
func (e *InternalServerException) ErrorCode() string
func (*InternalServerException) ErrorFault ¶
func (e *InternalServerException) ErrorFault() smithy.ErrorFault
func (*InternalServerException) ErrorMessage ¶
func (e *InternalServerException) ErrorMessage() string
type IsraelAdditionalInfo ¶
type IsraelAdditionalInfo struct { // Customer type for your TRN in Israel. The value can be Business or Individual . // Use Business for entities such as not-for-profit and financial institutions. // // This member is required. CustomerType 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. // // This member is required. DealerType IsraelDealerType // contains filtered or unexported fields }
Additional tax information associated with your TRN in Israel.
type IsraelCustomerType ¶
type IsraelCustomerType string
const ( IsraelCustomerTypeBusiness IsraelCustomerType = "Business" IsraelCustomerTypeIndividual IsraelCustomerType = "Individual" )
Enum values for IsraelCustomerType
func (IsraelCustomerType) Values ¶
func (IsraelCustomerType) Values() []IsraelCustomerType
Values returns all known values for IsraelCustomerType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type IsraelDealerType ¶
type IsraelDealerType string
const ( IsraelDealerTypeAuthorized IsraelDealerType = "Authorized" IsraelDealerTypeNonAuthorized IsraelDealerType = "Non-authorized" )
Enum values for IsraelDealerType
func (IsraelDealerType) Values ¶
func (IsraelDealerType) Values() []IsraelDealerType
Values returns all known values for IsraelDealerType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ItalyAdditionalInfo ¶
type ItalyAdditionalInfo struct { // The tender procedure identification code. CigNumber *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 // Additional tax information to specify for a TRN in Italy. Use // CodiceDestinatario to receive your invoices via web service (API) or FTP. SdiAccountId *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 // contains filtered or unexported fields }
Additional tax information associated with your TRN in Italy.
type Jurisdiction ¶
type Jurisdiction struct { // The country code of the jurisdiction. // // This member is required. CountryCode *string // The state, region, or province associated with the country of the // jurisdiction, if applicable. StateOrRegion *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.
type KenyaAdditionalInfo ¶
type KenyaAdditionalInfo struct { // The legal person or physical person assigned to this TRN in Kenya. // // This member is required. PersonType PersonType // contains filtered or unexported fields }
Additional tax information associated with your TRN in Kenya.
type MalaysiaAdditionalInfo ¶
type MalaysiaAdditionalInfo struct { // The tax registration number (TRN) in Malaysia. // // For individual, you can specify the taxInformationNumber in // MalaysiaAdditionalInfo with NRIC type, and a valid MyKad or NRIC number. For // business, you must specify a businessRegistrationNumber in // MalaysiaAdditionalInfo with a TIN type and tax identification number. For // business resellers, you must specify a businessRegistrationNumber and // taxInformationNumber in MalaysiaAdditionalInfo with a sales and service tax // (SST) type and a valid SST number. // // For business resellers with service codes, you must specify // businessRegistrationNumber , taxInformationNumber , and distinct serviceTaxCodes // in MalaysiaAdditionalInfo with a SST type and valid sales and service tax (SST) // number. By using this API operation, Amazon Web Services registers your // self-declaration that you’re an authorized business reseller registered with the // Royal Malaysia Customs Department (RMCD), and have a valid SST number. BusinessRegistrationNumber *string // List of service tax codes for your TRN in Malaysia. ServiceTaxCodes []MalaysiaServiceTaxCode // The tax information number in Malaysia. // // For individual, you can specify the taxInformationNumber in // MalaysiaAdditionalInfo with NRIC type, and a valid MyKad or NRIC number. For // business resellers, you must specify a businessRegistrationNumber and // taxInformationNumber in MalaysiaAdditionalInfo with a sales and service tax // (SST) type and a valid SST number. // // For business resellers with service codes, you must specify // businessRegistrationNumber , taxInformationNumber , and distinct serviceTaxCodes // in MalaysiaAdditionalInfo with a SST type and valid sales and service tax (SST) // number. By using this API operation, Amazon Web Services registers your // self-declaration that you’re an authorized business reseller registered with the // Royal Malaysia Customs Department (RMCD), and have a valid SST number. TaxInformationNumber *string // contains filtered or unexported fields }
Additional tax information associated with your TRN in Malaysia.
type MalaysiaServiceTaxCode ¶
type MalaysiaServiceTaxCode string
const ( MalaysiaServiceTaxCodeConsultancy MalaysiaServiceTaxCode = "Consultancy" MalaysiaServiceTaxCodeDigitalSvcElectronicMedium MalaysiaServiceTaxCode = "Digital Service And Electronic Medium" MalaysiaServiceTaxCodeItServices MalaysiaServiceTaxCode = "IT Services" MalaysiaServiceTaxCodeTrainingOrCoaching MalaysiaServiceTaxCode = "Training Or Coaching" )
Enum values for MalaysiaServiceTaxCode
func (MalaysiaServiceTaxCode) Values ¶
func (MalaysiaServiceTaxCode) Values() []MalaysiaServiceTaxCode
Values returns all known values for MalaysiaServiceTaxCode. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type PersonType ¶
type PersonType string
const ( PersonTypeLegalPerson PersonType = "Legal Person" PersonTypePhysicalPerson PersonType = "Physical Person" PersonTypeBusiness PersonType = "Business" )
Enum values for PersonType
func (PersonType) Values ¶
func (PersonType) Values() []PersonType
Values returns all known values for PersonType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type PolandAdditionalInfo ¶
type PolandAdditionalInfo struct { // The individual tax registration number (NIP). Individual NIP is valid for // other taxes excluding VAT purposes. IndividualRegistrationNumber *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 // contains filtered or unexported fields }
Additional tax information associated with your TRN in Poland.
type RegistrationType ¶
type RegistrationType string
const ( RegistrationTypeIntraEu RegistrationType = "Intra-EU" RegistrationTypeLocal RegistrationType = "Local" )
Enum values for RegistrationType
func (RegistrationType) Values ¶
func (RegistrationType) Values() []RegistrationType
Values returns all known values for RegistrationType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ResourceNotFoundException ¶
type ResourceNotFoundException struct { Message *string ErrorCodeOverride *string ErrorCode_ *string // contains filtered or unexported fields }
The exception thrown when the input doesn't have a resource associated to it.
func (*ResourceNotFoundException) Error ¶
func (e *ResourceNotFoundException) Error() string
func (*ResourceNotFoundException) ErrorCode ¶
func (e *ResourceNotFoundException) ErrorCode() string
func (*ResourceNotFoundException) ErrorFault ¶
func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault
func (*ResourceNotFoundException) ErrorMessage ¶
func (e *ResourceNotFoundException) ErrorMessage() string
type RomaniaAdditionalInfo ¶
type RomaniaAdditionalInfo struct { // The tax registration number type. The value can be TaxRegistrationNumber or // LocalRegistrationNumber . // // This member is required. TaxRegistrationNumberType TaxRegistrationNumberType // contains filtered or unexported fields }
Additional tax information to specify for a TRN in Romania.
type SaudiArabiaAdditionalInfo ¶
type SaudiArabiaAdditionalInfo struct { // The tax registration number type. TaxRegistrationNumberType SaudiArabiaTaxRegistrationNumberType // contains filtered or unexported fields }
Additional tax information associated with your TRN in Saudi Arabia.
type SaudiArabiaTaxRegistrationNumberType ¶
type SaudiArabiaTaxRegistrationNumberType string
const ( SaudiArabiaTaxRegistrationNumberTypeTaxRegistrationNumber SaudiArabiaTaxRegistrationNumberType = "TaxRegistrationNumber" SaudiArabiaTaxRegistrationNumberTypeTaxIdentificationNumber SaudiArabiaTaxRegistrationNumberType = "TaxIdentificationNumber" SaudiArabiaTaxRegistrationNumberTypeCommercialRegistrationNumber SaudiArabiaTaxRegistrationNumberType = "CommercialRegistrationNumber" )
Enum values for SaudiArabiaTaxRegistrationNumberType
func (SaudiArabiaTaxRegistrationNumberType) Values ¶
func (SaudiArabiaTaxRegistrationNumberType) Values() []SaudiArabiaTaxRegistrationNumberType
Values returns all known values for SaudiArabiaTaxRegistrationNumberType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type Sector ¶
type Sector string
type SourceS3Location ¶
type SourceS3Location struct { // The name of your Amazon S3 bucket that your tax document is located. // // This member is required. Bucket *string // The object key of your tax document object in Amazon S3. // // This member is required. Key *string // contains filtered or unexported fields }
The Amazon S3 bucket in your account where your tax document is located.
type SouthKoreaAdditionalInfo ¶
type SouthKoreaAdditionalInfo struct { // The business legal name based on the most recently uploaded tax registration // certificate. // // This member is required. BusinessRepresentativeName *string // Item of business based on the most recently uploaded tax registration // certificate. // // This member is required. ItemOfBusiness *string // Line of business based on the most recently uploaded tax registration // certificate. // // This member is required. LineOfBusiness *string // contains filtered or unexported fields }
Additional tax information associated with your TRN in South Korea.
type SpainAdditionalInfo ¶
type SpainAdditionalInfo struct { // The registration type in Spain. // // This member is required. RegistrationType RegistrationType // contains filtered or unexported fields }
Additional tax information associated with your TRN in Spain.
type SupplementalTaxRegistration ¶ added in v1.6.0
type SupplementalTaxRegistration struct { // The details of the address associated with the TRN information. // // This member is required. Address *Address // Unique authority ID for the supplemental TRN. // // This member is required. AuthorityId *string // The legal name associated with your TRN registration. // // This member is required. LegalName *string // The supplemental TRN unique identifier. // // This member is required. RegistrationId *string // Type of supplemental TRN. Currently, this can only be VAT. // // This member is required. RegistrationType SupplementalTaxRegistrationType // The status of your TRN. // // This member is required. Status TaxRegistrationStatus // contains filtered or unexported fields }
Supplemental TRN details.
type SupplementalTaxRegistrationEntry ¶ added in v1.6.0
type SupplementalTaxRegistrationEntry struct { // The details of the address associated with the TRN information. // // This member is required. Address *Address // The legal name associated with your TRN registration. // // This member is required. LegalName *string // The supplemental TRN unique identifier. // // This member is required. RegistrationId *string // Type of supplemental TRN. Currently, this can only be VAT. // // This member is required. RegistrationType SupplementalTaxRegistrationType // contains filtered or unexported fields }
The supplemental TRN information to provide when adding or updating a
supplemental TRN.
type SupplementalTaxRegistrationType ¶ added in v1.6.0
type SupplementalTaxRegistrationType string
const (
SupplementalTaxRegistrationTypeVat SupplementalTaxRegistrationType = "VAT"
)
Enum values for SupplementalTaxRegistrationType
func (SupplementalTaxRegistrationType) Values ¶ added in v1.6.0
func (SupplementalTaxRegistrationType) Values() []SupplementalTaxRegistrationType
Values returns all known values for SupplementalTaxRegistrationType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
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. // // This member is required. TaxDocumentAccessToken *string // The name of your tax document. // // This member is required. TaxDocumentName *string // contains filtered or unexported fields }
The metadata for your tax document.
type TaxExemption ¶ added in v1.7.0
type TaxExemption struct { // The address domain associate with tax exemption. // // This member is required. Authority *Authority // The tax exemption type. // // This member is required. TaxExemptionType *TaxExemptionType // The tax exemption effective date. EffectiveDate *time.Time // The tax exemption expiration date. ExpirationDate *time.Time // The tax exemption status. Status EntityExemptionAccountStatus // The tax exemption recording time in the TaxSettings system. SystemEffectiveDate *time.Time // contains filtered or unexported fields }
The tax exemption.
type TaxExemptionDetails ¶ added in v1.7.0
type TaxExemptionDetails struct { // The indicator if the tax exemption is inherited from the consolidated billing // family management account. HeritageObtainedDetails *bool // The consolidated billing family management account the tax exemption inherited // from. HeritageObtainedParentEntity *string // The reason of the heritage inheritance. HeritageObtainedReason *string // Tax exemptions. TaxExemptions []TaxExemption // contains filtered or unexported fields }
The tax exemption details.
type TaxExemptionType ¶ added in v1.7.0
type TaxExemptionType struct { // The tax exemption's applicable jurisdictions. ApplicableJurisdictions []Authority // The tax exemption's type description. Description *string // The tax exemption's type display name. DisplayName *string // contains filtered or unexported fields }
The tax exemption type.
type TaxInheritanceDetails ¶
type TaxInheritanceDetails struct { // Tax inheritance reason information associated with the account. InheritanceObtainedReason *string // Tax inheritance parent account information associated with the account. ParentEntityId *string // contains filtered or unexported fields }
Tax inheritance information associated with the account.
type TaxRegistration ¶
type TaxRegistration struct { // The legal address associated with your TRN registration. // // This member is required. LegalAddress *Address // The legal name associated with your TRN registration. // // This member is required. LegalName *string // Your tax registration unique identifier. // // This member is required. RegistrationId *string // Type of your tax registration. This can be either VAT or GST . // // This member is required. RegistrationType TaxRegistrationType // The status of your TRN. This can be either Verified , Pending , Deleted , or // Rejected . // // This member is required. Status TaxRegistrationStatus // Additional tax information associated with your TRN. AdditionalTaxInformation *AdditionalInfoResponse // The email address to receive VAT invoices. CertifiedEmailId *string // 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 Sector // The metadata for your tax document. TaxDocumentMetadatas []TaxDocumentMetadata // contains filtered or unexported fields }
Your TRN information.
type TaxRegistrationDocFile ¶ added in v1.7.0
type TaxRegistrationDocFile struct { // The tax registration document content. // // This member is required. FileContent []byte // The tax registration document name. // // This member is required. FileName *string // contains filtered or unexported fields }
The tax registration document.
type TaxRegistrationDocument ¶
type TaxRegistrationDocument struct { // The tax registration document. File *TaxRegistrationDocFile // The Amazon S3 location where your tax registration document is stored. S3Location *SourceS3Location // contains filtered or unexported fields }
Tax registration document information.
type TaxRegistrationEntry ¶
type TaxRegistrationEntry struct { // Your tax registration unique identifier. // // This member is required. RegistrationId *string // Your tax registration type. This can be either VAT or GST . // // This member is required. RegistrationType TaxRegistrationType // 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 // The email address to receive VAT invoices. CertifiedEmailId *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 // 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 // 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 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 // contains filtered or unexported fields }
The TRN information you provide when you add a new TRN, or update.
type TaxRegistrationNumberType ¶
type TaxRegistrationNumberType string
const ( TaxRegistrationNumberTypeTaxRegistrationNumber TaxRegistrationNumberType = "TaxRegistrationNumber" TaxRegistrationNumberTypeLocalRegistrationNumber TaxRegistrationNumberType = "LocalRegistrationNumber" )
Enum values for TaxRegistrationNumberType
func (TaxRegistrationNumberType) Values ¶
func (TaxRegistrationNumberType) Values() []TaxRegistrationNumberType
Values returns all known values for TaxRegistrationNumberType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type TaxRegistrationStatus ¶
type TaxRegistrationStatus string
const ( TaxRegistrationStatusVerified TaxRegistrationStatus = "Verified" TaxRegistrationStatusPending TaxRegistrationStatus = "Pending" TaxRegistrationStatusDeleted TaxRegistrationStatus = "Deleted" TaxRegistrationStatusRejected TaxRegistrationStatus = "Rejected" )
Enum values for TaxRegistrationStatus
func (TaxRegistrationStatus) Values ¶
func (TaxRegistrationStatus) Values() []TaxRegistrationStatus
Values returns all known values for TaxRegistrationStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type TaxRegistrationType ¶
type TaxRegistrationType string
const ( TaxRegistrationTypeVat TaxRegistrationType = "VAT" TaxRegistrationTypeGst TaxRegistrationType = "GST" TaxRegistrationTypeCpf TaxRegistrationType = "CPF" TaxRegistrationTypeCnpj TaxRegistrationType = "CNPJ" TaxRegistrationTypeSst TaxRegistrationType = "SST" TaxRegistrationTypeTin TaxRegistrationType = "TIN" TaxRegistrationTypeNric TaxRegistrationType = "NRIC" )
Enum values for TaxRegistrationType
func (TaxRegistrationType) Values ¶
func (TaxRegistrationType) Values() []TaxRegistrationType
Values returns all known values for TaxRegistrationType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type TaxRegistrationWithJurisdiction ¶
type TaxRegistrationWithJurisdiction struct { // The jurisdiction associated with your TRN information. // // This member is required. Jurisdiction *Jurisdiction // The legal name associated with your TRN information. // // This member is required. LegalName *string // Your tax registration unique identifier. // // This member is required. RegistrationId *string // The type of your tax registration. This can be either VAT or GST . // // This member is required. RegistrationType TaxRegistrationType // The status of your TRN. This can be either Verified , Pending , Deleted , or // Rejected . // // This member is required. Status TaxRegistrationStatus // Additional tax information associated with your TRN. AdditionalTaxInformation *AdditionalInfoResponse // The email address to receive VAT invoices. CertifiedEmailId *string // 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 Sector // The metadata for your tax document. TaxDocumentMetadatas []TaxDocumentMetadata // contains filtered or unexported fields }
Your TRN information with jurisdiction details. This doesn't contain the full legal address associated with the TRN information.
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 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 // Secondary tax ID (“harcama birimi VKN”si”). If one isn't provided, we will use // your VKN as the secondary ID. SecondaryTaxId *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 // contains filtered or unexported fields }
Additional tax information associated with your TRN in Turkey.
type UkraineAdditionalInfo ¶
type UkraineAdditionalInfo struct { // The tax registration type. // // This member is required. UkraineTrnType UkraineTrnType // contains filtered or unexported fields }
Additional tax information associated with your TRN in Ukraine.
type UkraineTrnType ¶
type UkraineTrnType string
const ( UkraineTrnTypeBusiness UkraineTrnType = "Business" UkraineTrnTypeIndividual UkraineTrnType = "Individual" )
Enum values for UkraineTrnType
func (UkraineTrnType) Values ¶
func (UkraineTrnType) Values() []UkraineTrnType
Values returns all known values for UkraineTrnType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ValidationException ¶
type ValidationException struct { Message *string ErrorCodeOverride *string ErrorCode_ ValidationExceptionErrorCode FieldList []ValidationExceptionField // contains filtered or unexported fields }
The exception when the input doesn't pass validation for at least one of the input parameters.
func (*ValidationException) Error ¶
func (e *ValidationException) Error() string
func (*ValidationException) ErrorCode ¶
func (e *ValidationException) ErrorCode() string
func (*ValidationException) ErrorFault ¶
func (e *ValidationException) ErrorFault() smithy.ErrorFault
func (*ValidationException) ErrorMessage ¶
func (e *ValidationException) ErrorMessage() string
type ValidationExceptionErrorCode ¶
type ValidationExceptionErrorCode string
const ( ValidationExceptionErrorCodeMalformedToken ValidationExceptionErrorCode = "MalformedToken" ValidationExceptionErrorCodeExpiredToken ValidationExceptionErrorCode = "ExpiredToken" ValidationExceptionErrorCodeInvalidToken ValidationExceptionErrorCode = "InvalidToken" ValidationExceptionErrorCodeFieldValidationFailed ValidationExceptionErrorCode = "FieldValidationFailed" ValidationExceptionErrorCodeMissingInput ValidationExceptionErrorCode = "MissingInput" )
Enum values for ValidationExceptionErrorCode
func (ValidationExceptionErrorCode) Values ¶
func (ValidationExceptionErrorCode) Values() []ValidationExceptionErrorCode
Values returns all known values for ValidationExceptionErrorCode. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ValidationExceptionField ¶
type ValidationExceptionField struct { // The name of the parameter that caused a ValidationException error. // // This member is required. Name *string // contains filtered or unexported fields }
The information about the specified parameter in the request that caused an error.
type VerificationDetails ¶
type VerificationDetails struct { // Date of birth to verify your submitted TRN. Use the YYYY-MM-DD format. DateOfBirth *string // The tax registration document, which is required for specific countries such as // Bangladesh, Kenya, South Korea and Spain. TaxRegistrationDocuments []TaxRegistrationDocument // contains filtered or unexported fields }
Required information to verify your TRN.