Invoice not of valid status for modification.
This error can occur when the Purchase Order is synced with a $0 value.
Error Text: Error Updating Xero: Xero Validation Error: Invoice not of valid status for modification.
Information you'll need..
1. Invoice number/Purchase order number & relating company name from relevant invoice/purchase order in ConnectWise that has caused the error.
Steps to take
If the PO was meant to have a $0 value then that's fine, it will still have synced to Xero & you need not do anything further.
If the PO was meant to have a value, then from the Bills section in Xero follow these steps:
1.1 Search for the Purchase Order number that has caused the error.
1.2 Click into Bill Options & click on Void
From the Purchase Order screen in ConnectWise follow these steps:
2.1 In ConnectWise un-receive the PO in the Purchase tab of the Purchase Order by un-ticking the check box, then click Save
2.2 In the Products tab of the Purchase order un-receive all the products by clicking into them individually (changing them back to Open). Un-tick the check box, delete the Packing Slip, delete the Received Qty & Save
3.1 Go into the ConnectWise Accounting Interface screen & click on the Open Batches tab
3.2 Enter the Purchase Order number with asterisks on both sides & click Search
3.3 If the PO Batch appears click Delete
4.1 Go back into the Purchase Order screen, refresh the screen by clicking Search & then re-receive all products in the Products tab, closing the Purchase Order
5.1 Re-sync the PO to Xero