# Check your fiscal status from your agent

**The job:** know whether your invoices comply with the anti-fraud regulation without reviewing them one by one. You ask your agent.

Frihet is integrated with VeriFactu and TicketBAI in production. The [Frihet MCP server](/desarrolladores/mcp-server) lets you check fiscal status and generate e-invoices from the conversation. Requires [your agent connected](./conectar-tu-agente).

## Generate an e-invoice

```
"Generate the e-invoice for invoice F-2026-089"
```

Your agent calls `get_invoice_einvoice` and returns the XML in EN16931 format, the European e-invoicing standard.

## Check compliance

The MCP's fiscal category covers VeriFactu and TicketBAI, plus forms 303, 130, 390, 180 and 347. You can ask about the system's status:

```
"Are my invoices being registered with VeriFactu?"
"Do I have TicketBAI active?"
```

The agent checks your account's fiscal configuration and tells you which regime you're in and whether registration is active.

## Full fiscal context

To understand your situation at a glance:

```
"Give me the business context: tax regime and configuration"
```

The agent uses `get_business_context`, which returns your fiscal profile, zone (mainland, Canary Islands with IGIC, Basque Country with TicketBAI...) and configuration. From there, any tax question starts from real data.

## Important

VeriFactu and TicketBAI are registration mechanisms that operate on your issued invoices. The agent reports the **status**; immutability and registration are guaranteed by Frihet at the moment of issuing. Invoices already registered cannot be altered.

## What's behind it

E-invoice generation is among the 12 invoicing tools; the rest of the fiscal capabilities are in the MCP's Fiscal category. Reference in [MCP server → Available tools](/desarrolladores/mcp-server#available-tools).

## Next

- [Close your quarter by chat](./cierre-trimestral-por-chat)
- [Automate your invoicing with your AI assistant](./automatiza-facturacion)

More on compliance: [VeriFactu](/cumplimiento/verifactu), [TicketBAI (Basque Country)](/cumplimiento/ticketbai-pais-vasco) and [E-invoicing](/facturacion/factura-electronica).
