Connector API: Query all accounting items with date filter as date created/updated.
Currently accounting items can only be queried by date closed or date consumed. As revenue management systems want to be able to see charges before they are closed, and as consumption dates can essentially be set any time in the past or future, this makes regular scraping of this API call impractical. The call should also allow for setting the time filter as the date the item was created or updated, like with the reservations, so that regular frequent scraping can be performed properly.
Accounting items can also be pulled via Get all reservations with the extent Items set to true or via Get all reservation items in which if the State (open or closed) is not specified, both will be returned.
-
RemyW commented
This is the same question as https://feedback.mews.com/forums/932131-mews-open-api/suggestions/44208861-accounting-items-createdutc-updatedutc-api-cal (and another one)
-
RemyW commented
@Josef, not all accounting items, as your helpdesk states:
"In Mews, we have two separate types of Products Stay Products which are directly linked to the reservations and can be retrieved with the endpoint reservations/getAll Items : true
Then you also have the Service products which are attached to the customers but not to the reservations and it is the reason why you cannot retrieve them with the endpoint reservations/getAll but with the endpoint accountingItems/getAll" -
AdminJosef Lapka (Admin, Mews Systems) commented
Accounting items can also be pulled via Get all reservations with the extent Items set to true or via Get all reservation items in which if the State (open or closed) is not specified both will be returned.