NewGaoKaoApi/PaymentSDK/AliPay/Domain/InvoiceItemApplyOpenModel.cs

97 lines
3.6 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// InvoiceItemApplyOpenModel Data Structure.
/// </summary>
[Serializable]
public class InvoiceItemApplyOpenModel : AopObject
{
/// <summary>
/// 明细不含税金额该值为item_quantityitem_unit_price依据税控厂商的不同目前对接的阿里平台和浙江航信该字段不必传
/// </summary>
[XmlElement("item_ex_tax_amount")]
public string ItemExTaxAmount { get; set; }
/// <summary>
/// 发票项目名称(或商品名称)
/// </summary>
[XmlElement("item_name")]
public string ItemName { get; set; }
/// <summary>
/// 商品编号
/// </summary>
[XmlElement("item_no")]
public string ItemNo { get; set; }
/// <summary>
/// 数量。新版电子发票,折扣行此参数不能传,非折扣行必传
/// </summary>
[XmlElement("item_quantity")]
public long ItemQuantity { get; set; }
/// <summary>
/// 商品型号
/// </summary>
[XmlElement("item_spec")]
public string ItemSpec { get; set; }
/// <summary>
/// 明细价税合计。该值为item_tax_amountitem_ex_tax_amount依据税控厂商的不同目前对接的阿里平台和浙江航信该字段可不传
/// </summary>
[XmlElement("item_sum_amount")]
public string ItemSumAmount { get; set; }
/// <summary>
/// 明细税额该值为item_ex_tax_amount*item_tax_rate,依据税控厂商的不同,对于目前对接的浙江航信和阿里平台,该字段可不传
/// </summary>
[XmlElement("item_tax_amount")]
public string ItemTaxAmount { get; set; }
/// <summary>
/// 税率
/// </summary>
[XmlElement("item_tax_rate")]
public string ItemTaxRate { get; set; }
/// <summary>
/// 单位
/// </summary>
[XmlElement("item_unit")]
public string ItemUnit { get; set; }
/// <summary>
/// 单价格式100.00。新版电子发票,折扣行此参数不能传,非折扣行必传
/// </summary>
[XmlElement("item_unit_price")]
public string ItemUnitPrice { get; set; }
/// <summary>
/// 优惠政策标识。0没有优惠政策1对应零税率为免税或者不征税
/// </summary>
[XmlElement("prefer_policy_flag")]
public string PreferPolicyFlag { get; set; }
/// <summary>
/// 发票行性质。0表示正常行1表示折扣行2表示被折扣行。比如充电器单价100元折扣10元则明细为2行充电器行性质为2折扣行性质为1。如果充电器没有折扣则值应为0
/// </summary>
[XmlElement("row_type")]
public string RowType { get; set; }
/// <summary>
/// 增值税特殊管理。该标识会展示在票面上,和优惠政策标识和零税率标识强关联;如果是免税,在税率那一行展示“免税”;如果是不征税,在税率那一行展示“不征税”
/// </summary>
[XmlElement("special_manage_flag")]
public string SpecialManageFlag { get; set; }
/// <summary>
/// 零税率标识。为空:非零税率; 1免税2不征税3普通零税率
/// </summary>
[XmlElement("zero_tax_flag")]
public string ZeroTaxFlag { get; set; }
}
}