{
  "version": 1,
  "fictional": true,
  "software": "Jobber",
  "title": "One material purchase represented twice",
  "canonicalPage": "https://levelcfo.com/guides/software-integration/jobber/",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "fields": [
    {
      "name": "entry_id",
      "meaning": "Fictional retained source row"
    },
    {
      "name": "kind",
      "meaning": "The job-cost input category"
    },
    {
      "name": "amount",
      "meaning": "Fictional USD"
    },
    {
      "name": "economic_once",
      "meaning": "Whether the row belongs in a once-counted teaching total"
    }
  ],
  "calculation": "The teaching scenario intentionally identifies the two $600 rows as representations of one purchase. Summing every cost gives $1,700 and $300 contribution. Counting the purchase once gives $1,100 and $900 contribution. These are direct-cost teaching contributions, not proof of net profit or a recommended deletion.",
  "files": [
    {
      "filename": "jobber-cost-trace.csv",
      "sha256": "fa50915b6e893733a4f759949bcf43381be2118eaa477f5a08995d186755e89a"
    },
    {
      "filename": "jobber-price.csv",
      "sha256": "d61ba37f715b4e5093b06eb8c7bc2f8399eb6371084d3d4d15eb9d188c3b8cd3"
    }
  ],
  "checks": [
    {
      "id": "price",
      "operation": "sum",
      "expected": 2000,
      "file": "jobber-price.csv",
      "field": "amount"
    },
    {
      "id": "represented",
      "operation": "sum",
      "expected": 1700,
      "file": "jobber-cost-trace.csv",
      "field": "amount"
    },
    {
      "id": "once",
      "operation": "sum",
      "expected": 1100,
      "file": "jobber-cost-trace.csv",
      "field": "amount",
      "filter": {
        "field": "economic_once",
        "equals": "yes"
      }
    },
    {
      "id": "naive_contribution",
      "operation": "difference",
      "expected": 300,
      "operands": [
        "price",
        "represented"
      ]
    },
    {
      "id": "once_contribution",
      "operation": "difference",
      "expected": 900,
      "operands": [
        "price",
        "once"
      ]
    }
  ],
  "expectedResults": [
    {
      "label": "All represented costs",
      "value": 1700,
      "unit": "USD",
      "meaning": "What naive addition produces",
      "checkId": "represented"
    },
    {
      "label": "Once-counted costs",
      "value": 1100,
      "unit": "USD",
      "meaning": "Economic purchase plus labor and other expense",
      "checkId": "once"
    },
    {
      "label": "Naive contribution",
      "value": 300,
      "unit": "USD",
      "meaning": "Price less all represented costs",
      "checkId": "naive_contribution"
    },
    {
      "label": "Once-counted contribution",
      "value": 900,
      "unit": "USD",
      "meaning": "Price less costs counted once",
      "checkId": "once_contribution"
    }
  ],
  "nextDecision": "Prove the shared purchase identity in real evidence, then approve the cost-entry convention. Include payroll burden and overhead before making broader profit claims."
}
