|Item no.||Error message||Module||Description||How to resolve|
|1||Response code 400 - Invoice not of valid status for modification||Invoice||Client modified invoices after they had already payments or approved. Scoro won't sync it anymore and also don't change status.||User can mark the error as resolved.|
|2||Response code 400 - The quantity value '-1.0000' is invalid. Quantity must not be less than zero. -- The Total for this document must be greater than or equal to zero.||Bills||Bill quantity is negative.||Fix the bill quantity.|
|3||Response code 400 - The Total for this document must be greater than or equal to zero.||Bills||Bill sum is negative.||We don't support credit bills synchronization.
Check the bill and modify it so that the final sum is a larger number than zero.
|4||Response code 404 - status: “AUTHORIZED”||Bills||Can't modify authorized bills.||Mark the error as resolved.|
|5||Response code 401||General||Credit invoice - was already authorized, can't re-sync.||90% of cases - re-sync solves the issue.|
|6||Prepayment document with no can not be found in Scoro||Prepayment||Prepayment is created in Xero and it has the wrong reference number or no reference number at all. When syncing invoices, Xero tries to connect the created prepayment with a prepayment in Scoro. If no match is found, it will give an error.||Change the prepayment invoice number in Xero or create a new one.|
|7||Response code 400 - This organization has Construction Industry Scheme enabled. Existing Invoices with Construction Industry Scheme deductions cannot be edited via the API||Invoices, Bills||User has turned contacts to CIS contacts in Xero and now trying to send an invoice or a bill via API to Xero that has CIS contact linked to it.||Such invoices/bills can't be synced via API, see details.|
If you didn't find an error listed here, that occurred in your site, please contact our support team.