Custom Fields in Purchase Invoice and expense claim

Edit the custom fields under Settings and check the appropriate boxes. See Custom fields.