Change Transaction Series creating invoice via API

Change Transaction Series creating invoice via API

Hello,

Now that we have custom transaction series, is there any way to pick the transaction series that we want when creating an invoice throught the API? I cannot see it in the documentaton