Automation order invoices

Question:
Why is the invoice not in payload json when an automation is triggered?
It is always empty!

What are you trying to achieve:
When an order is submitted, the invoice should also be included via webhook but the invoice is always empty!

What have you already tried:
Created an automation when an order is submitted via webhook and have invoice as a field in the payload json!

Are you trying to get the associated json payload via Wix Automations?

You may find it helpful to use event handler functions to handle when a invoice is created or when a order is created.

The issue with order automation is that the invoice object in the json payload is always empty! Do not know why!