{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/monite/json-schema/monite-accounting-tax-rate-response-schema.json",
  "title": "AccountingTaxRateResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/monite-accounting-tax-rates-api-openapi.yml#/components/schemas/AccountingTaxRateResponse",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp when the tax rate was created."
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp when the tax rate was last updated."
    },
    "code": {
      "type": "string",
      "description": "Code for the tax rate from the accounting platform."
    },
    "components": {
      "items": {
        "$ref": "#/$defs/TaxComponentResponse"
      },
      "type": "array"
    },
    "description": {
      "type": "string",
      "description": "Description of the tax rate"
    },
    "effective_tax_rate": {
      "type": "integer",
      "description": "Effective tax rate in percent [minor units](https://docs.monite.com/references/currencies#minor-units). Example: 12.5% is 1250."
    },
    "is_external": {
      "type": "boolean",
      "description": "Whether the tax rate is from an external system",
      "default": false
    },
    "name": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "total_tax_rate": {
      "type": "integer",
      "description": "Total (not compounded) sum of the components of a tax rate in [minor units](https://docs.monite.com/references/currencies#minor-units). Example: 12.5% is 1250."
    }
  },
  "type": "object",
  "required": [
    "id",
    "created_at",
    "updated_at"
  ],
  "$defs": {
    "TaxComponentResponse": {
      "properties": {
        "is_compound": {
          "type": "boolean",
          "description": "A flag to indicate with the tax is calculated using the principle of compounding."
        },
        "name": {
          "type": "string"
        },
        "rate": {
          "type": "integer",
          "description": "Component tax rate in percent [minor units](https://docs.monite.com/references/currencies#minor-units). Example: 12.5% is 1250."
        }
      },
      "type": "object"
    }
  }
}