SAP · Schema

SAP Sales Order

Schema for SAP sales order documents used in S/4HANA and Business One APIs.

Artificial IntelligenceBTPBusiness ApplicationsCloudData ManagementEnterpriseERPIntegration

Properties

Name Type Description
SalesOrder string Sales order number
SalesOrderType string Sales document type
SalesOrganization string Sales organization code
DistributionChannel string Distribution channel
OrganizationDivision string Division
SoldToParty string Sold-to party business partner number
PurchaseOrderByCustomer string Customer purchase order number
SalesOrderDate string Sales order date
RequestedDeliveryDate string Requested delivery date
TotalNetAmount number Net value of the sales order in document currency
TransactionCurrency string Document currency (ISO 4217)
OverallDeliveryStatus string Overall delivery status
Items array Sales order line items
View JSON Schema on GitHub

JSON Schema

sap-sales-order-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api.sap.com/schemas/sap/sales-order.json",
  "title": "SAP Sales Order",
  "description": "Schema for SAP sales order documents used in S/4HANA and Business One APIs.",
  "type": "object",
  "required": ["SalesOrderType", "SoldToParty"],
  "properties": {
    "SalesOrder": {
      "type": "string",
      "description": "Sales order number",
      "maxLength": 10,
      "readOnly": true
    },
    "SalesOrderType": {
      "type": "string",
      "description": "Sales document type",
      "maxLength": 4
    },
    "SalesOrganization": {
      "type": "string",
      "description": "Sales organization code",
      "maxLength": 4
    },
    "DistributionChannel": {
      "type": "string",
      "description": "Distribution channel",
      "maxLength": 2
    },
    "OrganizationDivision": {
      "type": "string",
      "description": "Division",
      "maxLength": 2
    },
    "SoldToParty": {
      "type": "string",
      "description": "Sold-to party business partner number",
      "maxLength": 10
    },
    "PurchaseOrderByCustomer": {
      "type": "string",
      "description": "Customer purchase order number",
      "maxLength": 35
    },
    "SalesOrderDate": {
      "type": "string",
      "format": "date",
      "description": "Sales order date"
    },
    "RequestedDeliveryDate": {
      "type": "string",
      "format": "date",
      "description": "Requested delivery date"
    },
    "TotalNetAmount": {
      "type": "number",
      "description": "Net value of the sales order in document currency"
    },
    "TransactionCurrency": {
      "type": "string",
      "description": "Document currency (ISO 4217)",
      "maxLength": 3,
      "pattern": "^[A-Z]{3}$"
    },
    "OverallDeliveryStatus": {
      "type": "string",
      "description": "Overall delivery status",
      "enum": ["", "A", "B", "C"]
    },
    "Items": {
      "type": "array",
      "description": "Sales order line items",
      "items": {
        "$ref": "#/$defs/SalesOrderItem"
      }
    }
  },
  "$defs": {
    "SalesOrderItem": {
      "type": "object",
      "description": "Sales order line item",
      "required": ["Material", "OrderQuantity"],
      "properties": {
        "SalesOrderItem": {
          "type": "string",
          "description": "Item number within the sales order",
          "maxLength": 6
        },
        "Material": {
          "type": "string",
          "description": "Material number",
          "maxLength": 40
        },
        "SalesOrderItemText": {
          "type": "string",
          "description": "Item description",
          "maxLength": 40
        },
        "OrderQuantity": {
          "type": "number",
          "description": "Order quantity",
          "minimum": 0
        },
        "OrderQuantityUnit": {
          "type": "string",
          "description": "Unit of measure for the order quantity",
          "maxLength": 3
        },
        "NetAmount": {
          "type": "number",
          "description": "Net value of the line item"
        },
        "Plant": {
          "type": "string",
          "description": "Delivering plant",
          "maxLength": 4
        },
        "StorageLocation": {
          "type": "string",
          "description": "Storage location",
          "maxLength": 4
        }
      }
    }
  }
}

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/sap-sales-order"
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.