AlmondTill/G3N API

exemptionCertificate

query · in the family Exemption certificate

What it does

Look up one record — a customer’s tax-exemption certificate.

One ExemptionCertificate by id. The record must belong to your organization group; an id from another group reads as not found.

Before you call

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

Capability area: Reading your records — Looking up and listing the records of your organization.

Roles that may call it:

What happens

Reads only — changes nothing.

Arguments

NameTypeRequiredNotes
idID ID!yesThe id of the record.

Returns

ExemptionCertificate — A tax-exemption certificate — a captured legal document: a valid in-scope cert zeroes tax at sale for its covered jurisdictions/categories. Parent = the org group, fixed at birth. Capture is inline. The capture is immutable except caption/code/docRef — correct anything else by revoking and re-capturing. active → expired is scheduled; revoke and doom are the caller ops.

Example request

graphql
query ExampleExemptionCertificate($id: ID!) {
  exemptionCertificate(id: $id) {
    id
    sysId
    type
    caption
    status
    parentId
    rootId
    createdAt
    updatedAt
    revisionNum
    revision
    certType
    certificateNumber
    holderName
    jurisdictionIds
    categoryIds
    expiresAt
    docRef
    orgCustomerId
    code
  }
}

Variables:

json
{
  "id": "01900000-0000-7000-8000-b793be5b0000"
}

Example response

json
{
  "data": {
    "exemptionCertificate": {
      "id": "01900000-0000-7000-8000-b793be5b0000",
      "sysId": "XC-EXMP-0000-000F",
      "type": "ExemptionCertificate",
      "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",
      "certType": "resale",
      "certificateNumber": "<certificate number>",
      "holderName": "Blue jeans",
      "jurisdictionIds": [
        "01900000-0000-7000-8000-9036cec80000"
      ],
      "categoryIds": [
        "standard"
      ],
      "expiresAt": "2028-01-31T00:00:00.000Z",
      "docRef": "<doc ref>",
      "orgCustomerId": "01900000-0000-7000-8000-7c3b96a50000",
      "code": "BJ-001"
    }
  },
  "extensions": {
    "at": {
      "callId": "01EXAMPLE-CALL-ID",
      "version": {
        "requested": null,
        "serviced": {
          "name": "genesis",
          "number": 0
        }
      }
    }
  }
}

Errors this call can answer