Show TrackingOptionID in LineItem in Invoices API (and other endpoints)
The Invoices endpoint in particular (and many others in general), do not include the TrackingOptionID in the data set. Instead, they generally provide only the Name, Option and TrackingCategoryID.
It is really important for being able to use "joins" on the data to incl;ude the TrackingOptionID .
-
Rafael Echeverria commented
We would also like to get this done
-
Neill Skelly
commented
I would like for the GET Invoices endpoint to return tracking option Ids on line items, for example: GET https://api.xero.com/api.xro/2.0/Invoices?page=1
Tracking options are returned when getting a single invoice, for example: GET https://api.xero.com/api.xro/2.0/Invoices/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
-
Richard Armstrong
commented
The users can edit the options which means the text/ option can change over time even if the optionID is unchanged. If externally we can only use option then any relationships with external data using the categories become corrupted.