REST v2.16.11 Patch Notes

REST v2.16.11 Patch Notes

REST v2.16.11 Patch Notes

AvaTax REST v2.16.11 has now adopted the naming system used by AvaTax SOAP (API version/year/month).

ENVIRONMENT URL RELEASE DATE
Sandbox https://sandbox-rest.avatax.com 2016-11-02
Production https://rest.avatax.com 2016-11-09

POST /api/v2/taxrates

Corrected a bug that caused the TaxRates API to show duplicate rates.

POST /api/v2/transactions/create

New fields have been added to the API. These fields are optional and do not require changes to your existing code.

Added new fields on the create transaction model:

  • debugLevel (string, optional): If the user wishes to request additional debug information from this transaction, specify a level higher than 'normal'. Enum, possible values = ['Normal', 'Diagnostic']

Added new fields on the result transaction model:

  • messages (Array[AvaTaxMessage], optional): List of informational and warning messages regarding this API call. These messages are only relevant to the current API call.

Added new fields on the result detail model:

  • UnitOfBasis (number, optional) - Indicates the type of unit that was used for calculating the tax.
  • TaxableUnits (number, optional) - The number of units that were taxable according to this tax detail.
  • NontaxableUnits (number, optional) - The number of units that were nontaxable according to this tax detail.
  • ExemptUnits (number, optional) - The number of units that were exempt according to this tax detail.

POST /api/v2/companies

The field defaultCountry is required, but the online documentation did not show it as required. Documentation has been updated to reflect this requirement.

POST /api/v2/companies/ABC/transactions/DEF/adjust

The fields adjustmentReason and newTransaction are required, but the online documentation did not show them as required. Documentation has been updated to reflect this requirement.

POST /api/v2/companies/ABC/transactions/DEF/commit

The field commit is required, but the online documentation did not show it as required. Documentation has been updated to reflect this requirement.

POST /api/v2/companies/ABC/transactions/DEF/void

The field code is required, but the online documentation did not show it as required. Documentation has been updated to reflect this requirement.

POST /api/v2/accounts/123/resetlicensekey

The fields accountId and confirmResetLicenseKey are required, but the online documentation did not show them as required. Documentation has been updated to reflect this requirement.

Error Messages

Improved JSON parsing error messages to help users with JSON parsing issues.

Added URLs to the error messages to point to the error message developer documentation.

Other Improvements

  • Better error messages when calculating customs duty if you do not have a subscription to Landed Cost/AvaTax Global
  • Sales orders return detailed diagnostic messages, addresses, lines, and summary by default
  • Adjusted wording on authentication headers to point to new documentation
  • Added custom error messages for invalid $filter variables
  • SST certified flag on tax rules defaults to false
  • Internal changes to log more information on API call errors

Happy Halloween!

Recent posts

The 2021 sales tax changes report: midyear update

Your guide to navigating the complicated world of tax compliance and preparing for the future 

The 2021 sales tax changes report: midyear update
2021 MIDYEAR SALES TAX CHANGES

Hear tax and industry experts break down the latest legislative updates and industry trends in our upcoming virtual event.

Stay up to date

Sign up for our free newsletter and stay up to date with the latest tax news.