adding purchase and invoice id to purchase confirmation

should fix #56. will add fix for #55