How to hook into invoice and creditmemo creation?


was reading through and I’m trying to figure out how to attach my actions to following events:

  • invoice is created
  • creditmemo is created

Can you shed some light on where are those stored within the postgres database ?
Or, if they are not - how can we trigger something on those two being created? Maybe there are any existing events?


We don’t have module for Invoice and Credit memo handling.
In Spryer-Shop/Suite we have example of state machine for simple invoice process.

Here you find related documentation