> ## Documentation Index
> Fetch the complete documentation index at: https://support.visualcare.com.au/llms.txt
> Use this file to discover all available pages before exploring further.

# MYOB export troubleshooting

> Common MYOB export errors and how to resolve them in Visualcare

This page covers errors you might see when exporting invoices or timesheets from Visualcare to MYOB.

<Tip>For general integration setup and configuration, see [Integration troubleshooting](/troubleshooting/integration-issues).</Tip>

## Invoicing errors

### Error: No client accounting code

**Symptoms:** The export fails with "No Client Accounting Code".

**Cause:** The **Accounting Code** field on the client profile is blank. This typically happens when the code wasn't selected when the profile was created, or the linked MYOB contact has changed.

**Fix:**

1. Open the client profile in Visualcare
2. Check whether an accounting code is listed
3. If not, log in to MYOB and confirm there's an active contact for this client
4. If no contact exists, create one and make sure it has the correct linked account set up (for example, an income account for sales)
5. Return to the client profile in Visualcare and click **Sync contact from MYOB**
6. Once the contact syncs, select the **Accounting Code** from the drop-down and save

***

### Error: No client payer accounting code / No agreement payer accounting code

**Symptoms:** The export fails with "No Client Payer Accounting Code" or "No Agreement Payer Accounting Code".

**Cause:** The payer linked to the client profile or client agreement doesn't have an accounting code set in Visualcare.

**Fix:**

1. Open the client profile to identify the **Client Payer**, or open the client agreement to identify the **Agreement Payer**
2. Go to **Maintenance** → **Payers** and open the relevant payer profile
3. Under the **Details** tab, locate the **Accounting Code** field
4. Enter the correct MYOB code and click **Save**
5. Retry the export

***

### Error: No service accounting code

**Symptoms:** The export fails with "No Service Accounting Code".

**Cause:** The service is missing an accounting code in Visualcare. This usually happens when the service wasn't originally linked to a MYOB inventory item, or when the MYOB inventory item was deleted or renamed.

**Fix:**

1. Go to **Maintenance** → **Services** and open the affected service
2. Check the **Accounting Code** drop-down for the relevant MYOB inventory item
3. If it's not listed, log in to MYOB and check whether the inventory item exists
4. If not, create a new inventory item in MYOB
5. Return to Visualcare, go to **Maintenance** → **Services**, and click **Sync MYOB Invoice Items**
6. Once the sync completes, open the service, assign the **Accounting Code** from the drop-down, and save

***

### Error: EXEMPTOUTPUT (tax code error)

**Symptoms:** The export fails with "Error converting value 'EXEMPTOUTPUT' to type 'System.Guid'. Path 'Lines\[0].TaxCode.UID'".

**Cause:** The wrong MYOB company account is selected in Visualcare, which causes a mismatch in tax code configuration.

**Fix - step 1: select the correct MYOB company**

1. Go to **Settings** → **Data Export**
2. Under the **MYOB Company** drop-down, select the correct MYOB account
3. Scroll down and click all the sync buttons (for example, **Invoice Items**, **Tax Codes**)

**Fix - step 2: if syncing fails**

1. Scroll to the top of the **Data Export** tab
2. Click **Disconnect MYOB** and then **Save**
3. Reload the page in your browser
4. Click **Authorise MYOB** to reconnect
5. Scroll down and click all the sync buttons again

***

### Error: FAIL Error converting value "" to type System.Guid

**Symptoms:** The export fails with "FAIL Error converting value '' to type 'System.Guid'. Path 'Lines\[x].Activity.UID'".

**Cause:** A field mapped to the MYOB Job contains a blank value, or a client agreement has **Override KM Charge Code** ticked without a valid code selected.

**Fix - if the mapped job field has blank values:**

1. Go to **Settings** → **Data Export** → **MYOB / Quickbooks**
2. Check the **Invoice - Job Field** and **Timesheets - Job Field** settings to see which field is mapped
3. Navigate to the source of that field (for example, the client agreement, service, or client profile) and make sure the field is populated for all records included in the export

**Fix - if an override KM charge code is blank:**

1. Open the client agreement included in the export
2. If **Override KM Charge Code and KM Charge Rate** is ticked, confirm a valid **KM Charge Code** is selected
3. Either select a valid code from the drop-down, or untick the override option
4. Save the agreement and retry the export

***

### Error: Job is missing

**Symptoms:** The export fails with "Job is missing".

**Cause:** The field mapped to the MYOB Job in Visualcare contains a blank value, or the job value entered doesn't exist in MYOB.

**Fix:**

1. Go to **Settings** → **Data Export** → **MYOB / Quickbooks** in Visualcare
2. Check what is selected for **Invoice - Job Field** and **Timesheets - Job Field**
3. Navigate to the corresponding location in Visualcare (for example, the client agreement if **Agreement Reference 1** is selected) and confirm the field has a valid value
4. Log in to MYOB and confirm the job exists and is active
5. If the job doesn't exist in MYOB, create it to match the value in Visualcare
6. Retry the export

***

## Running into issues?

If your issue isn't listed here, contact the Visualcare helpdesk.

## Related articles

<CardGroup cols={2}>
  <Card title="Integration troubleshooting" icon="plug-circle-xmark" href="/troubleshooting/integration-issues">
    General integration and data export errors
  </Card>

  <Card title="MYOB integration" icon="building-columns" href="/integrations/myob">
    Set up and configure the MYOB integration
  </Card>

  <Card title="Xero export troubleshooting" icon="wrench" href="/troubleshooting/xero-export-errors">
    Common Xero export errors and fixes
  </Card>

  <Card title="Exporting payroll data" icon="file-export" href="/finance/exporting-payroll-data">
    How to export timesheets and payroll data from Visualcare
  </Card>
</CardGroup>
