Common MYOB Export Errors

Edited

Use this guide to identify and resolve common MYOB Business connection and export errors in HirePOS.

Find the exact error message or symptom in the tables below. Simple errors are resolved directly in the table, while errors needing additional checks are explained under the corresponding heading. Values such as an account code, Job name, or Invoice Number will vary.

Connection and access errors

Error or symptom

Likely cause

What to do

Something went wrong and we couldn't connect the app. Try again later.

MYOB did not complete the authentication and consent process.

Wait approximately 30 minutes and connect again using an MYOB Administrator account. See the specific connection-error guide.

Access Denied or unauthorised after the exporter opens

The MYOB session has expired, the wrong business is connected, or separate company-file credentials are required.

Close and reopen the exporter. If the error continues after connection, check the padlock beside Refresh.

The MYOB Exporter button is missing

MYOB Business is not selected or the HirePOS user cannot use accounting synchronisation.

Check Accounting Preferences and the user's restrictions.

Something went wrong and we couldn't connect the app

If this message appears on secure.myob.com after clicking Connect, the error occurred during MYOB's authentication process before control returned to HirePOS.

  1. Confirm that the MYOB user has Administrator access to the selected MYOB business.

  2. Wait approximately 30 minutes.

  3. Open the MYOB Exporter from HirePOS again.

  4. Sign in, select the correct business, and click Connect.

There is generally no need to change the HirePOS accounting settings or company-file credentials for this error.

See MYOB - "Something went wrong and we couldn't connect the app" for more information.

Access Denied or unauthorised after the exporter opens

The MYOB account authorisation and optional company-file credentials are separate.

  1. Close the MYOB Exporter.

  2. Open it again from HirePOS and sign in if prompted.

  3. Confirm that the correct MYOB business is connected.

  4. If the exporter opens but MYOB requests still fail, click the padlock beside Refresh.

  5. Check the Company File User Name and Password. Leave the password blank if the company file does not have one.

MYOB Exporter button is missing

Go to Setup > Preferences > Accounting and confirm that MYOB Business is selected.

If user restrictions are enabled, the HirePOS user must also have permission to use accounting synchronisation. Ask an administrator to review the user's restrictions if the launch option remains unavailable.

Invoice errors

Error message or symptom

Likely cause

What to do

SerializationError referring to Lines[0].Account.UID

An invoice line has no valid MYOB income account.

Preview the invoice in the exporter and check the complete account-code priority.

No matching MYOB Account Code for [code]

The selected HirePOS account code does not exist in MYOB.

Correct the applicable Invoice Category, Selling Unit, Item, Item Category, or Item Type code.

SerializationError referring to Lines[*].Account.UID on a free-typed line

The line has no configured item from which to obtain an account code.

Replace it with a configured item or correct the applicable group-code mapping.

No matching MYOB Tax Code for [code]

The HirePOS tax code cannot be found in MYOB.

Confirm that the same tax code exists in MYOB.

SerializationError referring to Lines[0].TaxCode.UID

An invoice line has no valid tax code.

Check the Tax Code on every invoice line.

No matching MYOB Job for [job]

An item or branch uses a Job number that does not exist in MYOB.

Check item tracking first, then branch tracking, and correct the Job number.

QueryParseException, Identifier:(Card), or Object variable or With block variable not set

MYOB rejected customer, code, or description information.

Check names, codes, and descriptions for unsupported characters.

Object reference not set to an instance of an object

General validation or connection failure with several possible causes.

Check the connected business, company-file password, customer details, account codes, and tax codes.

Invoice is greyed out, shows Not Approved, or has a red prohibited symbol

Approved Only export is enabled and the invoice is not approved.

Approve the invoice and refresh the exporter.

MYOB invoice total differs from HirePOS

MYOB calculated a different tax or rounding total.

Review the exported invoice in MYOB and make any required rounding adjustment.

Invoice account-code errors

These include:

  • SerializationError - Error converting value {null} to type 'System.Guid'. Path 'Lines[0].Account.UID'

  • No matching MYOB Account Code for [code]

  • SerializationError referring to Lines[*].Account.UID

Every invoice line needs an income account code that exactly matches an MYOB account number.

Click the Invoice Number in the exporter to preview the invoice and review the account selected for each line. HirePOS chooses the account code in this order:

  1. Invoice Category

  2. Selling Unit

  3. Item

  4. Item Category

  5. Item Type

  6. The applicable group item's category or type for a group-code line without an item

The first available code is used. A higher-priority code can override the Item Category or Item Type.

Correct the code in the applicable setup record, then transfer the invoice again.

For a free-typed line without an Item Code, replace the line with a configured HirePOS item where practical. For an applicable group-code line, check the related group item category and type.

Invoice tax-code errors

These include:

  • No matching MYOB Tax Code for [code]

  • SerializationError referring to Lines[0].TaxCode.UID

Open the HirePOS invoice and confirm that every line has a valid Tax Code. Go to Setup > Tax Codes and confirm that the corresponding code also exists in MYOB.

Correct any missing or mismatched value, then transfer the invoice again.

No matching MYOB Job

An MYOB Tracking Category linked to the invoice's item or branch contains a Job number that cannot be found in MYOB.

  1. Check the MYOB Tracking Category assigned to the affected item.

  2. Check the MYOB Tracking Category assigned to the invoice branch.

  3. Confirm that its Job number exactly matches an existing MYOB Job number.

  4. Correct the Job number or clear the tracking category if it is not required.

Item tracking takes priority over branch tracking.

Tracking records are configured under Setup > Preferences > Accounting > MYOB Tracking Categories (Jobs).

