BOI script to update the Sales Journal

Hi Forum,

I am automating Sales Order Invoices import from an external source.  

I got that working (we are in test mode), now i am trying to write a script to Update the Sales Journal via script.

Has anybody done something like this?.. i cannot find anything on the forum on it.

First of all, is it possible to do this task in a BOI script?

Any suggestions will be greatly appreciated.

Regards,

Manuel Roman