# A PDF of a version with every tier, restricted rows tagged, the signature and the QR code

> `GET /batteries/{batteryId}/passport/versions/{versionNo}/pdf` · Scope: `read` · operationId `exportPassportPdf`

Any member.

## Pfad-Parameter

- **batteryId** `string (uuid)` (erforderlich)
- **versionNo** `integer` (erforderlich)

## Query-Parameter

- **lang** `string` (einer von: `de`, `en`): Preferred language for emails and the portal.

## Antworten

### 200 (`application/pdf`)

The PDF.

`any`

### 400 (`application/problem+json`)

The request is malformed or failed validation (`validation_error`), or a token is invalid or expired (`invalid_token`).

### 401 (`application/problem+json`)

The API key is missing, unknown or revoked (`unauthenticated`).

### 403 (`application/problem+json`)

The API key may not perform this action (`forbidden`): it lacks the operation's scope, or the action needs more than a viewer's rights.

### 404 (`application/problem+json`)

The resource does not exist in the organisation of the API key, or the public passport is unknown (`not_found`).

### default (`application/problem+json`)

Any other problem, e.g. `internal_error`.

## Beispiel

```bash title="cURL"
curl -X GET "https://passport.kabin.sh/api/v1/batteries/{batteryId}/passport/versions/{versionNo}/pdf" \
  -H "Authorization: Bearer $BATTERYPASS_API_KEY"
```
