현금영수증 매입 내역 조회
hometax__cash_receipt__purchase__search_historyREQUIRES prior hometax__session__login call with same account_link_id. Search cash receipt purchase history. from_date/to_date are required (YYYYMMDD or YYYY-MM-DD). 국세청 rejects ranges longer than 3 months with '조회기간은 최대 3개월 까지 가능합니다.' — split longer periods into 3-month calls. Counts: totalCount (and the same value in pageInfoVO.totalCount) is the record count for this query and is never fewer than the rows in this response; collectionMeta says whether this response already holds all of them (complete) and how many came back (collectedCount). When complete is false, ask for the next page. For an authenticated call, generate and save request_idempotency_key before the first request. Reuse it with the same arguments only to recover that request after a lost response; use a new key for a new execution. Without it, calling again remains a new request. This optional key is not available to anonymous taste calls. Keep any provider-specific idempotency_key unchanged; it is a different field. 호출마다 토큰 1소진 요청 처리 시 XBOSS 작업을 생성하고 처리 결과를 저장합니다. 기관 원본의 조회 여부와 별개로 이 호출은 순수 읽기 전용이 아닙니다. 기관 데이터 변경은 도구별 실행 내용과 기존 확인 절차를 따릅니다.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_date | Yes | End date YYYYMMDD or YYYY-MM-DD (e.g. 20260131). Required. | |
| page_num | No | Page number (default 1) | |
| from_date | Yes | Start date YYYYMMDD or YYYY-MM-DD (e.g. 20260101). Required. | |
| max_pages | No | Safety cap when fetch_all_pages is true (default 100) | |
| page_size | No | Page size (default 10) | |
| spjb_trs_yn | No | 현금매출명세서 발행 여부(cash-sales statement filter): 'all'=전체, 'Y'=발행분만. Default 'all'. | |
| account_link_id | No | Account link ID (UUID v4). Optional — the server auto-resolves from your API key when omitted. Provide explicitly only when you have multiple certificates for the same provider. Each institution has a separate ID (Hometax != NHIS != NPS != FourInsure). | |
| fetch_all_pages | No | true collects every page instead of one (default false). Each page is a separate NTS request, so it is slower. | |
| mrnt_txpr_dscm_no | No | Filter by merchant business number (가맹점 사업자번호, hyphens ok). Optional. | |
| request_idempotency_key | No | Optional same-request recovery key for authenticated calls; see the tool description. |