I need to set the order->invoiceNumber but I'm not sure how to access the order object.
How do I new up an order object?
IE: new AnetAPI\CustomerProfilePaymentType();
Can you please provide more details on this. Which SDK are you using, what API method? You mentioned about customerProfilePAymentType but this does not have an order type.