Skip to content

Instantly share code, notes, and snippets.

@hexbinoct
Created March 20, 2020 11:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hexbinoct/ec13f3b957235b72a81c31d7162f9899 to your computer and use it in GitHub Desktop.
Save hexbinoct/ec13f3b957235b72a81c31d7162f9899 to your computer and use it in GitHub Desktop.
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