API MessageCauseResolution
The TaxType code 'OUTPUT' cannot be used with account code 'x'.Tax on a line item on that PO is configured as a sales tax code, not a purchase code. Usually "GST on Income" instead of "GST on Expenses"From the PO's details page in WorkGuru, click Update Invoice Details and update the tax name setting to the correct tax (usually GST on Expenses)
The quantity value '-x.0000' is invalid. Quantity must not be less than zero.Xero does not accept negative values on PO or InvoicesCreate purchase credits directly in Xero and adjust stock accordingly via a stock adjustment in WorkGuru if required.
PO or Invoice not of valid status for modificationThe PO or Invoice has already been sent to XeroConfirm the PO is in Xero for the same value as WorkGuru. Open the PO's detail page in Workguru and click Mark as Sent to remove it from the list to send to Xero.
This document cannot be edited as it has a payment or credit note allocated to it.The PO or Invoice has already been imported into Xero, marked approved and has a payment recorded against it.Confirm the PO is in Xero for the same value as WorkGuru. Open the PO's detail page in Workguru and click Mark as Sent to remove it from the list to send to Xero.
Another contact has this contact number. Please enter a different contact number.More than one contact in Xero has the same phone number - this includes archived contacts within Xero.Edit the contacts in either Xero or WorkGuru to ensure only every client and/or contact has a unique phone number. If they are legitimately the same, using the area code to make one unique is recommended.
Payment Payment on invoice failed with the following errors:
Invoice could not be found
The invoice the payment is applied to has not been successfully imported into Xero yet.Ensure that all invoices have been sent from WorkGuru to Xero successfully.
Payments can only be made against authorised documentsThe invoice the payment is applied to has been imported but not approved in Xero.Approve the invoice in Xero
Payment amount exceeds the amount outstanding on this documentThe payment total does not match the total of the invoice.Edit the invoice to match the total. Void the invoice in Xero, mark as unsent, then delete the invoice WorkGuru. Reissue the Invoice and re-apply the payment.
Additional people cannot be added when the primary person has no email address set.Client has an email address against its contact but not the Client itself.Edit the client to enter an address on client email field as well as the contact.
Purchase Order failed with the following errors:
Could not find purchase order number x | in returned list.
The PO has been received without a Supplier Invoice Number entered OR the supplier invoice number has been saved with an extra space/ invalid characters.On the received PO, click Update Invoice Details and enter a Supplier Invoice Number and re-import to Xero.
Journal StockMovement failed with the following errors: Couldn't send the journal to Xero for "mm/dd/yyyy hh:mm:ss". Please check your lock periods and try again.The period/s in Xero have been locked for editing.Edit your locking periods in Xero to ensure the periods being sent are not locked.
Xero API error calling CreateTimesheet:{"...", "Message" : "TrackingItemID is required for each timesheet line.", "..." }Xero tracking categories have been set up to track timesheets.Disable tracking categories being applied to timesheets in Xero. WorkGuru does not support tracking categories on timesheets.  Turn off payroll tracking in Xero in Settings -> Payroll Setting -> Payroll Tracking (set both to none)
XX failed with the following errors: {"Type":null;"Title":"Unauthorized","Status":
401,"Detail":"TokenExpired: token expired at mm/dd/yyyy hh:mm:ss", ...}

OR

XX failed with the following errors:
Xero API error calling UpdateOrCreateContacts:
{"Type":null,"Title":"Forbidden","Status":403,"Detail":"AuthenticationUnsuccessful",
...}

OR

An unhandled exception occurred while processing the request. Exception: invalid_grant
The token used to authorise WorkGuru against your Xero account has expired.Disconnect and reconnect to Xero from the Xero page. Note: you will need advisor-level access in Xero to reconnect.
Xero API 400 error calling CreateTimesheet : {"Message":"Can not create a duplicate timesheet"} Timesheet failed with the following errors:Xero API has updated the unique id for client matching.Please contact the WorkGuru API team at support@workguru.io
Payrun No Valid Payruns open failed with the following errors:No current draft payrun in Xero.Create new draft payrun in Xero for the period required.
Xero API 400 error calling CreateTimesheet:{"Id":"86f85dac-bfd2-45c7-948c-b8aa899c6434","ProviderName": "WorkGuru","ErrorNumber":0,"Type":"ValidationException","Message":"This timesheet already exists, please provide the timesheet ID","Timesheets":null} Timesheet failed with the following errors:WorkGuru Timesheets have already been submitted to this draft payrun in Xero for this period.WorkGuru cannot replace/update exisitng timesheets in Xero. If you need to update the timesheets in Xero, the draft timesheets in the Xero payrun need to be deleted before you can re-send from WorkGuru.
Invoice POXXXX | XXXX failed with the following errors:
The date 1/1/0001 is not valid
The PO invoice has been saved without a due date.Navigate to the PO in WG, click Update Invoice Details, input a date into the Invoice Due Date field and click save.
Invoices Invoices failed with the following errors: Sequence contains no matching element.Invoice/s contains special characters and extra white spaces.
Delete special characters and use a hyphen or underscore instead. Delete extra spaces.