> ## Documentation Index
> Fetch the complete documentation index at: https://support.servicem8.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 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.

<img src="https://mintcdn.com/servicem8/DebDv9kllgU2gG1R/images/004-276-186-b7160a21-7615-4988-ae35-a4774c7563ef.png?fit=max&auto=format&n=DebDv9kllgU2gG1R&q=85&s=367c92d4050fcdda091e9bf0eacf68a4" alt="Dispatch board" width="716" height="124" data-path="images/004-276-186-b7160a21-7615-4988-ae35-a4774c7563ef.png" />

1. In the *Job Status* field, select **Work Order**.

<img src="https://mintcdn.com/servicem8/DebDv9kllgU2gG1R/images/004-276-188-7b651b8c-26a2-4dfc-8724-5f7bd229be4d.png?fit=max&auto=format&n=DebDv9kllgU2gG1R&q=85&s=d38076d21a2e2836a37f41c413b0a522" alt="Work Order" width="461" height="269" data-path="images/004-276-188-7b651b8c-26a2-4dfc-8724-5f7bd229be4d.png" />

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

<img src="https://mintcdn.com/servicem8/DebDv9kllgU2gG1R/images/004-276-190-4e93a91e-9ca0-49f3-894d-80451ebf71c7.png?fit=max&auto=format&n=DebDv9kllgU2gG1R&q=85&s=ba31c40df381867b93d0a289d7e15899" alt="Quotes & Invoicing" width="462" height="104" data-path="images/004-276-190-4e93a91e-9ca0-49f3-894d-80451ebf71c7.png" />

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

<img src="https://mintcdn.com/servicem8/DebDv9kllgU2gG1R/images/004-276-192-79663994-197f-430a-8a5d-639d789c95fb.png?fit=max&auto=format&n=DebDv9kllgU2gG1R&q=85&s=cd4887f92242b61cd3232ba40828b67d" alt="Add Material-Service" width="540" height="217" data-path="images/004-276-192-79663994-197f-430a-8a5d-639d789c95fb.png" />

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

<img src="https://mintcdn.com/servicem8/DebDv9kllgU2gG1R/images/004-276-194-e8fb22cb-705e-4e75-b8ee-a769f10f6b90.png?fit=max&auto=format&n=DebDv9kllgU2gG1R&q=85&s=103361e29f6462e9c39ae0444d6fa605" alt="Job Details" width="462" height="104" data-path="images/004-276-194-e8fb22cb-705e-4e75-b8ee-a769f10f6b90.png" />

1. In the *Job Status* field, select **Completed**.

<img src="https://mintcdn.com/servicem8/DebDv9kllgU2gG1R/images/004-276-196-e5990048-d1b9-4451-b1ad-7a4ee0ff3326.png?fit=max&auto=format&n=DebDv9kllgU2gG1R&q=85&s=6df0cbe895dfb32d3ffc13c8ffb6b05e" alt="Completed Job Status" width="254" height="205" data-path="images/004-276-196-e5990048-d1b9-4451-b1ad-7a4ee0ff3326.png" />

1. Click **Save**.

<img src="https://mintcdn.com/servicem8/DebDv9kllgU2gG1R/images/004-276-198-9d4106dc-a9fc-43d3-bd7a-9e54fee17761.png?fit=max&auto=format&n=DebDv9kllgU2gG1R&q=85&s=59ace70762c56216681cc87078a97c33" alt="Save" width="82" height="34" data-path="images/004-276-198-9d4106dc-a9fc-43d3-bd7a-9e54fee17761.png" />

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

<img src="https://mintcdn.com/servicem8/DebDv9kllgU2gG1R/images/004-276-200-03c1e9bf-908d-4858-95a7-b93af2deb443.png?fit=max&auto=format&n=DebDv9kllgU2gG1R&q=85&s=73b1024c899ec742b16a90781aa44e30" alt="Approving invoice" width="606" height="281" data-path="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.

<img src="https://mintcdn.com/servicem8/DebDv9kllgU2gG1R/images/004-276-255-b72877c0-54d3-41f2-9ba7-c8d0c3a4812d.png?fit=max&auto=format&n=DebDv9kllgU2gG1R&q=85&s=0a05e142a783dc4c83ff74e599b5e36e" alt="Dispatch board" width="716" height="124" data-path="images/004-276-255-b72877c0-54d3-41f2-9ba7-c8d0c3a4812d.png" />

1. In the *Job Status* field, select **Work Order**.

<img src="https://mintcdn.com/servicem8/DebDv9kllgU2gG1R/images/004-276-257-ec422152-325d-4c4c-a830-8b9228c80c1a.png?fit=max&auto=format&n=DebDv9kllgU2gG1R&q=85&s=97bd366dcfdabb83413f3dde0bdc839f" alt="Work Order" width="461" height="269" data-path="images/004-276-257-ec422152-325d-4c4c-a830-8b9228c80c1a.png" />

1. Click **Save**.

<img src="https://mintcdn.com/servicem8/DebDv9kllgU2gG1R/images/004-276-259-8655464f-72c5-4953-809a-ba1da8d63cc5.png?fit=max&auto=format&n=DebDv9kllgU2gG1R&q=85&s=f546bcf27236cc9b67deaa78e18e9fbf" alt="Save" width="82" height="34" data-path="images/004-276-259-8655464f-72c5-4953-809a-ba1da8d63cc5.png" />

1. In the *Job Status* field, select **Completed**.

<img src="https://mintcdn.com/servicem8/DebDv9kllgU2gG1R/images/004-276-261-3aea6877-9c95-48e4-93b9-f6530e0163a2.png?fit=max&auto=format&n=DebDv9kllgU2gG1R&q=85&s=498506b7116ad9e7984536fa8facc4b6" alt="Completed Job Status" width="254" height="205" data-path="images/004-276-261-3aea6877-9c95-48e4-93b9-f6530e0163a2.png" />

1. Click **Save**.

<img src="https://mintcdn.com/servicem8/DebDv9kllgU2gG1R/images/004-276-263-b1a0beee-3f52-426a-9b31-65510c50e079.png?fit=max&auto=format&n=DebDv9kllgU2gG1R&q=85&s=2e8030919e9cce62b8b9b895c67815b0" alt="Save" width="82" height="34" data-path="images/004-276-263-b1a0beee-3f52-426a-9b31-65510c50e079.png" />

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

<img src="https://mintcdn.com/servicem8/DebDv9kllgU2gG1R/images/004-276-265-ddd3f7d3-3d40-4d5e-a9f2-d330374c042d.png?fit=max&auto=format&n=DebDv9kllgU2gG1R&q=85&s=3cb703b180f13d90b2f26db92e30647b" alt="Approving invoice" width="606" height="281" data-path="images/004-276-265-ddd3f7d3-3d40-4d5e-a9f2-d330374c042d.png" />

Your invoice should now sync to Xero.
