Mews · Schema

Extended amount

HospitalityHotelsPMSProperty Management

Properties

Name Type Description
Currency string ISO-4217 code of the [Currency](https://mews-systems.gitbook.io/connector-api/operations/currencies/#currency).
NetValue number Net value without taxes.
GrossValue number Gross value including all taxes.
TaxValues array The tax values applied.
Breakdown object Information about individual tax amounts.
Value number
Net number
Tax number
TaxRate number
View JSON Schema on GitHub

JSON Schema

mews-extendedamount-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ExtendedAmount",
  "title": "Extended amount",
  "required": [
    "Breakdown",
    "Currency",
    "GrossValue",
    "NetValue",
    "TaxValues"
  ],
  "type": "object",
  "properties": {
    "Currency": {
      "minLength": 1,
      "type": "string",
      "description": "ISO-4217 code of the [Currency](https://mews-systems.gitbook.io/connector-api/operations/currencies/#currency).",
      "format": "currency"
    },
    "NetValue": {
      "type": "number",
      "description": "Net value without taxes.",
      "format": "double"
    },
    "GrossValue": {
      "type": "number",
      "description": "Gross value including all taxes.",
      "format": "double"
    },
    "TaxValues": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/TaxValue"
      },
      "description": "The tax values applied."
    },
    "Breakdown": {
      "title": "Tax breakdown",
      "allOf": [
        {
          "$ref": "#/components/schemas/TaxBreakdown"
        }
      ],
      "description": "Information about individual tax amounts."
    },
    "Value": {
      "type": "number",
      "format": "double",
      "nullable": true
    },
    "Net": {
      "type": "number",
      "format": "double",
      "nullable": true
    },
    "Tax": {
      "type": "number",
      "format": "double",
      "nullable": true
    },
    "TaxRate": {
      "type": "number",
      "format": "double",
      "nullable": true
    }
  },
  "additionalProperties": false,
  "description": "",
  "x-schema-id": "ExtendedAmount"
}