using DS.Module.Core;
using DS.WMS.Core.Invoice.Dtos;
namespace DS.WMS.Core.Invoice.Interface
{
///
/// 发票开具
///
public interface IInvoiceIssuanceService
{
///
/// 发起开票请求
///
/// 开票的发票ID
///
Task InitiateAsync(params long[] ids);
///
/// 更新发票号码
///
///
///
Task UpdateInvoiceNumberAsync(long id);
///
/// 发票冲红
///
/// 请求
///
Task ReverseAsync(InvoiceReversalRequest request);
///
/// 添加租户信息
///
/// 租户信息
///
/// 当为null时引发。
Task AddTenantAsync(Tenant tenant);
///
/// 发送邮件
///
/// 发票ID
///
Task SendMailAsync(long id);
}
}