Use Set Category to quickly assign a category to a transaction.
To split a transaction across several categories, open the transaction details and add split parts — each part gets its own category and share (percentage) of the amount.
To view a detailed breakdown, expand the transaction with the "+" next to it. For mass payments, expanding shows the individual child transfers.