Avalara Developer Network Developer communications

Chapter 5.2.1 - Commit Request

Commit Request

The CommitRequest object contains the Document Code and optional field data to override in reports:

Key Value
doc [string] Document Code
The Document Code is a unique string that is used to Commit or Uncommit transactions
cmmt [bool] Commit
Indicates if invoice should be committed as soon as it is processed.
opt [KeyValuePair] Optional Fields
A list of Optional Fields to apply to this invoice.


Example

{
  "doc": "DocumentCode12345",
  "cmmt": true,
  "opt": [
  {
      // Key Value Pair
    }
  ]
}