ecount_web_export_tax_invoices
Extracts electronic purchase tax invoices from ECOUNT using an authenticated web session, returning column headers, row data, and record count. Enables automated retrieval when OAPI is unsupported.
Instructions
전자(세금)계산서 리스트(매입)를 웹 세션으로 추출한다 (OAPI 미지원, 화면 ECTAX102M).
OAPI에는 이 홈택스 수집자료 조회 기능이 없어, 인증된 웹 세션으로 화면을 열고 엑셀을 받아 행(JSON)으로 돌려준다. 헤드리스 무인 로그인(신뢰기기 프로필 + ECOUNT_COM_CODE/USER_ID/USER_PW 환경변수). 상세: docs/IMPLEMENTATION-STATUS.md, KT-274.
Returns: {columns: 컬럼명 리스트, rows: 행 dict 리스트(컬럼명→값), count: 건수}. 신뢰기기 프로필이 없거나 2FA가 요구되면 RuntimeError(부트스트랩 안내).
Note:
선행 1회: 사람이 python testing/hometax_invoice_export_260612_v3.py --run --headed로
로그인해 기기를 등록해야 이후 무인 추출이 된다(신뢰기기 등록).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||