Skip to content

/AWS1/CL_TXSTAXREGENTRY

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

CONSTRUCTOR

IMPORTING

Required arguments:

IV_REGISTRATIONID TYPE /AWS1/TXSREGISTRATIONID /AWS1/TXSREGISTRATIONID

Your tax registration unique identifier.

IV_REGISTRATIONTYPE TYPE /AWS1/TXSTAXREGISTRATIONTYPE /AWS1/TXSTAXREGISTRATIONTYPE

Your tax registration type. This can be either VAT or GST.

Optional arguments:

IV_LEGALNAME TYPE /AWS1/TXSLEGALNAME /AWS1/TXSLEGALNAME

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.

IO_LEGALADDRESS TYPE REF TO /AWS1/CL_TXSADDRESS /AWS1/CL_TXSADDRESS

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.

IV_SECTOR TYPE /AWS1/TXSSECTOR /AWS1/TXSSECTOR

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.

IO_ADDITIONALTAXINFORMATION TYPE REF TO /AWS1/CL_TXSADDLINFOREQUEST /AWS1/CL_TXSADDLINFOREQUEST

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.

IO_VERIFICATIONDETAILS TYPE REF TO /AWS1/CL_TXSVERIFICATIONDETS /AWS1/CL_TXSVERIFICATIONDETS

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.

IV_CERTIFIEDEMAILID TYPE /AWS1/TXSCERTIFIEDEMAILID /AWS1/TXSCERTIFIEDEMAILID

The email address to receive VAT invoices.


Queryable Attributes

registrationId

Your tax registration unique identifier.

Accessible with the following methods

Method Description
GET_REGISTRATIONID() Getter for REGISTRATIONID, with configurable default
ASK_REGISTRATIONID() Getter for REGISTRATIONID w/ exceptions if field has no valu
HAS_REGISTRATIONID() Determine if REGISTRATIONID has a value

registrationType

Your tax registration type. This can be either VAT or GST.

Accessible with the following methods

Method Description
GET_REGISTRATIONTYPE() Getter for REGISTRATIONTYPE, with configurable default
ASK_REGISTRATIONTYPE() Getter for REGISTRATIONTYPE w/ exceptions if field has no va
HAS_REGISTRATIONTYPE() Determine if REGISTRATIONTYPE has a value

legalName

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.

Accessible with the following methods

Method Description
GET_LEGALNAME() Getter for LEGALNAME, with configurable default
ASK_LEGALNAME() Getter for LEGALNAME w/ exceptions if field has no value
HAS_LEGALNAME() Determine if LEGALNAME has a value

legalAddress

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.

Accessible with the following methods

Method Description
GET_LEGALADDRESS() Getter for LEGALADDRESS

sector

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.

Accessible with the following methods

Method Description
GET_SECTOR() Getter for SECTOR, with configurable default
ASK_SECTOR() Getter for SECTOR w/ exceptions if field has no value
HAS_SECTOR() Determine if SECTOR has a value

additionalTaxInformation

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.

Accessible with the following methods

Method Description
GET_ADDITIONALTAXINFORMATION() Getter for ADDITIONALTAXINFORMATION

verificationDetails

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.

Accessible with the following methods

Method Description
GET_VERIFICATIONDETAILS() Getter for VERIFICATIONDETAILS

certifiedEmailId

The email address to receive VAT invoices.

Accessible with the following methods

Method Description
GET_CERTIFIEDEMAILID() Getter for CERTIFIEDEMAILID, with configurable default
ASK_CERTIFIEDEMAILID() Getter for CERTIFIEDEMAILID w/ exceptions if field has no va
HAS_CERTIFIEDEMAILID() Determine if CERTIFIEDEMAILID has a value