← All types
In Input object

UpsertTaxCodeInput

Input for creating or updating a tax code

Fields

id

TaxCodeIDOptional

ID for update; omit to create

name

String!Required

Display name (required)

code

String!Required

Short code, unique per tenant (required)

rate

Float!Required

Tax rate 0.0–1.0 (required)

ISO country/region

Optional description

Set as the default tax code for this tenant

Whether active (default: true)

Referenced by (1)
Exact type SDL
"""Input for creating or updating a tax code"""
input UpsertTaxCodeInput {
  """ID for update; omit to create"""
  id: TaxCodeID
  """Display name (required)"""
  name: String!
  """Short code, unique per tenant (required)"""
  code: String!
  """Tax rate 0.0–1.0 (required)"""
  rate: Float!
  """ISO country/region"""
  jurisdiction: String
  """Optional description"""
  description: String
  """Set as the default tax code for this tenant"""
  isDefault: Boolean
  """Whether active (default: true)"""
  isActive: Boolean
}