AlmondTill/G3N API

NewTaxRegistrationInput

input type

Create-input for a TaxRegistration. The tenant (org group) is derived SERVER-SIDE from the principal; organizationId (the parent — rides the header) is tenant-scoped server-side and must be ACTIVE; jurisdictionId is a SHARED-canonical ref — it must EXIST and be ACTIVE (CONFLICT/REF_STATE naming it) but is deliberately NOT tenant-scoped (shared data is the point); the (org × jurisdiction) pair marker reserves in the SAME transaction (a LIVE holder refuses CONFLICT/IDENTITY_TAKEN naming it; a DOOMED holder is taken over).

Fields

FieldTypeRequiredNotes
captionStringnoOptional: when omitted the per-type default applies — the jurisdiction coordinate ('Registration: <jurisdiction caption>'); when supplied it must be non-blank.
organizationIdID ID!yesThe registering Organization (the containment parent) — tenant-scoped + ACTIVE.
jurisdictionIdID ID!yesThe registered TaxJurisdiction (shared-canonical: exists + ACTIVE; NOT tenant-scoped). The pair is immutable after birth.
registrationNumberStringnoNo further notes.
codeStringnoNo further notes.

Used by