We post interest, then principal, then late fees, then additional principal. Late fees are tracked outside of the payment due date and if unpaid with the monthly payment are added on the loan payoff, not the loan balance.
_________________________
I can't herd the cats anymore, so I just set up the electric fences and let them fry when they stray out of bounds.