# GetReportById

Retrieves a report by its unique ID

`GET /reports/{reportId}/status`

**API:** Avalara E-Invoicing API
**Tag:** Reports
**API Version:** 1.6
**Base URL:** https://api.sbx.avalara.com/einvoicing
**Authentication:** Bearer token

Source: https://developer.avalara.com/products/e-invoicing/api/v1.6/methods/Reports/GetReportById/

## Description

Retrieves a specific report by its unique identifier. Returns complete report details including metadata, status, and associated information.

## Parameters

| Name | Type | In | Required | Description |
|---|---|---|---|---|
| `avalara-version` | string | header | Yes | Header that specifies the API version to use (for example "1.6"). |
| `X-Avalara-Client` | string | header | No | Optional header for a client identifier string used for diagnostics (for example "Fingerprint"). |
| `X-Correlation-ID` | string | header | No | Optional correlation identifier provided by the caller to trace the call (for example "f3f0d19a-01a1-4748-8a58-f000d0424f43"). |
| `reportId` |  | path | Yes | The unique ID for this report as returned in a GET /reports response. |
| `$include` | string | query | No | Optional response field to include. Supported value: `availableMediaTypes`. When specified, the field is added to the response. Unsupported values are ignored. |

## Responses

| Status | Description | Schema |
|---|---|---|
| 200 | Report found and returned successfully. | `ReportStatusResponse` |
| 400 | Bad request. | `BadRequest` |
| 401 | Unauthorized. |  |
| 403 | Forbidden. | `ForbiddenError` |
| 404 | Report not found. | `NotFoundError` |

## Example Request

```bash
curl -X GET "https://api.sbx.avalara.com/einvoicing/reports/{reportId}/status" \
  -H "Authorization: Basic <credentials>" \
  -H "Accept: application/json"
```