전자세금계산서 수정
hometax__etax__invoice__modifyREQUIRES prior hometax__session__login call with same account_link_id. Issue a correcting e-tax invoice (수정세금계산서) against an existing one. IRREVERSIBLE, same as issuing: call without confirm first to get a preview, show it to the user, then retry with confirm=true. You MUST ask the user which correction reason applies and pass etxiv_mdf_rsn_cd; never guess it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Set true ONLY after showing the preview to the user and receiving their explicit approval. | |
| old_aprv_no | Yes | Approval number of the original invoice (원본 승인번호, 24 digits; hyphens allowed). Get it from hometax__etax__invoice__search_list. | |
| supply_date | Yes | YYYYMMDD. 수정세금계산서 작성일(사유 04 은 이 날짜로 발행) - 그 밖의 사유는 원본 작성일로 발행하고, 이 값은 원본에 발행일이 없을 때 환율조회 기준일로만 쓴다 | |
| etxiv_knd_cd | No | Invoice kind code (기본 '01'). Optional. | |
| 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). | |
| etxiv_mdf_rsn_cd | Yes | 수정사유코드 - 사용자에게 물어서 받는다. 04 계약의 해제(당초분 전액 음수 1장(계약 해제일)) - 계약 전부가 해제됐을 때만 씁니다(일부 해지는 공급가액 변동). 계약 해제일이 속한 달의 다음 달 10일까지 발급해야 하며, 넘기면 지연발급 가산세 대상입니다. / 06 착오에 의한 이중발급(당초분 전액 음수 1장(당초 작성일)). This is recorded at 국세청 and cannot be undone. | |
| etxiv_dmnr_clsf_cd | No | Buyer class code (기본 '01'). Optional. |