Error in transaction

yeah, i’ve read about that. that’s awesome. but how do we specify that in the transaction? is there a new field? or algorand itself will calculate that the fee paid by one or more txns cover the total fees?