---
title: "GL Tie-Out Recompute"
method: POST
path: "/v1/tools/compute_gl_tieout_recompute"
tags: ["GL tie-out", "trial balance", "chart of accounts", "conversion balancing", "core verify", "recompute", "zero network", "zero-PII"]
---

# GL Tie-Out Recompute

`POST /v1/tools/compute_gl_tieout_recompute`

## Request

- Base URL: `https://ainumbers.co`
- URL: `https://ainumbers.co/v1/tools/compute_gl_tieout_recompute`
- Auth: none declared

Independently recomputes subledger-to-GL tie-out totals from a caller-pasted posted ledger and a declared product_code -> gl_account_code chart-of-accounts mapping. Single-source mode sums ledger rows per GL account code for a stated period and diffs the recomputed totals against caller-supplied reported trial-balance figures. Diff mode runs the same summation independently over two full ledger sources (for example a legacy-core export and a new-core export covering the same period during a core conversion) and diffs the two recomputed totals against each other, symmetrically, with no side asserted correct.

**Tool URL:** https://ainumbers.co/tools/665-gl-tieout-recompute.html
**AP2/Policy Mandate export:** yes

## Request body

- object
  - `mode` string, required
  - `period_label` string
  - `ledger` unknown[]
    - unknown
  - `gl_account_mapping` object
  - `reported_trial_balance` unknown[]
    - unknown
  - `source_a` object
  - `source_b` object

## Response `200`

Successful tool execution result

- object
  - `mode` string, nullable
  - `single_source` object, nullable
  - `diff_sources` object, nullable
  - `verdict` 'MATCHES' | 'DIVERGES' | 'INDETERMINATE'
  - `indeterminate_reason` string, nullable
  - `rejected_inputs` unknown[]
    - unknown

---

[API](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite.md) · [All operations](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite/llms.txt) · [OpenAPI document](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite/revisions/b462e4f5bb28?raw)
