[egulu CLI reference](../index.md) / [egulu ledgers](index.md)

# egulu ledgers verify-receipt

Verify a ledger receipt offline with the public keys you pinned (ADR-0388)

```sh
egulu ledgers verify-receipt <FILE> [options]
```

## Arguments

| Name | Required | Description |
|---|---|---|
| `FILE` | yes | Path to the receipt JSON an append or an entry read returned (the receipt object) |

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--keys` | value | yes | Path to the pinned public keys: {"keys":[{"kid","alg":"ES256","spki"}]} |
| `--ledger` | value | no | The ledger the receipt must be for, as projects/{project}/locations/{location}/ledgers/{ledger} |
| `--payload` | value | no | Optional path to the entry's payload, to check it against the hash the platform signed |

The [global options](../index.md) apply too.
