---
title: "List sale fees"
method: GET
path: "/api/business/{businessId}/branch/{branchId}/salefee"
tags: ["SaleFee"]
---

# List sale fees

`GET /api/business/{businessId}/branch/{branchId}/salefee`

Get a list of sale fees for the specified business id and branch id. There is an option to include archived sale fees in the list

## Path parameters

- `businessId` string, required
- `branchId` string, required

## Query parameters

- `fetch_archived` boolean

## Response `200`

Sale fees listed

- DataPagedModelSaleFee
  - `_embedded` object
    - `saleFees` SaleFee[]
      - `saleFeeId` string
      - `name` string
      - `type` 'PERCENT' | 'AMOUNT' — The type of fee. Can be either PERCENT or AMOUNT
      - `value` number
      - `taxRateId` string
      - `automatic` boolean — Is the fee automatically applied to sales
      - `servicesOnly` boolean — Does the fee only apply to services
      - `archived` boolean
      - `active` boolean
      - `deleted` boolean
      - `createTime` string, date-time
      - `updateTime` string, date-time
      - `restrictedServiceIds` string[] — List of service ids the sale fee does not apply to
  - `page` PageMetadata
    - `size` integer
    - `totalElements` integer
    - `totalPages` integer
    - `number` integer

## Other responses

- `400` — Bad Request
- `404` — Business or branch with the specified ids don't exist
- `429` — Request rate limit exceeded. Current limit set to 100 rps.
- `500` — Internal Server Error

---

[API](https://skmtc.net/phorest/apis/third-party-api.md) · [All operations](https://skmtc.net/phorest/apis/third-party-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/phorest/third-party-api/versions/2218bc90d39c/schema)
