The Bank Close object
A captured banking date and ordered dependencies, with immutable attempt evidence and recoverable checkpoints. Missing reconciliations, variances or unresolved statement deliveries block completion and later dates.
Attributes
attemptsintegerRequiredbusiness_datestring · dateRequiredA business date, YYYY-MM-DD
completed_atstring · date-time or nullOptionalcreated_atstring · date-timeRequiredcursorstringOptionalevidencearray of objectsOptional10 child attributes
actorstringRequiredatstring · date-timeRequiredcursorstringOptionalerrorstringOptionalnumberintegerRequiredreasonstringOptionalresultobjectRequiredsource_sha256stringOptionalSourceSHA256 is the digest of the fenced module source this attempt judged, when the source carries one; it is the close's own record of exactly what it read.
statestringRequiredstepstringRequiredidstringRequiredlast_errorstringOptionallast_reasonstringOptionalLastReason is why the step blocked, in the words the module gave, so an operator reads the blocker itself instead of the problem code alone.
lease_untilstring · date-time or nullOptionalplanobjectRequiredClosePlan is captured in an independently approved bank_close_plan request. Version 1 uses the ledger's Federal Reserve calendar and disclosed cutoff; it cannot silently select a different calendar from the posting engine. Version 3 adds the product modules whose own closing source the run asks for.
10 child attributes
enabledbooleanRequiredlendingbooleanRequiredno_lending_reasonstringOptionalno_products_reasonstringOptionalno_reconciliation_reasonstringOptionalpolicy_evidencestringRequiredproductsarray of stringsOptionalreconciliation_sourcesarray of stringsRequiredstart_datestring · dateRequiredA business date, YYYY-MM-DD
versionintegerRequiredplan_request_idstringRequiredExample req_2tVh8nqLxq4GbDe0K1F6S9zRcWm
statusstringRequiredstep_indexintegerRequiredstepsarray of stringsRequired