Adding option to include invoiceNumber in PayPalPayment.

I need set the invoiceNumber in my project to associate Paypal payments with my own payment records that i need to create before launch the singlePaymentUI.
we don't check for type anywhere else, why would we want to do it here ?