feat: add subcontractor AP models (timesheet, payable, vendor accounts) #13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/subcon-ap"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Add subcontractor Accounts Payable (AP) models to haskos-finance — timesheet tracking, outbound payments, and vendor bank accounts.
What's new
3 Models
15 API Endpoints
/timesheets— CRUD +/validate+/approvestate transitions/payables— CRUD +/record-paymentstate transition/vendor-payment-accounts— CRUD with entity_id filterAll endpoints carry
finance:read/finance:writescope enforcement (matching PR #12).Migration
002_add_ap_models.py— creates 3 tables with indexes and FKsContext
This is the data layer for subcontractor timesheet and AP processing. The agentic flow:
Spec Drift Callouts
contributor(notoperatorlike existing payment_accounts) — intentional for agent-driven flow