<commit_before>---
layout: post
title: REST v2.16.11 Patch Notes
date: 2016-10-31 11:00
author: <NAME>
comments: true
categories: [Sales Tax APIs]
product: blog
doctype: blog
disqus: 1
---

<h2>REST v2.16.11 Patch Notes</h2>

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

<table class="styled-table">
	<tr>
		<th>Sandbox Release Date</th>
		<td>2016-11-02</td>
	</tr>
	<tr>
		<th>Production Release Date</th>
		<td>2016-11-09</td>
	</tr>
</table>

<h3>/api/v2/taxrates</h3>

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

<h3>POST /api/v2/transactions/create</h3>

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:

<ul class="normal">
	<li>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']</li>
</ul>

Added new fields on the result transaction model:

<ul class="normal">
	<li>messages (Array[AvaTaxMessage], optional): List of informational and warning messages regarding this API call. These messages are only relevant to the current API call.</li>
</ul>

Added new fields on the result detail model:

<ul class="normal">
	<li>UnitOfBasis (number, optional) - Indicates the type of unit that was used for calculating the tax.</li><commit_msg>Typos and reformatting release dates<commit_after>---
layout: post
title: REST v2.16.11 Patch Notes
date: 2016-10-31 11:00
author: <NAME>
comments: true
categories: [Sales Tax APIs]
product: blog
doctype: blog
disqus: 1
---

<h2>REST v2.16.11 Patch Notes</h2>

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

<table class="styled-table">
	<tr>
		<th>Environment</th>
		<th>Release Date</th>
	</tr>
	<tr>
		<td>Sandbox</td>
		<td>2016-11-02</td>
	</tr>
	<tr>
		<td>Production</td>
		<td>2016-11-09</td>
	</tr>
</table>

<h3>POST /api/v2/taxrates</h3>

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

<h3>POST /api/v2/transactions/create</h3>

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:

<ul class="normal">
	<li>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']</li>
</ul>

Added new fields on the result transaction model:

<ul class="normal">
	<li>messages (Array[AvaTaxMessage], optional): List of informational and warning messages regarding this API call. These messages are only relevant to the current API call.</li>
</ul>

Added new fields on the result detail model:

<ul class="normal">
	<li>UnitOfBasis (number, optional) - Indicates the type of unit that was used for calculating the tax.</li>
{'fraction_non_alphanumeric': 0.11836065573770492, 'fraction_numerical': 0.03409836065573771, 'mean_word_length': 4.390459363957597, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 0, '>': 73, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5891742', 'n_tokens_mistral': 1073, 'n_tokens_neox': 981, 'n_words': 387}