# Resolving Xero invoice synchronization issues

> Learn about resolving Xero invoice synchronization issues in ServiceM8.

If you approve an invoice but it is not synced to Xero, one of two things has likely happened:

-   The approved invoice has a value of 0.00, or
-   (If you have multiple organizations) The approved invoice may have synced to a different organization within Xero. Check your other organizations for the invoice and skip to [this section](#if-your-approved-invoice-synced-to-the-wrong-organ) if so.

## If your approved invoice has a value of 0.00

An invoice cannot be processed unless it contains line items of some value.

**To add line items:**

1.  Go to **Dispatch Board > Jobs**. Open the job that didn't sync.

![Dispatch board](/images/004-276-186-b7160a21-7615-4988-ae35-a4774c7563ef.png)

1.  In the _Job Status_ field, select **Work Order**.

![Work Order](/images/004-276-188-7b651b8c-26a2-4dfc-8724-5f7bd229be4d.png)

1.  Go to **Quotes & Invoicing**.

![Quotes & Invoicing](/images/004-276-190-4e93a91e-9ca0-49f3-894d-80451ebf71c7.png)

1.  Click **Add Material/Service**. Enter all missing line items and prices.

![Add Material-Service](/images/004-276-192-79663994-197f-430a-8a5d-639d789c95fb.png)

1.  Once all line items are added, click **Job Details**.

![Job Details](/images/004-276-194-e8fb22cb-705e-4e75-b8ee-a769f10f6b90.png)

1.  In the _Job Status_ field, select **Completed**.

![Completed Job Status](/images/004-276-196-e5990048-d1b9-4451-b1ad-7a4ee0ff3326.png)

1.  Click **Save**.

![Save](/images/004-276-198-9d4106dc-a9fc-43d3-bd7a-9e54fee17761.png)

1.  Go to **Invoicing > Awaiting Approval**.
2.  Select the job and click **Approve**.

![Approving invoice](/images/004-276-200-03c1e9bf-908d-4858-95a7-b93af2deb443.png)

Your invoice should now sync to Xero.

## If your approved invoice synced to the wrong organization

You will need to re-integrate service with Xero to the correct organization. See [this help article](/help-center/servicem8-add-ons/xero/how-do-i-connect-servicem8-to-xero) for more information.

**Once your organization is integrated, to sync the invoice to Xero:**

1.  Go to **Dispatch Board > Jobs**. Open the job that didn't sync.

![Dispatch board](/images/004-276-255-b72877c0-54d3-41f2-9ba7-c8d0c3a4812d.png)

1.  In the _Job Status_ field, select **Work Order**.

![Work Order](/images/004-276-257-ec422152-325d-4c4c-a830-8b9228c80c1a.png)

1.  Click **Save**.

![Save](/images/004-276-259-8655464f-72c5-4953-809a-ba1da8d63cc5.png)

1.  In the _Job Status_ field, select **Completed**.

![Completed Job Status](/images/004-276-261-3aea6877-9c95-48e4-93b9-f6530e0163a2.png)

1.  Click **Save**.

![Save](/images/004-276-263-b1a0beee-3f52-426a-9b31-65510c50e079.png)

1.  Go to **Invoicing > Awaiting Approval**.
2.  Select the job and click **Approve**.

![Approving invoice](/images/004-276-265-ddd3f7d3-3d40-4d5e-a9f2-d330374c042d.png)

Your invoice should now sync to Xero.
