Mews · Schema

Billing automation update parameters

HospitalityHotelsPMSProperty Management

Properties

Name Type Description
BillingAutomationId string Unique identifier of the billing automation.
Name object Name of the billing automation (or null should it not be updated).
Description object Description of the billing automation (or null should it not be updated).
Companies object List of companies with relations indicating whether the company should be considered as a travel agency or a company in the reservation. This list can only be empty if the `AssignmentTargetType` is `C
Prepayment object Type of prepayment (or null should it not be updated).
AssignmentTargetType object Specifies the type of company assignment to the bill. If set to `NoCompany`, the `BillAggregationType` must be `AggregateByCustomer`. Set to null if the value is not updated.
BillAggregationType object Defines the aggregation target type for billing automation. If not `AggregateByCustomer`, the `AssignmentTargetType` must be `CompanyAsOwner`. Set to null if the value is not updated.
OrderItemConsumptionPeriod object Specifies the order item consumption period type for the billing automation. Required if the `TriggerType` is recurring. Can be null if the value is not updated.
ProcessingStartOffset object Processing start offset. Required if the billing automation `TriggerType` is recurring (or null should it not be updated).
View JSON Schema on GitHub

JSON Schema

mews-billingautomationupdateparameters-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/BillingAutomationUpdateParameters",
  "title": "Billing automation update parameters",
  "required": [
    "BillingAutomationId"
  ],
  "type": "object",
  "properties": {
    "BillingAutomationId": {
      "type": "string",
      "description": "Unique identifier of the billing automation.",
      "format": "uuid"
    },
    "Name": {
      "title": "String update value",
      "maxLength": 255,
      "allOf": [
        {
          "$ref": "#/components/schemas/StringUpdateValue"
        }
      ],
      "description": "Name of the billing automation (or null should it not be updated).",
      "nullable": true
    },
    "Description": {
      "title": "String update value",
      "maxLength": 1000,
      "allOf": [
        {
          "$ref": "#/components/schemas/StringUpdateValue"
        }
      ],
      "description": "Description of the billing automation (or null should it not be updated).",
      "nullable": true
    },
    "Companies": {
      "title": "Company with billing automation relation array update value",
      "maxLength": 1000,
      "allOf": [
        {
          "$ref": "#/components/schemas/CompanyWithBillingAutomationRelationIEnumerableUpdateValue"
        }
      ],
      "description": "List of companies with relations indicating whether the company should be considered as a travel agency or a company in the reservation. This list can only be empty if the `AssignmentTargetType` is `CompanyAsDetails` or `NoCompany`. Set to null if the value is not updated.",
      "nullable": true
    },
    "Prepayment": {
      "title": "Billing automation prepayment type update value",
      "allOf": [
        {
          "$ref": "#/components/schemas/BillingAutomationPrepaymentUpdateValue"
        }
      ],
      "description": "Type of prepayment (or null should it not be updated).",
      "nullable": true
    },
    "AssignmentTargetType": {
      "title": "Billing automation assignment target type update value",
      "allOf": [
        {
          "$ref": "#/components/schemas/BillingAutomationAssignmentTargetTypeUpdateValue"
        }
      ],
      "description": "Specifies the type of company assignment to the bill. If set to `NoCompany`, the `BillAggregationType` must be `AggregateByCustomer`. Set to null if the value is not updated.",
      "nullable": true
    },
    "BillAggregationType": {
      "title": "Billing automation bill aggregation type update value",
      "allOf": [
        {
          "$ref": "#/components/schemas/BillingAutomationBillAggregationTypeUpdateValue"
        }
      ],
      "description": "Defines the aggregation target type for billing automation. If not `AggregateByCustomer`, the `AssignmentTargetType` must be `CompanyAsOwner`. Set to null if the value is not updated.",
      "nullable": true
    },
    "OrderItemConsumptionPeriod": {
      "title": "Billing automation order item consumption period type update value",
      "allOf": [
        {
          "$ref": "#/components/schemas/BillingAutomationOrderItemConsumptionPeriodTypeUpdateValue"
        }
      ],
      "description": "Specifies the order item consumption period type for the billing automation. Required if the `TriggerType` is recurring. Can be null if the value is not updated.",
      "nullable": true
    },
    "ProcessingStartOffset": {
      "title": "String update value",
      "maxLength": 20,
      "allOf": [
        {
          "$ref": "#/components/schemas/StringUpdateValue"
        }
      ],
      "description": "Processing start offset. Required if the billing automation `TriggerType` is recurring (or null should it not be updated).",
      "nullable": true
    }
  },
  "additionalProperties": false,
  "x-schema-id": "BillingAutomationUpdateParameters"
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/mews-billingautomationupdateparameters"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.