Class TaxOverrideModel
java.lang.Object
net.avalara.avatax.rest.client.models.TaxOverrideModel
Represents a tax override for a transaction
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for reason This provides the reason for a tax override for audit purposes.Getter for taxAmount Indicates a total override of the calculated tax on the document.Getter for taxAmountByTaxTypes Indicates a total override of the calculated tax on the line with TaxType.Getter for taxDate The override tax date to use This is used when the tax has been previously calculated as in the case of a layaway, return or other reason indicated by the Reason element.getType()
Getter for type Identifies the type of tax overridevoid
Setter for reason This provides the reason for a tax override for audit purposes.void
setTaxAmount
(BigDecimal value) Setter for taxAmount Indicates a total override of the calculated tax on the document.void
Setter for taxAmountByTaxTypes Indicates a total override of the calculated tax on the line with TaxType.void
setTaxDate
(Date value) Setter for taxDate The override tax date to use This is used when the tax has been previously calculated as in the case of a layaway, return or other reason indicated by the Reason element.void
setType
(TaxOverrideType value) Setter for type Identifies the type of tax overridetoString()
Returns a JSON string representation of TaxOverrideModel
-
Constructor Details
-
TaxOverrideModel
public TaxOverrideModel()
-
-
Method Details
-
getType
Getter for type Identifies the type of tax override -
setType
Setter for type Identifies the type of tax override -
getTaxAmount
Getter for taxAmount Indicates a total override of the calculated tax on the document. AvaTax will distribute the override across all the lines. Tax will be distributed on a best effort basis. It may not always be possible to override all taxes. Please consult your account manager for information about overrides. -
setTaxAmount
Setter for taxAmount Indicates a total override of the calculated tax on the document. AvaTax will distribute the override across all the lines. Tax will be distributed on a best effort basis. It may not always be possible to override all taxes. Please consult your account manager for information about overrides. -
getTaxDate
Getter for taxDate The override tax date to use This is used when the tax has been previously calculated as in the case of a layaway, return or other reason indicated by the Reason element. If the date is not overridden, then it should be set to the same as the DocDate. -
setTaxDate
Setter for taxDate The override tax date to use This is used when the tax has been previously calculated as in the case of a layaway, return or other reason indicated by the Reason element. If the date is not overridden, then it should be set to the same as the DocDate. -
getReason
Getter for reason This provides the reason for a tax override for audit purposes. It is required for types 2-4. Typical reasons include: "Return" "Layaway" -
setReason
Setter for reason This provides the reason for a tax override for audit purposes. It is required for types 2-4. Typical reasons include: "Return" "Layaway" -
getTaxAmountByTaxTypes
Getter for taxAmountByTaxTypes Indicates a total override of the calculated tax on the line with TaxType. AvaTax will distribute the override across all the line details for that TaxType. TaxAmountByTaxType can be used only at the Line level. -
setTaxAmountByTaxTypes
Setter for taxAmountByTaxTypes Indicates a total override of the calculated tax on the line with TaxType. AvaTax will distribute the override across all the line details for that TaxType. TaxAmountByTaxType can be used only at the Line level. -
toString
Returns a JSON string representation of TaxOverrideModel
-