Sync errors in invoices - [Xero] 1) Price List Item Code must not be more than than 30 characters long.
This error shows up when the plan ID is greater than 30 characters. In such cases, you will need to provide the SKU for the plan instead, which will be considered over the ID and the plan will sync through, thus resulting in the associated invoice and credit note going through as well. You can update the SKU through Product Catalog > Plans > Edit the plan > Under the Accounting Information section, fill the SKU/Alternative Name field > Update Plan.
Related articles and Documentation