Should "invoke-rc.d" or "service" be used to restart services?

The official Debian wiki page on daemons says to use service:

# service ssh restart
Restarting OpenBSD Secure Shell server: sshd.

Functionally service and invoke-rc.d are mostly equivalent, however:

  • invoke-rc.d is the preferred command for packages' maintainer scripts, according to the command's man page
  • service has a unique --status-all option, that queries status of all available daemons

It seems like service is the user-oriented command, while invoke-rc.d is there for other uses.