> ## 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 contact archive errors

> Learn about resolving contact archive errors in ServiceM8.

When you send an invoice for approval, the contact linked to the job number must be active in Xero. If the contact is archived in Xero, you will get an error icon in **Invoicing > Awaiting Approval** alerting you that the contact must be un-archived before creating new invoices or credit notes.

The error will read: “The contact with the specified contact details has been archived. The contact must be un-archived before creating new invoices or credit notes.”

<img src="https://mintcdn.com/servicem8/DebDv9kllgU2gG1R/images/004-272-777-47a8a044-5909-48e0-8f20-3650c2a42318.png?fit=max&auto=format&n=DebDv9kllgU2gG1R&q=85&s=e0c32b1e509dd4f1edad80316fe54b1c" alt="Contact archiving error in Xero" width="766" height="225" data-path="images/004-272-777-47a8a044-5909-48e0-8f20-3650c2a42318.png" />

**To resolve the contact archive error:**

1. In your Xero account, go to **Contacts > All contacts > Archived**.

<img src="https://mintcdn.com/servicem8/DebDv9kllgU2gG1R/images/004-272-779-a3c2f38d-6937-4e71-8cbe-6e98e93f4b2c.png?fit=max&auto=format&n=DebDv9kllgU2gG1R&q=85&s=ccfe32541ade3dfda86bb0f503587c0e" alt="Archived contacts in Xero" width="769" height="308" data-path="images/004-272-779-a3c2f38d-6937-4e71-8cbe-6e98e93f4b2c.png" />

1. Search for the archived contact and open it.
2. Click **Restore**.

<img src="https://mintcdn.com/servicem8/DebDv9kllgU2gG1R/images/004-272-781-afcf19c5-ba56-45fb-be2b-d74e3e422f9d.png?fit=max&auto=format&n=DebDv9kllgU2gG1R&q=85&s=a772dbeae0a3fc590feb0a47297a8f19" alt="Restoring archived contacts in Xero" width="794" height="142" data-path="images/004-272-781-afcf19c5-ba56-45fb-be2b-d74e3e422f9d.png" />

1. Once restored, back in ServiceM8, go to **Invoicing > Awaiting Approval**. The contact archiving error will now be resolved and you can approve the invoice.

## Related FAQs

* [How do I fix the Xero contact error when approving an invoice?](/questions/invoices/get-error-try-approve-invoice-xero-contact-specified-contact-d)
