What are the details for an invoice including related purchase order, amounts, and payment details?