Skip to content
MCP tools
View as Markdown
Creates dataCommission ledgerMCP tool

commission_ledger_create

Record a commission ledger entry — the payment-tracking record for a deal commission (status, projected/actual payout dates, check number).

Record a commission ledger entry — the payment-tracking record for a deal commission (status, projected/actual payout dates, check number). Use this AFTER calculate_commission_split to persist the result so it appears on the agent commission ledger. Requires escrow_id, agent_id, and side. All amounts are optional dollar figures; status defaults to pending. This records a payment to be tracked; it does not move money.

Parameters#

ParameterTypeRequiredDescription
escrow_idstringYesEscrow/transaction ID this commission belongs to (escrow IDs are human-readable strings, e.g. "ESC-2026-0142", not UUIDs)
agent_idstringYesUUID of the agent (users.id) who earns this commission · Format: UUID
sideenumYesWhich side of the deal this commission is for · One of: listing, buyer, both
escrow_numberstringNoDenormalized escrow/file number for list views
property_addressstringNoDenormalized property address for list views
transaction_typeenumNoTransaction type · One of: Sale, Lease
agent_namestringNoDenormalized agent display name
sale_pricenumberNoSale price in dollars · Min: 0
commission_ratenumberNoCommission rate (percent, e.g. 2.5) · Min: 0
gross_commissionnumberNoGross commission in dollars · Min: 0
brokerage_splitnumberNoBrokerage split percentage · Min: 0
agent_commissionnumberNoAgent share of the commission in dollars · Min: 0
brokerage_commissionnumberNoBrokerage share of the commission in dollars · Min: 0
referral_feenumberNoReferral fee owed in dollars (default 0) · Min: 0
referral_agentstringNoName of the referring agent/company
transaction_feenumberNoFlat brokerage transaction/admin fee in dollars (default 0) · Min: 0
net_commissionnumberNoNet commission to the agent in dollars · Min: 0
tax_withheldbooleanNoWhether tax is withheld on this payout (default false)
tax_ratenumberNoTax withholding rate percentage (default 0) · Min: 0
statusenumNoPayment status (default "pending") · One of: pending, processing, paid, cancelled
projected_payout_datestringNoProjected payout date (YYYY-MM-DD) · Format: Date (YYYY-MM-DD)
notesstringNoFree-text notes about this commission

Example prompts#

  • "Add a new record under commission ledger."

Safety#

Creates data. Creates a new record in your CRM and may trigger notifications or webhooks. Running it twice creates a duplicate, so Claude runs it once per request.