Avalara · JSON Structure

Avatax Rest Adjust Transaction Model Structure

AdjustTransactionModel schema from Avalara API

Type: object Properties: 3 Required: 2
Taxes

AdjustTransactionModel is a JSON Structure definition published by Avalara, describing 3 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

adjustmentReason adjustmentDescription newTransaction

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-adjust-transaction-model-structure.json",
  "description": "AdjustTransactionModel schema from Avalara API",
  "type": "object",
  "required": [
    "adjustmentReason",
    "newTransaction"
  ],
  "properties": {
    "adjustmentReason": {
      "type": "string",
      "enum": [
        "NotAdjusted",
        "SourcingIssue",
        "ReconciledWithGeneralLedger",
        "ExemptCertApplied",
        "PriceAdjusted",
        "ProductReturned",
        "ProductExchanged",
        "BadDebt",
        "Other"
      ]
    },
    "adjustmentDescription": {
      "type": "string"
    },
    "newTransaction": {
      "$ref": "#/components/schemas/CreateTransactionModel"
    }
  },
  "name": "AdjustTransactionModel"
}