{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SalesOrderHeaderPrcgElmnt",
  "title": "SalesOrderHeaderPrcgElmnt",
  "type": "object",
  "description": "Sales order header pricing element entity (A_SalesOrderHeaderPrcgElmnt) representing a pricing condition at the header level, such as overall discounts, surcharges, or freight.",
  "properties": {
    "SalesOrder": {
      "type": "string",
      "maxLength": 10,
      "description": "Sales order number",
      "example": "example_value"
    },
    "PricingProcedureStep": {
      "type": "string",
      "maxLength": 3,
      "description": "Step number in the pricing procedure",
      "example": "example_value"
    },
    "PricingProcedureCounter": {
      "type": "string",
      "maxLength": 3,
      "description": "Counter for condition within a step",
      "example": "example_value"
    },
    "ConditionType": {
      "type": "string",
      "maxLength": 4,
      "description": "Condition type (e.g., PR00 for price, K004 for discount, MWST for tax)",
      "examples": [
        "PR00"
      ]
    },
    "ConditionRateValue": {
      "type": "string",
      "description": "Condition rate or amount per pricing unit",
      "example": "example_value"
    },
    "ConditionCurrency": {
      "type": "string",
      "maxLength": 5,
      "description": "Currency for the condition",
      "example": "example_value"
    },
    "ConditionQuantity": {
      "type": "string",
      "description": "Condition pricing quantity",
      "example": "example_value"
    },
    "ConditionQuantityUnit": {
      "type": "string",
      "maxLength": 3,
      "description": "Condition quantity unit",
      "example": "example_value"
    },
    "ConditionCategory": {
      "type": "string",
      "maxLength": 1,
      "description": "Condition category",
      "example": "example_value"
    },
    "ConditionIsForStatistics": {
      "type": "boolean",
      "description": "Statistical condition indicator",
      "example": true
    },
    "PricingScaleType": {
      "type": "string",
      "maxLength": 1,
      "description": "Scale type",
      "example": "example_value"
    },
    "IsRelevantForAccrual": {
      "type": "boolean",
      "description": "Accrual indicator",
      "example": true
    },
    "ConditionOrigin": {
      "type": "string",
      "maxLength": 1,
      "description": "Origin of the condition",
      "example": "example_value"
    },
    "IsGroupCondition": {
      "type": "string",
      "maxLength": 1,
      "description": "Group condition indicator",
      "example": "example_value"
    },
    "ConditionAmount": {
      "type": "string",
      "description": "Condition value (total amount for the condition)",
      "example": "example_value"
    },
    "TransactionCurrency": {
      "type": "string",
      "maxLength": 5,
      "description": "Document currency",
      "example": "example_value"
    },
    "ConditionControl": {
      "type": "string",
      "maxLength": 1,
      "description": "Condition control",
      "example": "example_value"
    },
    "ConditionInactiveReason": {
      "type": "string",
      "maxLength": 1,
      "description": "Reason the condition is inactive",
      "example": "example_value"
    },
    "ConditionClass": {
      "type": "string",
      "maxLength": 1,
      "description": "Condition class (A=discount, B=surcharge)",
      "example": "example_value"
    },
    "PrcgProcedureCounterForHeader": {
      "type": "string",
      "maxLength": 3,
      "description": "Procedure counter for header conditions",
      "example": "example_value"
    },
    "FactorForConditionBasisValue": {
      "type": "string",
      "description": "Factor for condition basis value",
      "example": "example_value"
    },
    "StructureCondition": {
      "type": "string",
      "maxLength": 1,
      "description": "Structure condition",
      "example": "example_value"
    },
    "PeriodFactorForCndnBasisValue": {
      "type": "string",
      "description": "Period factor for condition basis value",
      "example": "example_value"
    },
    "PricingScaleBasis": {
      "type": "string",
      "maxLength": 3,
      "description": "Scale basis indicator",
      "example": "example_value"
    },
    "ConditionScaleBasisValue": {
      "type": "string",
      "description": "Scale basis value",
      "example": "example_value"
    },
    "ConditionScaleBasisUnit": {
      "type": "string",
      "maxLength": 3,
      "description": "Condition scale basis unit",
      "example": "example_value"
    },
    "ConditionScaleBasisCurrency": {
      "type": "string",
      "maxLength": 5,
      "description": "Scale basis currency",
      "example": "example_value"
    },
    "CndnIsRelevantForIntcoBilling": {
      "type": "boolean",
      "description": "Relevant for intercompany billing",
      "example": true
    },
    "ConditionIsManuallyChanged": {
      "type": "boolean",
      "description": "Indicator that the condition was manually changed",
      "example": true
    }
  }
}