You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

399 lines
9.8 KiB
C#

using DS.Module.Core.Enums;
using DS.WMS.Core.Fee.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.WMS.Core.Invoice.Dtos
{
/// <summary>
/// 获取进项发票输出实体对象
/// </summary>
public class GetInInvoiceListOutPut
{
public long Id { get; set; }
/// <summary>
/// 开票日期 kprq
/// </summary>
public string? InvoicingDate { get; set; }
/// <summary>
/// 发票类型代码 fplxdm
/// </summary>
public string? InvoiceTypeCode { get; set; }
/// <summary>
/// 发票号码 fphm
/// </summary>
public string? InvoiceNumber { get; set; }
/// <summary>
/// 合计金额 hjje
/// </summary>
public string? TotalAmount { get; set; }
/// <summary>
/// 合计税额 hjse
/// </summary>
public string? TotalTax { get; set; }
/// <summary>
/// 价税合计 jshj
/// </summary>
public string? TotalWithTax { get; set; }
/// <summary>
/// 发票状态 fpzt
/// </summary>
public string? InvoiceStatus { get; set; }
/// <summary>
/// 开票人 kpr
/// </summary>
public string? Invoicer { get; set; }
/// <summary>
/// 原发票号码 yfphm
/// </summary>
public string? OriginalInvoiceNumber { get; set; }
/// <summary>
/// 购方开票名称 gfkpmc
/// </summary>
public string? BuyerInvoiceName { get; set; }
/// <summary>
/// 购方开票税号 gfkpsh
/// </summary>
public string? BuyerInvoiceTaxNumber { get; set; }
/// <summary>
/// 销方开票名称 xfkpmc
/// </summary>
public string? SellerInvoiceName { get; set; }
/// <summary>
/// 销方开票税号 xfkpsh
/// </summary>
public string? SellerInvoiceTaxNumber { get; set; }
/// <summary>
/// 是否已获取详情 IsGetDtl
/// </summary>
public bool IsDetailObtained { get; set; }
/// <summary>
/// 销方识别号 xfsbh
/// </summary>
public string? SellerIdentificationNumber { get; set; }
/// <summary>
/// 最终校验码 final_jym
/// </summary>
public string? FinalCheckCode { get; set; }
/// <summary>
/// 购方名称 gfmc
/// </summary>
public string? BuyerName { get; set; }
/// <summary>
/// 当前时间 dqsj
/// </summary>
public string? CurrentTime { get; set; }
/// <summary>
/// 扣除额 kce
/// </summary>
public float DeductionAmount { get; set; }
/// <summary>
/// 机动车发票类型代码 jdfplxdm
/// </summary>
public string? VehicleInvoiceTypeCode { get; set; }
/// <summary>
/// 税控码 skm
/// </summary>
public string? TaxControlCode { get; set; }
/// <summary>
/// 购方税号 ghdwdm
/// </summary>
public string? BuyerTaxNumber { get; set; }
/// <summary>
/// 纸质发票号码 zzfphm
/// </summary>
public string? PaperInvoiceNumber { get; set; }
/// <summary>
/// 收款人 skr
/// </summary>
public string? Payee { get; set; }
/// <summary>
/// 清单标志 qdbz
/// </summary>
public string? ItemFlag { get; set; }
/// <summary>
/// 开票单位代码 kpdwdm
/// </summary>
public string? InvoiceUnitCode { get; set; }
/// <summary>
/// 购方银行账户 ghdwyhzh
/// </summary>
public string? BuyerBankAccount { get; set; }
/// <summary>
/// 金额 je
/// </summary>
public float Amount { get; set; }
/// <summary>
/// 销方名称 xfmc
/// </summary>
public string? SellerName { get; set; }
/// <summary>
/// 特定要素 tdys
/// </summary>
public string? SpecialElements { get; set; }
/// <summary>
/// 报销状态 bxzt
/// </summary>
public string? ReimbursementStatus { get; set; }
/// <summary>
/// 购方银行账号 gfyhzh
/// </summary>
public string? BuyerBankAccountNumber { get; set; }
/// <summary>
/// 特定要素类型代码 tdyslxDm
/// </summary>
public string? SpecialElementTypeCode { get; set; }
/// <summary>
/// 操作员代码 czydm
/// </summary>
public string? OperatorCode { get; set; }
/// <summary>
/// 购方地址电话 ghdwdzdh
/// </summary>
public string? BuyerAddressPhone { get; set; }
/// <summary>
/// 是否为纸质发票 sfwzzfp
/// </summary>
public string? IsPaperInvoice { get; set; }
/// <summary>
/// 发票请求流水号 fpqqlsh
/// </summary>
public string? InvoiceRequestNumber { get; set; }
/// <summary>
/// 税额 se
/// </summary>
public string TaxAmount { get; set; }
/// <summary>
/// 备注 bz
/// </summary>
public string? Remarks { get; set; }
/// <summary>
/// 购方识别号 gfsbh
/// </summary>
public string? BuyerIdentificationNumber { get; set; }
/// <summary>
/// 购方名称 ghdwmc
/// </summary>
public string? BuyerFullName { get; set; }
/// <summary>
/// 销方税号 xhdwdm
/// </summary>
public string? SellerTaxNumber { get; set; }
/// <summary>
/// 发票代码 fpdm
/// </summary>
public string? InvoiceCode { get; set; }
/// <summary>
/// 销方地址电话 xhdwdzdh
/// </summary>
public string? SellerAddressPhone { get; set; }
/// <summary>
/// 明细列表 zbmx
/// </summary>
public string? DetailList { get; set; }
/// <summary>
/// 销方地址电话 xddzdh
/// </summary>
public string? SellerAddressPhoneExtra { get; set; }
/// <summary>
/// 销方银行账号 xfyhzh
/// </summary>
public string? SellerBankAccountNumber { get; set; }
/// <summary>
/// 复核人 fhr
/// </summary>
public string? Reviewer { get; set; }
/// <summary>
/// 购方地址电话 gfdzdh
/// </summary>
public string? BuyerAddressPhoneExtra { get; set; }
/// <summary>
/// 销方名称 xhdwmc
/// </summary>
public string? SellerFullName { get; set; }
/// <summary>
/// 机器编号 jqbh
/// </summary>
public string? MachineCode { get; set; }
/// <summary>
/// 商品或服务名称 zyspmc
/// </summary>
public string? ItemOrServiceName { get; set; }
/// <summary>
/// 销方银行账户 xhdwyhzh
/// </summary>
public string? SellerBankAccount { get; set; }
/// <summary>
/// PDF 文件路径 PDFfile
/// </summary>
public string? PdfFilePath { get; set; }
/// <summary>
/// OFD 文件路径 OFDfile
/// </summary>
public string? OfdFilePath { get; set; }
/// <summary>
/// XML 文件路径 XMLfile
/// </summary>
public string? XmlFilePath { get; set; }
/// <summary>
/// 三种文件税局下载地址 Allfile
/// </summary>
public string? AllFileDownloadPath { get; set; }
/// <summary>
///报销人
/// </summary>
public string Reimburser { get; set; }
/// <summary>
/// 报销单号
/// </summary>
public string ReimbursementId { get; set; }
//付款申请号
//描述
/// <summary>
/// 科目名称
/// </summary>
public string LedgerAccount { get; set; }
/// <summary>
/// 报销事由
/// </summary>
public string Reason { get; set; }
/// <summary>
/// 报销申请时间
/// </summary>
public DateTime? ReimbTime { get; set; }
/// <summary>
/// 审核通过/驳回时间
/// </summary>
public DateTime? ApprovalTime { get; set; }
/// <summary>
/// 报销状态
/// </summary>
public ReimbursementTypeEnums ReimbursementType { get; set; }
}
/// <summary>
/// 获取进项发票查询条件
/// </summary>
public class GetInInvoicetInput
{
}
public class GetDetailInfoInput
{
public long Id { get; set; }
}
public class GetDetailInfo:InInvoice
{
public List<InInvoiceDetail> Data { get; set; }
/// <summary>
///报销人
/// </summary>
public string Reimburser { get; set; }
/// <summary>
/// 报销单号
/// </summary>
public string ReimbursementId { get; set; }
//付款申请号
//描述
/// <summary>
/// 科目名称
/// </summary>
public string LedgerAccount { get; set; }
/// <summary>
/// 报销事由
/// </summary>
public string Reason { get; set; }
/// <summary>
/// 报销申请时间
/// </summary>
public DateTime? ReimbTime { get; set; }
/// <summary>
/// 审核通过/驳回时间
/// </summary>
public DateTime? ApprovalTime { get; set; }
}
}