Accountant Portal
Execute Penny guarded bills amortization/accrual pass (Phase 3 writer)
Changed onAgent principal only (requires verified Google Workload Identity in production, X-Agent-Run-Id, and X-Agent-Evidence-Id with actionType=run_bills). Enforces the 2026-11-01 floor (422 AGENT_WRITE_BEFORE_FLOOR), books-sound gate, F21/F31 live holds, named agent R5 attribution, and human-only undo via POST .../agent/runs/{runId}/evidence/{evidenceId}/undo.
post/accountant/companies/{customerId}/agent/bills/run
Request
- Base URLhttps://api.medianfi.com/api/v1
- AuthHTTP bearer
Path parameters
customerId, string uuid required
Headers
X-Agent-Run-Id, string uuid required
X-Agent-Evidence-Id, string uuid required
Request body
object required
openFrom, string date
asOfDate, string date
dryRun, boolean
entries, object[]
Response
Bills pass result
object required
success, boolean required
data, object required
Changes
- warning
added the new
shadowenum value to thedata/statusresponse property for the response status - warning
added the new
shadow_dry_runenum value to thedata/statusresponse property for the response status - info
added the new optional request property
entries/items/lines/items/sourceIds
2 more changes in this revision
- warning