{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/gntai-dev/json-schema/gntai-dev-invoice-info-schema.json",
  "title": "InvoiceInfo",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/gntai-dev-openapi.yml#/components/schemas/InvoiceInfo",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id"
    },
    "number": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Number"
    },
    "created": {
      "type": "string",
      "title": "Created"
    },
    "status": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Status"
    },
    "amount_paid": {
      "type": "integer",
      "title": "Amount Paid"
    },
    "currency": {
      "type": "string",
      "title": "Currency"
    },
    "hosted_invoice_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Hosted Invoice Url"
    },
    "invoice_pdf": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Invoice Pdf"
    }
  },
  "type": "object",
  "required": [
    "id",
    "number",
    "created",
    "status",
    "amount_paid",
    "currency",
    "hosted_invoice_url",
    "invoice_pdf"
  ]
}