Call the accounting system's TrialBalance report endpoint specifying the start and end dates of the audit period and requesting account-level detail
Export the trial balance as a structured dataset including account code, account name, opening balance, period debits, period credits, and closing balance
For each account requiring detailed substantiation, call the GeneralLedger or TransactionDetail report endpoint filtered by account and date range
Retrieve supporting transaction metadata (source document type, reference number, posting date, entered-by user) for each journal line
Reconcile the sum of all journal line amounts per account in the GL detail to the corresponding trial balance figure
Export the full dataset to a structured format for auditor delivery, ensuring no rounding differences exceed the materiality threshold
Known gotchas
Trial balance report APIs often round amounts to two decimal places while the underlying transaction data retains more precision; summing GL detail amounts may produce a figure that differs from the trial balance by small rounding amounts
Accounts with subledger detail (AR, AP, fixed assets) may show a GL balance that does not tie to the subledger if posting errors or direct journal entries exist; both the GL and subledger must be exported to detect these differences
Some API report endpoints paginate by account rather than by row count; iterating through accounts one at a time may be necessary if the API does not support a full-company GL extract in a single call
Give your agent this knowledge — and 200+ more routes
One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp