Tax deducted at source is an approximation calculated from information available before the year is complete. Refunds and balancing payments exist because the approximation is settled against reality afterwards.
Withholding is an estimate applied in advance
Employers deduct tax each pay period using a code or set of assumptions supplied by the tax authority, based on expected income and entitlements.
The calculation typically assumes the current pay pattern continues for the full year, which is how a periodic deduction can approximate an annual liability.
Anything that departs from that assumption creates a difference, and the difference is only resolved when the year is assessed.
Why collecting at source is preferred
Tax collected as income is paid is far more reliable than tax demanded afterwards, because the money is captured before it can be spent.
It also spreads the payment across the year, which avoids a single large demand that many households would struggle to meet.
The cost is accuracy, since the system must estimate in advance, and estimation errors are the source of the refunds and bills that follow.
What creates the mismatch
Changing jobs mid-year, working part of the year, or holding two employments simultaneously all disturb the assumption of steady income.
Bonuses can be taxed in the period received as though that level of pay were permanent, which overstates the annual liability temporarily.
Income outside employment, changes in entitlements, and reliefs not reflected in the code produce differences in either direction.
Why a large refund is not a windfall
A refund returns money that was the taxpayer's throughout. It represents an interest-free advance to the authority rather than a benefit received.
Treating it as a gain is common because it arrives as a lump sum at a predictable time, which makes it feel like income rather than a return of overpayment.
Adjusting the deduction so the amount arrives through the year is generally the better arrangement, though many people prefer the enforced saving.
Why balancing payments arrive late
Underpayments surface only when the year is reconciled, which can be months after the income was received and spent.
Where the underpayment is significant, authorities frequently collect it by adjusting the following year's deductions rather than demanding it immediately.
Codes, reconciliation timetables and correction mechanisms differ by country and change, so the local procedure determines how and when any difference is settled.