I can confirm that the original issue is SOLVED - TrackingOptionID is now being returned correctly in the API response when fetching a single invoice.
However, I've discovered a new bug: the API only returns 1 tracking category per line item when 2 are assigned. I tested this in API explorer for Demo Organization.
Test Case (Invoice INV-0028):
Xero UI shows 2 tracking categories: Region + Project
API response returns only Region
Project tracking category completely missing
Since Xero allows up to 2 tracking categories per line item, the API should return both. Currently it's dropping the second one.
I can confirm that the original issue is SOLVED - TrackingOptionID is now being returned correctly in the API response when fetching a single invoice.
However, I've discovered a new bug: the API only returns 1 tracking category per line item when 2 are assigned. I tested this in API explorer for Demo Organization.
Test Case (Invoice INV-0028):
Xero UI shows 2 tracking categories: Region + Project
API response returns only Region
Project tracking category completely missing
Since Xero allows up to 2 tracking categories per line item, the API should return both. Currently it's dropping the second one.