Class TransactionLineDetailModel
java.lang.Object
net.avalara.avatax.rest.client.models.TransactionLineDetailModel
An individual tax detail element. Represents the amount of tax calculated for a particular jurisdiction, for a particular line in an invoice.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for addressId The unique ID number of the address used for this tax detail.Getter for country The two character ISO 3166 country code of the country where this tax detail is assigned.Getter for countyFIPS For U.S.Getter for exemptAmount The amount of this line that was considered exempt in this tax detail.Getter for exemptReasonId The unique ID number of the exemption reason for this tax detail.Getter for exemptUnits Number of units in this line item that were calculated to be exempt according to this rate detail.getId()
Getter for id The unique ID number of this tax detail.Getter for inState True if this detail element represented an in-state transaction.getIsFee()
Getter for isFee The Taxes/Fee component.Getter for isNonPassThru True if this value is a non-passthrough tax.Getter for jurisCode The code of the jurisdiction to which this tax detail applies.Getter for jurisdictionId The unique ID number of the jurisdiction to which this tax detail applies.Getter for jurisdictionType The type of the jurisdiction in which this tax detail applies.Getter for jurisName The name of the jurisdiction to which this tax detail applies.Getter for jurisType DEPRECATED - Date: 12/20/2017, Version: 18.1, Message: Use jurisdictionTypeId instead.Getter for liabilityType LiabilityType identifies the party liable to file the tax.Getter for nonTaxableAmount The amount of this line item that was considered nontaxable in this tax detail.Getter for nonTaxableRuleId The rule according to which portion of this detail was considered nontaxable.Getter for nonTaxableType The type of nontaxability that was applied to this tax detail.Getter for nonTaxableUnits Number of units in this line item that were calculated to be nontaxable according to this rate detail.getRate()
Getter for rate The rate at which this tax detail was calculated.Getter for rateRuleId The unique ID number of the rule according to which this tax detail was calculated.Getter for rateSourceId The unique ID number of the source of the rate according to which this tax detail was calculated.Getter for rateType DEPRECATED - Date: 12/20/2017, Version: 18.1, Message: Please use rateTypeCode instead.Getter for rateTypeCode Indicates the code of the rate type that was used to calculate this tax detail.Getter for region The two-or-three character ISO region code for the region where this tax detail is assigned.Getter for reportingExemptUnits Number of units in this line item that were calculated to be exempt according to this rate detail in the reporting currency.Getter for reportingNonTaxableUnits Number of units in this line item that were calculated to be nontaxable according to this rate detail in the reporting currency.Getter for reportingTax The amount of tax for this tax detail in the reporting currency.Getter for reportingTaxableUnits Number of units in this line item that were calculated to be taxable according to this rate detail in the reporting currency.Getter for reportingTaxCalculated The amount of tax that AvaTax calculated in the reporting currency.Getter for serCode For Streamlined Sales Tax customers, the SST Electronic Return code under which this tax detail should be applied.Getter for signatureCode The Avalara-specified signature code of the jurisdiction to which this tax detail applies.Getter for sourcing Indicates whether this tax detail applies to the origin or destination of the transaction.Getter for stateAssignedNo The state assigned number of the jurisdiction to which this tax detail applies.Getter for stateFIPS For U.S.getTax()
Getter for tax The amount of tax for this tax detail.Getter for taxableAmount The taxable amount of this tax detail.Getter for taxableUnits Number of units in this line item that were calculated to be taxable according to this rate detail.Getter for taxAuthorityTypeId The type of the tax authority to which this tax will be remitted.Getter for taxCalculated The amount of tax that AvaTax calculated.Getter for taxName The name of the tax against which this tax amount was calculated.Getter for taxOverride The amount of tax override that was specified for this tax line.Getter for taxRegionId The unique ID number of the tax region.Getter for taxSubTypeId The id of the tax subtype.Getter for taxType The type of tax that was calculated.Getter for taxTypeGroupId The id of the tax type group.Getter for transactionId The unique ID number of this transaction.Getter for transactionLineId The unique ID number of the line within this transaction.Getter for unitOfBasis When calculating units, what basis of measurement did we use for calculating the units?void
setAddressId
(Long value) Setter for addressId The unique ID number of the address used for this tax detail.void
setCountry
(String value) Setter for country The two character ISO 3166 country code of the country where this tax detail is assigned.void
setCountyFIPS
(String value) Setter for countyFIPS For U.S.void
setExemptAmount
(BigDecimal value) Setter for exemptAmount The amount of this line that was considered exempt in this tax detail.void
setExemptReasonId
(Integer value) Setter for exemptReasonId The unique ID number of the exemption reason for this tax detail.void
setExemptUnits
(BigDecimal value) Setter for exemptUnits Number of units in this line item that were calculated to be exempt according to this rate detail.void
Setter for id The unique ID number of this tax detail.void
setInState
(Boolean value) Setter for inState True if this detail element represented an in-state transaction.void
Setter for isFee The Taxes/Fee component.void
setIsNonPassThru
(Boolean value) Setter for isNonPassThru True if this value is a non-passthrough tax.void
setJurisCode
(String value) Setter for jurisCode The code of the jurisdiction to which this tax detail applies.void
setJurisdictionId
(Integer value) Setter for jurisdictionId The unique ID number of the jurisdiction to which this tax detail applies.void
Setter for jurisdictionType The type of the jurisdiction in which this tax detail applies.void
setJurisName
(String value) Setter for jurisName The name of the jurisdiction to which this tax detail applies.void
setJurisType
(JurisTypeId value) Setter for jurisType DEPRECATED - Date: 12/20/2017, Version: 18.1, Message: Use jurisdictionTypeId instead.void
setLiabilityType
(LiabilityType value) Setter for liabilityType LiabilityType identifies the party liable to file the tax.void
setNonTaxableAmount
(BigDecimal value) Setter for nonTaxableAmount The amount of this line item that was considered nontaxable in this tax detail.void
setNonTaxableRuleId
(Integer value) Setter for nonTaxableRuleId The rule according to which portion of this detail was considered nontaxable.void
setNonTaxableType
(TaxRuleTypeId value) Setter for nonTaxableType The type of nontaxability that was applied to this tax detail.void
setNonTaxableUnits
(BigDecimal value) Setter for nonTaxableUnits Number of units in this line item that were calculated to be nontaxable according to this rate detail.void
setRate
(BigDecimal value) Setter for rate The rate at which this tax detail was calculated.void
setRateRuleId
(Integer value) Setter for rateRuleId The unique ID number of the rule according to which this tax detail was calculated.void
setRateSourceId
(Integer value) Setter for rateSourceId The unique ID number of the source of the rate according to which this tax detail was calculated.void
setRateType
(RateType value) Setter for rateType DEPRECATED - Date: 12/20/2017, Version: 18.1, Message: Please use rateTypeCode instead.void
setRateTypeCode
(String value) Setter for rateTypeCode Indicates the code of the rate type that was used to calculate this tax detail.void
Setter for region The two-or-three character ISO region code for the region where this tax detail is assigned.void
Setter for reportingExemptUnits Number of units in this line item that were calculated to be exempt according to this rate detail in the reporting currency.void
Setter for reportingNonTaxableUnits Number of units in this line item that were calculated to be nontaxable according to this rate detail in the reporting currency.void
setReportingTax
(BigDecimal value) Setter for reportingTax The amount of tax for this tax detail in the reporting currency.void
Setter for reportingTaxableUnits Number of units in this line item that were calculated to be taxable according to this rate detail in the reporting currency.void
Setter for reportingTaxCalculated The amount of tax that AvaTax calculated in the reporting currency.void
setSerCode
(String value) Setter for serCode For Streamlined Sales Tax customers, the SST Electronic Return code under which this tax detail should be applied.void
setSignatureCode
(String value) Setter for signatureCode The Avalara-specified signature code of the jurisdiction to which this tax detail applies.void
setSourcing
(Sourcing value) Setter for sourcing Indicates whether this tax detail applies to the origin or destination of the transaction.void
setStateAssignedNo
(String value) Setter for stateAssignedNo The state assigned number of the jurisdiction to which this tax detail applies.void
setStateFIPS
(String value) Setter for stateFIPS For U.S.void
setTax
(BigDecimal value) Setter for tax The amount of tax for this tax detail.void
setTaxableAmount
(BigDecimal value) Setter for taxableAmount The taxable amount of this tax detail.void
setTaxableUnits
(BigDecimal value) Setter for taxableUnits Number of units in this line item that were calculated to be taxable according to this rate detail.void
setTaxAuthorityTypeId
(Integer value) Setter for taxAuthorityTypeId The type of the tax authority to which this tax will be remitted.void
setTaxCalculated
(BigDecimal value) Setter for taxCalculated The amount of tax that AvaTax calculated.void
setTaxName
(String value) Setter for taxName The name of the tax against which this tax amount was calculated.void
setTaxOverride
(BigDecimal value) Setter for taxOverride The amount of tax override that was specified for this tax line.void
setTaxRegionId
(Integer value) Setter for taxRegionId The unique ID number of the tax region.void
setTaxSubTypeId
(String value) Setter for taxSubTypeId The id of the tax subtype.void
setTaxType
(String value) Setter for taxType The type of tax that was calculated.void
setTaxTypeGroupId
(String value) Setter for taxTypeGroupId The id of the tax type group.void
setTransactionId
(Long value) Setter for transactionId The unique ID number of this transaction.void
setTransactionLineId
(Long value) Setter for transactionLineId The unique ID number of the line within this transaction.void
setUnitOfBasis
(String value) Setter for unitOfBasis When calculating units, what basis of measurement did we use for calculating the units?toString()
Returns a JSON string representation of TransactionLineDetailModel
-
Constructor Details
-
TransactionLineDetailModel
public TransactionLineDetailModel()
-
-
Method Details
-
getId
Getter for id The unique ID number of this tax detail. -
setId
Setter for id The unique ID number of this tax detail. -
getTransactionLineId
Getter for transactionLineId The unique ID number of the line within this transaction. -
setTransactionLineId
Setter for transactionLineId The unique ID number of the line within this transaction. -
getTransactionId
Getter for transactionId The unique ID number of this transaction. -
setTransactionId
Setter for transactionId The unique ID number of this transaction. -
getAddressId
Getter for addressId The unique ID number of the address used for this tax detail. -
setAddressId
Setter for addressId The unique ID number of the address used for this tax detail. -
getCountry
Getter for country The two character ISO 3166 country code of the country where this tax detail is assigned. -
setCountry
Setter for country The two character ISO 3166 country code of the country where this tax detail is assigned. -
getRegion
Getter for region The two-or-three character ISO region code for the region where this tax detail is assigned. -
setRegion
Setter for region The two-or-three character ISO region code for the region where this tax detail is assigned. -
getCountyFIPS
Getter for countyFIPS For U.S. transactions, the Federal Information Processing Standard (FIPS) code for the county where this tax detail is assigned. -
setCountyFIPS
Setter for countyFIPS For U.S. transactions, the Federal Information Processing Standard (FIPS) code for the county where this tax detail is assigned. -
getStateFIPS
Getter for stateFIPS For U.S. transactions, the Federal Information Processing Standard (FIPS) code for the state where this tax detail is assigned. -
setStateFIPS
Setter for stateFIPS For U.S. transactions, the Federal Information Processing Standard (FIPS) code for the state where this tax detail is assigned. -
getExemptAmount
Getter for exemptAmount The amount of this line that was considered exempt in this tax detail. -
setExemptAmount
Setter for exemptAmount The amount of this line that was considered exempt in this tax detail. -
getExemptReasonId
Getter for exemptReasonId The unique ID number of the exemption reason for this tax detail. -
setExemptReasonId
Setter for exemptReasonId The unique ID number of the exemption reason for this tax detail. -
getInState
Getter for inState True if this detail element represented an in-state transaction. -
setInState
Setter for inState True if this detail element represented an in-state transaction. -
getJurisCode
Getter for jurisCode The code of the jurisdiction to which this tax detail applies. -
setJurisCode
Setter for jurisCode The code of the jurisdiction to which this tax detail applies. -
getJurisName
Getter for jurisName The name of the jurisdiction to which this tax detail applies. -
setJurisName
Setter for jurisName The name of the jurisdiction to which this tax detail applies. -
getJurisdictionId
Getter for jurisdictionId The unique ID number of the jurisdiction to which this tax detail applies. -
setJurisdictionId
Setter for jurisdictionId The unique ID number of the jurisdiction to which this tax detail applies. -
getSignatureCode
Getter for signatureCode The Avalara-specified signature code of the jurisdiction to which this tax detail applies. -
setSignatureCode
Setter for signatureCode The Avalara-specified signature code of the jurisdiction to which this tax detail applies. -
getStateAssignedNo
Getter for stateAssignedNo The state assigned number of the jurisdiction to which this tax detail applies. -
setStateAssignedNo
Setter for stateAssignedNo The state assigned number of the jurisdiction to which this tax detail applies. -
getJurisType
Getter for jurisType DEPRECATED - Date: 12/20/2017, Version: 18.1, Message: Use jurisdictionTypeId instead. The type of the jurisdiction to which this tax detail applies. -
setJurisType
Setter for jurisType DEPRECATED - Date: 12/20/2017, Version: 18.1, Message: Use jurisdictionTypeId instead. The type of the jurisdiction to which this tax detail applies. -
getJurisdictionType
Getter for jurisdictionType The type of the jurisdiction in which this tax detail applies. -
setJurisdictionType
Setter for jurisdictionType The type of the jurisdiction in which this tax detail applies. -
getNonTaxableAmount
Getter for nonTaxableAmount The amount of this line item that was considered nontaxable in this tax detail. -
setNonTaxableAmount
Setter for nonTaxableAmount The amount of this line item that was considered nontaxable in this tax detail. -
getNonTaxableRuleId
Getter for nonTaxableRuleId The rule according to which portion of this detail was considered nontaxable. -
setNonTaxableRuleId
Setter for nonTaxableRuleId The rule according to which portion of this detail was considered nontaxable. -
getNonTaxableType
Getter for nonTaxableType The type of nontaxability that was applied to this tax detail. -
setNonTaxableType
Setter for nonTaxableType The type of nontaxability that was applied to this tax detail. -
getRate
Getter for rate The rate at which this tax detail was calculated. -
setRate
Setter for rate The rate at which this tax detail was calculated. -
getRateRuleId
Getter for rateRuleId The unique ID number of the rule according to which this tax detail was calculated. -
setRateRuleId
Setter for rateRuleId The unique ID number of the rule according to which this tax detail was calculated. -
getRateSourceId
Getter for rateSourceId The unique ID number of the source of the rate according to which this tax detail was calculated. -
setRateSourceId
Setter for rateSourceId The unique ID number of the source of the rate according to which this tax detail was calculated. -
getSerCode
Getter for serCode For Streamlined Sales Tax customers, the SST Electronic Return code under which this tax detail should be applied. -
setSerCode
Setter for serCode For Streamlined Sales Tax customers, the SST Electronic Return code under which this tax detail should be applied. -
getSourcing
Getter for sourcing Indicates whether this tax detail applies to the origin or destination of the transaction. -
setSourcing
Setter for sourcing Indicates whether this tax detail applies to the origin or destination of the transaction. -
getTax
Getter for tax The amount of tax for this tax detail. -
setTax
Setter for tax The amount of tax for this tax detail. -
getTaxableAmount
Getter for taxableAmount The taxable amount of this tax detail. -
setTaxableAmount
Setter for taxableAmount The taxable amount of this tax detail. -
getTaxType
Getter for taxType The type of tax that was calculated. Depends on the company's nexus settings as well as the jurisdiction's tax laws. -
setTaxType
Setter for taxType The type of tax that was calculated. Depends on the company's nexus settings as well as the jurisdiction's tax laws. -
getTaxSubTypeId
Getter for taxSubTypeId The id of the tax subtype. -
setTaxSubTypeId
Setter for taxSubTypeId The id of the tax subtype. -
getTaxTypeGroupId
Getter for taxTypeGroupId The id of the tax type group. -
setTaxTypeGroupId
Setter for taxTypeGroupId The id of the tax type group. -
getTaxName
Getter for taxName The name of the tax against which this tax amount was calculated. -
setTaxName
Setter for taxName The name of the tax against which this tax amount was calculated. -
getTaxAuthorityTypeId
Getter for taxAuthorityTypeId The type of the tax authority to which this tax will be remitted. -
setTaxAuthorityTypeId
Setter for taxAuthorityTypeId The type of the tax authority to which this tax will be remitted. -
getTaxRegionId
Getter for taxRegionId The unique ID number of the tax region. -
setTaxRegionId
Setter for taxRegionId The unique ID number of the tax region. -
getTaxCalculated
Getter for taxCalculated The amount of tax that AvaTax calculated. If an override for tax amount is used, there may be a difference between the tax field which applies your override, and the this amount that is calculated without override. -
setTaxCalculated
Setter for taxCalculated The amount of tax that AvaTax calculated. If an override for tax amount is used, there may be a difference between the tax field which applies your override, and the this amount that is calculated without override. -
getTaxOverride
Getter for taxOverride The amount of tax override that was specified for this tax line. -
setTaxOverride
Setter for taxOverride The amount of tax override that was specified for this tax line. -
getRateType
Getter for rateType DEPRECATED - Date: 12/20/2017, Version: 18.1, Message: Please use rateTypeCode instead. The rate type for this tax detail. -
setRateType
Setter for rateType DEPRECATED - Date: 12/20/2017, Version: 18.1, Message: Please use rateTypeCode instead. The rate type for this tax detail. -
getRateTypeCode
Getter for rateTypeCode Indicates the code of the rate type that was used to calculate this tax detail. Use [ListRateTypesByCountry](https://developer.avalara.com/api-reference/avatax/rest/v2/methods/Definitions/ListRateTypesByCountry/) API for a full list of rate type codes. -
setRateTypeCode
Setter for rateTypeCode Indicates the code of the rate type that was used to calculate this tax detail. Use [ListRateTypesByCountry](https://developer.avalara.com/api-reference/avatax/rest/v2/methods/Definitions/ListRateTypesByCountry/) API for a full list of rate type codes. -
getTaxableUnits
Getter for taxableUnits Number of units in this line item that were calculated to be taxable according to this rate detail. -
setTaxableUnits
Setter for taxableUnits Number of units in this line item that were calculated to be taxable according to this rate detail. -
getNonTaxableUnits
Getter for nonTaxableUnits Number of units in this line item that were calculated to be nontaxable according to this rate detail. -
setNonTaxableUnits
Setter for nonTaxableUnits Number of units in this line item that were calculated to be nontaxable according to this rate detail. -
getExemptUnits
Getter for exemptUnits Number of units in this line item that were calculated to be exempt according to this rate detail. -
setExemptUnits
Setter for exemptUnits Number of units in this line item that were calculated to be exempt according to this rate detail. -
getUnitOfBasis
Getter for unitOfBasis When calculating units, what basis of measurement did we use for calculating the units? -
setUnitOfBasis
Setter for unitOfBasis When calculating units, what basis of measurement did we use for calculating the units? -
getIsNonPassThru
Getter for isNonPassThru True if this value is a non-passthrough tax. A non-passthrough tax is a tax that may not be charged to a customer; it must be paid directly by the company. -
setIsNonPassThru
Setter for isNonPassThru True if this value is a non-passthrough tax. A non-passthrough tax is a tax that may not be charged to a customer; it must be paid directly by the company. -
getIsFee
Getter for isFee The Taxes/Fee component. True if the fee is applied. -
setIsFee
Setter for isFee The Taxes/Fee component. True if the fee is applied. -
getReportingTaxableUnits
Getter for reportingTaxableUnits Number of units in this line item that were calculated to be taxable according to this rate detail in the reporting currency. -
setReportingTaxableUnits
Setter for reportingTaxableUnits Number of units in this line item that were calculated to be taxable according to this rate detail in the reporting currency. -
getReportingNonTaxableUnits
Getter for reportingNonTaxableUnits Number of units in this line item that were calculated to be nontaxable according to this rate detail in the reporting currency. -
setReportingNonTaxableUnits
Setter for reportingNonTaxableUnits Number of units in this line item that were calculated to be nontaxable according to this rate detail in the reporting currency. -
getReportingExemptUnits
Getter for reportingExemptUnits Number of units in this line item that were calculated to be exempt according to this rate detail in the reporting currency. -
setReportingExemptUnits
Setter for reportingExemptUnits Number of units in this line item that were calculated to be exempt according to this rate detail in the reporting currency. -
getReportingTax
Getter for reportingTax The amount of tax for this tax detail in the reporting currency. -
setReportingTax
Setter for reportingTax The amount of tax for this tax detail in the reporting currency. -
getReportingTaxCalculated
Getter for reportingTaxCalculated The amount of tax that AvaTax calculated in the reporting currency. If an override for tax amount is used, there may be a difference between the tax field which applies your override, and the this amount that is calculated without override. -
setReportingTaxCalculated
Setter for reportingTaxCalculated The amount of tax that AvaTax calculated in the reporting currency. If an override for tax amount is used, there may be a difference between the tax field which applies your override, and the this amount that is calculated without override. -
getLiabilityType
Getter for liabilityType LiabilityType identifies the party liable to file the tax. This field is used to filter taxes from reports and tax filings as appropriate. -
setLiabilityType
Setter for liabilityType LiabilityType identifies the party liable to file the tax. This field is used to filter taxes from reports and tax filings as appropriate. -
toString
Returns a JSON string representation of TransactionLineDetailModel
-