package cn.iocoder.yudao.module.erp.api.finance;
|
|
import cn.iocoder.yudao.framework.common.pojo.CommonResult;
|
import cn.iocoder.yudao.module.erp.api.finance.dto.ErpFinancePaymentRedFlushCreateReqDTO;
|
import cn.iocoder.yudao.module.erp.api.finance.dto.ErpFinancePaymentRespDTO;
|
|
/**
|
* ERP 付款单 API 接口
|
*
|
* @author 超级管理员
|
*/
|
public interface ErpFinancePaymentApi {
|
|
String PREFIX = "/rpc-api/erp/finance-payment";
|
|
/**
|
* 创建采购退货负数冲红付款单
|
*
|
* 该单据不校验来票、直接置为已审核;金额按负数入账。
|
*
|
* @param reqDTO 创建信息
|
* @return 付款单编号
|
*/
|
CommonResult<Long> createRedFlushPayment(ErpFinancePaymentRedFlushCreateReqDTO reqDTO);
|
|
/**
|
* 获得付款单
|
*
|
* @param id 付款单编号
|
* @return 付款单
|
*/
|
CommonResult<ErpFinancePaymentRespDTO> getFinancePayment(Long id);
|
|
}
|