How to detect with the API a document change?

Hi there!

Is it any way that I can detect when a user make a change in a particular document? for example a sales invoice. Is it possible?

I’m interested in detect a change in the invoices to then pull the data from the API and make some calculatons in realtime.

Is it possible to grab the GUID of the document anywhere in the DOM?

Thank!

You can by retrieving the index.json from the backend api. This json file contains a table with timestamps. You can use these timestamps to keep track of any changes.

Thanks!

I can see that it gets the order according the Timestmp.