{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dialogbrain-com/json-schema/dialogbrain-com-invoice-response-schema.json",
  "title": "InvoiceResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dialogbrain-com-billing-api-openapi.yml#/components/schemas/InvoiceResponse",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id"
    },
    "stripe_invoice_id": {
      "type": "string",
      "title": "Stripe Invoice Id"
    },
    "amount_cents": {
      "type": "integer",
      "title": "Amount Cents"
    },
    "currency": {
      "type": "string",
      "title": "Currency"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Description"
    },
    "invoice_pdf_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Invoice Pdf Url"
    },
    "hosted_invoice_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Hosted Invoice Url"
    },
    "paid_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Paid At"
    },
    "period_start": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Period Start"
    },
    "period_end": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Period End"
    },
    "created_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Created At"
    }
  },
  "type": "object",
  "required": [
    "id",
    "stripe_invoice_id",
    "amount_cents",
    "currency",
    "status",
    "description",
    "invoice_pdf_url",
    "hosted_invoice_url",
    "paid_at",
    "period_start",
    "period_end",
    "created_at"
  ]
}