{
  "view": "correction",
  "correctionView": "summary",
  "eligible": true,
  "applied": false,
  "stored": false,
  "previewOnly": true,
  "identityPolicy": "Only canonical financial values/statuses and exact record/column references are returned. Raw CSV, caller names/headers, order IDs, SKU identities, unassigned customer fields and raw exceptions are omitted. Resolve opaque keys in your own complete inputs.",
  "before": {
    "revenue": 1200000,
    "refunds": 60000,
    "knownCogs": 640000,
    "extra": {
      "fees": 48000,
      "shipping": 52000,
      "ads": 120000,
      "fixed": 0
    },
    "margin": 280000,
    "netAfterKnown": 280000,
    "orders": 2,
    "positions": 2,
    "missingPositions": 0,
    "currency": "PLN",
    "unit": "integer_grosz"
  },
  "after": {
    "revenue": 1190000,
    "refunds": 70000,
    "knownCogs": 640000,
    "extra": {
      "fees": 48000,
      "shipping": 52000,
      "ads": 120000,
      "fixed": 0
    },
    "margin": 260000,
    "netAfterKnown": 260000,
    "orders": 2,
    "positions": 2,
    "missingPositions": 0,
    "currency": "PLN",
    "unit": "integer_grosz"
  },
  "impact": {
    "revenueDelta": -10000,
    "refundDelta": 10000,
    "knownCogsDelta": 0,
    "extraDelta": 0,
    "knownDelta": -20000,
    "marginDelta": -20000
  },
  "baselineCostsUsedForBoth": true,
  "baselineExtrasUsedForBoth": true,
  "status": "complete",
  "gate": null,
  "sourceCounts": {
    "beforeOrders": 2,
    "candidateOrders": 2,
    "costs": 2
  },
  "changeCount": 1,
  "sourceLookups": [
    {
      "source": "beforeOrders",
      "records": 2,
      "lookup": {
        "view": "correction",
        "correctionView": "sources",
        "source": "beforeOrders",
        "page": 0
      }
    },
    {
      "source": "candidateOrders",
      "records": 2,
      "lookup": {
        "view": "correction",
        "correctionView": "sources",
        "source": "candidateOrders",
        "page": 0
      }
    },
    {
      "source": "costs",
      "records": 2,
      "lookup": {
        "view": "correction",
        "correctionView": "sources",
        "source": "costs",
        "page": 0
      }
    }
  ],
  "basis": "Gross PLN. Same source order identities, positions, original quantities and literal dates are required. Refund is not a dated refund event; no recovered inventory value is assumed. Caller-supplied, not verified with the store.",
  "allTotalsCoverCompleteInputs": true
}
