NewGaoKaoApi/PaymentSDK/AliPay/Domain/InvoiceItemOpenModel.cs

79 lines
2.3 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>
/// InvoiceItemOpenModel Data Structure.
/// </summary>
[Serializable]
public class InvoiceItemOpenModel : AopObject
{
/// <summary>
/// 明细行不含税金额,保留两位小数
/// </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_sum_amount=item_ex_tax_amount+item_tax_amount。
/// </summary>
[XmlElement("item_sum_amount")]
public string ItemSumAmount { get; set; }
/// <summary>
/// 明细行税额保留两位小数无税或者免税情况下输入0.00。
/// </summary>
[XmlElement("item_tax_amount")]
public string ItemTaxAmount { get; set; }
/// <summary>
/// 明细行税率无税或者免税情况下输入0.00。
/// </summary>
[XmlElement("item_tax_rate")]
public string ItemTaxRate { get; set; }
/// <summary>
/// 单位
/// </summary>
[XmlElement("item_unit")]
public string ItemUnit { get; set; }
/// <summary>
/// 不含税单价可精确到8位小数
/// </summary>
[XmlElement("item_unit_price")]
public string ItemUnitPrice { get; set; }
/// <summary>
/// 发票行性质0表示正常行1表示折扣行2表示被折扣行。
/// </summary>
[XmlElement("row_type")]
public string RowType { get; set; }
}
}