Sales & Agreements
Quote — Simple
One-page quote — client, line items, total, and validity date. The fast yes.
The contract
Fields your API call provides. Amounts and totals are always computed by the caller — templates only format.
| total | number | required |
| client.name | string | required |
| line_items[].amount | number | required |
| line_items[].description | string | required |
| valid_until | string | required |
| quote_number | string | required |
MCP-ready: forks of this template will expose generate_quote when the MCP server ships.
Generate it (after you fork & publish)
curl -X POST https://your-paperbrain-host/api/generate/gen_<your-id> \
-H "Content-Type: application/json" \
-d '{
"total": 47000,
"client": {
"name": "Acme Corp"
},
"line_items": [
{
"amount": 18500,
"description": "Discovery & architecture"
},
{
"amount": 28500,
"description": "Build"
}
],
"valid_until": "2026-07-31",
"quote_number": "Q-1042"
}'gen_<your-id>is your generator's id once you fork and publish. The body shown is this template's sample data — the exact shape the contract validates.