Here are some common errors you may see with our Xero integration. Find the error message below that matches what you’re seeing, then follow the instructions to fix it.

Archived contact

The contact with the specified contact details has been archived. The contact must be un-archived before creating new invoices or credit notes.

What went wrong?

To raise invoices, each customer in Upstock needs to be matched with a contact in Xero. In this case the contact in Xero has been archived.

How to fix

You can either restore the archived contact in Xero, or choose a new contact to match with in Upstock.

To restore the archived contact in Xero:

  1. In Xero, got to Contacts

  2. Select the Archived tab.

  3. Click on the contact to open their details, then click Restore.

To choose a new contact to match with in Upstock:

  1. In Upstock, go to Customers

  2. Select the customer

  3. Go to the Profile tab

  4. Under the Xero contact section click Edit

  5. Search and select a different contact or add a new contact

Helpful articles

Restoring archived contacts in Xero

Matching customers in Upstock

Item code not valid

Item code ‘CRBAGEL12’ is not validThe UnitAmount field is mandatory and cannot be derived from the Quantity and LineAmount fields. The LineAmount field is mandatory and cannot be derived from the Quantity and UnitAmount fields.

What went wrong?

The product mentioned in the error message does not exist in Xero. Either the product has been deleted, or the product code has been updated. Product codes need to match across the two systems to automatically create invoices.

How to fix

Check the product is in Xero and if so, update the code.

  1. In Xero go to Business › Products and services

  2. Select the product

  3. Select Edit item

  4. Update the Code field to match what you have in Upstock

  5. Select Save

If you can’t find the product, it may have been deleted. You’ll need to add a new product with the same code. Remember to set the sales account.

Helpful articles

Editing products in Xero

No items available to sell

CRBAGEL12: Cinnamon Raisin Bagel 12 Pack - No items available to sell.

What went wrong?

The product is a tracked inventory item in Xero. The stock on hand is less than what’s required for the order.

How to fix

To fix, you’ll need to increase the stock you have on hand.

  1. In Xero go to Business › Products and services

  2. Select the product

  3. Click New adjustment.

  4. In the Adjustment type field, select Increase quantity

Helpful articles

Increasing stock on hand in Xero

Item code changed

The TaxType field is mandatory
Account code or ID must be specified
Item code 'CRBAGEL12' is not valid

What went wrong?

The product code has been updated in Xero, but not in Upstock.

How to fix

Import the product changes into Upstock.

  1. In Upstock, go to Products › Import products

  2. Select the product that has the updated code

  3. Click Next then Import

Helpful articles

Importing products in Upstock

Xero plan limit reached

You have reached the limit of invoices you can approve.

What went wrong?

The Xero plan you are on has a limited amount of invoices that can be approved.

How to fix

Upgrade your Xero plan.

Helpful links

Xero plans and pricing

Did this answer your question?