using System; using System.Xml.Serialization; using System.Collections.Generic; namespace Aop.Api.Domain { /// /// ArInvoiceOpenApiResponse Data Structure. /// [Serializable] public class ArInvoiceOpenApiResponse : AopObject { /// /// 发票行信息集合 /// [XmlArray("ar_invoice_lines")] [XmlArrayItem("ar_invoice_line_open_api_response")] public List ArInvoiceLines { get; set; } /// /// 购方的地址 /// [XmlElement("buyer_address")] public string BuyerAddress { get; set; } /// /// 购方银行账号 /// [XmlElement("buyer_bank_account")] public string BuyerBankAccount { get; set; } /// /// 购方开户行名称 /// [XmlElement("buyer_bank_name")] public string BuyerBankName { get; set; } /// /// 购方发票抬头,用于打印在发票上 /// [XmlElement("buyer_invoice_title")] public string BuyerInvoiceTitle { get; set; } /// /// 购方税号 /// [XmlElement("buyer_tax_no")] public string BuyerTaxNo { get; set; } /// /// 购方的电话号码 /// [XmlElement("buyer_telephone")] public string BuyerTelephone { get; set; } /// /// 创建人 /// [XmlElement("creator")] public string Creator { get; set; } /// /// 开票人 /// [XmlElement("drawer")] public string Drawer { get; set; } /// /// 电子发票在oss上的存储地址 /// [XmlElement("elc_invoice_url")] public string ElcInvoiceUrl { get; set; } /// /// 创建时间 /// [XmlElement("gmt_create")] public string GmtCreate { get; set; } /// /// 修改时间 /// [XmlElement("gmt_modified")] public string GmtModified { get; set; } /// /// 对应发票所在OU的id,用于标示该发票所述的OU。 /// [XmlElement("inst_id")] public string InstId { get; set; } /// /// 票面金额 /// [XmlElement("invoice_amt")] public MultiCurrencyMoneyOpenApi InvoiceAmt { get; set; } /// /// 开票渠道,01:在线,02:线下 /// [XmlElement("invoice_channel")] public string InvoiceChannel { get; set; } /// /// 发票编码 /// [XmlElement("invoice_code")] public string InvoiceCode { get; set; } /// /// 发票的开票日期,yyyyMMdd /// [XmlElement("invoice_date")] public string InvoiceDate { get; set; } /// /// 发票ID,唯一标示一张发票 /// [XmlElement("invoice_id")] public string InvoiceId { get; set; } /// /// 发票介质,01:电子,02:纸质 /// [XmlElement("invoice_material")] public string InvoiceMaterial { get; set; } /// /// 发票号码 /// [XmlElement("invoice_no")] public string InvoiceNo { get; set; } /// /// 发票备注 /// [XmlElement("invoice_note")] public string InvoiceNote { get; set; } /// /// 发票状态:用于标示发票当前的状态,状态类型以及相关含义 01:待开票,02:开票中,03:已开票,04:作废中,05:已作废,06:红冲中,07:已红冲,08:部分红冲,09:无效 /// [XmlElement("invoice_status")] public string InvoiceStatus { get; set; } /// /// 发票类型:01:专票,02:普票,03:营业税发票,04:国际形式发票,05:其它发票 /// [XmlElement("invoice_type")] public string InvoiceType { get; set; } /// /// 对应发票商户的ipId,在主站标示mid,在其他环境标示ip_id。 /// [XmlElement("ip_id")] public string IpId { get; set; } /// /// 商户结算的ipRoleId,表示商户的结算对象,在主站表示pid。 /// [XmlElement("ip_role_id")] public string IpRoleId { get; set; } /// /// 最近修改人 /// [XmlElement("last_moder")] public string LastModer { get; set; } /// /// 发票开出后的邮寄状态,具体状态说明 01:待邮寄,02:已邮寄,03:退回中,04:已退回 /// [XmlElement("mail_status")] public string MailStatus { get; set; } /// /// 备注 /// [XmlElement("memo")] public string Memo { get; set; } /// /// 是否为点在发票 true:是, false:不是 /// [XmlElement("online")] public bool Online { get; set; } /// /// 收款人 /// [XmlElement("payee")] public string Payee { get; set; } /// /// 邮件信息的主键,用于‘根据发票邮寄ID获取当前的邮寄信息’的查询输入。 /// [XmlElement("recent_mail_id")] public string RecentMailId { get; set; } /// /// 是否红字 Y:红字, N:蓝字 /// [XmlElement("red")] public string Red { get; set; } /// /// 发票的红冲金额 /// [XmlElement("red_amt")] public MultiCurrencyMoneyOpenApi RedAmt { get; set; } /// /// 复核人 /// [XmlElement("reviewer")] public string Reviewer { get; set; } /// /// 销方公司地址 /// [XmlElement("seller_address")] public string SellerAddress { get; set; } /// /// 销方银行账号 /// [XmlElement("seller_bank_account")] public string SellerBankAccount { get; set; } /// /// 销方开户行名称 /// [XmlElement("seller_bank_name")] public string SellerBankName { get; set; } /// /// 销方公司名称 /// [XmlElement("seller_company_name")] public string SellerCompanyName { get; set; } /// /// 销方税号,用于打印在发票上 /// [XmlElement("seller_tax_no")] public string SellerTaxNo { get; set; } /// /// 销方公司电话 /// [XmlElement("seller_telephone")] public string SellerTelephone { get; set; } /// /// 租户id /// [XmlElement("tnt_inst_id")] public string TntInstId { get; set; } } }