---
title: "Get Account Document by ID and Type"
method: GET
path: "/accounts/{accountId}/documents/{fileName}"
tags: ["accounts"]
---

# Get Account Document by ID and Type

`GET /accounts/{accountId}/documents/{fileName}`

## Request

- Base URL: `https://onboarding-api.lemonway.com`
- URL: `https://onboarding-api.lemonway.com/accounts/{accountId}/documents/{fileName}`
- Auth: HTTP bearer

Fetches a previously uploaded document for a given account.

The account is identified by its UUID (`accountId`), and the document by its name or logical identifier (`documentName`).

### Conditions
- The account must be fully onboarded and accepted.
- Document retrieval will fail if onboarding is incomplete or the account has not been approved.

### List of available documents
- ApplicationForm (`APPLICATION_FORM`)
- ArticlesOfAssociation (`ARTICLES_OF_ASSOCIATION`)
- BoardMembersInformation (`BOARD_MEMBERS_INFORMATION`)
- Brochure (`BROCHURE`)
- CompanyRegistry (`COMPANY_REGISTRY`)
- DrivingLicense (`DRIVING_LICENSE`)
- EvidenceFile (`EVIDENCE_FILE`)
- FamilyDocument (`FAMILY_DOCUMENT`)
- LegalCapacityDocument (`LEGAL_CAPACITY_DOCUMENT`)
- LegalRepresentativeDocument (`LEGAL_REPRESENTATIVE_DOCUMENT`)
- MotionCapture (`MOTION_CAPTURE`)
- NationalIdentityCard (`NATIONAL_IDENTITY_CARD`)
- OfficialNotice (`OFFICIAL_NOTICE`)
- Other (`OTHER`)
- Passport (`PASSPORT`)
- ProofOfAddress (`PROOF_OF_ADDRESS`)
- ProofOfBankInformation (`PROOF_OF_BANK_INFORMATION`)
- PublicationExcerpt (`PUBLICATION_EXCERPT`)
- ResidencePermit (`RESIDENCE_PERMIT`)
- ShareholdingStructureDocumentation (`SHAREHOLDING_STRUCTURE_DOCUMENTATION`)
- SignedDocument (`SIGNED_DOCUMENT`)
- TaxNotice (`TAX_NOTICE`)
- UboDocument (`UBO_DOCUMENT`)

## Path parameters

- `accountId` string, required
- `fileName` string, required

## Response `200`

Returns the file content of the requested document

## Other responses

- `400`: The request is invalid — missing parameters or file, or file format is not supported
- `401`: Authentication failed — missing or invalid authentication token
- `404`: The specified onboarding session or account could not be found
- `500`: An unexpected error occurred on the server

---

[API](https://skmtc.dev/lemonway/apis/account-onboarding-management-api.md) - [All operations](https://skmtc.dev/lemonway/apis/account-onboarding-management-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lemonway/apis/account-onboarding-management-api/revisions/cd81a3b18d83?raw)
