# CommitTransactions

Calculate taxes on a transaction

`POST /api/v1/CommitTransactions`

**API:** SaasPro
**Tag:** Commit
**API Version:** v1
**Content-Type:** `application/json`
**Accepts:** `text/plain`
**Authentication:** Basic (username + license key)

Source: https://developer.avalara.com/products/communications/api/v1-deprecated/methods/Commit/CommitTransactions/

## Description

This method accepts transaction data and performs appropriate tax calculations.

## Request Body

**Schema:** `CommitData`

| Property | Type | Required | Description |
|---|---|---|---|
| `DocumentCode` | string | No |  |
| `Committed` | boolean | No |  |
| `CustomerNumber` | string | No |  |
| `InvoiceNumber` | integer | No |  |
| `Optional` | integer | No |  |
| `Optional4` | integer | No |  |
| `Optional5` | integer | No |  |
| `Optional6` | integer | No |  |
| `Optional7` | integer | No |  |
| `Optional8` | integer | No |  |
| `Optional9` | integer | No |  |
| `Optional10` | integer | No |  |
| `OptionalAlpha1` | string | No |  |
| `OptionalFields` | OptionalField[] | No |  |

## Responses

| Status | Description | Schema |
|---|---|---|
| 200 | Success |  |