Accrued interest is added to compensate the bond seller for the interest earned since the last coupon payment. Since the bondholder is entitled to the full interest payment at the next coupon date, the buyer reimburses the seller for the interest that has accrued up to the purchase date.