California Pre-Payroll Compliance · Exact Decimal · Zero Employee PII

California Alvarado, Ferra & Donohue Pre-Payroll Compliance API

Catch California flat-sum bonus regular-rate errors (Alvarado), regular-rate meal/rest premiums (Ferra), zero-rounding late meal triggers (Donohue), daily overtime/double-time, and Top-10 local minimum wage floors before payday — via one stateless REST API, hosted MCP server, or browser-RAM CSV audit.

Live Stateless Verification · Zero Auth Required

Test Against the Live Production API

Sends the synthetic, zero-PII reference timesheet directly to https://api.wagehourengine.com/v1/timesheets/evaluate and returns a live Ed25519-signed RFC 8785 audit receipt.

Naive FLSA-Only Payroll Software

$1,101.99

{
  "method": "FLSA_WEIGHTED_AVERAGE_29_CFR_778_209",
  "regular_hours": "40.0",
  "overtime_1_5x_hours": "6.5",
  "double_time_2_0x_hours": "0.0",
  "regular_rate_of_pay_usd": "22.15",
  "meal_break_penalty_usd": "0.00",
  "naive_total_gross_usd": "1101.99",
  "hidden_underpayment_usd": "-68.01"
}

WageHourEngine · CA Statutory Pay (LA City)

$1,170.00 (+$68.01)

{
  "jurisdiction": "City of Los Angeles, CA (FIPS 0644000, $18.42/hr floor)",
  "method": "CA_ALVARADO_FLAT_SUM_DIVISOR",
  "regular_hours": "40.0",
  "overtime_1_5x_hours": "6.0",
  "double_time_2_0x_hours": "0.5",
  "regular_rate_of_pay_usd": "22.50",
  "meal_break_penalty_usd": "45.00",
  "statutory_total_gross_usd": "1170.00",
  "variance_vs_flsa_only_usd": "68.01",
  "violations": [
    "CA_MEAL_BREAK_LATE_START",
    "CA_SECOND_MEAL_BREAK_MISSED"
  ]
}
REST API (cURL · Zero PII)
curl -sS -X POST "https://api.wagehourengine.com/v1/timesheets/evaluate" \
  -H "Content-Type: application/json" \
  -d '{
  "worker_ref": "wrk_la_alvarado_001",
  "workweek_start_date": "2026-11-23",
  "timezone": "America/Los_Angeles",
  "worksite": {
    "address": "200 N Spring St, Los Angeles, CA 90012",
    "state_code": "CA",
    "fips_place_code": "0644000"
  },
  "employer_headcount": 45,
  "industry_code": "general",
  "has_union_cba": false,
  "is_piece_rate": false,
  "uses_tip_credit": false,
  "shifts": [
    {
      "work_date": "2026-11-23",
      "start_utc": "2026-11-23T16:00:00Z",
      "end_utc": "2026-11-24T02:30:00Z",
      "hourly_rate_usd": "20.00",
      "breaks": [
        {
          "start_utc": "2026-11-23T21:05:00Z",
          "end_utc": "2026-11-23T21:35:00Z",
          "paid": false,
          "waived": false
        }
      ]
    },
    {
      "work_date": "2026-11-24",
      "start_utc": "2026-11-24T16:00:00Z",
      "end_utc": "2026-11-25T00:30:00Z",
      "hourly_rate_usd": "20.00",
      "breaks": [
        {
          "start_utc": "2026-11-24T20:00:00Z",
          "end_utc": "2026-11-24T20:30:00Z",
          "paid": false,
          "waived": false
        }
      ]
    },
    {
      "work_date": "2026-11-25",
      "start_utc": "2026-11-25T15:00:00Z",
      "end_utc": "2026-11-26T04:00:00Z",
      "hourly_rate_usd": "20.00",
      "breaks": [
        {
          "start_utc": "2026-11-25T19:30:00Z",
          "end_utc": "2026-11-25T20:00:00Z",
          "paid": false,
          "waived": false
        }
      ]
    },
    {
      "work_date": "2026-11-26",
      "start_utc": "2026-11-26T16:00:00Z",
      "end_utc": "2026-11-27T00:30:00Z",
      "hourly_rate_usd": "20.00",
      "breaks": [
        {
          "start_utc": "2026-11-26T20:00:00Z",
          "end_utc": "2026-11-26T20:30:00Z",
          "paid": false,
          "waived": false
        }
      ]
    },
    {
      "work_date": "2026-11-27",
      "start_utc": "2026-11-27T16:00:00Z",
      "end_utc": "2026-11-28T00:30:00Z",
      "hourly_rate_usd": "20.00",
      "breaks": [
        {
          "start_utc": "2026-11-27T20:00:00Z",
          "end_utc": "2026-11-27T20:30:00Z",
          "paid": false,
          "waived": false
        }
      ]
    }
  ],
  "bonuses": [
    {
      "bonus_type": "flat_sum",
      "amount_usd": "100.00",
      "description": "Weekly attendance bonus"
    }
  ]
}'
Hosted MCP Server (Gemini, Claude, Cursor)
{
  "mcpServers": {
    "wagehourengine": {
      "type": "streamable-http",
      "url": "https://api.wagehourengine.com/mcp"
    }
  }
}

Official MCP Registry: com.wagehourengine/wage-hour-engine-mcp · Streamable HTTP, zero auth needed for the 250 evals/mo free sandbox.

California Statutory Formulas Enforced in Exact Decimal Math

Every calculation executes with Python Decimal (ROUND_HALF_UP) arithmetic and zero LLM inference. Below are the four highest-risk California rules that generic FLSA payroll software routinely miscalculates.

Alvarado v. Dart Container Corp., 4 Cal. 5th 542 (2018)

