Invoke Skill Tax Indirect Advise
post
/api/v1/skills/tax.indirect.advise/invokeGST, VAT, sales tax, HST, QST, use-tax advice by jurisdiction.
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.
Request bodyapplication/json
| Field | Type | Description |
|---|---|---|
topicrequired | string | The indirect tax question to answer, in plain language, up to 5000 characters. |
jurisdiction | "AU" | "GB" | "CA" | "US" | "NZ" | null | Jurisdiction whose indirect tax rules apply, as a two-letter code: AU, GB, CA, US or NZ. |
indirect_tax_type | "gst" | "vat" | "sales_tax" | "hst" | "qst" | "use_tax" | null | Kind of indirect tax the question concerns, which narrows the rules the advice draws on. |
client_context | object | Free-form facts about the client and the supply that bear on the answer.show nestedEmpty object. |
Responses
200Skill executed successfully
| Field | Type | Description | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
skillrequired | string | β | |||||||||||||||||||||
outputrequired | object | βshow nested
| |||||||||||||||||||||
correlation_idrequired | string | β |
401Authentication required
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | βshow nested
|
403Insufficient permissions
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | βshow nested
|
404Skill not found
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | βshow nested
|
429Rate limit exceeded
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | βshow nested
|
5XXInternal server error
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | βshow nested
|
curl https://api.dev.arch.ie/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": {}
}'