Added endpoint for invoices