{
  "version": 1,
  "fictional": true,
  "software": "Gusto",
  "title": "Fictional earned cutoff and separately sourced contractors",
  "canonicalPage": "https://levelcfo.com/guides/software-integration/gusto/",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "fields": [
    "population: employee_paid, employee_unprocessed or contractor",
    "basis: employee rows use earned gross wages only; contractor row uses earned service cost",
    "earned_cost: teaching USD cost for the target month; excludes employer burden"
  ],
  "calculation": "Selected completed-run gross wages are 4000. Approved but unprocessed earned wages add 600, making employee earned gross wages 4600. Separately evidenced earned contractor cost adds 900, for a combined earned wage/service-cost subtotal of 5500 before employer burden. Bank funding is not provided.",
  "files": [
    {
      "filename": "gusto-earned-cost.csv",
      "sha256": "0e94ea1bec8d8bbedda17eafa27b695e0378bc49dd02edd6e177acfbbc76beaa"
    }
  ],
  "checks": [
    {
      "id": "paid",
      "operation": "sum",
      "expected": 4000,
      "file": "gusto-earned-cost.csv",
      "field": "earned_cost",
      "filter": {
        "field": "population",
        "equals": "employee_paid"
      }
    },
    {
      "id": "unprocessed",
      "operation": "sum",
      "expected": 600,
      "file": "gusto-earned-cost.csv",
      "field": "earned_cost",
      "filter": {
        "field": "population",
        "equals": "employee_unprocessed"
      }
    },
    {
      "id": "contractor",
      "operation": "sum",
      "expected": 900,
      "file": "gusto-earned-cost.csv",
      "field": "earned_cost",
      "filter": {
        "field": "population",
        "equals": "contractor"
      }
    },
    {
      "id": "employee_earned",
      "operation": "sumMetrics",
      "expected": 4600,
      "operands": [
        "paid",
        "unprocessed"
      ]
    },
    {
      "id": "earned_subtotal",
      "operation": "sum",
      "expected": 5500,
      "file": "gusto-earned-cost.csv",
      "field": "earned_cost"
    },
    {
      "id": "omitted_cost",
      "operation": "difference",
      "expected": 1500,
      "operands": [
        "earned_subtotal",
        "paid"
      ]
    }
  ],
  "expectedResults": [
    {
      "label": "Completed-run gross wages",
      "value": 4000,
      "unit": "USD",
      "meaning": "This selected employee run population only.",
      "checkId": "paid"
    },
    {
      "label": "Employee earned gross wages",
      "value": 4600,
      "unit": "USD",
      "meaning": "Completed plus supported unprocessed earnings for the target month.",
      "checkId": "employee_earned"
    },
    {
      "label": "Earned wage/service subtotal",
      "value": 5500,
      "unit": "USD",
      "meaning": "Employee gross wages plus separately sourced contractor service cost, before employer burden.",
      "checkId": "earned_subtotal"
    },
    {
      "label": "Omitted earned cost",
      "value": 1500,
      "unit": "USD",
      "meaning": "600 of unprocessed wages and 900 of contractor service cost.",
      "checkId": "omitted_cost"
    }
  ],
  "nextDecision": "Collect actual employer burden and service/job allocation before calling 5500 fully loaded labor cost. Do not infer bank funding from this fixture."
}
