> For the complete documentation index, see [llms.txt](https://sharelink-docs.toss.im/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sharelink-docs.toss.im/developers/open-api/api/settlement.md).

# 정산내역 조회

구매확정된 주문의 확정 수익금을 정산 회차별 상품별 합계로 조회합니다.

정산 회차에 구매확정된 주문의 확정 수익금을 상품별 합계로 조회합니다.

결제일 기준 잠정 실적은 [실적 조회](https://sharelink-docs.toss.im/developers/open-api/api/performance.md)에서 확인합니다. 상품별 합계라서 주문별 수익과 수수료 유형은 구분할 수 없으니, 필요하면 [주문상품 조회](https://sharelink-docs.toss.im/developers/open-api/api/order-products.md)를 사용해 주세요.

```
GET /openapi/settlements/{settlementMonth}
```

필요 스코프: `sharelink:read`

> 소득세·부가세 세액, 이월 수익금, 지급 상태, 실 지급액은 제공하지 않습니다. 쉐어링크 크리에이터 어드민의 [정산 내역 화면](https://sharelink-docs.toss.im/income/settlement-guide/settlement-history)에서 확인해 주세요.

***

## 요청

| 파라미터              | 위치 | 필수     | 설명                                              |
| ----------------- | -- | ------ | ----------------------------------------------- |
| `settlementMonth` | 경로 | **필수** | 정산 회차. `YYYY-MM` 형식 (예: `2026-08`)              |
| `subTagId`        | 쿼리 | 선택     | 이 subTag의 실적만 조회. 생략하면 거래처 전체                   |
| `attribution`     | 쿼리 | 선택     | `DIRECT` / `INDIRECT` / `UNKNOWN` 중 하나. 생략하면 전부 |
| `cursor`          | 쿼리 | 선택     | 직전 응답의 `nextCursor`. 첫 요청에는 생략                  |
| `size`            | 쿼리 | 선택     | 한 페이지 개수. 기본 50, 1\~100                         |

| 입력                                         | 처리                                                        |
| ------------------------------------------ | --------------------------------------------------------- |
| `size` 숫자 변환 실패, 지원하지 않는 `attribution`     | HTTP 400 + `resultType: "FAIL"`. 고정 오류 코드를 가정하지 마세요       |
| `settlementMonth`가 `YYYY-MM` 형식이 아니거나 없는 달 | HTTP 200 + `errorCode: "INVALID_ARGUMENT"`                |
| `size`가 1\~100 밖                           | HTTP 200 + `errorCode: "INVALID_ARGUMENT"`                |
| 등록되지 않았거나 다른 거래처의 `subTagId`               | HTTP 200 + `errorCode: "SHARELINK_OPENAPI_ACCESS_DENIED"` |
| 아직 확정된 실적이 없는 회차                           | 정상 응답. `items`는 빈 배열, `summary`의 금액은 모두 `0`               |

오류 응답 형식은 [공통 규약](https://sharelink-docs.toss.im/developers/open-api/convention.md)을 따릅니다.

```bash
curl -H "Authorization: Bearer {액세스 토큰}" \
  "https://sharelink.toss.im/openapi/settlements/2026-08?size=50"
```

***

## 응답

```json
{
  "resultType": "SUCCESS",
  "success": {
    "settlementMonth": "2026-08",
    "subTagId": null,
    "summary": {
      "orderProductCount": 58,
      "productAmount": 1160000,
      "promotionCost": 84000,
      "settlementBase": 1076000,
      "commissionAmount": 53800,
      "latestConfirmedAt": "2026-08-31T21:14:02"
    },
    "items": [
      {
        "productId": 12345,
        "productName": "무선 이어폰 A",
        "thumbnailUrl": "https://static.toss.im/example/thumbnail.png",
        "attribution": "DIRECT",
        "orderProductCount": 20,
        "productAmount": 400000,
        "promotionCost": 28000,
        "settlementBase": 372000,
        "commissionAmount": 18600,
        "latestConfirmedAt": "2026-08-30T11:02:41"
      }
    ],
    "nextCursor": "djF8Z2hpamts",
    "hasNext": true,
    "size": 50
  }
}
```

| 필드                | 타입             | 설명                               |
| ----------------- | -------------- | -------------------------------- |
| `settlementMonth` | string         | 요청한 정산 회차                        |
| `subTagId`        | string \| null | 요청한 `subTagId`. 지정하지 않았으면 `null` |
| `summary`         | object         | 회차 전체 합계                         |
| `items`           | array          | 상품별 확정 실적. 확정 수익금이 높은 순          |
| `nextCursor`      | string \| null | 다음 페이지 커서. 마지막 페이지면 `null`       |
| `hasNext`         | boolean        | 다음 페이지 존재 여부                     |
| `size`            | number         | 요청한 페이지 크기                       |

### 금액 필드

`summary`와 `items[]`의 필드 구성이 같습니다.

| 필드                  | 타입             | 설명                                                        |
| ------------------- | -------------- | --------------------------------------------------------- |
| `orderProductCount` | number         | 구매확정된 주문상품 건수                                             |
| `productAmount`     | number         | 확정 판매금액 (원). 쿠폰·포인트 할인 전 금액이며 주문 배송비(배송비 할인을 뺀 금액)를 포함    |
| `promotionCost`     | number         | 할인금액 (원). 쿠폰·포인트 등. 배송비에 사용한 포인트 포함                       |
| `settlementBase`    | number         | 실 결제금액 (원). `productAmount` − `promotionCost`. 수수료 계산의 기준 |
| `commissionAmount`  | number         | 확정 수익금 (원, 원천징수 전)                                        |
| `latestConfirmedAt` | string \| null | 가장 마지막 구매확정 시각 (한국 시간). 확정 건이 없으면 `null`                  |

### 원천징수와 부가세

확정 수익금은 **원천징수 전 금액**이며, 원천징수 대상자는 지급 시 원천징수세액이 차감됩니다.

일반과세 개인사업자·법인사업자의 확정 수익금에는 **부가세가 포함**되어 있어 부가세 10%를 더하지 않습니다.

세금계산서는 주문별이 아니라 정산 회차별 지급 대상 총액으로 발행합니다. 공급가액은 부가세 포함 총액을 1.1로 나눠 원 미만을 버린 금액, 부가세는 총액에서 공급가액을 뺀 금액입니다.

### `items[]`의 상품 정보

| 필드             | 타입             | 설명                                                                                                                                           |
| -------------- | -------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| `productId`    | number         | **상품 옵션 ID (`tacaItemId`)**. 링크 발급·상품 상세 조회에 쓰는 값과 같습니다                                                                                      |
| `productName`  | string         | 상품명. 불러오지 못하면 빈 문자열                                                                                                                          |
| `thumbnailUrl` | string \| null | 썸네일 주소. 불러오지 못하면 `null`                                                                                                                      |
| `attribution`  | string         | `DIRECT` / `INDIRECT` / `UNKNOWN`. 의미는 실적 조회의 **직접 기여와 간접 기여**와 같습니다. 같은 상품도 값이 다르면 별도 행이므로, 상품 단위로는 `productId`로 묶어 주세요. 수수료율을 구분하는 값은 아닙니다 |

***

## 확정 수익금 계산

```
주문 건별 확정 수익금 = (확정 판매금액 − 할인금액) × 수수료율
```

주문 건마다 원 단위로 반올림해 합산하므로 `settlementBase × 수수료율`과 몇 원 다를 수 있습니다. **응답의 `commissionAmount`를 그대로 써 주세요.**

***

## 확인할 점

* 배송 완료 후 최장 7일 뒤 구매확정되므로 결제한 달과 정산 회차가 다를 수 있습니다.
* 진행 중인 회차는 마감 전까지 값이 늘어납니다.
* 구매확정 뒤 환불되어도 확정 수익금은 줄지 않고, 구매확정 전에 취소·환불된 주문은 담기지 않습니다.
* 2026-11-13 20:39:40(한국 시간) 전에 구매확정된 주문은 `productAmount`에 배송비 할인 전 배송비가 들어가고 `promotionCost`에 배송비에 사용한 포인트가 빠져 있을 수 있으며, 확정 수익금은 다시 계산하지 않습니다.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://sharelink-docs.toss.im/developers/open-api/api/settlement.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
