namespace Ladaer.BackEnd.Infrastructures.DTO.Models.Finance
{
    /// <summary>
    /// Model để tạo/cập nhật hóa đơn VAT (nếu cần edit thủ công)
    /// </summary>
    public class VatInvoiceModel
    {
        public int Id { get; set; }
        public string ExternalId { get; set; }
        public int TemplateCode { get; set; }
        public string InvoiceSymbol { get; set; }
        public string InvoiceNumber { get; set; }
        public string InvoiceType { get; set; }
        public DateTimeOffset IssueDate { get; set; }
        public string SellerTaxCode { get; set; }
        public string SellerName { get; set; }
        public string SellerAddress { get; set; }
        public string BuyerTaxCode { get; set; }
        public string BuyerName { get; set; }
        public string BuyerAddress { get; set; }
        public string CustomerCode { get; set; }
        public decimal AmountBeforeTax { get; set; }
        public decimal TaxAmount { get; set; }
        public decimal TotalAmount { get; set; }
        public string Currency { get; set; }
        public int PaymentMethod { get; set; }
        public string PaymentMethodText { get; set; }
        public int Status { get; set; }
        public string Note { get; set; }
        public string RawJsonData { get; set; }
        public DateTimeOffset SyncTime { get; set; }

        public int UpdatedBy { get; set; }
        public string UpdatedByUserName { get; set; }
    }
}
