← All tool references

Business Tools · execute

Estimate Generator

Build and print a line-item estimate with customer details, dates, quantities, unit prices, tax, notes, and live totals.

Open public tool

Overview

Category
Business Tools
API mode
execute
Processing
client-side
Privacy
local-only

Public descriptor

The descriptor is available without an API key and supplies this tool’s metadata, schemas, modes, and examples.

GET /api/v1/tools/estimate-generator

View this descriptor as JSON

Execute availability

This tool has an execute route defined by its descriptor. Server-side execution is currently unavailable, so requests return api_not_launched.

POST /api/v1/tools/estimate-generator/execute

Authentication is not issued during the preview. A bearer API key is planned for execution after launch.

Input schema

object object; additional properties are not accepted.

business_name · string · required
Business or sender name displayed on the estimate.
client_name · string · optional
Optional customer, project, or recipient name.
estimate_number · string · optional
Optional reference number for the draft.
issue_date · string · optional
Date the estimate was prepared.
valid_until · string · optional
Optional date through which pricing is stated to remain valid.
line_items · string · required
One row per line as description|quantity|unit_price.
tax_rate · number · required
Percentage applied to the subtotal; enter 8 for 8%.
notes · string · optional
Optional scope, pricing, payment, or exclusion notes.
{
    "type": "object",
    "properties": {
        "business_name": {
            "type": "string",
            "description": "Business or sender name displayed on the estimate."
        },
        "client_name": {
            "type": "string",
            "description": "Optional customer, project, or recipient name."
        },
        "estimate_number": {
            "type": "string",
            "description": "Optional reference number for the draft."
        },
        "issue_date": {
            "type": "string",
            "description": "Date the estimate was prepared."
        },
        "valid_until": {
            "type": "string",
            "description": "Optional date through which pricing is stated to remain valid."
        },
        "line_items": {
            "type": "string",
            "description": "One row per line as description|quantity|unit_price."
        },
        "tax_rate": {
            "type": "number",
            "minimum": 0,
            "description": "Percentage applied to the subtotal; enter 8 for 8%."
        },
        "notes": {
            "type": "string",
            "description": "Optional scope, pricing, payment, or exclusion notes."
        }
    },
    "required": [
        "business_name",
        "line_items",
        "tax_rate"
    ],
    "additionalProperties": false
}

Output schema

On a successful execution, schema values appear in data.result.values.

business_name · string
Sender name copied into the draft.
line_items · array
Normalized rows with calculated amounts.
item_count · number
Number of priced line items.
subtotal · number
Sum of all line-item amounts before tax.
tax · number
Tax calculated from the entered percentage rate.
total · number
Subtotal plus tax.
document · object
Document-ready metadata, rows, notes, and totals.
{
    "type": "object",
    "properties": {
        "business_name": {
            "type": "string",
            "description": "Sender name copied into the draft."
        },
        "line_items": {
            "type": "array",
            "items": [],
            "description": "Normalized rows with calculated amounts."
        },
        "item_count": {
            "type": "number",
            "description": "Number of priced line items."
        },
        "subtotal": {
            "type": "number",
            "description": "Sum of all line-item amounts before tax."
        },
        "tax": {
            "type": "number",
            "description": "Tax calculated from the entered percentage rate."
        },
        "total": {
            "type": "number",
            "description": "Subtotal plus tax."
        },
        "document": {
            "type": "object",
            "additionalProperties": true,
            "description": "Document-ready metadata, rows, notes, and totals."
        }
    },
    "additionalProperties": false
}

Service estimate with two line items

The request body follows the published input schema. The response below shows the success-envelope shape returned after execution is available.

curl -X POST "https://utilitypages.org/api/v1/tools/estimate-generator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "business_name": "Acme Services",
    "client_name": "Rivera Home",
    "estimate_number": "EST-1001",
    "issue_date": "2026-07-11",
    "valid_until": "2026-08-10",
    "line_items": "Labor|4|75\nMaterials|1|120",
    "tax_rate": 8,
    "notes": "Pricing may change if the scope changes."
}'
{
    "ok": true,
    "data": {
        "slug": "estimate-generator",
        "result": {
            "values": {
                "business_name": "Acme Services",
                "line_items": [
                    {
                        "description": "Labor",
                        "quantity": 4,
                        "unit_price": 75,
                        "amount": 300
                    },
                    {
                        "description": "Materials",
                        "quantity": 1,
                        "unit_price": 120,
                        "amount": 120
                    }
                ],
                "item_count": 2,
                "subtotal": 420,
                "tax": 33.60000000000000142108547152020037174224853515625,
                "total": 453.6000000000000227373675443232059478759765625,
                "document": {
                    "currency": "USD",
                    "total": 453.6000000000000227373675443232059478759765625
                }
            },
            "display": {
                "display": "Acme Services"
            },
            "warnings": [],
            "assumptions": [],
            "steps": []
        }
    },
    "meta": [],
    "request_id": "req_example_123"
}

Errors

api_not_launched · 503
Returned by the current launch gate for every execute request.
invalid_json · 400
Returned when an enabled execute request does not contain valid JSON.
validation_failed · 422
Returned when a request does not satisfy the input schema.
browser_interaction_required · 422
Returned for browser capability tools instead of inventing a server-side result.
tool_not_found · 404
Returned when a requested descriptor slug does not exist.
execution_failed · 503
Returned when an enabled server-side execution cannot complete.