Mews · Schema

Invoice payment data

HospitalityHotelsPMSProperty Management

Properties

Name Type Description
InvoiceId string Unique identifier of the invoice `Bill`.
Type object Type of the invoice payment. Receivable Balancing UnderpaymentBalancingReceivable OverpaymentBalancingReceivable Overpayment
View JSON Schema on GitHub

JSON Schema

mews-paymentinvoicedata-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PaymentInvoiceData",
  "title": "Invoice payment data",
  "required": [
    "Type"
  ],
  "type": "object",
  "properties": {
    "InvoiceId": {
      "type": "string",
      "description": "Unique identifier of the invoice `Bill`.",
      "format": "uuid",
      "nullable": true
    },
    "Type": {
      "title": "Invoice payment type",
      "allOf": [
        {
          "$ref": "#/components/schemas/InvoicePaymentTypeEnum"
        }
      ],
      "description": "Type of the invoice payment.\n\nReceivable\n\nBalancing\n\nUnderpaymentBalancingReceivable\n\nOverpaymentBalancingReceivable\n\nOverpayment",
      "x-enumNames": [
        "Receivable",
        "Balancing",
        "UnderpaymentBalancingReceivable",
        "OverpaymentBalancingReceivable",
        "Overpayment"
      ],
      "x-enumDescriptions": [
        "",
        "",
        "",
        "",
        ""
      ]
    }
  },
  "additionalProperties": false,
  "x-schema-id": "PaymentInvoiceData"
}