# Get settlement report

`GET /public/api/v1/Outlets/{outletId}/SettlementReports/{settlementReportId}`

Voucher API · SettlementReports · base URL `https://voucher-api.ancon.io` · auth: `Access-Token` header · docs: https://ancon.dev/api/voucher/settlement-reports/get-settlement-report

## Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `outletId` | string (uuid) | yes |  |
| `settlementReportId` | string (uuid) | yes |  |

## Header parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `correlationId` | string | no | Correlation Id for the request |

## Responses

| Status | Description |
| --- | --- |
| 200 | OK |
| 401 | Unauthorized |
| 404 | Not Found |

### 200 response (`application/json`)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `voucherModel` | object or null | no |  |
| `voucherModel.publishedDate` | string (date-time) | no |  |
| `voucherModel.description` | string or null | no |  |
| `voucherModel.voucherSeries` | string or null | no |  |
| `voucherModel.voucherNumber` | string or null | no |  |
| `voucherModel.voucherItems` | array<object> or null | no |  |
| `voucherModel.voucherItems[].account` | integer (int64) | no |  |
| `voucherModel.voucherItems[].debit` | number (double) or null | no |  |
| `voucherModel.voucherItems[].credit` | number (double) or null | no |  |
| `voucherModel.voucherItems[].costCenter` | string or null | no |  |
| `voucherModel.voucherItems[].project` | string or null | no |  |
| `voucherModel.voucherItems[].custom1` | string or null | no |  |
| `voucherModel.voucherItems[].custom2` | string or null | no |  |
| `voucherModel.voucherItems[].custom3` | string or null | no |  |
| `voucherModel.voucherItems[].custom4` | string or null | no |  |

#### Example

```json
{
  "voucherModel": {
    "publishedDate": "2026-10-23T14:33:35.1228252Z",
    "description": "description",
    "voucherSeries": "F",
    "voucherNumber": "1234",
    "voucherItems": [
      {
        "account": 1000,
        "debit": 0,
        "credit": 100,
        "costCenter": "POSg1",
        "project": "PG2",
        "custom1": "custom1",
        "custom2": "custom2",
        "custom3": "custom3",
        "custom4": "custom4"
      },
      {
        "account": 1800,
        "debit": 232,
        "credit": 0,
        "costCenter": "CQA1",
        "project": "PQA",
        "custom1": "custom1",
        "custom2": "custom2",
        "custom3": "custom3",
        "custom4": "custom4"
      }
    ]
  }
}
```

### 404 response (`application/json`)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `message` | string or null | no |  |
| `errorCode` | string (uuid) | no |  |

#### Example (from schema)

```json
{
  "message": "string",
  "errorCode": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
```

## Example request

```bash
curl -X GET "https://voucher-api.ancon.io/public/api/v1/Outlets/{outletId}/SettlementReports/{settlementReportId}" \
  -H "Access-Token: $ANCON_TOKEN"
```
