With this free Tally Prime TDL or Tally ERP9 TDL we can set partywise and item wise last rate and last discount of item at invoicing time. Video:https://youtu.be/wQLxLBZ4dbo