{"uid":"cap_zydON10DpBuhebpQ2gEv0","slug":"escrow-trial-balance-ledger-aggregator-14952725","name":"Escrow Trial Balance Ledger Aggregator","description":"Original twelve monthly disbursement forecasts, current balance and chosen zero/one/two-month cushion determine annual total, exact one-twelfth monthly contribution, running trial minimum, normalized target schedule and opening target. Return projected current balances, all tied low months and descriptive shortage/surplus/deficiency. Deficiency can overlap shortage; they are not additive collection demands.","url":"https://finops.halowerk.com/v1/aggregate-escrow-trial-balance-ledger?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"months":{"type":"array","items":{"type":"object","required":["disbursement_domain"],"properties":{"disbursement_domain":{"type":"array","items":{"type":"integer","maximum":1000000,"minimum":0},"maxItems":2,"minItems":1}},"additionalProperties":false},"maxItems":12,"minItems":12},"report":{"type":"object","required":["annual_disbursements","monthly_payment","cushion","opening_target","minimum_trial","shortage","surplus","deficiency","normalization_gap","trial_balances","target_balances","current_projection","low_flags"],"properties":{"low_flags":{"type":"array","items":{"anyOf":[{"type":"integer","maximum":1,"minimum":0},{"type":"null"}]},"maxItems":12,"minItems":12},"trial_balances":{"type":"array","items":{"type":"object","required":["n","d"],"properties":{"d":{"anyOf":[{"type":"string","pattern":"^[1-9][0-9]{0,63}$","maxLength":64},{"type":"null"}]},"n":{"anyOf":[{"type":"string","pattern":"^(0|-?[1-9][0-9]{0,63})$","maxLength":65},{"type":"null"}]}},"additionalProperties":false},"maxItems":12,"minItems":12},"target_balances":{"type":"array","items":{"type":"object","required":["n","d"],"properties":{"d":{"anyOf":[{"type":"string","pattern":"^[1-9][0-9]{0,63}$","maxLength":64},{"type":"null"}]},"n":{"anyOf":[{"type":"string","pattern":"^(0|-?[1-9][0-9]{0,63})$","maxLength":65},{"type":"null"}]}},"additionalProperties":false},"maxItems":12,"minItems":12},"current_projection":{"type":"array","items":{"type":"object","required":["n","d"],"properties":{"d":{"anyOf":[{"type":"string","pattern":"^[1-9][0-9]{0,63}$","maxLength":64},{"type":"null"}]},"n":{"anyOf":[{"type":"string","pattern":"^(0|-?[1-9][0-9]{0,63})$","maxLength":65},{"type":"null"}]}},"additionalProperties":false},"maxItems":12,"minItems":12}},"propertyNames":{"enum":["annual_disbursements","monthly_payment","cushion","opening_target","minimum_trial","shortage","surplus","deficiency","normalization_gap","trial_balances","target_balances","current_projection","low_flags"]},"additionalProperties":{"type":"object","required":["n","d"],"properties":{"d":{"anyOf":[{"type":"string","pattern":"^[1-9][0-9]{0,63}$","maxLength":64},{"type":"null"}]},"n":{"anyOf":[{"type":"string","pattern":"^(0|-?[1-9][0-9]{0,63})$","maxLength":65},{"type":"null"}]}},"additionalProperties":false}},"cushion_months":{"type":"integer","maximum":2,"minimum":0},"current_balance":{"type":"integer","maximum":1000000,"minimum":-1000000}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FtlWLLzvWatSjFbB0RU0F","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes annual escrow totals, monthly contributions, trial balances, target schedules, and flags shortage/surplus/deficiency across 12 months from disbursement forecasts, current balance, and cushion settings.","exampleAgentPrompt":"Run an escrow trial balance analysis for my account: the 12 monthly disbursements are [$1200, $0, $0, $1800, $0, $900, $0, $0, $1500, $0, $0, $600], current balance is $3200, and I want a two-month cushion — give me the monthly payment, all trial and target balances, the opening target, and flag any shortage, surplus, or deficiency.","exampleUseCases":[{"title":"Annual mortgage escrow analysis","prompt":"My mortgage escrow has these 12 monthly disbursements: [$1400, $0, $0, $2100, $0, $850, $0, $0, $1750, $0, $0, $700], my current balance is $4500, and I want a one-month cushion. Can you calculate my required monthly escrow payment, the annual total, trial and target balances for each month, and tell me if I have a shortage or surplus?"},{"title":"Escrow shortage flag and deficiency check","prompt":"I think my escrow account is underfunded — disbursements across the 12 months are [$900, $0, $0, $1600, $0, $750, $0, $0, $1300, $0, $0, $500], current balance is $800, and I'm using a zero-month cushion. Run the full trial balance ledger and show me which months hit the minimum, plus any shortage, surplus, or deficiency amounts."},{"title":"New escrow account opening target","prompt":"I'm setting up a new escrow account and need to know the opening target balance and normalized monthly contribution. The projected disbursements for the next 12 months are [$1100, $0, $0, $2000, $0, $950, $0, $0, $1600, $0, $0, $550], starting balance is $0, and I want a two-month cushion — also show me which months will be the lowest-balance months."}],"resultDescription":"Returns projected current balances for each of the 12 months, trial balances, target balances, the opening target, annual disbursement total, exact one-twelfth monthly contribution, normalization gap, and flags for all low-balance months, plus descriptive shortage, surplus, and deficiency values (noting deficiency may overlap shortage and is not additive).","failureModes":["Exactly 12 month objects required — fewer or more items returns a validation error","Disbursement domain values must be non-negative integers up to 1,000,000 — out-of-range values rejected","Cushion must be 0, 1, or 2 — other values cause a schema validation failure","Rational number fields (n/d) must match required string patterns — malformed fractions rejected","Missing required report fields return an error indicating which property is absent"],"whenToPreferThis":"Use this endpoint when you need a complete escrow account ledger computation — including trial balances, target schedules, monthly contributions, and shortage/surplus/deficiency analysis — derived from 12-month disbursement forecasts with a configurable cushion. Prefer this over generic financial calculators when you specifically need escrow normalization, the opening target balance, and month-by-month low-balance flagging in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-01T07:22:11.420Z","isFirstParty":false,"canonicalSlug":"escrow-trial-balance-ledger-aggregator-14952725"}