/* * 홈택스에 신고된 현금영수증 매입/매출 내역 수집을 팝빌에 요청합니다. (조회기간 단위 : 최대 3개월) * - https://docs.popbill.com/htcashbill/dotnetcore/api#RequestJob */ public IActionResult RequestJob() { // 현금영수증 유형 SELL-매출, BUY-매입 KeyType keyType = KeyType.SELL; // 시작일자, 표시형식(yyyyMMdd) string SDate = "20220501"; // 종료일자, 표시형식(yyyyMMdd) string EDate = "20220527"; try { var result = _htCashbillService.RequestJob(corpNum, keyType, SDate, EDate); return(View("Result", result)); } catch (PopbillException pe) { return(View("Exception", pe)); } }