현금영수증 매입 내역 조회
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.
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) | |
| 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. |