Skills › Advisory
GST, VAT, Sales Tax, HST, QST, Use-Tax Advice
POST/api/v1/skills/tax.indirect.advise/invoke
Answers an indirect tax question for an accountant on GST, VAT, sales tax, HST, QST or use tax, under the rules of the chosen jurisdiction. Send a topic that describes the question, and optionally the jurisdiction, the indirect tax type and client context. Returns advice with citations, a confidence score and caveats.
Body parameters
topicstringRequired
The indirect tax question to answer, in plain language, up to 5000 characters.
jurisdictionenum
Jurisdiction whose indirect tax rules apply, as a two-letter code: AU, GB, CA, US or NZ.
AUGBCAUSNZ
indirect_tax_typeenum
Kind of indirect tax the question concerns, which narrows the rules the advice draws on.
gstvatsales_taxhstqstuse_tax
client_contextobject
Free-form facts about the client and the supply that bear on the answer.
Returns
Skill executed successfully
skillstringRequired
Example advise_indirect_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
correlation_idstringRequired
Errors
StatusTypeWhen
401AUTH.TOKEN_INVALID Authentication required
403PERMISSION.CAPABILITY_DENIED Insufficient permissions
404SKILL.NOT_FOUND Skill not found
422VALIDATION.INVALID_FORMAT Validation error
429RATE_LIMIT.USER Rate limit exceeded
5XXINTERNAL.UNKNOWN Internal server error
curl https://uk.heyarchie.com/api/v1/skills/tax.indirect.advise/invoke \ -X POST \ -H "Authorization: Bearer sk_..." \ -H "Content-Type: application/json" \ -d '{ "topic": "string", "jurisdiction": null, "indirect_tax_type": null, "client_context": {} }'
from heyarchie import Archie archie = Archie(api_key="sk_...") result = archie.skills.invoke( "tax.indirect.advise", topic="string", jurisdiction=None, indirect_tax_type=None, client_context={}, ) print(result)
import { Archie } from "heyarchie";
const archie = new Archie({ apiKey: "sk_..." });
const result = await archie.skills.invoke("tax.indirect.advise", {
"topic": "string",
"jurisdiction": null,
"indirect_tax_type": null,
"client_context": {}
});
console.log(result);Response
{
"skill": "advise_indirect_tax",
"output": {
"advice": "Goods exported from Australia to a customer overseas are generally GST-free, so the company should not charge GST on the shipment as long as it holds the export evidence and ships within the time limit.",
"caveats": [
"Keep the shipping documents and proof of payment for the record.",
"The GST-free treatment depends on the goods leaving Australia in time."
],
"citations": [
{
"confidence": 0.88,
"section": "GST-free exports",
"standard": "A New Tax System (Goods and Services Tax) Act 1999"
}
],
"confidence": 0.83
},
"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.