ERPNext · Schema

DocType

A Frappe/ERPNext DocType document, the base object returned by all resource endpoints.

ERPEnterprise Resource PlanningAccountingInventoryManufacturingSalesCRMHROpen-Source

Properties

Name Type Description
name string Unique identifier (primary key) of the document.
doctype string The DocType name, e.g. Customer, Employee, Sales Invoice.
owner string The user who created the document.
creation string Timestamp when the document was created.
modified string Timestamp of the last modification.
modified_by string The user who last modified the document.
docstatus integer Document workflow status: 0=Draft, 1=Submitted, 2=Cancelled.
View JSON Schema on GitHub

JSON Schema

doctype.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/erpnext/main/json-schema/doctype.json",
  "title": "DocType",
  "description": "A Frappe/ERPNext DocType document, the base object returned by all resource endpoints.",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Unique identifier (primary key) of the document."
    },
    "doctype": {
      "type": "string",
      "description": "The DocType name, e.g. Customer, Employee, Sales Invoice."
    },
    "owner": {
      "type": "string",
      "description": "The user who created the document."
    },
    "creation": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the document was created."
    },
    "modified": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp of the last modification."
    },
    "modified_by": {
      "type": "string",
      "description": "The user who last modified the document."
    },
    "docstatus": {
      "type": "integer",
      "enum": [0, 1, 2],
      "description": "Document workflow status: 0=Draft, 1=Submitted, 2=Cancelled."
    }
  },
  "required": ["name", "doctype"]
}

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/doctype"
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 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. See our Privacy Policy and Terms.

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