pdf generation upto payment terms