You can set up an IM Group that runs the Integration in stages.
First create an "Insert Only" integration to set up new Customers. If the Customer Number already exists, it will just reject. Next create the Invoice Integration.
Then select "New Integration Group". Add the New Customer integration and the Invoice Integration to the Group.
Now when you kick off the Integration Group, it will chain from one Integration to the next.