Set up or update the business quoting profile
setup_tradeCreate a business, or update its saved settings (call with trade_key to update). Saves the rates and rules every quote uses: day and hour rates, labourer rate, materials markup, VAT registration and number, CIS, deposit rule, validity, payment terms, standard exclusions, brand colour, logo (https link or base64; PNG or JPEG for the PDF), quote number prefix, price book. On first call returns trade_key ONCE: it is shown only once and every other tool needs it. Also returns nero_trade_ref, the same identity the Nero Work exchange and Spark Pack use. Money in pounds.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "setup_trade"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | |||
| phone | No | ||
| trades | No | Required on first setup. | |
| address | No | ||
| deposit | No | Deposit rule. basis percent (with percent), fixed (with amount in pounds), materials (deposit equals the materials total), or none. no_deposit_under: no deposit on quotes below this total in pounds. | |
| website | No | ||
| day_rate | No | The trade's own charge-out rate per day, pounds, before VAT. | |
| logo_url | No | https link to the logo (PNG best, JPEG fine, SVG shows on the phone page only). Under 400 KB. | |
| postcode | No | ||
| hour_rate | No | Per hour, pounds. If only one of day_rate and hour_rate is set the other is worked out from hours_per_day. | |
| trade_key | No | Omit to create a new business. Give it to update an existing one (only the fields you send change). | |
| vat_number | No | ||
| logo_base64 | No | The logo file as base64, instead of logo_url. | |
| price_items | No | Materials the trade buys often, saved to their price book. Each: code (short id, optional), description, unit, unit_cost (pounds, what they pay), cost_includes_vat, markup_percent (optional, overrides the default). | |
| brand_colour | No | Hex colour, for example #0B5FFF. If a logo is given and no colour, one is taken from the logo. | |
| company_name | No | Registered company name if a limited company. | |
| display_name | No | Business name customers see. Required on first setup. | |
| licence_body | No | Scheme or registration body: niceic, napit, elecsa, stroma, gas_safe, oftec, hetas, fensa, certass, trustmark, nfrc, fmb, other. | |
| quote_prefix | No | Letters before the quote number, for example BLE gives BLE-0001. Default from the business initials. | |
| accent_colour | No | ||
| hours_per_day | No | Default 8. | |
| payment_terms | No | Shown on every quote, for example "Deposit to book, balance on completion by bank transfer." | |
| price_display | No | itemised (default) shows quantity and price per line; sections shows one price per section (labour, materials) with the lines listed. | |
| validity_days | No | Default 30. | |
| cis_registered | No | ||
| company_number | No | ||
| licence_number | No | Registration number with that body (Gas Safe number for gas engineers). | |
| vat_registered | No | Required on first setup. If false, no VAT is ever added. | |
| labourer_day_rate | No | Charge-out day rate for a mate, labourer or apprentice. | |
| standard_exclusions | No | Things this business never includes unless stated, shown on every quote. | |
| materials_markup_percent | No | Added to what materials cost the trade. Default 15. | |
| use_suggested_exclusions | No | Adds a short set of common exclusions for the trade(s), for example plastering after chasing for electricians. |