Logs every action taken on the invoice, including creation, edits, status changes, and payment updates.
Records the user who performed each action, along with timestamps for accurate tracking.