namespace DS.WMS.Core.Invoice.Dtos { /// /// 开票请求 /// public class InvoiceIssuanceRequest : InvoiceAPIRequest { /// /// 忽略商品和服务税收分类合并编码提醒 /// public bool IgnoreSphfwssflhbbm { get; set; } = true; /// /// 是否通过开票平台发送邮件 /// public bool sendMail { get; set; } = true; /// /// 请求体 /// public List order { get; set; } = []; } /// /// 发票 /// public class InvoiceInfo { /// /// 1蓝票;2红票 /// public string invoiceType { get; set; } = "1"; /// /// 订单号(每个企业唯一) /// public string orderNo { get; set; } /// /// 用于接受发票附件的邮箱 /// public string? email { get; set; } /// /// 销售方开户行 /// public string xsfkhh { get; set; } /// /// 销售方账号 /// public string xsfzh { get; set; } /// /// 销方电话 /// public string salerTel { get; set; } /// /// 销方地址 /// public string salerAddress { get; set; } /// /// 购方税号 /// public string buyerTaxNum { get; set; } /// /// 购方名称 /// public string buyerName { get; set; } /// /// 购方地址 /// public string? buyerAddress { get; set; } /// /// 购方电话 /// public string? buyerTel { get; set; } /// /// 购买方开户行 /// public string? gmfkhh { get; set; } /// /// 购买方账号 /// public string? gmfzh { get; set; } /// /// 购买方经办人姓名 /// public string? buyerManagerName { get; set; } /// /// 经办人证件号码 /// public string? jbrsfzjhm { get; set; } /// /// 购买方经办人联系电话 /// public string gmfjbrlxdh { get; set; } /// /// 收款银行名称 /// public string? skyhmc { get; set; } /// /// 收款银行账号 /// public string? skyhzh { get; set; } /// /// 复核人 /// public string checker { get; set; } /// /// 收款人 /// public string payee { get; set; } /// /// 合计金额 /// public decimal hjje { get; set; } /// /// 合计税额 /// public decimal hjse { get; set; } /// /// 金税合计 /// public decimal jshj { get; set; } /// /// 开票员 /// public string clerk { get; set; } /// /// 开票人证件号码 /// public string kprzjhm { get; set; } /// /// 开票人证件类型 /// public string kprzjlx { get; set; } /// /// 备注 /// public string remark { get; set; } /// /// 发票种类 bs:电子发票(增值税专用发票)-即数电专票(电子), pc:电子发票(普通发票)-即数电普票(电子) /// public string invoiceLine { get; set; } = "bs"; /// /// 购买方自然人标志 /// public string? gmfzrrbz { get; set; } /// /// 特定要素 /// public string tdys { get; set; } /// /// 差额征税类型代码 /// public string cezslxDm { get; set; } /// /// 收购发票类型代码 /// public string sgfplxDm { get; set; } /// /// 出口业务适用政策代码 /// public string ckywsyzcDm { get; set; } /// /// 增值税即征即退代码 /// public string zzsjzjtDm { get; set; } /// /// 结算方式 /// /// public string jsfs { get; set; } = "01"; /// /// 应税发生地 /// public string ysxwfsd { get; set; } /// /// 是否展示销售方银行账号标签 /// public string sfzsxsfyhzhbq { get; set; } /// /// 是否展示购买方银行账号标签 /// public string sfzsgmfyhzhbq { get; set; } /// /// 发票明细 /// public List invoiceDetail { get; set; } /// /// 附件要素 /// public List? fjysList { get; set; } /// /// 差额扣除 /// public List? cekcList { get; set; } } /// /// 发票明细 /// public class InvoiceDetailInfo { /// /// 明细序号 /// public int mxxh { get; set; } /// /// 项目名称 /// public string xmmc { get; set; } /// /// 商品服务简称 /// public string spfwjc { get; set; } /// /// 规格号型 /// public string specType { get; set; } /// /// 发票行性质 /// public string invoiceLineProperty { get; set; } = "00"; /// /// 数量 /// public string num { get; set; } /// /// 单价 /// public string price { get; set; } /// /// 税额 /// public decimal? tax { get; set; } /// /// 含税金额 /// public decimal? taxIncludedAmount { get; set; } /// /// 金额 /// public decimal? taxExcludedAmount { get; set; } /// /// 增值税税率/征收率 /// public string taxRate { get; set; } /// /// 单位 /// public string unit { get; set; } /// /// 扣除额 /// public string deduction { get; set; } /// /// 商品和服务税收分类合并编码 /// public string goodsCode { get; set; } /// /// 优惠政策表示 /// public string favouredPolicyFlag { get; set; } } /// /// 附加要素 /// public class Fjys { /// /// 附加要素名称 /// public string fjysmc { get; set; } /// /// 附加要素类型 /// public string fjyslx { get; set; } /// /// 附加要素值 /// public string fjysz { get; set; } } /// /// 业务信息 /// public class Cekc { /// /// 序号 /// public int xh { get; set; } /// /// 凭证类型 /// public string pzlx { get; set; } /// /// 发票代码 /// public string fpdm { get; set; } /// /// 发票号码 /// public string fphm { get; set; } /// /// 差额凭证号码 /// public string cepzhm { get; set; } /// /// 开具日期 /// public string kjrq { get; set; } /// /// 凭证合计金额 /// public decimal pzhjje { get; set; } /// /// 本次扣除金额 /// public decimal bckcje { get; set; } /// /// 备注 /// public string bz { get; set; } } }