<commit_before>---
layout: page
title: Samples & Libraries
product: avaTax
doctype: use_cases
nav: apis
community: samples
---
<h2>Sample Code and Libraries</h2>
<p>Code samples are designed to help you get started in writing correct code to interface with the Avalara AvaTax APIs. You can do this from a myriad of languages and frameworks and most of them are listed below. You will find officially supported libraries and those that are contributed by our community.</p>
<p>These libraries are open source, and are released as such. If you have located a bug or have questions, please visit the Github repositories that are associated with the sample code and provide feedback there.</p>
<table class="styled-table">
	<thead>
		<tr>
            <th>Language</th>
            <th>REST v2 API</th>
            <th>REST v1 API</th>
            <th>SOAP v1 API</th>
		</tr>
	</thead>
	<tbody>
        <tr>
            <td>PHP</td>
            <td><a href="https://github.com/avadev/AvaTaxClientLibrary/blob/master/clients/php">Sample Code</a> | <a href="https://github.com/avadev/AvaTaxClientLibrary/blob/master/clients/php/AvaTaxClient.php">Client Class</a></td>
            <td><a href="https://github.com/avadev/AvaTax-Calc-REST-PHP">Sample</a></td>
            <td><a href="https://github.com/avadev/AvaTax-Calc-SOAP-PHP">Sample</a></td>
        </tr>
        <tr>
            <td>Ruby</td>
            <td></td>
            <td><a href="https://github.com/avadev/AvaTax-Calc-REST-Ruby">Sample</a></td>
            <td><a href="https://github.com/avadev/AvaTax-Calc-SOAP-Ruby">Sample</a></td>
        </tr>
        <tr>
            <td>Java</td>
            <td><a href="https://github.com/avadev/AvaTax-REST-V2-JRE-SDK">Sample Code</a></td>
            <td><a href="https://github.com/avadev/AvaTax-Calc-REST-java">Sample</a></td>
            <td><a href="https://github.com/avadev/AvaTax-Calc-SOAP-Java">Sample</a></td>
        </tr>
        <tr>
            <td>C#</td>
            <td><a href="https://www.nuget.org/packages/Avalara.AvaTax/">NuGet Client</a> | <a href="https://github.com/avadev/AvaTaxClientLibrary/tree/master/examples/dotnet">Sample Code</a> | <a href="http://developer.avalara.com/blog/2016/12/05/csharp-nuget-library/">Getting Started</a></td>
            <td><a href="https://github.com/avadev/AvaTax-Calc-REST-csharp">Sample</a></td>
            <td><a href="https://github.com/avadev/AvaTax-Calc-SOAP-csharp">Sample</a></td>
        </tr>
        <tr>

# REST v2 SDK Library Status

Avalara maintains and publishes SDKs for our current REST v2 API for the following programming languages:

