using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CommunicationWithApi.Model
{
    internal class Invoice
    {
        public Guid UniqueId { get; set; }
        public int? BuyerType { get; set; }
        public string BuyerCompanyName { get; set; }
        public string BuyerFirstName { get; set; }
        public string BuyerLastName { get; set; }
        public string BuyerNationalCode { get; set; }
        public string BuyerEconomicCode { get; set; }
        public string BuyerPostalCode { get; set; }
        public int SaleType { get; set; }
        public string InvoiceNumber { get; set; }
        public DateTime InvoiceDate { get; set; }
        public string ReferenceTaxSerialNumber { get; set; }
        public int InvoicePattern { get; set; }
        public int InvoiceType { get; set; }
        public int InvoiceSubject { get; set; }
        public TimeSpan InvoiceTime { get; set; }
        public string Description { get; set; }
        public bool HasBuyerPaidTax { get; set; }
        public int? FlightType { get; set; }
        public string SellerCustomsDeclarationNumber { get; set; }
        public string SellerCustomsLicenseNumber { get; set; }
        public string SellerContractRegistrationNumber { get; set; }
        public string BillId { get; set; }
        public string Tax17 { get; set; }
        public string CooperationCode { get; set; }
        public List<InvoiceItem> InvoiceItems { get; set; }
        public List<InvoicePayment> InvoicePayments { get; set; }
    }
}
