If the issue is with MYOB Earnings via API import,   please contact MYOB support to fix on their end and have the file examined.

Please check this guide to learn more Financial import from Myob AccountRight - Issue with Retained Earnings

Message from MYOB support-

"Thanks for reaching out.. it seems) some incorrect data inside their company file which will only return incorrect values via the API. To have this corrected, a backup of the company file will need to be sent to our Datafile Repair Team so they can investigate the issue. They will then work out a fix and apply it to the backup and send it back to be checked. Once the client is happy with the fix, the Datafile repair team and the client arrange a time between themselves to have the fix applied to the live file."