using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.WMS.Core.HangfireJob.Dtos
{
public class InInvoiceModel
{
}
///
/// 请求获取进项发票接口参数
///
public class InInvoicePost
{
///
/// 开票时间查询起始时间(查询条件 格式yyyy-MM-dd HH:mm:ss)
///
public string kprqks { get; set; }
///
/// 开票时间查询结束时间(查询条件 格式yyyy-MM-dd HH:mm:ss)
///
public string kprqjs { get; set; }
}
///
/// 请求获取发票详情接口请求参数
///
public class GetInInvoiceDataInfo
{
///
/// 发票号码
///
public string fphm { get; set; }
}
public class InInvoicePostOutput
{
public int code { get; set; }
public bool success { get; set; }
public string msg { get; set; }
public object msgDev { get; set; }
public InInvoicePostOutputList Data { get; set; }
}
public class InInvoicePostOutputList
{
public List data { get; set; }
public int dataCount { get; set; }
public int pageIndex { get; set; }
public int pageCount { get; set; }
public int pageSize { get; set; }
}
public class Datum
{
///
/// 开票日期
///
public string kprq { get; set; }
///
/// 发票类型代码
///
public string fplxdm { get; set; }
///
/// 发票号码
///
public string fphm { get; set; }
///
/// 合计金额
///
public string hjje { get; set; }
///
/// 合计税额
///
public string hjse { get; set; }
///
/// 价税合计
///
public string jshj { get; set; }
///
/// 发票状态
///
public string fpzt { get; set; }
///
/// 开票人
///
public string kpr { get; set; }
///
/// 原发票号码
///
public string yfphm { get; set; }
///
/// 购方开票名称
///
public string gfkpmc { get; set; }
///
/// 购方开票税号
///
public string gfkpsh { get; set; }
///
/// 销方开票名称
///
public string xfkpmc { get; set; }
///
/// 销方开票税号
///
public string xfkpsh { get; set; }
///
/// 是否已获取详情
///
public bool IsGetDtl { get; set; }
///
/// 销方识别号
///
public string xfsbh { get; set; }
///
/// 最终校验码
///
public string final_jym { get; set; }
///
/// 购方名称
///
public string gfmc { get; set; }
///
/// 当前时间,销项是入库时间,进项是开票时间
///
public string dqsj { get; set; }
///
/// 扣除额
///
public float kce { get; set; }
///
/// 机动车发票类型代码
///
public string jdfplxdm { get; set; }
///
/// 税控码
///
public string skm { get; set; }
///
/// 购方税号
///
public string ghdwdm { get; set; }
///
/// 纸质发票号码
///
public string zzfphm { get; set; }
///
/// 收款人
///
public string skr { get; set; }
///
/// 清单标志
///
public string qdbz { get; set; }
///
/// 开票单位代码
///
public string kpdwdm { get; set; }
///
/// 购方银行账户
///
public string ghdwyhzh { get; set; }
///
/// 金额
///
public float je { get; set; }
///
/// 销方名称
///
public string xfmc { get; set; }
///
/// 特定要素,目前是货物运输和旅客运输
///
public string tdys { get; set; }
///
/// 报销状态
///
public string bxzt { get; set; }
///
/// 购方银行账号
///
public string gfyhzh { get; set; }
///
/// 特定要素类型代码
///
public string tdyslxDm { get; set; }
///
/// 操作员代码
///
public string czydm { get; set; }
///
/// 购方地址电话
///
public string ghdwdzdh { get; set; }
///
/// 是否为纸质发票,1 是,0 否
///
public string sfwzzfp { get; set; }
///
/// 发票请求流水号
///
public string fpqqlsh { get; set; }
///
/// 税额
///
public string se { get; set; }
///
/// 备注
///
public string bz { get; set; }
///
/// 购方识别号
///
public string gfsbh { get; set; }
///
/// 购方名称
///
public string ghdwmc { get; set; }
///
/// 销方税号
///
public string xhdwdm { get; set; }
///
/// 发票代码
///
public string fpdm { get; set; }
///
/// 销方地址电话
///
public string xhdwdzdh { get; set; }
///
/// 明细列表
///
public string zbmx { get; set; }
///
/// 销方地址电话
///
public string xddzdh { get; set; }
///
/// 销方银行账号
///
public string xfyhzh { get; set; }
///
/// 复核人
///
public string fhr { get; set; }
///
/// 购方地址电话
///
public string gfdzdh { get; set; }
///
/// 销方名称
///
public string xhdwmc { get; set; }
///
/// 机器编号
///
public string jqbh { get; set; }
///
/// 商品或服务名称
///
public string zyspmc { get; set; }
///
/// 销方银行账户
///
public string xhdwyhzh { get; set; }
public string PDFfile { get; set; }
public string OFDfile { get; set; }
public string XMLfile { get; set; }
public string Allfile { get; set; }
///
/// 状态1未使用,2正在报销,3已报销
///
public int State { get; set; }
///
/// 钉钉报销审批单编号
///
public string BusinessId { get; set; }
//钉钉审批实例Id
public string ProcessInstanceId { get; set; }
public List List { get; set; }
}
public class ininvoiceoutputList
{
///
/// 明细 id
///
public string mxid { get; set; }
///
/// 发票代码
///
public string fpdm { get; set; }
///
/// 发票号码
///
public string fphm { get; set; }
///
/// 发票明细行序号
///
public string fpmxxh { get; set; }
///
/// 发票行性质
///
public string fphxz { get; set; }
///
/// 金额
///
public string je { get; set; }
///
/// 税率
///
public string sl { get; set; }
///
/// 税额
///
public string se { get; set; }
///
/// 商品名称
///
public string spmc { get; set; }
///
/// 规格型号
///
public string ggxh { get; set; }
///
/// 单位
///
public string dw { get; set; }
///
/// 商品数量
///
public float spsl { get; set; }
///
/// 商品单价
///
public float spdj { get; set; }
///
/// 商品编码
///
public string spbm { get; set; }
///
/// 版本
///
public string bb { get; set; }
///
/// 优惠政策标识
///
public string yhzcbs { get; set; }
///
/// 开票日期
///
public string kprq { get; set; }
///
/// 开票单位代码
///
public string kpdwdm { get; set; }
///
/// 名称
///
public string mc { get; set; }
///
/// 序号
///
public string xh { get; set; }
}
public class InInvoiceDataInfoOutput
{
public int code { get; set; }
public bool success { get; set; }
public string msg { get; set; }
public object msgDev { get; set; }
public InvoiceData data { get; set; }
}
public class InvoiceData
{
public List List { get; set; }
public string kprq { get; set; }
public string fplxdm { get; set; }
public string fphm { get; set; }
public string hjje { get; set; }
public string hjse { get; set; }
public string jshj { get; set; }
public string fpzt { get; set; }
public string kpr { get; set; }
public string yfphm { get; set; }
public string gfkpmc { get; set; }
public string gfkpsh { get; set; }
public string xfkpmc { get; set; }
public string xfkpsh { get; set; }
public bool IsGetDtl { get; set; }
public string xfsbh { get; set; }
public string final_jym { get; set; }
public string gfmc { get; set; }
public string dqsj { get; set; }
public float kce { get; set; }
public string jdfplxdm { get; set; }
public string skm { get; set; }
public string ghdwdm { get; set; }
public string zzfphm { get; set; }
public string skr { get; set; }
public string qdbz { get; set; }
public string kpdwdm { get; set; }
public string ghdwyhzh { get; set; }
public float je { get; set; }
public string xfmc { get; set; }
public string tdys { get; set; }
public string bxzt { get; set; }
public string gfyhzh { get; set; }
public string tdyslxDm { get; set; }
public string czydm { get; set; }
public string ghdwdzdh { get; set; }
public string sfwzzfp { get; set; }
public string fpqqlsh { get; set; }
public string se { get; set; }
public string bz { get; set; }
public string gfsbh { get; set; }
public string ghdwmc { get; set; }
public string xhdwdm { get; set; }
public string fpdm { get; set; }
public string xhdwdzdh { get; set; }
public string zbmx { get; set; }
public string xddzdh { get; set; }
public string xfyhzh { get; set; }
public string fhr { get; set; }
public string gfdzdh { get; set; }
public string xhdwmc { get; set; }
public string jqbh { get; set; }
public string zyspmc { get; set; }
public string xhdwyhzh { get; set; }
public string PDFfile { get; set; }
public string OFDfile { get; set; }
public string XMLfile { get; set; }
public string Allfile { get; set; }
}
public class InInviceDtl
{
public string mxid { get; set; }
public string fpdm { get; set; }
public string fphm { get; set; }
public string fpmxxh { get; set; }
public string fphxz { get; set; }
public string je { get; set; }
public string sl { get; set; }
public string se { get; set; }
public string spmc { get; set; }
public string ggxh { get; set; }
public string dw { get; set; }
public float spsl { get; set; }
public float spdj { get; set; }
public string spbm { get; set; }
public string bb { get; set; }
public string yhzcbs { get; set; }
public string kprq { get; set; }
public string kpdwdm { get; set; }
public string mc { get; set; }
public string xh { get; set; }
public long TenantId { get; set; }
public string TenantName { get; set; }
public bool IsDeleted { get; set; }
public object CreateId { get; set; }
public object CreateBy { get; set; }
public string CreateTime { get; set; }
public object ModifyId { get; set; }
public object ModifyBy { get; set; }
public object ModifyTime { get; set; }
public long Id { get; set; }
}
}