> For the complete documentation index, see [llms.txt](https://docs.aitax.bot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aitax.bot/implementation/iframe.md).

# Iframe

## Tax Report iframe Docs

The iframe is generated in the official AITax page, under the Tax Report section, below the "Generate Report" button.

You should get an iframe tag like this:

```
<iframe height="600" width="500" src="https://app.aitax.bot/taxreport?c=examplecode&theme=light&radius=0.5rem&color=ffaf20"></iframe>
```

There are 4 parameters you should pass to the iframe URL:

c: This is the generated API key for the iframe, without this, the iframe will block the connection from your site.

**Theme**: You can switch between "dark" and "light" themes. If the value is invalid, it defaults to the light theme. For example "theme=dark".

**Radius**: You can set the border radius of the elements such as inputs, buttons, etc. The number can be set in "px", "rem", or any other CSS value. For example "radius=8px".

**Colour**: You can set the primary color of the button elements, this should be a hexadecimal value but without the "#". For example "color=ffaf20".


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.aitax.bot/implementation/iframe.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
