POS returns
Returns on counter sales: amount, money given in cash and to card, reason. Made with the return action on pos_sales. Filter with filter[sale_id].
Module: POS (pos).
Endpoints
Section titled “Endpoints”GET /api/v1/pos_returns- List with filters, sorting and pagination (scopepos:read)GET /api/v1/pos_returns/{id}- A record by id (scopepos:read)
Fields
Section titled “Fields”id(string, uuid; read): Unique identifier (UUID).number(string; read)sale_id(string, uuid; read)register_id(string, uuid; read)session_id(string, uuid; read)total(number; read)vat_total(number; read)currency(string; read): Currency (ISO code, e.g. RON).cash_amount(number; read)card_amount(number; read)cashbook_entry_id(string, uuid; read)reason(string; read)idempotency_key(string; read)created_by(string; read)created_by_name(string; read)created_at(string, date-time; read): Creation date (ISO 8601).
Events
Section titled “Events”pos_returns.createdpos_returns.updatedpos_returns.deleted