---
title: "Download an output package file"
method: GET
path: "/outputs/{output_id}/files/{role}"
tags: ["Filings"]
---

# Download an output package file

`GET /outputs/{output_id}/files/{role}`

## Request

- Base URL: `https://api.app.lastaccountingcompany.com/portal`
- URL: `https://api.app.lastaccountingcompany.com/portal/outputs/{output_id}/files/{role}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/lastaccountingcompany/apis/lac-customer-api/docs/outputs/:output_id/files/:role/get.ts> (a function with typed inputs; its response is checked against the schema)

Downloads one file of an output package by role: `excel`, `pdf`, `json`, or `instructions`. Returns raw file bytes with the appropriate content type.

## Path parameters

- `output_id` string, required
- `role` 'excel' | 'pdf' | 'json' | 'instructions', required

## Query parameters

- `customer_id` string

## Response `200`

File bytes.

## Other responses

- `401`: Missing or invalid bearer token.
- `403`: Insufficient scope or role — e.g. a read-scoped key on a mutating method, or an API key on an admin/approver-only endpoint.

---

[API](https://skmtc.dev/lastaccountingcompany/apis/lac-customer-api.md) - [All operations](https://skmtc.dev/lastaccountingcompany/apis/lac-customer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lastaccountingcompany/apis/lac-customer-api/revisions/52e277b4f031?raw)
