You can connect your Lightyear account to MYOB Acumatica so that Lightyear imports your suppliers, chart of accounts and tax rates, and exports your bills and credit notes. MYOB Advanced was renamed MYOB Acumatica in July 2024, so this article applies to both names. You only need to set up the connection once.
If you use MYOB Business or AccountRight, follow the MYOB Business setup article instead.
Check your MYOB Acumatica user
Before you connect, check the MYOB Acumatica user who will create the connection:
The user must be a licensed user with Full User (Full API) or Limited API permissions. Speak to your MYOB consultant if you need Full User (Full API) licences.
If you connect multiple Lightyear accounts to one MYOB Acumatica instance, the Max Number of Concurrent Logins field on the user's profile must contain the same number as your Lightyear accounts, or a higher number. Otherwise, you may have intermittent connection issues between your Lightyear accounts.
Connect Lightyear to MYOB Acumatica
You need your MYOB Acumatica domain name, a client secret and a client ID to connect. You get the client secret and client ID by creating a connected application in MYOB Acumatica. Keep the Lightyear connection window open while you work through each part, as you paste values into it as you go.
Open the connection window
You enter your MYOB Acumatica details in a window in Lightyear.
From the navigation pane, click Settings, then click Accountancy.
Select MYOB Acumatica, then click Connect.
A window opens asking for your MYOB Acumatica credentials: Domain Name, Client Secret and Client ID.
Enter your domain name
Your domain name is the web address you use to sign in to MYOB Acumatica, for example company-name.myobadvanced.com.
In MYOB Acumatica, copy the domain from the address bar of your browser, without the https:// part.
In Lightyear, paste the domain into the Domain Name field.
Create the client secret
You create the client secret in a connected application in MYOB Acumatica.
Sign in to MYOB Acumatica.
In the search bar, enter Connected Applications, then open it.
Enter a name in the Client Name field.
In the Flow field, select Authorization Code.
If you see the Refresh Tokens section, complete the following:
In the Mode field, select Sliding Expiration.
Select the Infinite checkbox.
In the Sliding Lifetime (Days) field, enter 60.
Click ADD SHARED SECRET.
Enter a description in the Description field, then set an expiry date.
Copy the secret value, then paste it into the Client Secret field in Lightyear.
Click OK.
⚠️Warning: Copy the secret value before you click OK. You can't retrieve it later.
⚠️Important: The expiry date you set is the date you need to connect Lightyear to MYOB Acumatica again. Choose a date that fits your organisation's needs and policies.
📌Note: Older versions of MYOB Acumatica don't have the customisable Refresh Tokens section. If you don't see it, your connection may disconnect when your refresh tokens expire, which is usually monthly. Ask your MYOB consultant to upgrade your instance to include the refresh token customisations.
Copy the client ID
MYOB Acumatica creates your client ID when you save the connected application.
Click Save. The Client ID field fills automatically.
Copy the client ID, then paste it into the Client ID field in Lightyear.
Add the redirect URI
The redirect URI sends you back to Lightyear after you authorise the connection.
Click the Redirect URIs tab, then click the + button.
Enter https://app.lightyear.cloud/accounting-software as the URI, then click Save.
Authorise the connection
Once you add all three values to Lightyear, you can authorise the connection.
In Lightyear, check that the Domain Name, Client ID and Client Secret are correct, then click Connect.
When MYOB Acumatica asks you to authorise the connection, click Yes, Allow.
MYOB Acumatica sends you back to Lightyear, where you're prompted to configure your Accountancy Software Settings. Once you complete them, the import routine runs.
Configure your accountancy software settings
Accountancy Software Settings control how Lightyear exports your bills and credit notes to MYOB Acumatica. You can:
Turn subaccounts on or off.
Turn locations on or off, and set a default location.
Turn branches on or off, and set a header branch.
Automatically apply categories at line item level.
Automatically apply the chart of accounts at line item level.
Send the product code.
Send the document as an attachment to MYOB Acumatica.
Set the posting date.
Export a document URL link.
Turn on grouped line data.
Subaccounts
Turn on the Do you use Subaccounts? option if you have subaccounts in MYOB Acumatica that you want to import into Lightyear. You can then select a subaccount against each bill or credit note line item before you export it to MYOB Acumatica.
Locations
Turn on the Do you use Locations? option if you use locations in MYOB Acumatica. Before you turn this on, follow the Locations setup article to extend your locations from MYOB Acumatica to Lightyear.
Yes: Lightyear sets the location you choose as the header location on every bill and credit note you export from this Lightyear account to MYOB Acumatica.
No: Lightyear doesn't set a location. MYOB Acumatica sets a default location when it creates the document.
📌Note: The location is set at company level, so you can't change it for individual documents. You can only see it in Accountancy Software Settings, and on the document once you export it to MYOB Acumatica.
Branches and header branch
Turn on the Do you use Branches? option if you have branches in MYOB Acumatica that you want to import into Lightyear. You can then select a branch against each bill or credit note line item before you export it to MYOB Acumatica.
When you turn on branches, you can also use the Set Document Header Branch As option. This sets a specific branch as the header branch on every bill and credit note you export to MYOB Acumatica.
📌Note: The header branch is set at company level, so you can't change it for individual documents.
Categories
The Automatically apply Categories on line item level? option controls whether Lightyear fills in the category for you.
Yes: You code the supplier line once in Lightyear. The next time Lightyear extracts the same line item, it applies the category you chose.
No: Lightyear leaves the categories blank so you can code each line individually.
Chart of accounts
The Automatically apply Chart of Accounts on line item level? option controls whether Lightyear fills in the account for you.
Yes: You code the supplier line once in Lightyear. The next time Lightyear extracts the same line item, it applies the account you chose.
No: Lightyear leaves the accounts blank so you can code each line individually.
Product code
Set the Send Product Code? option to Yes if you want to export the product code Lightyear extracts from your documents. Lightyear then tries to export the product code on each line item. If a product code doesn't exist in MYOB Acumatica as an Inventory ID, the export fails, and you need to add the item in MYOB Acumatica.
📌Note: MYOB Acumatica validation only fails the export if the product code on the final line item doesn't exist as an Inventory ID. In that case, the other lines export with their product codes (Inventory IDs), and the lines with missing product codes export with a blank Product Code or Inventory ID.
Attachments
The Send Attachment to MYOB Acumatica? option controls whether Lightyear sends the bill or credit note PDF with the document data.
Yes: Lightyear exports the PDF with the document data. MYOB Acumatica attaches it in the Files section of the bill.
No: Lightyear doesn't send the PDF. You can send the document URL instead.
⚠️Important: MYOB enforces a 3 MB file size limit for PDF attachments. If an invoice PDF is larger than 3 MB, the attachment doesn't export.
Posting date
The Sync Posting Date As option sets which date Lightyear exports as the posting date. You can choose one of two dates, depending on your business needs:
Export Date: The date the document is exported from Lightyear to MYOB Acumatica.
Invoice Date: The date in the Invoice Date field in Lightyear. If you choose this option, you can also select a Custom Date in the Approvals Workflow.
Document URL link
The Export Document URL Link? option controls whether Lightyear sends a link to the original document. Before you turn this on, follow the Document URL setup article to set up a custom field in MYOB Acumatica that accepts the Lightyear URL.
Yes: Lightyear exports the document URL to the custom field in MYOB Acumatica. Anyone with the link can view the original document without needing access to Lightyear.
No: Lightyear doesn't export a document URL.
Grouped line data
Turn on the Group Line Item Data? option to export grouped account data instead of line item data. For more information, see the Group line data article.
Check your imported data
Once the connection is established, Lightyear imports your MYOB Acumatica data. Lightyear automatically syncs the following data from MYOB Acumatica, as it needs it to process your payables bills:
MYOB suppliers.
Chart of accounts.
Tax rates.
Lightyear also syncs the following data if you turned it on in Accountancy Software Settings:
Subaccounts.
Branches.
Locations. These only appear in the Location drop-down menu in Accountancy Software Settings.
Set up your default tax rates
Your final setup step is to set up your default tax rates. Follow the Default tax rates article to do this.
⚠️Important: You must have a default tax code set up before Lightyear can export bills to MYOB Acumatica.
Check supplier bank details
Bank details are customisable fields in MYOB Acumatica. When you import suppliers, the description in Payment Instructions must match these labels exactly:
BSB Number. Don't use Sort Code or Branch Code.
Account Number. Don't use abbreviations such as ACC Number or Account.
Troubleshoot connection and export issues
Use the following to fix the most common issues with the MYOB Acumatica connection:
If the import fails after you connect, check that the user who made the connection has Full User (Full API) or Limited API permissions. You can check this under Users, then License Types, in MYOB Acumatica.
If you have intermittent connection issues between multiple Lightyear accounts, check the Max Number of Concurrent Logins field on the connecting user's profile in MYOB Acumatica. It must contain the same number as your Lightyear accounts, or a higher number.
If your connection disconnects roughly every month, your MYOB Acumatica version may not have the customisable Refresh Tokens section. Ask your MYOB consultant to upgrade your instance.
If your connection stops on a set date, the client secret may have reached the expiry date you set. Connect Lightyear to MYOB Acumatica again by following the steps in this article.
If bills don't export, check that you have a default tax code set up.
If a product code doesn't export, check that it exists in MYOB Acumatica as an Inventory ID.
If a PDF attachment doesn't export, check that the PDF is smaller than 3 MB.
Change accountancy software
Once you select MYOB Acumatica as your accountancy software, you can't change it. If you're thinking about changing your accountancy software, contact our Support team for guidance.



