magento · Schema

Invoice

An invoice record associated with a sales order.

Properties

Name Type Description
entity_id integer Numeric invoice entity ID.
order_id integer Numeric entity ID of the parent order.
increment_id string Human-readable invoice number.
state integer Invoice state. 1 = open, 2 = paid, 3 = cancelled.
grand_total number Invoice grand total.
subtotal number Invoice subtotal.
created_at string ISO 8601 timestamp when the invoice was created.
View JSON Schema on GitHub

JSON Schema

magento-invoice-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Invoice",
  "title": "Invoice",
  "type": "object",
  "description": "An invoice record associated with a sales order.",
  "properties": {
    "entity_id": {
      "type": "integer",
      "description": "Numeric invoice entity ID."
    },
    "order_id": {
      "type": "integer",
      "description": "Numeric entity ID of the parent order."
    },
    "increment_id": {
      "type": "string",
      "description": "Human-readable invoice number."
    },
    "state": {
      "type": "integer",
      "description": "Invoice state. 1 = open, 2 = paid, 3 = cancelled.",
      "enum": [
        1,
        2,
        3
      ]
    },
    "grand_total": {
      "type": "number",
      "description": "Invoice grand total."
    },
    "subtotal": {
      "type": "number",
      "description": "Invoice subtotal."
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 timestamp when the invoice was created."
    }
  }
}

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/magento-invoice"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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