Fiscal receipts
Receipts issued on payments: lines, driver commands, status and the number on the register.
Module: Cash register (fiscal).
Endpoints
Section titled “Endpoints”GET /api/v1/fiscal_receipts- List with filters, sorting and pagination (scopefiscal:read)GET /api/v1/fiscal_receipts/{id}- A record by id (scopefiscal:read)POST /api/v1/fiscal_receipts/{id}/result- The result from the cash register driver:statussent (file handed to the driver), printed (confirmed, 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)source(string; read)source_id(string, uuid; read)party_id(string, uuid; read)method(string; read)amount(number; read)items(object; 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)
Events
Section titled “Events”fiscal_receipts.createdfiscal_receipts.updatedfiscal_receipts.deleted