Files
juipnet/Infrastructure/ServiceClient/Alipay.AopSdk.Core/Domain/InvoiceApplyOpenModel.cs
wanyongkang d318014316 初始提交
2020-10-07 20:25:03 +08:00

158 lines
4.7 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Alipay.AopSdk.Core.Domain
{
/// <summary>
/// InvoiceApplyOpenModel Data Structure.
/// </summary>
[Serializable]
public class InvoiceApplyOpenModel : AopObject
{
/// <summary>
/// 复核人
/// </summary>
[JsonProperty("checker")]
public string Checker { get; set; }
/// <summary>
/// 操作员
/// </summary>
[JsonProperty("clerk")]
public string Clerk { get; set; }
/// <summary>
/// 不含税金额
/// </summary>
[JsonProperty("ex_tax_amount")]
public string ExTaxAmount { get; set; }
/// <summary>
/// 发票金额(加税合计)
/// </summary>
[JsonProperty("invoice_amount")]
public string InvoiceAmount { get; set; }
/// <summary>
/// 发票内容项
/// </summary>
[JsonProperty("invoice_content")]
public List<InvoiceItemApplyOpenModel> InvoiceContent { get; set; }
/// <summary>
/// 发票类型: 增值税普通电子发票(PLAIN)
/// </summary>
[JsonProperty("invoice_kind")]
public string InvoiceKind { get; set; }
/// <summary>
/// 发票备注
/// </summary>
[JsonProperty("invoice_memo")]
public string InvoiceMemo { get; set; }
/// <summary>
/// 发票抬头
/// </summary>
[JsonProperty("invoice_title")]
public InvoiceTitleApplyOpenModel InvoiceTitle { get; set; }
/// <summary>
/// 仅用于红冲,对应红冲对应的原始蓝票的发票代码,红冲时该字段必填,开蓝票时该字段不需填
/// </summary>
[JsonProperty("ori_blue_inv_code")]
public string OriBlueInvCode { get; set; }
/// <summary>
/// 仅用于红冲,对应红冲对应的原始蓝票的发票号码,红冲时该字段必填,开蓝票时该字段不需填
/// </summary>
[JsonProperty("ori_blue_inv_no")]
public string OriBlueInvNo { get; set; }
/// <summary>
/// 发起方生成的开票申请唯一id要求发起方全局唯一支付宝依据其进行幂等控制。
/// </summary>
[JsonProperty("out_apply_id")]
public string OutApplyId { get; set; }
/// <summary>
/// 申请开票对应的商户交易流水号,该流水号必须保证在同商户范围内全局唯一。
/// </summary>
[JsonProperty("out_trade_no")]
public string OutTradeNo { get; set; }
/// <summary>
/// 收款人
/// </summary>
[JsonProperty("payee")]
public string Payee { get; set; }
/// <summary>
/// 销售方地址
/// </summary>
[JsonProperty("payee_address")]
public string PayeeAddress { get; set; }
/// <summary>
/// 销售方开户账户
/// </summary>
[JsonProperty("payee_bank_account")]
public string PayeeBankAccount { get; set; }
/// <summary>
/// 销售方开户行
/// </summary>
[JsonProperty("payee_bank_name")]
public string PayeeBankName { get; set; }
/// <summary>
/// 销售方名称,对应于销售方纳税人识别号的名称
/// </summary>
[JsonProperty("payee_register_name")]
public string PayeeRegisterName { get; set; }
/// <summary>
/// 销售方纳税人识别号
/// </summary>
[JsonProperty("payee_register_no")]
public string PayeeRegisterNo { get; set; }
/// <summary>
/// 销售方电话
/// </summary>
[JsonProperty("payee_tel")]
public string PayeeTel { get; set; }
/// <summary>
/// 购买方联系方式-邮箱商家开蓝票时该字段必填使用该邮箱向购买方发送发票pdf文件。其它情况均可不传
/// </summary>
[JsonProperty("payer_contact_email")]
public string PayerContactEmail { get; set; }
/// <summary>
/// 购买方联系方式,依据税控厂商的要求,如若底层税控对接的是浙江航信,该字段必传,其它情况可不传
/// </summary>
[JsonProperty("payer_contact_mobile")]
public string PayerContactMobile { get; set; }
/// <summary>
/// 合计税额
/// </summary>
[JsonProperty("sum_tax_amount")]
public string SumTaxAmount { get; set; }
/// <summary>
/// 商户在税控服务开通后税控厂商会向商户分配秘钥并提供token的生成方法商户或ISV利用该方法生成token以获得此次调用的操作权限。目前对于阿里平台来说不需要校验该权限如果底层税控对接的是阿里平台的话该字段可不填其它的税控厂商该字段为必填
/// </summary>
[JsonProperty("tax_token")]
public string TaxToken { get; set; }
/// <summary>
/// 交易发生时间,依据税控厂商要求,目前底层税控对接的是浙江航信的话,该字段必填
/// </summary>
[JsonProperty("trade_date")]
public string TradeDate { get; set; }
}
}