adding purchase and invoice id to purchase confirmation

should fix #56