Problem:
I have a lot of instant invoices to make. So I made a few migration jobs to assist with this. I can create a header, add lines, add tax lines, this all goes well.
There are 2 problems
- The account isn't set when creating the line
- There's also supposed to be postings created in the background, these are not created and I can't really find a way to create them. There's a Create_postings function in the INSTANT_INVOICE_API, but it's private, so you can't use it outside it's intended purpose.
I've looked past many INSTANT_INVOICE related API packages, but I can't find how to trigger the create posting method. Does anyone have experience with this specific topic?
