Do not ask forum members to do the your own work. It is aganist the rules of the forum.
Try to create your own code and then post it on the forum and ask for help if needed.
As I see in your attached Sample invoice… it’s already have a borderline. and also at the bottom line “Computer generated Invoice”
then why you asking for the things you already have?