CompanyFileId
The ID of the company file. For cloud connections, an administrator can select the business during OAuth authorization; the returned ID is saved with the OAuth settings. For local connections, if this property is not set, the first returned company file is used.
Data Type
string
Default Value
""
Remarks
The CompanyFiles view lists files from on-premise MYOB instances; online instances return no rows. To find a cloud company file ID, sign in to https://app.myob.com/, open your business, and copy the GUID immediately after
/au/in your browser's address bar.
SELECT Id FROM CompanyFiles