Skip to main content

Issue Cash Receipt

This API is used to issue a cash receipt independently (Standalone Issuance) without an underlying payment transaction.

Request​

Request URL
POST https://{API Domain}/directapi/trades/directCashReceiptApproval
Content-type: application/json; charset=utf-8
Note

Supports API Idempotency (See API Idempotency)

Caution

Since the final issuance process takes time, you must set the timeout to 30 seconds.

Parameters​

Field NameTypeLengthRequiredDescription
directCashReceiptnfoObject✅Cash Receipt Info (See directCashReceiptnfo below)

directCashReceiptnfo (Cash Receipt Info)​

Field NameTypeLengthRequiredDescription
mallIdString8Byte✅Merchant ID assigned by KICC
shopTransactionIdString60Byte✅Merchant Transaction ID (API Idempotency Key)
shopReqDateString8Byte✅Request Date (yyyyMMdd)
shopOrderNoString40Byte✅Merchant Order No.
goodsNameString50ByteProduct Name
amountNumber✅Total Amount
serviceAmountNumber✅Service Fee
vatAmountNumber✅VAT
customerNameString20ByteCustomer Name
customerMailString20ByteCustomer Email
issueTypeString2Byte✅Issue Purpose
"01": Tax Deduction (Individual)
"02": Expenditure Proof (Business)
"03": Voluntary Issuance (Request with "0100001234")
authTypeString50Byte✅Auth Type
"01": Credit Card, "03": Mobile No, "04": Biz No, "05": Cash Receipt Card
authValueString50Byte✅Identity Data (Numbers only)
Use "0100001234" for Voluntary Issuance
subMallUsedString50ByteUse Sub-merchant ("1": Yes, "0": No)
subMallBussString50ByteSub-merchant Business No. (Numbers only)
taxFlgNumber4ByteComplex Tax Flag (Set to “TG01” if used)
taxAmountNumberTaxable Amount (Required for Complex Tax)
freeAmountNumberTax-free Amount (Required for Complex Tax)
Request Example
{  
"directCashReceiptnfo": {
"mallId": "{Merchant ID}",
"shopReqDate": "20251010",
"shopTransactionId": "{API Idempotency Key}",
"shopOrderNo": "{Merchant Order No}",
"amount": 5000,
"serviceAmount": 0,
"vatAmount": 0,
"issueType": "03",
"authType": "03",
"authValue": "0100001234",
"subMallUsed": "0"
}
}

Response​

Parameters​

Field NameTypeLengthRequiredDescription
resCdString4Byte✅Response Code (Success: “0000”)
resMsgString1000Byte✅Response Message
shopTransactionIdString60Byte✅Returns the value sent in the request
mallIdString8ByteMerchant ID assigned by KICC
shopOrderNoString40ByteReturns the value sent in the request
pgCnoString20BytePG Transaction ID
amountNumberTotal Amount
approvalNoString50ByteCash Receipt Approval Number
transactionDateString14ByteTransaction Date/Time (yyyyMMddHHmmss)
Response Example
{  
"resCd": "0000",
"resMsg": "Cash Receipt Issued Successfully",
"mallId": "{Merchant ID}",
"pgCno": "{PG Transaction ID}",
"shopTransactionId": "{Requested API Idempotency Key}",
"shopOrderNo": "{Requested Merchant Order No}",
"amount": 51004,
"approvalNo": "20210326090200"
}