Talk with Archie
API reference › Advisory
Skills › Advisory

Get Tax Advice

POST/api/v1/skills/tax.advise/invoke
Answers a tax question for an accountant on income, corporate, capital gains, fringe benefits or stamp duty tax, under the rules of the chosen jurisdiction. Send a topic that describes the question, and optionally the jurisdiction, tax type, tax year and client context. Returns advice with citations, a confidence score and caveats.
Body parameters
topicstringRequired
The tax question to answer, in plain language, up to 5000 characters.
jurisdictionenum
Jurisdiction whose tax rules apply, as a two-letter code: AU, GB, CA, US or NZ.
AUGBCAUSNZ
tax_typeenum
Kind of tax the question concerns, which narrows the rules the advice draws on.
incomecorporatecapital_gainsfringe_benefitsstamp_duty
client_contextobject
Free-form facts about the client that bear on the answer, such as entity name or turnover.
tax_yearstring
Tax year the advice should apply to, for example 2025-26.
Returns

Skill executed successfully

skillstringRequired
Example advise_tax
outputobjectRequired
output.stub_fieldsarray of strings
output.warningsarray of strings
output.advicestring · default
output.citationsarray of values
output.confidencenumber · default 0
output.caveatsarray of strings
output.effective_datestring · date
correlation_idstringRequired
Errors
StatusTypeWhen
401AUTH.TOKEN_INVALIDAuthentication required
403PERMISSION.CAPABILITY_DENIEDInsufficient permissions
404SKILL.NOT_FOUNDSkill not found
422VALIDATION.INVALID_FORMATValidation error
429RATE_LIMIT.USERRate limit exceeded
5XXINTERNAL.UNKNOWNInternal server error
curl https://uk.heyarchie.com/api/v1/skills/tax.advise/invoke \
  -X POST \
  -H "Authorization: Bearer sk_..." \
  -H "Content-Type: application/json" \
  -d '{
       "topic": "string",
       "jurisdiction": null,
       "tax_type": null,
       "client_context": {},
       "tax_year": null
     }'
from heyarchie import Archie
archie = Archie(api_key="sk_...")
result = archie.skills.invoke(
    "tax.advise",
    topic="string",
    jurisdiction=None,
    tax_type=None,
    client_context={},
    tax_year=None,
)
print(result)
import { Archie } from "heyarchie";

const archie = new Archie({ apiKey: "sk_..." });
const result = await archie.skills.invoke("tax.advise", {
  "topic": "string",
  "jurisdiction": null,
  "tax_type": null,
  "client_context": {},
  "tax_year": null
});
console.log(result);
Response
{
  "skill": "advise_tax",
  "output": {
    "advice": "Qualifying plant and machinery bought by the company can usually be relieved against profits through capital allowances, so the purchase should reduce the corporation tax charge for the period.",
    "caveats": [
      "Check that each asset qualifies as plant and machinery.",
      "The allowance limit depends on the accounting period and any group."
    ],
    "citations": [
      {
        "confidence": 0.9,
        "section": "Annual investment allowance",
        "standard": "Capital Allowances Act 2001"
      }
    ],
    "confidence": 0.86,
    "effective_date": "2026-04-06"
  },
  "correlation_id": "<string>"
}
{
  "error": {
    "type": "<string>",
    "code": "<string>",
    "message": "<string>",
    "param": "<string>",
    "retry_after_seconds": "<integer>"
  }
}
{
  "error": {
    "type": "<string>",
    "code": "<string>",
    "message": "<string>",
    "param": "<string>",
    "retry_after_seconds": "<integer>"
  }
}
{
  "error": {
    "type": "<string>",
    "code": "<string>",
    "message": "<string>",
    "param": "<string>",
    "retry_after_seconds": "<integer>"
  }
}

Every response also carries X-Request-ID. Quote it if you write to us about a call.