TaxCodeState
A tax rate configuration (e.g. Standard VAT, Zero-Rated, Exempt)
Fields
Unique identifier
Display name, e.g. 'UK Standard VAT'
Short code, e.g. 'GB_STD' — unique per tenant
Tax rate as a decimal (0.0–1.0, e.g. 0.20 for 20%)
ISO country/region, e.g. 'GB', 'DE'
Optional description
Applied when no taxCodeId is set on a line
Whether this tax code is available for use
Creation timestamp (ISO8601)
Last update timestamp (ISO8601)
Referenced by (3)
Exact type 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
}