# Get voucher basis list

`GET /public/api/v1/Outlets/{outletId}/OrderVoucherBases`

Voucher API · VoucherBases · base URL `https://voucher-api.ancon.io` · auth: `Access-Token` header · docs: https://ancon.dev/api/voucher/voucher-bases/get-voucher-basis-list

### Available filter properties
- created (datetime)
- status (enum)
- publisheddate (datetime)
- vouchernumber (int)
- recalculatedat (nullable datetime)
- outletid (guid)

## Path parameters

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

## Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `Offset` | integer (int32) | no |  |
| `Limit` | integer (int32) | no | min 0, max 1000. |
| `Order` | string | no |  |
| `Search` | string | no |  |
| `Filter` | map<string, array<string>> | no |  |

## Header parameters

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

## Responses

| Status | Description |
| --- | --- |
| 200 | OK |
| 401 | Unauthorized |

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

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `items` | array<object> or null | no |  |
| `items[].id` | string (uuid) | no |  |
| `items[].created` | string (date-time) | no |  |
| `items[].voucherNumber` | string or null | no | Unique number for the voucher, will increment each day |
| `items[].status` | integer (int32) | no | Allowed values: `0`, `1`. |
| `items[].publishedDate` | string (date-time) or null | no | The date and time when the voucher basis was published |
| `items[].standardPart` | object or null | no |  |
| `items[].standardPart.paymentMethodAmount` | number (double) | no |  |
| `items[].standardPart.paymentMethodCurrency` | string or null | no |  |
| `items[].standardPart.productGroupAmountInclTax` | number (double) | no |  |
| `items[].standardPart.productGroupCurrencyInclTax` | string or null | no |  |
| `items[].standardPart.productGroupAmountExclTax` | number (double) | no |  |
| `items[].standardPart.productGroupCurrencyExclTax` | string or null | no |  |
| `items[].standardPart.orderFeeAmountInclTax` | number (double) | no |  |
| `items[].standardPart.orderFeeCurrencyInclTax` | string or null | no |  |
| `items[].standardPart.orderFeeAmountExclTax` | number (double) | no |  |
| `items[].standardPart.orderFeeCurrencyExclTax` | string or null | no |  |
| `items[].standardPart.taxAmount` | number (double) | no |  |
| `items[].standardPart.taxCurrency` | string or null | no |  |
| `items[].invoicePart` | object or null | no |  |
| `items[].invoicePart.paymentMethodAmount` | number (double) | no |  |
| `items[].invoicePart.paymentMethodCurrency` | string or null | no |  |
| `items[].invoicePart.productGroupAmountInclTax` | number (double) | no |  |
| `items[].invoicePart.productGroupCurrencyInclTax` | string or null | no |  |
| `items[].invoicePart.productGroupAmountExclTax` | number (double) | no |  |
| `items[].invoicePart.productGroupCurrencyExclTax` | string or null | no |  |
| `items[].invoicePart.orderFeeAmountInclTax` | number (double) | no |  |
| `items[].invoicePart.orderFeeCurrencyInclTax` | string or null | no |  |
| `items[].invoicePart.orderFeeAmountExclTax` | number (double) | no |  |
| `items[].invoicePart.orderFeeCurrencyExclTax` | string or null | no |  |
| `items[].invoicePart.taxAmount` | number (double) | no |  |
| `items[].invoicePart.taxCurrency` | string or null | no |  |
| `items[].mewsPart` | object or null | no |  |
| `items[].mewsPart.paymentMethodAmount` | number (double) | no |  |
| `items[].mewsPart.paymentMethodCurrency` | string or null | no |  |
| `items[].mewsPart.productGroupAmountInclTax` | number (double) | no |  |
| `items[].mewsPart.productGroupCurrencyInclTax` | string or null | no |  |
| `items[].mewsPart.productGroupAmountExclTax` | number (double) | no |  |
| `items[].mewsPart.productGroupCurrencyExclTax` | string or null | no |  |
| `items[].mewsPart.orderFeeAmountInclTax` | number (double) | no |  |
| `items[].mewsPart.orderFeeCurrencyInclTax` | string or null | no |  |
| `items[].mewsPart.orderFeeAmountExclTax` | number (double) | no |  |
| `items[].mewsPart.orderFeeCurrencyExclTax` | string or null | no |  |
| `items[].mewsPart.taxAmount` | number (double) | no |  |
| `items[].mewsPart.taxCurrency` | string or null | no |  |
| `meta` | object or null | no |  |
| `meta.count` | integer (int32) | no |  |
| `meta.offset` | integer (int32) | no |  |

#### Example (from schema)

```json
{
  "items": [
    {
      "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "created": "2026-01-15T12:00:00Z",
      "voucherNumber": "string",
      "status": 0,
      "publishedDate": "2026-01-15T12:00:00Z",
      "standardPart": {
        "paymentMethodAmount": 0,
        "paymentMethodCurrency": "string",
        "productGroupAmountInclTax": 0,
        "productGroupCurrencyInclTax": "string",
        "productGroupAmountExclTax": 0,
        "productGroupCurrencyExclTax": "string",
        "orderFeeAmountInclTax": 0,
        "orderFeeCurrencyInclTax": "string",
        "orderFeeAmountExclTax": 0,
        "orderFeeCurrencyExclTax": "string",
        "taxAmount": 0,
        "taxCurrency": "string"
      },
      "invoicePart": {
        "paymentMethodAmount": 0,
        "paymentMethodCurrency": "string",
        "productGroupAmountInclTax": 0,
        "productGroupCurrencyInclTax": "string",
        "productGroupAmountExclTax": 0,
        "productGroupCurrencyExclTax": "string",
        "orderFeeAmountInclTax": 0,
        "orderFeeCurrencyInclTax": "string",
        "orderFeeAmountExclTax": 0,
        "orderFeeCurrencyExclTax": "string",
        "taxAmount": 0,
        "taxCurrency": "string"
      },
      "mewsPart": {
        "paymentMethodAmount": 0,
        "paymentMethodCurrency": "string",
        "productGroupAmountInclTax": 0,
        "productGroupCurrencyInclTax": "string",
        "productGroupAmountExclTax": 0,
        "productGroupCurrencyExclTax": "string",
        "orderFeeAmountInclTax": 0,
        "orderFeeCurrencyInclTax": "string",
        "orderFeeAmountExclTax": 0,
        "orderFeeCurrencyExclTax": "string",
        "taxAmount": 0,
        "taxCurrency": "string"
      }
    }
  ],
  "meta": {
    "count": 0,
    "offset": 0
  }
}
```

## Example request

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