You would have to use the Create Object action, to create all 4 objects, and link them together, by assigning them as values for the associations. Then you can pass the parent object, GenerateInvoice, to your Rest call action.
See https://developer.moneybird.com/
When you get an developer account you can test your call against a test environment.
Regards,
Ronald