# 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: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
