Mews · Schema

Cashier transaction

HospitalityHotelsPMSProperty Management

Properties

Name Type Description
Id string Unique identifier of the transaction.
EnterpriseId string Unique identifier of the [Enterprise](https://mews-systems.gitbook.io/connector-api/operations/enterprises/#enterprise).
CashierId string Unique identifier of the [Cashier](https://mews-systems.gitbook.io/connector-api/operations/cashiers/#cashier).
PaymentId string Unique identifier of the corresponding payment [Payment item](https://mews-systems.gitbook.io/connector-api/operations/accountingitems/#payment-item).
CreatedUtc string Creation date and time of the transaction.
Number string Number of the transaction.
Notes string Additional notes of the transaction.
Amount object Total price of the transaction
View JSON Schema on GitHub

JSON Schema

mews-cashiertransaction-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CashierTransaction",
  "title": "Cashier transaction",
  "required": [
    "Amount",
    "CashierId",
    "CreatedUtc",
    "EnterpriseId",
    "Id",
    "Number"
  ],
  "type": "object",
  "properties": {
    "Id": {
      "type": "string",
      "description": "Unique identifier of the transaction.",
      "format": "uuid"
    },
    "EnterpriseId": {
      "type": "string",
      "description": "Unique identifier of the [Enterprise](https://mews-systems.gitbook.io/connector-api/operations/enterprises/#enterprise).",
      "format": "uuid"
    },
    "CashierId": {
      "type": "string",
      "description": "Unique identifier of the [Cashier](https://mews-systems.gitbook.io/connector-api/operations/cashiers/#cashier).",
      "format": "uuid"
    },
    "PaymentId": {
      "type": "string",
      "description": "Unique identifier of the corresponding payment [Payment item](https://mews-systems.gitbook.io/connector-api/operations/accountingitems/#payment-item).",
      "format": "uuid",
      "nullable": true
    },
    "CreatedUtc": {
      "minLength": 1,
      "type": "string",
      "description": "Creation date and time of the transaction."
    },
    "Number": {
      "minLength": 1,
      "type": "string",
      "description": "Number of the transaction."
    },
    "Notes": {
      "type": "string",
      "description": "Additional notes of the transaction.",
      "nullable": true
    },
    "Amount": {
      "title": "Currency value (ver 2018-06-07)",
      "allOf": [
        {
          "$ref": "#/components/schemas/CurrencyValueOld"
        }
      ],
      "description": "Total price of the transaction"
    }
  },
  "additionalProperties": false,
  "x-schema-id": "CashierTransaction"
}