How can find the code that fire when bulk sales invoice for next status in its workflow

this help in single doc fire but in bulk just add the correct path that is /api/method/frappe.model.workflow.bulk_workflow_approval