Check a dealer's quote
check_quoteReads a dealer's out-the-door quote, pasted as text (up to 8 KB) or given as line items, and checks it line by line: the out-the-door total, the doc fee against the state's cap (and capped service fees such as Ohio's $50 convenience fee), the tax line against the state's rate, finance-office add-ons with typical prices, the trade allowance against written trade-in offers, the trade equity and amount financed, and the walk line. Lines with an email address or phone number are removed before reading and never returned. Nothing is stored.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | The quote as pasted (an email or a buyer's order). Leave out to send lines instead. | |
| lines | No | The quote as line items, instead of text | |
| state | Yes | Two-letter state code (DC included), like PA | |
| tax_rate | No | Combined sales tax rate as a decimal; leave out to use the state's rate | |
| walk_line | No | The walk line, out the door | |
| trade_offers | No | Written trade-in offers, to compare the best open one with the allowance | |
| trade_allowance | No | The trade-in allowance on the quote, when sending lines (read from text otherwise) | |
| best_trade_offer | No | The best written trade-in offer still open (CarMax, Carvana...), to compare with the allowance |