Red Hat 3scale · Schema

InvoiceList

API GatewayAPI ManagementDeveloper PortalDeveloper ToolsEnterpriseRed Hat

Properties

Name Type Description
invoices array
View JSON Schema on GitHub

JSON Schema

red-hat-3scale-invoice-list-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/red-hat-3scale/json-schema/red-hat-3scale-invoice-list-schema.json",
  "title": "InvoiceList",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/red-hat-3scale-invoices-api-openapi.yml#/components/schemas/InvoiceList",
  "type": "object",
  "properties": {
    "invoices": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Invoice"
      }
    }
  },
  "$defs": {
    "Invoice": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer"
        },
        "state": {
          "type": "string",
          "enum": [
            "open",
            "pending",
            "unpaid",
            "paid",
            "failed",
            "cancelled"
          ]
        },
        "friendly_id": {
          "type": "string",
          "description": "Human-readable invoice ID (e.g., 2026-00000001)"
        },
        "month": {
          "type": "string",
          "description": "Billing month in YYYY-MM format"
        },
        "due_on": {
          "type": "string",
          "format": "date"
        },
        "created_at": {
          "type": "string",
          "format": "date-time"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time"
        },
        "cost": {
          "type": "number",
          "format": "float",
          "description": "Invoice total amount"
        },
        "currency": {
          "type": "string",
          "description": "ISO 4217 currency code"
        },
        "account": {
          "type": "object",
          "properties": {
            "id": {
              "type": "integer"
            },
            "org_name": {
              "type": "string"
            }
          }
        },
        "line_items": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/InvoiceLineItem"
          }
        }
      }
    },
    "InvoiceLineItem": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer"
        },
        "name": {
          "type": "string",
          "description": "Description of the line item"
        },
        "cost": {
          "type": "number",
          "description": "Cost for this line item"
        },
        "quantity": {
          "type": "number",
          "description": "Quantity consumed"
        },
        "type": {
          "type": "string",
          "description": "Type of charge (setup, recurring, variable)"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/red-hat-3scale-invoice-list"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.