Get tax document link
get_tax_document_linkA link to the year's PDF for the tax office (in the authority's language): the user opens it in the browser they are signed in to Taxinger with.
Only a tax year that has ended has one: a return is filed for a year that is over, so
the year running now has no document for the tax office and no declaration file, and
the link would be refused. Ask for a year that has ended.
A client's year is not a link: which account a download is about is a header the site
sends and an address cannot carry (nothing of a client's is ever in a URL), so this
answers with where their accountant downloads it instead.
Refused while the account's history is still being read, and for a year some of whose
operations are not in its totals: a document for a tax office off a part of a history,
or off a part of a year, is the one thing that must never be handed over.Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"year": "<year>"
},
"name": "get_tax_document_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | The tax year, as the number get_tax_reports gives in ``tax_year``: a year that does not start in January is named by the year it starts in. | |
| client | No | An account this user may read as its accountant (a client's ``user_id`` from list_clients). Left out: their own account, which is every private user's case. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |