Avalara · JSON Structure

Avatax Rest Refund Transaction Model Structure

RefundTransactionModel schema from Avalara API

Type: object Properties: 5 Required: 3
Taxes

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

Properties

refundTransactionCode refundDate refundType refundPercentage refundLines

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-refund-transaction-model-structure.json",
  "description": "RefundTransactionModel schema from Avalara API",
  "type": "object",
  "required": [
    "refundTransactionCode",
    "refundDate",
    "refundType"
  ],
  "properties": {
    "refundTransactionCode": {
      "type": "string"
    },
    "refundDate": {
      "type": "date"
    },
    "refundType": {
      "type": "string",
      "enum": [
        "Full",
        "Partial",
        "Percentage",
        "TaxOnly"
      ]
    },
    "refundPercentage": {
      "type": "double"
    },
    "refundLines": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "name": "RefundTransactionModel"
}