Overview
- Category
- Finance
- API mode
not_available- Processing
- client-side
- Privacy
- no-data-stored
Public descriptor
The descriptor is available without an API key and supplies this tool’s metadata, schemas, modes, and examples.
GET /api/v1/tools/invoice-late-fee-calculator
Execute availability
This tool is documented as a browser capability. Its execute route does not produce a server-side result; when execution is enabled, it responds with browser_interaction_required and points callers to the public tool page.
POST /api/v1/tools/invoice-late-fee-calculator/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.
invoice_balance· number · required- Enter invoice balance.
annual_late_rate· number · required- Enter annual late rate.
days_overdue· number · required- Enter days overdue.
{
"type": "object",
"properties": {
"invoice_balance": {
"type": "number",
"description": "Enter invoice balance.",
"minimum": 0
},
"annual_late_rate": {
"type": "number",
"description": "Enter annual late rate."
},
"days_overdue": {
"type": "number",
"description": "Enter days overdue."
}
},
"required": [
"invoice_balance",
"annual_late_rate",
"days_overdue"
],
"additionalProperties": false
}
Output schema
On a successful execution, schema values appear in data.result.values.
late_fee· number- Estimated late fee produced by the tool.
amount_due· number- Estimated amount due produced by the tool.
daily_rate· number- Daily rate produced by the tool.
{
"type": "object",
"properties": {
"late_fee": {
"type": "number",
"description": "Estimated late fee produced by the tool."
},
"amount_due": {
"type": "number",
"description": "Estimated amount due produced by the tool."
},
"daily_rate": {
"type": "number",
"description": "Daily rate produced by the tool."
}
},
"additionalProperties": false
}
Invoice Late Fee Calculator worked example
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/invoice-late-fee-calculator/execute" \
-H "Content-Type: application/json" \
-d '{
"invoice_balance": 4200,
"annual_late_rate": 18,
"days_overdue": 25
}'
{
"ok": true,
"data": {
"slug": "invoice-late-fee-calculator",
"result": {
"values": {
"late_fee": 51.780000000000001136868377216160297393798828125,
"amount_due": 4251.7799999999997453414835035800933837890625,
"daily_rate": 0.04931499999999999772626324556767940521240234375
},
"display": {
"display": "51.78"
},
"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.