Avalara · JSON Structure

Avatax Rest Void Transaction Model Structure

VoidTransactionModel schema from Avalara API

Type: object Properties: 1 Required: 1
Taxes

VoidTransactionModel is a JSON Structure definition published by Avalara, describing 1 property, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

code

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/avalara/refs/heads/main/json-structure/avatax-rest-void-transaction-model-structure.json",
  "description": "VoidTransactionModel schema from Avalara API",
  "type": "object",
  "required": [
    "code"
  ],
  "properties": {
    "code": {
      "type": "string",
      "enum": [
        "Unspecified",
        "PostFailed",
        "DocDeleted",
        "DocVoided",
        "AdjustmentCancelled"
      ],
      "description": "Reason for voiding the transaction"
    }
  },
  "name": "VoidTransactionModel"
}