using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// /// InvoiceItemOpenModel Data Structure. /// [Serializable] public class InvoiceItemOpenModel : AopObject { /// /// 明细行不含税金额,保留两位小数 /// [XmlElement("item_ex_tax_amount")] public string ItemExTaxAmount { get; set; } /// /// 开票项目:货物或应税劳务、服务名称 /// [XmlElement("item_name")] public string ItemName { get; set; } /// /// 国税局制定的商品税收编码,必须是最末级 /// [XmlElement("item_no")] public string ItemNo { get; set; } /// /// 数量,可精确到两位小数 /// [XmlElement("item_quantity")] public long ItemQuantity { get; set; } /// /// 规格型号 /// [XmlElement("item_spec")] public string ItemSpec { get; set; } /// /// 明细行价税合计,必须保证item_sum_amount=item_ex_tax_amount+item_tax_amount。 /// [XmlElement("item_sum_amount")] public string ItemSumAmount { get; set; } /// /// 明细行税额,保留两位小数,无税或者免税情况下输入:0.00。 /// [XmlElement("item_tax_amount")] public string ItemTaxAmount { get; set; } /// /// 明细行税率,无税或者免税情况下输入:0.00。 /// [XmlElement("item_tax_rate")] public string ItemTaxRate { get; set; } /// /// 单位 /// [XmlElement("item_unit")] public string ItemUnit { get; set; } /// /// 不含税单价,可精确到8位小数 /// [XmlElement("item_unit_price")] public string ItemUnitPrice { get; set; } /// /// 发票行性质:0表示正常行,1表示折扣行,2表示被折扣行。 /// [XmlElement("row_type")] public string RowType { get; set; } } }