{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/telenor-sverige/main/json-schema/telenor-sverige-core-api-billing-account-account-order-input-schema.json",
  "title": "CoreApi.BillingAccount.AccountOrderInput",
  "x-generated": "2026-10-16",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mobile-order.yml#/components/schemas/CoreApi.BillingAccount.AccountOrderInput",
  "required": [
    "AgreeId",
    "InvoiceCity",
    "InvoiceZip",
    "ProfileId",
    "UserId"
  ],
  "type": "object",
  "properties": {
    "UserId": {
      "minLength": 1,
      "type": "string"
    },
    "AgreeId": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "ProfileId": {
      "minLength": 1,
      "type": "string"
    },
    "InvoiceRef": {
      "type": [
        "string",
        "null"
      ]
    },
    "InvoiceAddress1": {
      "type": [
        "string",
        "null"
      ]
    },
    "InvoiceAddress2": {
      "type": [
        "string",
        "null"
      ]
    },
    "InvoiceZip": {
      "minLength": 1,
      "type": "string"
    },
    "InvoiceCity": {
      "minLength": 1,
      "type": "string"
    },
    "InvoiceCoutryCode": {
      "type": [
        "string",
        "null"
      ],
      "deprecated": true
    },
    "InvoiceCountryCode": {
      "type": [
        "string",
        "null"
      ]
    },
    "InvoiceCountryCodeValue": {
      "type": [
        "string",
        "null"
      ],
      "readOnly": true
    }
  },
  "additionalProperties": false
}