# Cross-Border Tax Advice

> Answers a cross-border tax question for an accountant, such as transfer pricing, treaty relief, withholding, permanent establishment, controlled foreign…

POST /api/v1/skills/tax.international.advise/invoke

Answers a cross-border tax question for an accountant, such as transfer pricing, treaty relief, withholding, permanent establishment, controlled foreign company rules or structuring. Send a topic that describes the question, and optionally the home and counterparty jurisdictions, the issue type and client context. Returns advice with citations, a confidence score and caveats.

Body parameters

topic string Required

The cross-border tax question to answer, in plain language, up to 5000 characters.

home_jurisdiction enum

Jurisdiction where the client is based, as a two-letter code: AU, GB, CA, US or NZ.

AU GB CA US NZ

counterparty_jurisdiction enum

Jurisdiction of the other party to the transaction, as a two-letter code: AU, GB, CA, US or NZ.

AU GB CA US NZ

issue_type enum

Kind of cross-border issue the question raises, which narrows the rules the advice draws on.

transfer_pricing withholding treaty permanent_establishment cfc_rules structure

client_context object

Free-form facts about the client and the transaction that bear on the answer.

Returns

Skill executed successfully

skill string Required

Example advise_international_tax

output object Required

output.stub_fields array of strings

output.warnings array of strings

output.advice string · default

output.citations array of values

output.confidence number · default 0

output.caveats array of strings

correlation_id string Required

Errors

Status Type When

401 AUTH.TOKEN_INVALID Authentication required

403 PERMISSION.CAPABILITY_DENIED Insufficient permissions

404 SKILL.NOT_FOUND Skill not found

422 VALIDATION.INVALID_FORMAT Validation error

429 RATE_LIMIT.USER Rate limit exceeded

5XX INTERNAL.UNKNOWN Internal server error

[Previous ← GST, VAT, Sales Tax, HST, QST, Use-Tax Advice](https://heyarchie.com/en-gb/developers/api-reference/advisory/gst-vat-sales-tax-hst-qst-use-tax-advice/)[Next Estimate Quarterly →](https://heyarchie.com/en-gb/developers/api-reference/advisory/estimate-quarterly/)

```
curl https://uk.heyarchie.com/api/v1/skills/tax.international.advise/invoke \
  -X POST \
  -H "Authorization: Bearer sk_..." \
  -H "Content-Type: application/json" \
  -d '{
       "topic": "string",
       "home_jurisdiction": null,
       "counterparty_jurisdiction": null,
       "issue_type": null,
       "client_context": {}
     }'
```

```
from heyarchie import Archie
archie = Archie(api_key="sk_...")
result = archie.skills.invoke(
    "tax.international.advise",
    topic="string",
    home_jurisdiction=None,
    counterparty_jurisdiction=None,
    issue_type=None,
    client_context={},
)
print(result)
```

```
import { Archie } from "heyarchie";

const archie = new Archie({ apiKey: "sk_..." });
const result = await archie.skills.invoke("tax.international.advise", {
  "topic": "string",
  "home_jurisdiction": null,
  "counterparty_jurisdiction": null,
  "issue_type": null,
  "client_context": {}
});
console.log(result);
```

Response

```
{
  "skill": "advise_international_tax",
  "output": {
    "advice": "Royalties paid from the United Kingdom to a United States licensor are normally paid without UK withholding where the treaty applies and the licensor has given the payer the documents that confirm treaty relief.",
    "caveats": [
      "Confirm the licensor is the beneficial owner of the royalties.",
      "Treaty relief needs the licensor's residence to be evidenced."
    ],
    "citations": [
      {
        "confidence": 0.84,
        "section": "Royalties article",
        "standard": "UK-US double taxation convention"
      }
    ],
    "confidence": 0.8
  },
  "correlation_id": "<string>"
}
```

```
{
  "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.
