---
title: "Get TicketBAI submission status"
method: GET
path: "/v1/invoices/{invoiceId}/ticketbai/status"
tags: ["E-Invoicing"]
---

# Get TicketBAI submission status

`GET /v1/invoices/{invoiceId}/ticketbai/status`

## Request

- Base URL: `https://api.frihet.io`
- URL: `https://api.frihet.io/v1/invoices/{invoiceId}/ticketbai/status`
- Auth: API key in header `X-API-Key`

Read the TicketBAI submission record for a previously submitted invoice.
Returns accepted/rejected status, CSV, identifier, and QR URL from Firestore.

**Trust Area: COMPLIANCE** — Requires owner role or API key with `einvoice:*` scope.

## Path parameters

- `invoiceId` string, required

## Response `200`

TicketBAI submission status

- object
  - `data` object
    - `accepted` boolean
    - `csv` string: CSV de verificación (read from Firestore, never fabricated)
    - `tbaiIdentifier` string
    - `estado` string: accepted | rejected
    - `qrUrl` string, nullable
    - `submittedAt` string, date-time, nullable
    - `errors` string[], nullable

## Other responses

- `401`: Authentication required or invalid API key
- `403`: Insufficient permissions
- `404`: No TicketBAI submission found for this invoice
- `429`: Rate limit exceeded (100 requests per minute)
- `500`: Internal server error

---

[API](https://skmtc.dev/frihet/apis/frihet-api.md) · [All operations](https://skmtc.dev/frihet/apis/frihet-api/llms.txt) · [OpenAPI document](https://skmtc.dev/frihet/apis/frihet-api/revisions/3dd37f6a72d1?raw)
