Created
March 20, 2020 11:20
-
-
Save hexbinoct/ec13f3b957235b72a81c31d7162f9899 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class InvoiceItems | |
{ | |
public InvoiceItems() | |
{ | |
} | |
public double Discount { get; set; } | |
public int InvoiceType { get; set; } | |
public string ItemCode { get; set; } | |
public string ItemName { get; set; } | |
public string PCTCode { get; set; } | |
public double Quantity { get; set; } | |
public string RefUSIN { get; set; } | |
public double SaleValue { get; set; } | |
public double TaxCharged { get; set; } | |
public float TaxRate { get; set; } | |
public double TotalAmount { get; set; } | |
public double FurtherTax { get; set; } | |
} | |
//[Serializable] | |
public class Invoice | |
{ | |
public Invoice() | |
{ | |
} | |
public string InvoiceNumber { get; set; } | |
public string BuyerName { get; set; } | |
public string BuyerPhoneNumber { get; set; } | |
public DateTime DateTime { get; set; } | |
public double Discount { get; set; } | |
public double FurtherTax { get; set; } | |
public string FBRInvoiceNumber { get; set; } | |
public int InvoiceType { get; set; } | |
public List<InvoiceItems> Items { get; set; } | |
public int PaymentMode { get; set; } | |
public int POSID { get; set; } | |
public string RefUSIN { get; set; } | |
public double TotalBillAmount { get; set; } | |
public double TotalQuantity { get; set; } | |
public double TotalSaleValue { get; set; } | |
public double TotalTaxCharged { get; set; } | |
public string USIN { get; set; } | |
public string BuyerNTN { get; set; } | |
public string BuyerCNIC { get; set; } | |
} | |
[Serializable] | |
public class FBRInvoiceResponse | |
{ | |
public string InvoiceNumber, Response, Code; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment