feat: extend comprehensive monthly settlement snapshots (#18)
This commit is contained in:
@@ -484,3 +484,14 @@ def finalize_settlement_draft(draft_id: str, expected_version: int, review_finge
|
||||
@mcp.tool()
|
||||
def cancel_settlement_draft(draft_id: str, expected_version: int, cancelled_by: str, reason: str) -> dict:
|
||||
return contracts.cancel_settlement_draft(draft_id, expected_version, cancelled_by, reason)
|
||||
|
||||
|
||||
@mcp.tool()
|
||||
def set_settlement_cashflow_policy(draft_id: str, expected_version: int, updated_by: str, cashflow_policy: dict) -> dict:
|
||||
"""Set explicit monthly cashflow classification policy for a settlement draft."""
|
||||
return contracts.set_settlement_cashflow_policy(draft_id, expected_version, updated_by, cashflow_policy)
|
||||
|
||||
@mcp.tool()
|
||||
def get_monthly_settlement_snapshot(month: str = "", run_id: str = "") -> dict:
|
||||
"""Read a saved monthly settlement snapshot, optionally selecting an exact run."""
|
||||
return contracts.get_monthly_settlement_snapshot(month, run_id)
|
||||
|
||||
Reference in New Issue
Block a user