{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/compteam-io/json-schema/compteam-io-sepa-batch-export-request-schema.json",
  "title": "SepaBatchExportRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/compteam-io-billing-api-openapi.yml#/components/schemas/SepaBatchExportRequest",
  "properties": {
    "year": {
      "type": "integer",
      "maximum": 2100.0,
      "minimum": 2000.0,
      "title": "Year"
    },
    "month": {
      "type": "integer",
      "maximum": 12.0,
      "minimum": 1.0,
      "title": "Month"
    },
    "mode": {
      "type": "string",
      "enum": [
        "net",
        "per_invoice"
      ],
      "title": "Mode",
      "default": "net"
    },
    "format": {
      "type": "string",
      "enum": [
        "xml_v02",
        "xml_v08",
        "xlsx"
      ],
      "title": "Format",
      "default": "xml_v02"
    },
    "scope": {
      "type": "string",
      "enum": [
        "full",
        "valid_only"
      ],
      "title": "Scope",
      "default": "full"
    },
    "preview_token": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Preview Token"
    }
  },
  "type": "object",
  "required": [
    "year",
    "month"
  ]
}