Hi
I am currently developing an Integration between MYOB Advanced and another system. I am importing invoices to MYOB Advanced using the REST API, which works great.
However, I need to create invoices in MYOB Advanced in different branches and although I am able to set the appropriate branch on line level, the Financial Details is defaulting to the branch I am logged in on.
When logging into Advanced using they API I have the option to supply the branch so what I can do is for every invoice being imported, I just login to that branch. But this seems wrong as I would not want to login to MYOB Advanced for each and every invoice being created.
I have gone through the Advanced API course documentation and also the REST API help documentation and I can't see any way of specifying the branch other than when logging in.
On the Invoice and Memos entry there is a Financial Details tab and this is being defaulted from the users selected branch. The obvious thing would be to add the Financial details to the Invoice endpoint, but that doesn't seem to be an available option to choose from.
Any ideas of how this can be done?