F-03: Client contact edits invoices (after app)

Source file: evidence/after/f-03.md

Target: http://127.0.0.1:4103 (wrangler dev: workerd, Durable Object SQLite sandbox) · Measured: 2026-11-22T16:17:16.721Z

Verdict: BLOCKED (404 / 404 / 403)

Priya (client contact) sets her invoice to paid

http
PATCH /api/invoices/4023ce2e-0693-4148-8356-78fadbbf7872

{"status":"paid"}
json
HTTP 404
{"error":{"code":"not_found","message":"No such API route","request_id":"52a0a5e8-f3dc-4336-8969-f22b971fe6f3"}}

Priya tries the same through POST

http
POST /api/invoices/4023ce2e-0693-4148-8356-78fadbbf7872

{"status":"paid","total_cents":100}
json
HTTP 404
{"error":{"code":"not_found","message":"No such API route","request_id":"8243377b-0be3-4103-bd33-585bfdcb5822"}}

Priya creates an invoice

http
POST /api/invoices

{"client_id":"d58271c3-04c1-423e-9056-a6db2ba2c83f","due_on":"2026-12-31","items":[{"description":"x","quantity":1,"unit_cents":100}]}
json
HTTP 403
{"error":{"code":"forbidden","message":"Your role cannot do that","request_id":"e5993dce-5229-4fcf-934b-046049523c76"}}