← API reference
CANONICAL TYPE REFERENCE

TaxCodeState

A tax rate configuration (e.g. Standard VAT, Zero-Rated, Exempt)

Unique identifier

nameString!

Display name, e.g. 'UK Standard VAT'

codeString!

Short code, e.g. 'GB_STD' — unique per tenant

rateFloat!

Tax rate as a decimal (0.0–1.0, e.g. 0.20 for 20%)

ISO country/region, e.g. 'GB', 'DE'

Optional description

isDefaultBoolean!

Applied when no taxCodeId is set on a line

isActiveBoolean!

Whether this tax code is available for use

createdAtString!

Creation timestamp (ISO8601)

updatedAtString!

Last update timestamp (ISO8601)

View exact SDL
"""A tax rate configuration (e.g. Standard VAT, Zero-Rated, Exempt)"""
type TaxCodeState @iac_resource(name: "tax_code") @iac_ops(create: "createTaxCode", read: "getTaxCode", update: "updateTaxCode", delete: "deleteTaxCode") {
  """Unique identifier"""
  id: TaxCodeID! @iac_identity(assignedBy: SERVER) @iac_computed
  """Display name, e.g. 'UK Standard VAT'"""
  name: String!
  """Short code, e.g. 'GB_STD' — unique per tenant"""
  code: String!
  """Tax rate as a decimal (0.0–1.0, e.g. 0.20 for 20%)"""
  rate: Float!
  """ISO country/region, e.g. 'GB', 'DE'"""
  jurisdiction: String
  """Optional description"""
  description: String
  """Applied when no taxCodeId is set on a line"""
  isDefault: Boolean!
  """Whether this tax code is available for use"""
  isActive: Boolean!
  """Creation timestamp (ISO8601)"""
  createdAt: String! @iac_computed
  """Last update timestamp (ISO8601)"""
  updatedAt: String! @iac_computed
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.