Services added at the cashier desk
Services collected without an appointment (from the catalog or special ones), with doctor, branch and discount. They go to billing next to appointments and packages.
Module: Cashier (invoices).
Endpoints
Section titled “Endpoints”GET /api/v1/client_services- List with filters, sorting and pagination (scopeinvoices:read)GET /api/v1/client_services/{id}- A record by id (scopeinvoices:read)POST /api/v1/client_services- Create a record (scopeinvoices:write)PATCH /api/v1/client_services/{id}- Modify the submitted fields (scopeinvoices:write)DELETE /api/v1/client_services/{id}- Delete or deactivate (scopeinvoices:write)
Fields
Section titled “Fields”id(string, uuid; read): Unique identifier (UUID).party_id(string, uuid; write, required)service_id(string, uuid; write)description(string; write)employee_id(string, uuid; write, required)location_id(string, uuid; write, required)appointment_id(string; write)performed_on(string, date; write, required)qty(number; write)unit_price(number; write)vat_rate(number; write)discount_pct(number; write)is_special(boolean; read)created_by(string; read)created_by_name(string; read)created_at(string, date-time; read): Creation date (ISO 8601).updated_at(string, date-time; read): Last modification date (ISO 8601).subscription_id(string, uuid; read)base_price(number; read)
Events
Section titled “Events”client_services.createdclient_services.updatedclient_services.deleted