{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/compteam-io/json-schema/compteam-io-bank-row-confirmation-schema.json",
  "title": "BankRowConfirmation",
  "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/BankRowConfirmation",
  "properties": {
    "invoice": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 100
        },
        {
          "type": "null"
        }
      ],
      "title": "Invoice"
    },
    "invoices": {
      "items": {
        "type": "string",
        "format": "uuid"
      },
      "type": "array",
      "maxItems": 20,
      "title": "Invoices"
    },
    "batch_line_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Batch Line Id"
    },
    "payment_invoice_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Payment Invoice Id"
    },
    "payment_invoice_amount": {
      "anyOf": [
        {
          "type": "number",
          "exclusiveMinimum": 0.0
        },
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Payment Invoice Amount"
    },
    "credit_recipient_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Credit Recipient Id"
    },
    "expected_credit_amount": {
      "anyOf": [
        {
          "type": "number",
          "exclusiveMinimum": 0.0
        },
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Expected Credit Amount"
    },
    "credit_recipient_reason": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 500,
          "minLength": 3
        },
        {
          "type": "null"
        }
      ],
      "title": "Credit Recipient Reason"
    }
  },
  "type": "object"
}