홈택스 원천세 전자파일 변환신고 작업 시작
hometax__tax__withholding__file_conversion__initREQUIRES prior hometax__session__login call with same account_link_id. filing_type 으로 신고 구분을 정해(regular 정기, amendment 수정, late 기한후, 기본 regular) 원천세 전자파일 변환신고를 시작합니다. 기관이 받는 원본 파일 크기 범위와 진행 중인 변환 작업을 읽기만 하고 기관에 아무것도 올리지 않습니다. 기관에 진행 중인 작업이 있으면 그 작업 번호를 resume_batch_id 로 보내 이어 갑니다. 이 단계의 job_id 와 snapshot_hash 로 원본을 등록하고 upload 를 부릅니다. 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 작업을 생성하고 처리 결과를 저장합니다. 기관 원본의 조회 여부와 별개로 이 호출은 순수 읽기 전용이 아닙니다. 기관 데이터 변경은 도구별 실행 내용과 기존 확인 절차를 따릅니다.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "hometax__tax__withholding__file_conversion__init"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filing_type | No | 변환할 신고의 종류입니다. regular(정기신고), amendment(수정신고), late(기한후신고) 가운데 하나를 입력하며 입력하지 않으면 regular 입니다. 이 값은 이어지는 단계에 그대로 이어지고, 이미 접수된 신고를 다시 올리는 재신고는 regular 에서만 할 수 있습니다. | regular |
| account_link_id | No | 연동 ID(UUID v4). 선택 입력입니다. 비워 두면 서버가 API 키로 연동을 찾아 씁니다. 같은 기관에 인증서를 여러 개 연동했을 때만 직접 입력해 주세요. 기관마다 ID 가 다릅니다. | |
| resume_batch_id | No | 기관에 이미 진행 중인 변환 작업을 이어갈 때 그 작업의 식별자입니다. 진행현황에 나온 작업 ID 를 그대로 입력하며 1자 이상 100자 이하입니다. 입력하지 않으면 새 변환 작업으로 시작하고, 기관에 진행 중인 변환 작업이 있는데 이 값을 입력하지 않으면 기존 변환 작업이 있다는 오류(409)로 거절합니다. | |
| request_idempotency_key | No | Optional same-request recovery key for authenticated calls; see the tool description. |