Add lineitemID to credit notes endpoint
Adding a GUID to the credit note line items as used by the invoice line item would allow for more efficient retrieval of data .
-
Brendan Gooden commented
Hi Team, Please can you urgently implement this feature. Why is it a different schema response when your docs clearly state "See Invoice Line Items" response ???
Now we can't update a line item after the crediet has been applied, because it is trying to drop and re-create the line item.
-
Joel Mansford commented
At the time of write the documentation for credit notes at
https://developer.xero.com/documentation/api/accounting/creditnotes
Says "LineItems See Invoice Line Items"
I have no idea what Xero were thinking not including the PK... -
Thusitha Hettige commented
2 user voice threads with many votes and still not implemented. So sad :(
-
Marek commented
I agree with all the previous comments. Strange and time consuming oversight for the implementers. I already have code dealing with line items and now I have to treat a special case only because the Xero devs seem to be so slow to fix this surely very simple issue. I'd think that all it needs is to add the field into the results. It presumably already exists and just needs to be included in the API call result.
-
Joe Niland commented
It's hard to understand why this can't be implemented quickly. It's strange that the CreditNote API behaves differently to the Invoice API when they are very similar.
-
Porph Ura commented
I keep hoping this gets addressed one day, the headaches it causes are very frustrating.
-
Venkatesan R commented
We are also having the same issue. It is very difficult to identify unique line items in CrditNote which triggers sever prodution issues after migrating from OAuth1.0 to OAuth2.0. Expecting it get addressed asap. Please let us know the ETA if any.
-
Jawad R3 commented
I have to drop all items each time and reconstruct new ones whenever I have to synchronize the credit notes. This ensures that items that are no longer part of the request are dropped out. Having an Id will make my life much easier.
-
Marcel Jansen commented
I echo the comment by Ethan Gillespie. Absense of LineItemID is causing me a whole heap of extra work.
Please add soon. -
Ethan Gillespie commented
Voted, this seems a strange oversight - I have code that hits the Invoice API and reconciles data against line items via their ID; but I can't use the same for credit notes. I'm making do with the description field but it's a much less robust solution.