Returns the action log history for an AP invoice, including the current invoice state, ordered action logs, and the users responsible for the next action.
invoice — the invoice with computed approved_by, registered_by, approval_date, and registration_date fields.invoice_action_logs — ordered list of every action log entry for the invoice.responsible_users — users assigned to the current pending action, each with a complete flag indicating whether they have finished their step.