Skip to content

Cash registers

The company’s cash registers: driver, sending mode, VAT groups and payment codes.

Module: Cash register (fiscal).

  • GET /api/v1/fiscal_registers - List with filters, sorting and pagination (scope fiscal:read)
  • GET /api/v1/fiscal_registers/{id} - A record by id (scope fiscal:read)
  • POST /api/v1/fiscal_registers - Create a record (scope fiscal:write)
  • PATCH /api/v1/fiscal_registers/{id} - Modify the submitted fields (scope fiscal:write)
  • DELETE /api/v1/fiscal_registers/{id} - Delete or deactivate (scope fiscal:write)
  • id (string, uuid; read): Unique identifier (UUID).
  • name (string; write, required): Name
  • location_id (string, uuid; write): Location
  • driver (string; write, required): Driver
  • delivery (string; write, required): Sending
  • file_name (string; write): File name ({nr} or %COD_BON_FISCAL = receipt number)
  • http_url (string; write): Driver address (empty = default)
  • department (number; write): Department
  • vat_group_standard (number; write): Standard VAT group (21%)
  • vat_group_reduced (number; write): Reduced VAT group (11%)
  • vat_group_exempt (number; write): VAT exempt group
  • pay_code_cash (number; write): Cash payment code (empty = default)
  • pay_code_card (number; write): Card payment code (empty = default)
  • name_max (number; write): Name length on the receipt
  • print_diacritics (boolean; write): Diacritics on the receipt
  • is_active (boolean; write): Whether the record is active.
  • custom_fields (object; read): Custom fields (key-value object). Definitions are created in the ERP; see the guide on docs.rivil.app.
  • created_at (string, date-time; read): Creation date (ISO 8601).
  • updated_at (string, date-time; read): Last modification date (ISO 8601).
  • code (string; write): Register code (in the file name: {casa})
  • promo_message (string; write): Message at the end of the receipt
  • show_discount (boolean; write): Discount on a separate line
  • group_items (boolean; write): Group identical services
  • fiscal_registers.created
  • fiscal_registers.updated
  • fiscal_registers.deleted

Accepts custom fields in custom_fields. docs.rivil.app documents the capability; the list for your company is in the ERP, under Settings, API.