Customer and description validation errors

Errors such as the following have previously been associated with customer names, codes, contact details, or invoice descriptions that MYOB could not accept:

  • 16 - QueryParseException - Syntax error

  • ValidationError - Identifier:(Card)

  • Object variable or With block variable not set

  • ValidationError - Lines:(ReceivePaymentEvent)

Inspect the customer and invoice for unusual punctuation or symbols, particularly in names, codes, contact details, and descriptions. Correct the affected value and try again.

Quotation marks, apostrophes, ampersands, and hash symbols have caused these errors in some cases, but do not remove valid customer information unnecessarily. If the problematic value is not apparent, capture the complete error and contact HirePOS Support.

Object reference not set to an instance of an object

This is a general error and can have more than one cause.

Check that:

  • the correct MYOB business is connected;

  • the Company File Password is correct, or blank if the company file has no password;

  • the customer has usable identifying details; and

  • every invoice line has a valid account code and tax code.

If the error continues, send HirePOS Support the complete error, the Invoice Number, and a screenshot with the browser address visible.

Cannot select or export an unapproved invoice

When Export Approved Invoices Only is enabled, unapproved invoices display as Not Approved and cannot be selected.

Approve the invoice in HirePOS, then refresh the exporter.

If the HirePOS Draft/Approved invoicing restriction is enabled, the exporter setting is forced on and cannot be switched off. An administrator can review the restriction under Setup > Preferences > Restrictions, but it should not be disabled merely to bypass the approval workflow.

Payment errors

Error message or symptom

Likely cause

What to do

Required - AmountApplied of Line[*] is required for a local payment

A multi-payment includes an invoice with zero applied to it.

Recreate the payment with only the affected invoices.

Account Code does not match any MYOB Account Numbers

The HirePOS Bank Account code is missing or incorrect.

Correct Account Code under Setup > Bank Accounts.

AccountNotValid

The selected MYOB payment account is invalid.

Use a valid MYOB asset or bank account.

No matching Invoice in MYOB for Invoice [number]

The related invoice cannot be found in MYOB.

Export the invoice first and check the exporter Prefix.

ValidationError - Lines:(ReceivePaymentEvent)

MYOB rejected customer, contact, or payment information.

Review the information for unsupported characters and retry.

Object reference not set to an instance of an object

General connection or payment validation failure.

Check company-file credentials and customer details.

Payment already exists in MYOB

MYOB already contains the expected receipt number.

Review the existing payment and Prefix before attempting another transfer.

Payment account-code errors

Payment export uses Account Code from Setup > Bank Accounts.

The code must exactly match the MYOB account number or Display ID for the asset or bank account receiving the payment.

If the field is blank, the exporter may show No Account Code!. If the code is missing or invalid in MYOB, errors can include:

  • Account Code does not match any MYOB Account Numbers

  • AccountNotValid

Correct the HirePOS Bank Account code, then transfer the payment again.

No matching Invoice in MYOB

MYOB must contain the related invoice before HirePOS can apply a payment to it.

  1. Export the invoice first.

  2. Confirm that it exists in MYOB.

  3. Check whether the exporter Prefix has changed since the invoice was exported.

  4. Transfer the payment again.

Payment export is unavailable when Use MYOB Invoice Number Sequence is enabled because MYOB assigns a different Invoice Number.

Purchase Order errors

Error or symptom

Likely cause

What to do

Supplier Code is required

The HirePOS supplier has no Supplier Code.

Add a unique Supplier Code and export again.

No matching MYOB expense account

The Item Category or Item Type expense code cannot be found in MYOB.

Correct the MYOB Expense Code in HirePOS.

MYOB tax code FRE or GST cannot be found

MYOB does not contain a required Purchase Order tax code.

Confirm that FRE and GST exist in MYOB.

Purchase Order is not listed

The order is cancelled, has not been received, or falls outside the received-date range.

Check its status, received date, and exporter dates.

MYOB Purchase Order total differs from HirePOS

MYOB calculated a different tax or rounding total.

Review the Purchase Order in MYOB and adjust rounding if required.

Purchase Order setup checks

Purchase Orders cannot be exported without a Supplier Code. If the code is missing, open the supplier in HirePOS, enter a unique Supplier Code, and save the supplier.

For expense account errors, Purchase Order lines select the MYOB expense account in this order:

Purchase Order lines select the MYOB expense account in this order:

  1. Setup > Item Related > Item Categories > MYOB Expense Code

  2. Setup > Item Related > Item Types > MYOB Expense Code

The selected code must exactly match an MYOB account number or Display ID.

MYOB must contain tax codes FRE and GST for Purchase Order export.

The exporter uses FRE when the HirePOS order-line tax amount is zero and GST when it is non-zero.

If an order is not listed, confirm that it is not cancelled and has been received, fully or partially. Also confirm that the export Date From and Date To include its received date.

Marked records and possible duplicates

Mark As Completed and Mark As Pending only change the HirePOS export marker.

They do not create, delete, void, or update records in MYOB.

Before exporting a record that was changed back to pending, confirm whether it already exists in MYOB and whether the current Prefix still matches it. If the exporter cannot identify the original MYOB record, another transfer may create a duplicate.

Contact HirePOS Support

Contact HirePOS Support if the suggested resolution does not work or the error does not appear in this guide.

Include:

  • the complete error message;

  • the affected Invoice Number, payment, or Purchase Order number;

  • what you were transferring; and

  • a screenshot showing the error and browser address bar.

Was this article helpful?

Sorry about that! Care to tell us more?

Thanks for the feedback!

There was an issue submitting your feedback
Please check your connection and try again.