| Client | Version | Status |
|--------|---------|--------|
| C# | [![NuGet](https://img.shields.io/nuget/v/Avalara.AvaTax.svg)](https://www.nuget.org/packages/Avalara.AvaTax/) | Live |
| Java | [![Maven Central](https://maven-badges.herokuapp.com/maven-central/net.avalara.avatax/avatax-rest-v2-api-java_2.11/badge.svg)](https://maven-badges.herokuapp.com/maven-central/net.avalara.avatax/avatax-rest-v2-api-java_2.11) | Live
| JavaScript | | Research |
| PHP | | Research |
| Python | | Research |
| Scala | [![Maven Central](https://maven-badges.herokuapp.com/maven-central/net.avalara.avatax/avatax-rest-v2-api-java_2.11/badge.svg)](https://maven-badges.herokuapp.com/maven-central/net.avalara.avatax/avatax-rest-v2-api-java_2.11) | Live |

# SOAP v1 SDK Library Status

The AvaTax SOAP SDK exists for backward compatibility with older software.  Users are encouraged to upgrade to the REST v2 SDK when possible.

| Client | Version |
|--------|---------|
| C# | [![NuGet](https://img.shields.io/nuget/v/Avalara.AvaTax.SoapClient.svg)](https://www.nuget.org/packages/Avalara.AvaTax.SoapClient/) |
| PHP | [![Packagist](https://img.shields.io/packagist/v/avalara/avatax.svg)](https://packagist.org/packages/avalara/avatax) |

<h2>Partner Managed Samples</h2>

Submit questions or log bugs using the method provided in GitHub.

<ul class="normal">
    <li>PERL - <a href="https://metacpan.org/release/WebService-Avalara-AvaTax">WebService::Avalara::AvaTax</a> - Supported by <NAME> of <a href="http://www.ziprecruiter.com"><img src="/public/images/blog/ziprecruiter_logo.png" alt="ziprecruiter.com" width="98" height="25" /></a></li>
    <li>Python - <a href="https://github.com/activefrequency/pyavatax">PyAvaTax sample</a> - Supported by <a href="http://www.activefrequency.com/">Active Frequency</a></li>
    <li>Node.JS - <a href="https://github.com/Matter-and-Form/node-avatax">Node.js sample</a>, also available on <a href="https://www.npmjs.com/package/avatax">NPM</a> - Supported by <NAME> of <a href="https://matterandform.net/">Matter and Form</a></li>
</ul>
<commit_msg>Update sample-code.md<commit_after>---
layout: page
title: Samples & Libraries
product: avaTax
doctype: use_cases
nav: apis
community: samples
---
<h2>Sample Code and Libraries</h2>
<p>Code samples are designed to help you get started in writing correct code to interface with the Avalara AvaTax APIs. You can do this from a myriad of languages and frameworks and most of them are listed below. You will find officially supported libraries and those that are contributed by our community.</p>
<p>These libraries are open source, and are released as such. If you have located a bug or have questions, please visit the Github repositories that are associated with the sample code and provide feedback there.</p>

# REST v2 SDK Library Status

Avalara maintains and publishes SDKs for our current REST v2 API for the following programming languages:

| Language | SDK | Status |
|----------|-----|--------|
| C# | [![NuGet](https://img.shields.io/nuget/v/Avalara.AvaTax.svg)](https://www.nuget.org/packages/Avalara.AvaTax/) | Live |
| Java | [![Maven Central](https://maven-badges.herokuapp.com/maven-central/net.avalara.avatax/avatax-rest-v2-api-java_2.11/badge.svg)](https://maven-badges.herokuapp.com/maven-central/net.avalara.avatax/avatax-rest-v2-api-java_2.11) | Live
| JavaScript | | Research |
| PHP | | Research |
| Python | | Research |
| Scala | [![Maven Central](https://maven-badges.herokuapp.com/maven-central/net.avalara.avatax/avatax-rest-v2-api-java_2.11/badge.svg)](https://maven-badges.herokuapp.com/maven-central/net.avalara.avatax/avatax-rest-v2-api-java_2.11) | Live |

# SOAP v1 SDK Library Status

The AvaTax SOAP SDK exists for backward compatibility with older software.  Users are encouraged to upgrade to the REST v2 SDK when possible.

| Language | SDK |
|----------|-----|
| C# | [![NuGet](https://img.shields.io/nuget/v/Avalara.AvaTax.SoapClient.svg)](https://www.nuget.org/packages/Avalara.AvaTax.SoapClient/) |
| PHP | [![Packagist](https://img.shields.io/packagist/v/avalara/avatax.svg)](https://packagist.org/packages/avalara/avatax) |

# Partner Managed Samples

Submit questions or log bugs using the method provided in GitHub.

| Language | SDK | Notes |
|----------|-----|-------|
| Perl | [![CPAN](https://img.shields.io/cpan/v/WebService-Avalara-AvaTax.svg)](https://metacpan.org/release/WebService-Avalara-AvaTax) | Supported by <NAME> of <a href="http://www.ziprecruiter.com"><img src="/public/images/blog/ziprecruiter_logo.png" alt="ziprecruiter.com" width="98" height="25" /></a> |
| Python | [![PyPI](https://img.shields.io/pypi/v/nine.svg?style=plastic)](PyAvaTax) | Supported by <a href="http://www.activefrequency.com/">Active Frequency</a> |
| JavaScript | [![npm](https://img.shields.io/npm/v/npm.svg?style=plastic)](https://www.npmjs.com/package/avatax) | Supported by <NAME> of <a href="https://matterandform.net/">Matter and Form</a> |

{'fraction_non_alphanumeric': 0.17799736495388668, 'fraction_numerical': 0.008695652173913044, 'mean_word_length': 3.5728915662650604, 'pattern_counts': {'":': 0, '<': 134, '<?xml version=': 0, '>': 134, 'https://': 44, 'lorem ipsum': 0, 'www.': 11, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4971665', 'n_tokens_mistral': 2792, 'n_tokens_neox': 2626, 'n_words': 530}