Mews · Schema

Order item accounting state

Open (Order items which carry a non-zero value, are open, and have not been closed on a bill or invoice.) Closed (Order items which carry a non-zero value and have been closed on a bill or invoice.) Inactive (Order items which are either of zero value and have not been canceled, if the state of the payment item is Pending or Failed, or items of optional reservations. Until the reservation is confirmed, all its accounting items are Inactive.) Canceled (Order items which have been canceled, regardless of whether the item is of zero value.)

HospitalityHotelsPMSProperty Management
View JSON Schema on GitHub

JSON Schema

mews-accountingstateenum-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AccountingStateEnum",
  "title": "Order item accounting state",
  "enum": [
    "Open",
    "Closed",
    "Inactive",
    "Canceled"
  ],
  "type": "string",
  "description": "\n\nOpen (Order items which carry a non-zero value, are open, and have not been closed on a bill or invoice.)\n\nClosed (Order items which carry a non-zero value and have been closed on a bill or invoice.)\n\nInactive (Order items which are either of zero value and have not been canceled, if the state of the payment item is Pending or Failed, or items of optional reservations. Until the reservation is confirmed, all its accounting items are Inactive.)\n\nCanceled (Order items which have been canceled, regardless of whether the item is of zero value.)",
  "x-enumNames": [
    "Open",
    "Closed",
    "Inactive",
    "Canceled"
  ],
  "x-enumDescriptions": [
    "Order items which carry a non-zero value, are open, and have not been closed on a bill or invoice.",
    "Order items which carry a non-zero value and have been closed on a bill or invoice.",
    "Order items which are either of zero value and have not been canceled, if the state of the payment item is Pending or Failed, or items of optional reservations. Until the reservation is confirmed, all its accounting items are Inactive.",
    "Order items which have been canceled, regardless of whether the item is of zero value."
  ]
}