Hi there,
Thanks a lot for the reply. I have written a function based on code posted on this forum. It uses the com api and it works to a point. It opens a session, connects to a database and adds a new invoice batch. After this I am trying to add an invoice header and details but thats where it...