Alvarado Flat-Sum Bonus Regular Rate

bonus_per_hour = flat_sum_bonus / non_overtime_hours_worked

Standard FLSA payroll systems divide flat-sum attendance or safety bonuses by total hours worked (including overtime). Under Alvarado, California requires dividing by non-overtime hours actually worked, then multiplying by 1.5x for overtime and 2.0x for double-time.

Ferra v. Loews Hollywood Hotel, 11 Cal. 5th 858 (2021) · Lab. Code § 226.7

Ferra Regular-Rate Meal & Rest Premiums

premium_usd = 1.0 × regular_rate_of_pay (not base hourly rate)

Whenever an employee misses a compliant meal or rest period, the 1-hour statutory premium must be paid at the employee's regular rate of compensation—incorporating nondiscretionary bonuses, piece-rate earnings, and shift differentials—not their base hourly wage.

Donohue v. AMN Services, LLC, 11 Cal. 5th 58 (2021)

Donohue Zero-Rounding Meal Audit

first_meal_start <= 300 min (5.0h) · duration >= 30 min · 0 rounding

California prohibits time-punch rounding for meal periods. Starting a meal period at hour 5:05 (305 minutes) or clocking back in after 29 minutes triggers a rebuttable presumption of a violation and an automatic 1-hour regular-rate premium.

Cal. Lab. Code § 510 · AB 1228 · SB 525 · Top-10 Local Ordinances

Daily OT, Double-Time & Sector Floors

>8h/day = 1.5x · >12h/day = 2.0x · 7th Day: 1–8h 1.5x, >8h 2.0x

Evaluates California daily overtime, double-time, seventh-consecutive-workday multipliers, AB 1228 Fast Food ($20.00/hr), SB 525 Healthcare ($25.00/hr), and Top-10 local ordinances (including LA City vs. Unincorporated LA County FIPS disambiguation and midnight rate splits).

California Statewide, Top-10 Local & Sector Floors (2026–2027)

All rates use half-open effective date intervals with midnight local-time shift splitting so overnight shifts spanning December 31 to January 1 or June 30 to July 1 calculate to the exact penny.

Jurisdiction / RuleActive 2026 FloorScheduled 2027 / EffectStatutory Notes
California Statewide$16.90/hr$17.40/hr (Jan 1, 2027)Exempt salary $70,304 -> $72,384/yr
City of Los Angeles$18.42/hrJul 1, 2027 (CPI)Incorporated Place FIPS 0644000
Unincorporated LA County$18.47/hrJul 1, 2027 (CPI)$0.05/hr above LA City
San Francisco$19.61/hrJul 1, 2027 (CPI)City & County FIPS 0667000
San Jose$18.45/hr$19.00/hr (Jan 1, 2027)Confirmed Jan 1 increase
San Diego$17.75/hr$18.35/hr (Jan 1, 2027)Confirmed Jan 1 increase
Oakland$17.34/hr$17.40/hr (Jan 1, 2027)CA state floor preempts local
West Hollywood$20.25/hr$20.94/hr (Jan 1, 2027)Confirmed non-hotel rate
Santa Monica · Berkeley · Emeryville$18.47 · $19.61 · $20.34Jul 1, 2027 (CPI)Emeryville supersedes AB 1228
AB 1228 Fast Food · SB 525 Healthcare$20.00/hr · $25.00/hrActive Statutory FloorsAB 1228 exempt floor: $83,200/yr

Stateless Zero-PII Architecture & Ed25519 Audit Receipts

WageHourEngine sits cleanly beside QuickBooks, Gusto, ADP, Toast, and ServiceTitan without storing employee names, SSNs, or payroll databases. Every API and MCP request passes through a pure-ASGI edge guardrail (HTTP 422 PII_PAYLOAD_REJECTED) and executes exact Python Decimal (ROUND_HALF_UP) arithmetic with zero LLM inference. Each response returns an RFC 8785 canonical JSON SHA-256 hash and RFC 8032 Ed25519 signature verifiable offline via /.well-known/jwks.json.

Frequently Asked Questions

Why do Gusto, QuickBooks, and ADP often underpay California flat-sum bonuses?

Most national payroll engines default to the Federal FLSA weighted-average formula (29 CFR § 778.209), dividing bonuses by total hours worked rather than non-overtime hours worked under Alvarado. WageHourEngine catches the exact penny variance before payroll commits.

How does WageHourEngine distinguish City of Los Angeles from Unincorporated LA County?

Using FIPS place codes and worksite resolution, the engine resolves City of Los Angeles ($18.42/hr, FIPS 0644000) separately from Unincorporated LA County ($18.47/hr) and applies the highest controlling local, sector (AB 1228 / SB 525), or state floor on each shift timestamp.

Does an Ed25519 audit receipt guarantee a California AB 2288 / PAGA safe harbor?

No. Cryptographic RFC 8785 & Ed25519 receipts provide deterministic periodic payroll compliance-documentation support only and are not legal advice or a guaranteed safe harbor under California Labor Code § 2699(g)(2). Always consult qualified employment counsel.

Are scheduled January 1, 2027 California minimum wage increases already loaded?

Yes. Half-open effective intervals (2025–2027) are built directly into the deterministic engine, including CA Statewide ($17.40/hr), San Jose ($19.00/hr), San Diego ($18.35/hr), West Hollywood ($20.94/hr), and Oakland preemption ($17.40/hr).

Explore Other Statutory Compliance APIs

Founding Partner Program · Refundable 30-Day Guarantee

Catch pre-payroll compliance leaks before payday

Start free with 250 evaluations/month (no card required), or lock 50% off for 12 months with a refundable $99 deposit and instant self-serve API key provisioning.