Until Stelian enables AccountsPayable on REST (asked 2026-06-06 · Resend 3c23ae96), AP+AR sync requires a SPA user-session Bearer (~1h TTL). Paste a fresh Bearer below; cron picks it up every 30 min and auto-syncs all 13 CLA entities. Stored in hub_tool_data.cla_keez_spa_bearer · NEVER committed to git.
Click anything in the Keez UI (e.g. Dashboard) to trigger a request
Find a graphql row → click it → Headers tab
Scroll to Request Headers → copy the Authorization: Bearer eyJ... value (just the part after "Bearer ")
Paste below + click Save & sync now
2. Current state
Loading...
3. Paste new Bearer
Paste the raw JWT (starts with eyJ...) OR the entire curl from F12 → "Copy as cURL" · we'll extract the Bearer automatically.
4. Cron auto-sync
Cron triggers /api/keez-ap-mine?apply=true + /api/keez-ar-mine?apply=true every 30 min (Mon-Fri 06:00-20:00 EEST · weekdays only).
Each tick: reads Bearer from hub_tool_data.cla_keez_spa_bearer · if expired, logs warning + skips · waits for next paste.
Bearer TTL window: paste once per session (1h) covers ~2 ticks. Paste twice/day if you want continuous freshness.