TaxRefundApprovalForm

public final class TaxRefundApprovalForm implements Transaction, TaxRefundForm


환급전표발행 폼


  • 환급 업종별 응답 포맷이 상이함


요청 예

TaxRefundApprovalForm(
taxRefundMode = TaxRefundMode.POST,
paymentType = PaymentType.CARD,
approvalAmt = 10000,
salesSerial = "12345678",
approvalDateTime = "20210101120000",
ptxId = ptxId
}.also { submitForm(it) }

See also

Response

응답 예

txType

TX_TAX_REFUND_APPROVAL

data
[글로벌 인사이트(GI) - 물품 & 호텔]
{
"buyerCountry": "SOUTH KOREA",
"buyerName": "Kim",
"dutyFreeStoreNumber": "1234456777",
"message0": "",
"message1": "",
"message2": "",
"message3": "물품|1\n",
"passportSerial": "",
"refundBalance": 1500,
"refundDate": "231114",
"refundSerial": "037502291775",
"refundTime": "183835",
"resCode": "0000",
"resMessage": "",
"taxrefundSerial": "80103750223111400003"
}

[글로벌 인사이트(GI) - 의료]
{
"buyerCountry": "USA",
"buyerName": "John Doe",
"cardAmount": 500,
"cashAmount": 800,
"etcAmount": 0,
"facilitatorBusinessSerial": "456789",
"facilitatorMedicalSerial": "789012",
"facilitatorName": "Medical Services Inc.",
"facilitatorSerial": "987654",
"passportSerial": "ABC123",
"price": 1500,
"refundBalance": 1300,
"refundDate": "231114",
"refundSerial": "123456",
"refundTime": "183835",
"resCode": "0000",
"resMessage": "Success",
"resMessageTaxrefund": "Tax refund successful",
"tax": 200,
"taxrefundSerial": "80123111400003"
}

Constructors

Link copied to clipboard
TaxRefundApprovalForm TaxRefundApprovalForm(TaxRefundMode taxRefundMode, PaymentType paymentType, Number approvalAmt, String salesSerial, String approvalDateTime, QrServiceCode qrServiceCode, String ptxId)

Functions

Link copied to clipboard
Unit checkApprovalAmt(Number approvalAmt)
Link copied to clipboard
Unit checkApprovalDate(String yyMMdd)
Link copied to clipboard
Unit checkApprovalSerial(String approvalSerial)
Link copied to clipboard
Unit checkFrom(String yyyyMMdd)
Link copied to clipboard
Unit checkInstallment(Integer installment)
Link copied to clipboard
Unit checkPeriod(String from, String to)
Link copied to clipboard
Unit checkQrPayment(PaymentType paymentType, QrServiceCode qrServiceCode)

checkQrPayment QR 결제시 조건 확인

Link copied to clipboard
Unit checkTaxFreeAmt(Number taxFreeAmt, Number approvalAmt)
Link copied to clipboard
Unit checkTo(String yyyyMMdd)
Link copied to clipboard
final Number getApprovalAmt()
Link copied to clipboard
final String getApprovalDateTime()
Link copied to clipboard
final PaymentType getPaymentType()
Link copied to clipboard
final String getPtxId()
Link copied to clipboard
final QrServiceCode getQrServiceCode()
Link copied to clipboard
final String getSalesSerial()
Link copied to clipboard
final TaxRefundMode getTaxRefundMode()
Link copied to clipboard
String getUri()
Link copied to clipboard
String makeUri(String host, Pair<String, Object> pair)

Properties

Link copied to clipboard
private final Number approvalAmt

Optional, 결제금액

Link copied to clipboard
private final String approvalDateTime

Optional, GTF용, yyyyMMddHHmmss

Link copied to clipboard
private final PaymentType paymentType

Optional, 결제타입

Link copied to clipboard
private final String ptxId

Optional, 개별고유번호

Link copied to clipboard
private final QrServiceCode qrServiceCode

Optional, QR 결제시 필수 - 알리/위챗

Link copied to clipboard
private final String salesSerial

Optional, 환급전표발행번호

Link copied to clipboard
private final TaxRefundMode taxRefundMode

Required, 택스리펀드모드

Link copied to clipboard
private final String uri