81 lines
1.9 KiB
Java
81 lines
1.9 KiB
Java
|
|
package com.engine.salary.service;
|
|||
|
|
|
|||
|
|
import com.engine.salary.entity.taxdeclaration.po.TaxDeclarationApiConfigPO;
|
|||
|
|
import com.engine.salary.entity.taxdeclaration.po.TaxDeclareRecordPO;
|
|||
|
|
import com.engine.salary.entity.taxpayment.dto.TaxAmountFormDTO;
|
|||
|
|
import com.engine.salary.entity.taxpayment.dto.TaxFeedbackResultDTO;
|
|||
|
|
import com.engine.salary.entity.taxpayment.dto.TaxWithheldVoucherResultDTO;
|
|||
|
|
import com.engine.salary.entity.taxpayment.param.TaxPaymentQueryParam;
|
|||
|
|
|
|||
|
|
import java.util.Map;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 个税辅助缴款
|
|||
|
|
*
|
|||
|
|
* @author chengliming
|
|||
|
|
* @date 2022-12-06 17:27:59
|
|||
|
|
**/
|
|||
|
|
public interface TaxPaymentService {
|
|||
|
|
/**
|
|||
|
|
* 查询外部接口(异步接口)
|
|||
|
|
*
|
|||
|
|
* @param param
|
|||
|
|
* @return
|
|||
|
|
*/
|
|||
|
|
String getRequestId(TaxPaymentQueryParam param);
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 获取反馈查询结果
|
|||
|
|
*
|
|||
|
|
* @param param
|
|||
|
|
* @return
|
|||
|
|
*/
|
|||
|
|
TaxFeedbackResultDTO getFeedback(TaxPaymentQueryParam param);
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 获取业务类型
|
|||
|
|
*
|
|||
|
|
* @return
|
|||
|
|
*/
|
|||
|
|
Integer getServiceType();
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 查询应缴金额
|
|||
|
|
*
|
|||
|
|
* @param param
|
|||
|
|
* @return
|
|||
|
|
*/
|
|||
|
|
TaxAmountFormDTO queryTaxAmount(TaxPaymentQueryParam param);
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 作废缴费凭证
|
|||
|
|
*
|
|||
|
|
* @param apiConfig
|
|||
|
|
* @param taxDeclareRecord
|
|||
|
|
* @param requestParam
|
|||
|
|
*/
|
|||
|
|
void cancelWithholdingVoucher(TaxDeclarationApiConfigPO apiConfig, TaxDeclareRecordPO taxDeclareRecord, Map<String, Object> requestParam);
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 获取完税证明
|
|||
|
|
*
|
|||
|
|
* @param param
|
|||
|
|
* @return
|
|||
|
|
*/
|
|||
|
|
TaxWithheldVoucherResultDTO getWithheldVoucher(TaxPaymentQueryParam param);
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 刷新缴款状态(主要针对线下缴款场景)
|
|||
|
|
*
|
|||
|
|
* @param param
|
|||
|
|
*/
|
|||
|
|
void syncWithholdingFeedback(TaxPaymentQueryParam param);
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 作废缴款凭证
|
|||
|
|
*
|
|||
|
|
* @param param
|
|||
|
|
*/
|
|||
|
|
void cancelWithholdingVoucher(TaxPaymentQueryParam param);
|
|||
|
|
}
|