> For the complete documentation index, see [llms.txt](https://api-docs.hengelending.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api-docs.hengelending.com/mcp/tool-reference/assets-and-liabilities.md). Agents can also search and read this documentation through its [MCP server](https://api-docs.hengelending.com/~gitbook/mcp).

# Assets and liabilities

A loan's assets and liabilities, and linking bank accounts.

{% hint style="info" %}
Generated from the MCP server's code. Do not edit this page in GitBook: changes are overwritten on the next sync.
{% endhint %}

## add\_loan\_asset

Enter an asset (balance) by hand (source Manual), as a loan officer does in the Assets section when the borrower provides a statement instead of linking the bank. Identify the loan by MLM ExternalId (preferred) or internal Henge GUID. Either name an existing account with assetAccountId from get\_loan\_assets (it must not have an asset yet; use update\_loan\_asset to change one), or omit assetAccountId and send assetTypeCode to create a new account with this asset: the account is named accountName (or the asset type's name) and gets its statements task for the borrower, as the web app's add-asset form does. Creating an account is refused for PreLicensedAgent, who cannot create loan tasks. amount is required; accountName, accountNumber (the FULL number), institutionName and giftSource are optional. On a loan with several borrower pairs, ownerBorrowerIds names who owns a NEW account (one borrower, or both of one pair for a joint account); omitted, the account is the primary borrower's. For a loan already in the LOS the asset is added there too. After submission and e-consent the write goes to the LOS first and Henge's copy follows; only an Admin, Processor or Concierge Key user may then make it (a loan officer is refused with a business-rule error), and the response carries routedTo MLM. After submission an account is added for one owner (the first ownerBorrowerId, else the primary borrower). Check get\_loan\_assets first: an account already listed (read its potentialDuplicates' differences and its notes first: they say how it differs from another) should be corrected with update\_loan\_asset, not entered twice. Returns the loan's asset accounts after the change, account numbers masked.

**Who can call it:** Admin, Agent, Processor, CompanyAdmin, Assistant, ConciergeKey, PreLicensedAgent

**Reads or writes:** writes

| Input               | Type                   | Description                                                                                                                                                                                                                                                                                                                                                                           |
| ------------------- | ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `assetAccountId`    | string (uuid)          | The existing asset account to add the asset to: an account id from get\_loan\_assets whose asset is still null. Omit it, and send assetTypeCode instead, to create a new account with this asset.                                                                                                                                                                                     |
| `assetTypeCode`     | string                 | Only when assetAccountId is omitted: the new account's asset type code, e.g. Checking, Savings, Retirement, GiftFunds, PendingNetSaleProceeds (the codes get\_loan\_assets returns in assetType.code). An unknown code is refused with the list of valid ones.                                                                                                                        |
| `amount`            | number                 | REQUIRED. The account balance, in dollars.                                                                                                                                                                                                                                                                                                                                            |
| `accountName`       | string                 | The account's name as the statement shows it, e.g. 'Everyday Checking'.                                                                                                                                                                                                                                                                                                               |
| `accountNumber`     | string                 | The FULL account number. get\_loan\_assets returns account numbers masked (e.g. '\*\*\*\*1234'); a masked value is refused.                                                                                                                                                                                                                                                           |
| `institutionName`   | string                 | The bank or institution holding the account.                                                                                                                                                                                                                                                                                                                                          |
| `giftSource`        | string                 | For a gift asset only: who the gift is from.                                                                                                                                                                                                                                                                                                                                          |
| `ownerBorrowerIds`  | array of string (uuid) | Only when assetAccountId is omitted and the loan supports several borrower pairs: the hdBorrowerIds of the borrowers who own the new account, one borrower or both of one pair for a joint account. Omit it and the account is the primary borrower's. Borrowers from two pairs, or one not on the loan, are refused. To change an existing account's owners use update\_loan\_asset. |
| `externalId`        | string                 | PREFERRED when available. The MLM ExternalId of the loan (string, up to 108 chars). Use this whenever the loan already exists in MLM — it is the stable identifier humans see in MLM UIs and is what webhooks surface. If both ids are supplied, externalId wins and loanApplicationId is ignored.                                                                                    |
| `loanApplicationId` | string (uuid)          | Fallback identifier: the Henge internal loan application ID (GUID). Use this only when no externalId is known — typically because the loan has not yet been pushed to MLM.                                                                                                                                                                                                            |

## add\_loan\_asset\_note

Add a note to an asset account: what matters about this account for whoever reads it next (for example "statement shows the same balance as the Plaid copy; kept the Plaid one"). Identify the loan by its MLM ExternalId (preferred) or its internal Henge GUID and the account by assetAccountId from get\_loan\_assets. A note is kept apart from the account's description, is NEVER written to the loan origination system and cannot be edited later; it is returned in get\_loan\_assets with its author, time and source MCP. Returns the stored note.

**Who can call it:** Admin, Agent, Processor, CompanyAdmin, Assistant, ConciergeKey, PreLicensedAgent

**Reads or writes:** writes

| Input               | Type          | Description                                                                                                                                                                                                                                                                                        |
| ------------------- | ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `assetAccountId`    | string (uuid) | REQUIRED. The id of the asset account to note, as returned by get\_loan\_assets.                                                                                                                                                                                                                   |
| `text`              | string        | REQUIRED. The note, at most 4000 characters. Never sent to the loan origination system and not part of the account's description.                                                                                                                                                                  |
| `externalId`        | string        | PREFERRED when available. The MLM ExternalId of the loan (string, up to 108 chars). Use this whenever the loan already exists in MLM — it is the stable identifier humans see in MLM UIs and is what webhooks surface. If both ids are supplied, externalId wins and loanApplicationId is ignored. |
| `loanApplicationId` | string (uuid) | Fallback identifier: the Henge internal loan application ID (GUID). Use this only when no externalId is known — typically because the loan has not yet been pushed to MLM.                                                                                                                         |

## add\_loan\_liability

Add a debt to a loan's liabilities, as a loan officer does by hand on the Liabilities page. Identify the loan by its MLM ExternalId (preferred) or its internal Henge GUID. THIS WRITES TO THE LOAN ORIGINATION SYSTEM: when the loan and borrower are already there, the liability is created in MLM too. The liability is recorded with source Manual. Supply liabilityType and amount (the unpaid balance, or the payoff for a debt paid at closing); monthlyPayment, isPaidOffAtClosing, isExcludedFromRatios, remainingTermMonths, creditorName, description and borrowerId are optional, and an omitted borrowerId puts the debt on the loan's first borrower. Check get\_loan\_liabilities first: a debt already imported from a credit report should be corrected with update\_loan\_liability, not added twice (an automated check flags likely duplicates afterwards). A securedPropertyId (the tieId of an owned property from get\_loan\_application) ties a Mortgage or Heloc to that property, and for a loan in the LOS the tie reaches the LOS too, as a link between the mortgage and the property; if that write fails the liability keeps the tie and get\_loan\_liabilities shows losLinkPending. After submission and e-consent the liability is added to the LOS first and Henge's copy follows; only an Admin, Processor or Concierge Key user may then add it (a loan officer is refused with a business-rule error), it takes one borrowerId, securedPropertyId is refused by name with nothing written, and the response carries routedTo MLM. Returns the new liability's id and timestamps.

**Who can call it:** Admin, Agent, Processor, CompanyAdmin, Assistant, ConciergeKey

**Reads or writes:** writes

| Input                  | Type                   | Description                                                                                                                                                                                                                                                                                        |
| ---------------------- | ---------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `borrowerId`           | string (uuid)          | The borrower the debt belongs to, by the borrowerId from get\_loan\_application or get\_loan\_liabilities. Omit it to put the debt on the loan's first borrower. A borrowerId that is not on this loan is rejected.                                                                                |
| `borrowerIds`          | array of string (uuid) | Every borrower who owns the debt, by borrowerId from get\_loan\_application or get\_loan\_liabilities: a joint debt is one liability owned by all of them, not one per borrower. Used instead of borrowerId when it has any. A borrowerId that is not on this loan is rejected.                    |
| `liabilityType`        | string                 | REQUIRED. The kind of debt, as the LOS names it: Mortgage, Heloc, Installment, Revolving, Open, Lease, Alimony, ChildSupport, SeparateMaintenance, JobRelatedExpense, OtherExpenseLiability or Other. Case-insensitive.                                                                            |
| `amount`               | number                 | REQUIRED. The unpaid balance of the debt, in dollars; for a debt paid off at closing, the payoff amount. The LOS stores it as the balance. Not the monthly payment: send that as monthlyPayment. Must not be negative.                                                                             |
| `securedPropertyId`    | string                 | The owned property this debt is secured by, by its tieId from get\_loan\_application's ownedProperties. Mortgage and Heloc only. Held by Henge and, for a loan in the LOS, sent there as a link between the mortgage and the property.                                                             |
| `creditorName`         | string                 | Who the debt is owed to (for example "Chase").                                                                                                                                                                                                                                                     |
| `description`          | string                 | Optional free-text note about the debt.                                                                                                                                                                                                                                                            |
| `monthlyPayment`       | number                 | The monthly payment on the debt, in dollars: the figure that counts toward the debt ratios. Not the balance, which is amount.                                                                                                                                                                      |
| `isPaidOffAtClosing`   | boolean                | Whether the debt is paid off from the loan proceeds at closing. On a loan in the LOS, true without isExcludedFromRatios also leaves the debt out of the debt ratios.                                                                                                                               |
| `isExcludedFromRatios` | boolean                | Whether the debt is left out of the debt ratios.                                                                                                                                                                                                                                                   |
| `remainingTermMonths`  | integer                | Payments left on the debt, in months.                                                                                                                                                                                                                                                              |
| `externalId`           | string                 | PREFERRED when available. The MLM ExternalId of the loan (string, up to 108 chars). Use this whenever the loan already exists in MLM — it is the stable identifier humans see in MLM UIs and is what webhooks surface. If both ids are supplied, externalId wins and loanApplicationId is ignored. |
| `loanApplicationId`    | string (uuid)          | Fallback identifier: the Henge internal loan application ID (GUID). Use this only when no externalId is known — typically because the loan has not yet been pushed to MLM.                                                                                                                         |

## add\_loan\_liability\_note

Add a note to a liability: what matters about this row for whoever reads it next (for example "borrower says paid off 10/2026" or "kept the credit copy; carried the exclusion from the import copy"). Identify the loan by its MLM ExternalId (preferred) or its internal Henge GUID and the liability by liabilityId from get\_loan\_liabilities. A note is kept apart from the liability's description, is NEVER written to the loan origination system and cannot be edited later; it is returned in get\_loan\_liabilities with its author, time and source MCP. Returns the stored note.

**Who can call it:** Admin, Agent, Processor, CompanyAdmin, Assistant, ConciergeKey

**Reads or writes:** writes

| Input               | Type          | Description                                                                                                                                                                                                                                                                                        |
| ------------------- | ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `liabilityId`       | string (uuid) | REQUIRED. The id of the liability to note, as returned by get\_loan\_liabilities.                                                                                                                                                                                                                  |
| `text`              | string        | REQUIRED. The note, at most 4000 characters. Never sent to the loan origination system and not part of the liability's description.                                                                                                                                                                |
| `externalId`        | string        | PREFERRED when available. The MLM ExternalId of the loan (string, up to 108 chars). Use this whenever the loan already exists in MLM — it is the stable identifier humans see in MLM UIs and is what webhooks surface. If both ids are supplied, externalId wins and loanApplicationId is ignored. |
| `loanApplicationId` | string (uuid) | Fallback identifier: the Henge internal loan application ID (GUID). Use this only when no externalId is known — typically because the loan has not yet been pushed to MLM.                                                                                                                         |

## create\_plaid\_link

Create a Plaid Hosted Link so a borrower can connect their bank without the Henge web app. Identify the loan by MLM ExternalId (preferred) or internal Henge GUID; borrowerId defaults to the primary borrower, and completionRedirectUri (optional) is where Plaid sends the borrower when they finish. Returns linkId, url and expiresAt. The url is FOR THE BORROWER ONLY: anyone holding it can link a bank account to this loan until it expires, so give it to the borrower alone (text, email or a redirect) and never share, post or repeat it anywhere else. It must open as a full page, a new tab or an out-of-process webview (ASWebAuthenticationSession / Android Custom Tab), NOT inside an iframe. When the borrower finishes, Henge creates an asset account for each bank linked, with its task, and requests a Plaid asset report: EACH COMPLETED LINK CREATES A BILLED ASSET REPORT, so confirm with the user before creating one and do not create links the borrower will not use. Follow the outcome with get\_plaid\_link\_status; balances appear in get\_loan\_assets once Plaid's report is ready.

**Who can call it:** Admin, Agent, Processor, CompanyAdmin, Assistant, ConciergeKey

**Reads or writes:** writes

| Input                   | Type          | Description                                                                                                                                                                                                                                                                                        |
| ----------------------- | ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `borrowerId`            | string (uuid) | The borrower who will connect their bank: a borrower id on the loan (hdBorrowerId in get\_loan\_application). Omit it for the primary borrower.                                                                                                                                                    |
| `completionRedirectUri` | string        | Optional. Where Plaid sends the borrower when they finish, e.g. a page on the caller's platform or an app's own URL scheme. Must be an absolute URI. When omitted, Plaid shows its own completion page.                                                                                            |
| `externalId`            | string        | PREFERRED when available. The MLM ExternalId of the loan (string, up to 108 chars). Use this whenever the loan already exists in MLM — it is the stable identifier humans see in MLM UIs and is what webhooks surface. If both ids are supplied, externalId wins and loanApplicationId is ignored. |
| `loanApplicationId`     | string (uuid) | Fallback identifier: the Henge internal loan application ID (GUID). Use this only when no externalId is known — typically because the loan has not yet been pushed to MLM.                                                                                                                         |

## delete\_loan\_liability

Delete a liability from a loan. Identify the loan by its MLM ExternalId (preferred) or its internal Henge GUID and the liability by liabilityId from get\_loan\_liabilities. THIS ALSO DELETES IT FROM THE LOAN ORIGINATION SYSTEM when it is there, and changes the borrower's debt-to-income. Confirm with the user before calling it. Before treating a row as a duplicate to delete, read its potentialDuplicates differences and its notes from get\_loan\_liabilities: the row you keep may lack something this one holds, such as an isExcludedFromRatios flag, and the notes say where each row came from. Deleting a row that has a likely duplicate leaves a note on the remaining row listing what the deleted row held that it lacks; nothing blocks the delete. A liability imported from a credit report (source CreditReport) can only be deleted by an Admin, Processor or ConciergeKey, and running import\_loan\_liabilities\_from\_credit\_report again brings it back. Returns the deleted liability's id.

**Who can call it:** Admin, Agent, Processor, CompanyAdmin, Assistant, ConciergeKey

**Reads or writes:** writes; can delete, cost money or reach someone outside, so a client should ask first

| Input               | Type          | Description                                                                                                                                                                                                                                                                                        |
| ------------------- | ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `liabilityId`       | string (uuid) | REQUIRED. The id of the liability to delete, as returned by get\_loan\_liabilities.                                                                                                                                                                                                                |
| `externalId`        | string        | PREFERRED when available. The MLM ExternalId of the loan (string, up to 108 chars). Use this whenever the loan already exists in MLM — it is the stable identifier humans see in MLM UIs and is what webhooks surface. If both ids are supplied, externalId wins and loanApplicationId is ignored. |
| `loanApplicationId` | string (uuid) | Fallback identifier: the Henge internal loan application ID (GUID). Use this only when no externalId is known — typically because the loan has not yet been pushed to MLM.                                                                                                                         |

## get\_loan\_assets

Return a loan's asset accounts with their assets and balances, as the Assets section shows them. Identify the loan by its MLM ExternalId (preferred) or its internal Henge GUID. Each account carries id (the assetAccountId the other asset tools take), name, description, assetType (code and name), documentsNeeded and documentTimePeriod (the statements asked for), isRequired, ownerBorrowerIds (the hdBorrowerIds of the borrowers who own the account; null means the loan's primary borrower), requiresPlaidReconnection (the borrower must re-link the bank in the web app before a Plaid refresh can work), the tasks linked to it with their statuses, and asset, which is null until a balance has been entered or pulled from Plaid. asset carries amount (the balance), accountName, institutionName, source (Manual = entered by hand, Plaid = pulled from the bank), giftSource, meridianLinkAssetType, isUpdatedExternally and accountNumber, which is MASKED to the last four digits (e.g. '\*\*\*\*1234'). Every live account is listed, including one whose tasks were all deleted (tasks is empty). potentialDuplicates lists other accounts that look like the same account (same institution, last four of the account number and owners, and a balance within 1% or $1), each as assetAccountId plus differences: one { field, thisValue, otherValue } item for every field on which the two accounts differ now (amount, institutionName, accountLast4, accountName, assetType, source, owners), worked out on every read and never stored; read it, and the notes, before treating an account as a duplicate. notes are what people and agents recorded about the account, oldest first, each with text, authorName, createdTimestamp and source (UI or MCP); add one with add\_loan\_asset\_note. Notes are never written to the LOS. giftSource is only valid on a Gift Funds asset; a save with one on any other type is refused as a bad request naming the asset.

**Who can call it:** Admin, Agent, Processor, CompanyAdmin, Assistant, ConciergeKey, PreLicensedAgent

**Reads or writes:** reads only

| Input               | Type          | Description                                                                                                                                                                                                                                                                                        |
| ------------------- | ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `externalId`        | string        | PREFERRED when available. The MLM ExternalId of the loan (string, up to 108 chars). Use this whenever the loan already exists in MLM — it is the stable identifier humans see in MLM UIs and is what webhooks surface. If both ids are supplied, externalId wins and loanApplicationId is ignored. |
| `loanApplicationId` | string (uuid) | Fallback identifier: the Henge internal loan application ID (GUID). Use this only when no externalId is known — typically because the loan has not yet been pushed to MLM.                                                                                                                         |

## get\_loan\_liabilities

Return a loan's liabilities as the Liabilities section shows them, plus the outcome of the last credit report liability import when it needs attention. Identify the loan by its MLM ExternalId (preferred) or its internal Henge GUID. Each liability carries id, borrowerId (the first owner), borrowerIds (every owner: a joint debt is one liability), amount (the unpaid balance: the LOS stores it as the balance, so for a debt paid off at closing it is the payoff; on a row with source CreditReport that has not synced back from the LOS it can still hold the monthly payment the report carried), monthlyPayment (the monthly payment that counts toward the debt ratios), isPaidOffAtClosing, isExcludedFromRatios, remainingTermMonths, source (CreditReport = imported from a credit report, Manual = entered by hand, MeridianLinkMortgage = synced from the LOS), liabilityType (Mortgage, Heloc, Installment, Revolving, Open, Other), creditorName, description, securedPropertyId (the tieId of the owned property the debt is tied to, or null; for a loan in the LOS the tie is held there too, as a link between the mortgage and the property, and the LOS's link overrides it on the next sync), losLinkPending (true while a change of the tie has not reached the LOS: the write failed and the next sync retries it; false otherwise), isUpdatedExternally, timestamps, potentialDuplicates and notes. potentialDuplicates lists other liabilities an automated check flagged as the same debt, each with a confidence score, the check's reasoning and differences: one { field, thisValue, otherValue } item for every field on which the two rows differ now (amount, monthlyPayment, liabilityType, creditorName, accountLast4, owner, source, securedPropertyId, isExcludedFromRatios, isPaidOffAtClosing, remainingMonths), worked out on every read from the rows as they are, so a flag changed in the LOS shows at once. Trust differences over the reasoning for amounts and flags. notes are what people, agents and the system recorded about the row, oldest first, each with text, authorName, createdTimestamp and source (UI, MCP or System): a MISMO import row says which element and flags the file carried, a credit report row the report number and tradeline, an LOS row that it arrived from the LOS, and the row that remains after a likely duplicate was deleted lists what the deleted row held that it lacks. Notes are never written to the LOS. creditReportImport is null unless the last import from a credit report did not fully land: then it carries the creditReportNumber and reportType that were imported, status (ImportedWithWarnings or Failed), issues (plain English, e.g. a borrower on the report whose SSN matches nobody on the loan, with SSNs shown as the last four digits only) and importedLiabilityCount. Those issues are what the user must fix (usually the SSN in About You) before running import\_loan\_liabilities\_from\_credit\_report with that same creditReportNumber.

**Who can call it:** Admin, Agent, DualLicensedAgent, Processor, CompanyAdmin, Assistant, ConciergeKey

**Reads or writes:** reads only

| Input               | Type          | Description                                                                                                                                                                                                                                                                                        |
| ------------------- | ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `externalId`        | string        | PREFERRED when available. The MLM ExternalId of the loan (string, up to 108 chars). Use this whenever the loan already exists in MLM — it is the stable identifier humans see in MLM UIs and is what webhooks surface. If both ids are supplied, externalId wins and loanApplicationId is ignored. |
| `loanApplicationId` | string (uuid) | Fallback identifier: the Henge internal loan application ID (GUID). Use this only when no externalId is known — typically because the loan has not yet been pushed to MLM.                                                                                                                         |

## get\_plaid\_link\_status

Return a Plaid Hosted Link's status. Identify the loan by MLM ExternalId (preferred) or internal Henge GUID, and the link by the linkId create\_plaid\_link returned. status is pending (the borrower has not finished yet), completed, expired (not finished before expiresAt; create a new link if the borrower still needs one) or failed (the borrower left without connecting an account, or connecting failed; see failureReason). Once completed, accounts lists the asset accounts the link created, account numbers MASKED to the last four digits; their balances fill in when Plaid's asset report is ready, usually within minutes. The link's url is not returned.

**Who can call it:** Admin, Agent, Processor, CompanyAdmin, Assistant, ConciergeKey

**Reads or writes:** reads only

| Input               | Type          | Description                                                                                                                                                                                                                                                                                        |
| ------------------- | ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `linkId`            | string (uuid) | REQUIRED. The linkId create\_plaid\_link returned.                                                                                                                                                                                                                                                 |
| `externalId`        | string        | PREFERRED when available. The MLM ExternalId of the loan (string, up to 108 chars). Use this whenever the loan already exists in MLM — it is the stable identifier humans see in MLM UIs and is what webhooks surface. If both ids are supplied, externalId wins and loanApplicationId is ignored. |
| `loanApplicationId` | string (uuid) | Fallback identifier: the Henge internal loan application ID (GUID). Use this only when no externalId is known — typically because the loan has not yet been pushed to MLM.                                                                                                                         |

## import\_loan\_liabilities\_from\_credit\_report

Import the liabilities on an existing credit report into a loan, by the report's number. THIS REPLACES THE LOAN'S CREDIT-REPORT-SOURCED LIABILITIES (source = CreditReport) with the ones on that report and pushes them to the LOS; manually entered liabilities are left alone. The report is retrieved from the credit vendor using the borrowers already on the loan and matched to them by SSN, so the SSNs in About You must match the report. Nothing is ordered and the borrower is not charged; the report is not re-uploaded and no task changes status. Use it after an SSN was corrected (take creditReportNumber from get\_loan\_liabilities.creditReportImport or the credit report task), or to bring in a report pulled outside Henge. Returns status (Imported, ImportedWithWarnings or Failed), issues, importedLiabilityCount, matchedBorrowerIds, creditReportNumber and tiesNotCarried. A mortgage or HELOC already tied to an owned property keeps its tie on re-import when exactly one old row fits it (same borrower and account identifier, else same borrower, type and creditor name); tiesNotCarried names the ones where more than one row fit, so no tie was carried and the user must re-tie them. ImportedWithWarnings or Failed means the issues listed must be fixed and the import run again; a report the vendor cannot find or that is not ready comes back as a business rule violation. Confirm with the user before running it on a loan that already has credit-report liabilities, since they will be replaced.

**Who can call it:** Admin, Agent, Processor, CompanyAdmin, Assistant, ConciergeKey

**Reads or writes:** writes; can delete, cost money or reach someone outside, so a client should ask first

| Input                | Type          | Description                                                                                                                                                                                                                                                                                        |
| -------------------- | ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `creditReportNumber` | string        | REQUIRED. The credit report number (the vendor's report identifier). Take it from get\_loan\_liabilities when creditReportImport is present (the report whose import needs attention), or from the credit report task's creditReportNumber, or from the user for a report pulled outside Henge.    |
| `reportType`         | string        | SoftPull or HardPull: which vendor account the report was pulled under. Omit to default to the type of the loan's credit report task that carries this number, else HardPull. One of `SoftPull`, `HardPull`.                                                                                       |
| `pairIndex`          | integer       | Only for a loan with more than one borrower pair: which pair's report this is, 0 to 3 (0 is the primary pair). Omit it to use the pair of the credit report task that carries the number, else the primary pair. A pair the loan does not have is refused.                                         |
| `externalId`         | string        | PREFERRED when available. The MLM ExternalId of the loan (string, up to 108 chars). Use this whenever the loan already exists in MLM — it is the stable identifier humans see in MLM UIs and is what webhooks surface. If both ids are supplied, externalId wins and loanApplicationId is ignored. |
| `loanApplicationId`  | string (uuid) | Fallback identifier: the Henge internal loan application ID (GUID). Use this only when no externalId is known — typically because the loan has not yet been pushed to MLM.                                                                                                                         |

## refresh\_plaid\_assets

Ask Plaid for fresh balances on every Plaid-linked asset account of a loan. THIS COSTS MONEY: each refresh is a new, billed Plaid asset report. It is limited to once every 48 hours per loan, whoever asks (this tool, the Partner API or the web app's refresh button); a refresh inside that window is refused with the time the balances were last refreshed and the time the next refresh is allowed. Do not refresh unless current balances are actually needed: read get\_loan\_assets first, and tell the user a refresh is billed and get their go-ahead before calling it. Admin and Processor only. Identify the loan by MLM ExternalId (preferred) or internal Henge GUID. Plaid answers asynchronously: the new balances appear in get\_loan\_assets once its report arrives, usually within minutes, not in this tool's response. Accounts with requiresPlaidReconnection = true cannot refresh until the borrower re-links the bank in the web app. A loan with no Plaid-linked account does nothing. Returns the loan's asset accounts as they stand when the refresh is requested, account numbers masked.

**Who can call it:** Admin, Processor

**Reads or writes:** writes; can delete, cost money or reach someone outside, so a client should ask first

| Input               | Type          | Description                                                                                                                                                                                                                                                                                        |
| ------------------- | ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `externalId`        | string        | PREFERRED when available. The MLM ExternalId of the loan (string, up to 108 chars). Use this whenever the loan already exists in MLM — it is the stable identifier humans see in MLM UIs and is what webhooks surface. If both ids are supplied, externalId wins and loanApplicationId is ignored. |
| `loanApplicationId` | string (uuid) | Fallback identifier: the Henge internal loan application ID (GUID). Use this only when no externalId is known — typically because the loan has not yet been pushed to MLM.                                                                                                                         |

## request\_asset\_verification

Mark a loan's asset verification as requested: every Assets Verification task the borrower has submitted moves from Submitted to Requested, as the loan officer's 'mark as requested' does in the web app. Identify the loan by MLM ExternalId (preferred) or internal Henge GUID. Tasks in any other status are left alone, and a loan with none submitted is unchanged. Returns the loan's asset accounts after the change, account numbers masked.

**Who can call it:** Admin, Agent, Processor, CompanyAdmin, Assistant, ConciergeKey

**Reads or writes:** writes; can delete, cost money or reach someone outside, so a client should ask first

| Input               | Type          | Description                                                                                                                                                                                                                                                                                        |
| ------------------- | ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `externalId`        | string        | PREFERRED when available. The MLM ExternalId of the loan (string, up to 108 chars). Use this whenever the loan already exists in MLM — it is the stable identifier humans see in MLM UIs and is what webhooks surface. If both ids are supplied, externalId wins and loanApplicationId is ignored. |
| `loanApplicationId` | string (uuid) | Fallback identifier: the Henge internal loan application ID (GUID). Use this only when no externalId is known — typically because the loan has not yet been pushed to MLM.                                                                                                                         |

## update\_loan\_asset

Change a manually entered asset (balance) on one of a loan's asset accounts. Identify the loan by MLM ExternalId (preferred) or internal Henge GUID and the account by assetAccountId from get\_loan\_assets, then send ONLY the fields to change: amount, accountName, accountNumber (the FULL number; never the masked value get\_loan\_assets returns), institutionName, giftSource, ownerBorrowerIds (on a loan with several borrower pairs: the owners as they are to be, one borrower or both of one pair; an empty list removes them and the account is the primary borrower's). An omitted field keeps its stored value. Asset fields are refused for a Plaid asset (refresh it with refresh\_plaid\_assets instead), for an account with no asset yet (use add\_loan\_asset). After submission and e-consent the change goes to the LOS first and Henge's copy follows; only an Admin, Processor or Concierge Key user may make it (a loan officer is refused with a business-rule error), the response carries routedTo MLM, and ownerBorrowerIds is refused by name with nothing written. Before then ownerBorrowerIds alone is allowed on a loan already in the LOS. Before changing an account that has potentialDuplicates, read their differences and the notes from get\_loan\_assets. Returns the loan's asset accounts after the change, account numbers masked.

**Who can call it:** Admin, Agent, Processor, CompanyAdmin, Assistant, ConciergeKey, PreLicensedAgent

**Reads or writes:** writes; can delete, cost money or reach someone outside, so a client should ask first

| Input               | Type                   | Description                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ------------------- | ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `assetAccountId`    | string (uuid)          | REQUIRED. The asset account whose asset to change, from get\_loan\_assets.                                                                                                                                                                                                                                                                                                                                                               |
| `amount`            | number                 | The new account balance, in dollars. Omit to keep the stored balance.                                                                                                                                                                                                                                                                                                                                                                    |
| `accountName`       | string                 | The account's name. Omit to keep it.                                                                                                                                                                                                                                                                                                                                                                                                     |
| `accountNumber`     | string                 | The FULL new account number. Omit to keep the stored one; never send back the masked value from get\_loan\_assets, which is refused.                                                                                                                                                                                                                                                                                                     |
| `institutionName`   | string                 | The bank or institution holding the account. Omit to keep it.                                                                                                                                                                                                                                                                                                                                                                            |
| `giftSource`        | string                 | For a gift asset only: who the gift is from. Omit to keep it.                                                                                                                                                                                                                                                                                                                                                                            |
| `ownerBorrowerIds`  | array of string (uuid) | Only when the loan supports several borrower pairs: the hdBorrowerIds of the account's owners as they are to be, one borrower or both of one pair for a joint account. Omit to keep the owners; an empty list removes them and the account is the primary borrower's. Borrowers from two pairs, or one not on the loan, are refused. Allowed on a Plaid account and on a loan in the LOS; refused once assets are locked after approval. |
| `externalId`        | string                 | PREFERRED when available. The MLM ExternalId of the loan (string, up to 108 chars). Use this whenever the loan already exists in MLM — it is the stable identifier humans see in MLM UIs and is what webhooks surface. If both ids are supplied, externalId wins and loanApplicationId is ignored.                                                                                                                                       |
| `loanApplicationId` | string (uuid)          | Fallback identifier: the Henge internal loan application ID (GUID). Use this only when no externalId is known — typically because the loan has not yet been pushed to MLM.                                                                                                                                                                                                                                                               |

## update\_loan\_liability

Change a liability on a loan: its type, unpaid balance (amount, which is the payoff for a debt paid at closing), monthly payment (monthlyPayment), whether it is paid off at closing or excluded from the debt ratios, remaining term, creditor or note. Identify the loan by its MLM ExternalId (preferred) or its internal Henge GUID and the liability by liabilityId from get\_loan\_liabilities. THIS WRITES TO THE LOAN ORIGINATION SYSTEM when the liability is already there. Before you change a row that has potentialDuplicates, read its differences and notes from get\_loan\_liabilities: they show what the other copy holds (for example an isExcludedFromRatios flag only one copy carries) so you can carry it over. Send ONLY the fields you want to change; an omitted field keeps its current value, and creditorName or description sent as null is cleared. A liability imported from a credit report (source CreditReport) can be changed by any internal user; a borrower may send only liabilityId and securedPropertyId (which property the mortgage is on) and is refused anything else. securedPropertyId ties a Mortgage or Heloc to an owned property (null clears the tie): for a loan in the LOS the tie reaches the LOS as a link between the mortgage and the property, so a cleared or moved tie removes the old link there and a retyped or deleted liability removes its link; if that write fails the tie stays and get\_loan\_liabilities shows losLinkPending until the next sync retries it. After submission and e-consent the change goes to the LOS first and Henge's copy follows; only an Admin, Processor or Concierge Key user may make it (a loan officer is refused with a business-rule error), borrowerIds and securedPropertyId are refused by name with nothing written, and the response carries routedTo MLM. Returns the liability's id and timestamps.

**Who can call it:** Admin, Agent, Processor, CompanyAdmin, Assistant, ConciergeKey, Client

**Reads or writes:** writes; can delete, cost money or reach someone outside, so a client should ask first

| Input                  | Type                   | Description                                                                                                                                                                                                                                                                                        |
| ---------------------- | ---------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `liabilityId`          | string (uuid)          | REQUIRED. The id of the liability to change, as returned by get\_loan\_liabilities.                                                                                                                                                                                                                |
| `borrowerIds`          | array of string (uuid) | Every borrower who owns the debt, by borrowerId from get\_loan\_liabilities; for a loan in the LOS the LOS's links to its consumers are added and removed to match. Omit to leave the owners unchanged. A borrowerId that is not on this loan is rejected.                                         |
| `liabilityType`        | string                 | New kind of debt: Mortgage, Heloc, Installment, Revolving, Open, Lease, Alimony, ChildSupport, SeparateMaintenance, JobRelatedExpense, OtherExpenseLiability or Other. Omit to leave unchanged.                                                                                                    |
| `amount`               | number                 | New unpaid balance of the debt, in dollars; for a debt paid off at closing, the payoff amount. The LOS stores it as the balance. Not the monthly payment: send that as monthlyPayment. Omit to leave unchanged.                                                                                    |
| `creditorName`         | any                    | New creditor name. null clears it; omit to leave unchanged.                                                                                                                                                                                                                                        |
| `description`          | any                    | New note about the debt. null clears it; omit to leave unchanged.                                                                                                                                                                                                                                  |
| `securedPropertyId`    | any                    | The owned property this debt is secured by, by its tieId from get\_loan\_application's ownedProperties. Mortgage and Heloc only. null clears the tie; omit to leave it. Held by Henge and, for a loan in the LOS, sent there as a link between the mortgage and the property.                      |
| `monthlyPayment`       | number                 | New monthly payment on the debt, in dollars: the figure that counts toward the debt ratios. Not the balance, which is amount. Omit to leave unchanged.                                                                                                                                             |
| `isPaidOffAtClosing`   | boolean                | Whether the debt is paid off from the loan proceeds at closing. On a loan in the LOS, changing it to true without isExcludedFromRatios also leaves the debt out of the debt ratios. Setting false does not put it back: send isExcludedFromRatios false too. Omit to leave unchanged.              |
| `isExcludedFromRatios` | boolean                | Whether the debt is left out of the debt ratios. Omit to leave unchanged.                                                                                                                                                                                                                          |
| `remainingTermMonths`  | integer                | Payments left on the debt, in months. Omit to leave unchanged.                                                                                                                                                                                                                                     |
| `externalId`           | string                 | PREFERRED when available. The MLM ExternalId of the loan (string, up to 108 chars). Use this whenever the loan already exists in MLM — it is the stable identifier humans see in MLM UIs and is what webhooks surface. If both ids are supplied, externalId wins and loanApplicationId is ignored. |
| `loanApplicationId`    | string (uuid)          | Fallback identifier: the Henge internal loan application ID (GUID). Use this only when no externalId is known — typically because the loan has not yet been pushed to MLM.                                                                                                                         |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://api-docs.hengelending.com/mcp/tool-reference/assets-and-liabilities.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
