List processed returns (retours)
Returns one page of the processed returns / avoirs (the caisse ‘Retours’ journal), optionally narrowed by store and/or the originalTransactionId a return was raised against. Use page/pageSize (max 100) to walk the result; total/pageCount tell you when to stop. This is the read source for the returns journal tab. A calendar-day facet is not offered — returns carry no persisted timestamp yet. This router never writes here.
Authorizations
Authorization: Bearer <token>. Accepts EITHER a Keycloak access token (scopes-in-token) OR an opaque POS session token; both resolve to the same pos.* scope vocabulary the route guards enforce.
Query Parameters
1-based page index to return. Defaults to 1.
1 <= x <= 9007199254740991Rows per page, 1..100. Defaults to 20.
1 <= x <= 100Narrow to one store's returns (retours / avoirs) by store id.
Narrow to the returns raised against one original charge transaction (vente).
Response
A page of processed returns with the pagination totals.
A page of processed returns with the pagination totals.
The rows on this page, in the query's sort order.
Total rows matching the filter across ALL pages, not just this one.
0 <= x <= 9007199254740991The 1-based page number served.
0 < x <= 9007199254740991Rows requested per page.
0 < x <= 9007199254740991Total number of pages; stop walking when page reaches it.
0 <= x <= 9007199254740991
