MYOB Error – UnitPrice must be a positive number

Issue

Invoices not syncing to MYOB, with the above error coming up in the event log.

Why Is this Occurring?

As per the error, there is a unit price with a negative value. In the screenshot above, you can see the culprit. This is a line in the invoice that has a unit price that is a negative (in this case,    -$0.02). MYOB will not allow this.

Resolution:

As the invoice has been processed, the only resolution is to Void the invoice and put it through again.

In the case of an adjustment, like the example above, use the ROUNDING feature built into Workshop Software.

For discounts, our system currently doesn’t use discounts. However, you can have the unit price as a positive, and the quantity as a negative (see screenshot below)