# Last invoice changes Returns the list of invoices, which were changed (added/changed or deleted). Endpoint is intended to determine the changes after you have loaded the complete list of invoices and you need to know if any of these was been changed (or deleted). Guaranteed history is 30 days, the older data are deleted progressively. Each invoice in the log is only mentioned with its last change. For example, if the invoice was modified and then deleted, the log will only show information about its deletion. Can be filtered by changeType = edit/delete parameter. Creation is considered as action. So, when there is a new item created, it will be displayed like action. Endpoint supports Paging. Endpoint: GET /api/invoices/changes Version: 1.0.0 Security: shoptetAccessToken, shoptetPrivateApiToken ## Query parameters: - `from` (string, required) DateTime from which up to the present we are interested in the changes. + in the time zone Example: "2018-01-01T01:01:01+02:00" - `changeType` (string) Returning only edit or delete type changed records Example: "edit" ## Header parameters: - `Content-Type` (string, required) ## Response 200 fields (application/json): - `data` (object, required) - `data.changes` (array, required) - `data.changes.code` (string, required) identifier (number) of the document, which can be used to query about the details. - `data.changes.changeTime` (string,null, required) date and time when the event happened. ISO 8601 format (). - `data.changes.changeType` (string, required) type of event that happened with the document. Possible values are following: , , . - `data.paginator` (object, required) - `data.paginator.totalCount` (integer, required) total number of available records - `data.paginator.page` (integer, required) current page - `data.paginator.pageCount` (integer, required) total available of pages - `data.paginator.itemsOnPage` (integer, required) number of currently returned records - `data.paginator.itemsPerPage` (integer, required) required number of records per page - `errors` (array,null, required) - `errors.errorCode` (string, required) Short text error identification - `errors.message` (string, required) Descriptive error message - `errors.instance` (string, required) Identification of the entity referenced