AlmondTill/G3N API

reactivateTaxRegistration

mutation · in the family Tax registration

What it does

Reactivate your tax registration in a jurisdiction — the legal basis for collecting there — bring a deactivated record back into use.

Reactivate a TaxRegistration by id; requires the unrestricted capability + the record's current revision. Deny-by-default + the authority / occ guards. The optional reason rides the transition events.

Before you call

A bearer session from an API key (see Authentication and key hygiene) or a signed-in user.

Capability area: Privacy and compliance — Tax and fiscal configuration, certificates and privacy requests.

Roles that may call it:

Arguments

NameTypeRequiredNotes
idID ID!yesThe id of the record.
revisionID ID!yesThe revision id you read on the record; the change is refused if an edit landed in the meantime.
reasonStringno

Concurrency

Send the record’s current revision from your last read as revision. A stale revision is refused as CONFLICT/REVISION_STALE — read the record again and retry with the new value.

Returns

TaxRegistration TaxRegistration! — A tax registration — the org's nexus declaration for ONE jurisdiction: tax computes only where the org holds an active registration (the calc gate). The operational semantics: active = the org collects there · inactive = a lapsed/suspended registration (resumable) · doomed = deregistered. ONE live registration per (org × jurisdiction) — the pair marker; the pair is immutable at birth (re-register = create + doom). jurisdictionId refs the shared canonical tree. Physical-nexus seeding from PFLs and economic-nexus tracking are spec-deferred.

Example request

graphql
mutation ExampleReactivateTaxRegistration($id: ID!, $revision: ID!, $reason: String) {
  reactivateTaxRegistration(id: $id, revision: $revision, reason: $reason) {
    id
    sysId
    type
    caption
    status
    parentId
    rootId
    createdAt
    updatedAt
    revisionNum
    revision
    jurisdictionId
    registrationNumber
    code
  }
}

Variables:

json
{
  "id": "01900000-0000-7000-8000-46afe4c30000",
  "revision": "01900000-0000-7000-8000-b7960e180000",
  "reason": "Correcting a miscount."
}

Send it with the envelope naming the version: "extensions": {"at": {"version": {"name":"genesis","number":0}}}.

Example response

json
{
  "data": {
    "reactivateTaxRegistration": {
      "id": "01900000-0000-7000-8000-46afe4c30000",
      "sysId": "TN-EXMP-0000-000F",
      "type": "TaxRegistration",
      "caption": "Blue jeans",
      "status": "active",
      "parentId": "01900000-0000-7000-8000-eacdfcfd0000",
      "rootId": "01900000-0000-7000-8000-a1295a650000",
      "createdAt": "2027-01-31T00:00:00.000Z",
      "updatedAt": "2027-01-31T00:00:00.000Z",
      "revisionNum": 1,
      "revision": "01900000-0000-7000-8000-53c6eea90000",
      "jurisdictionId": "01900000-0000-7000-8000-9036cec80000",
      "registrationNumber": "<registration number>",
      "code": "BJ-001"
    }
  },
  "extensions": {
    "at": {
      "callId": "01EXAMPLE-CALL-ID",
      "version": {
        "requested": {
          "name": "genesis",
          "number": 0
        },
        "serviced": {
          "name": "genesis",
          "number": 0
        }
      }
    }
  }
}

Errors this call can answer