Cash register operations
X report, Z report, cash in and out and refund receipts, with status and the number on the register.
Module: Cash register (fiscal).
Endpoints
Section titled “Endpoints”GET /api/v1/fiscal_operations- List with filters, sorting and pagination (scopefiscal:read)GET /api/v1/fiscal_operations/{id}- A record by id (scopefiscal:read)POST /api/v1/fiscal_operations/{id}/result- The result from the register driver for an operation (report, cash, refund):statussent, printed (withreceipt_number) or failed (witherror). (scopefiscal:write)
Fields
Section titled “Fields”id(string, uuid; read): Unique identifier (UUID).seq(integer; read)register_id(string, uuid; read)kind(string; read)amount(number; read)receipt_id(string, uuid; read)commands(string; read)status(string; read)receipt_number(string; read)error(string; read)attempts(integer; read)created_by(string; read)created_at(string, date-time; read): Creation date (ISO 8601).sent_at(string, date-time; read)printed_at(string, date-time; read)updated_at(string, date-time; read): Last modification date (ISO 8601).created_by_name(string; read)cashbook_book_id(string, uuid; read)cashbook_posted(boolean; read)cashbook_entry_id(string, uuid; read)
Events
Section titled “Events”fiscal_operations.createdfiscal_operations.updatedfiscal_operations.deleted