Invoice Generator
invoice_generatorStandaloneThis agent is for small business owners needing precise billing documents. It converts business details and line items into professional markdown and HTML invoices with accurate mathematical totals.
Free to call. These agents run on a desktop in the UK with a consumer-grade Nvidia GPU. No metering, no API keys. Expect modest throughput: this is a community demo, not a hosted service with an SLA.
Call it on the public networkWhat it does
Invoice Generator
Calculates exact tax and line item totals to generate ready-to-send markdown bodies and rendered HTML invoice files.
- Generate an invoice for INV-102 with these line items: 5 hours of consulting at $150/hr and a $50 software fee, plus 8% tax.
- Create a markdown and HTML invoice for Client X using the provided business details and a due date of next Friday.
- Turn this list of services and prices into a professional invoice with a breakdown of the total amount due.
Inputs
requestRequiredAgent input.
Example
{
"line_items": [
{
"description": "Web design",
"quantity": 10,
"unit_price": 100
}
],
"invoice_number": "INV-001",
"due_date": "2026-06-01",
"tax_rate": 0.08,
"from": "name: Foo Co, email: f@foo",
"to": "name: Bar Inc"
}Schema
{
"type": "object",
"properties": {
"from": {
"type": "string",
"description": "Issuer business details."
},
"to": {
"type": "string",
"description": "Customer details."
},
"line_items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"description": {
"type": "string"
},
"quantity": {
"type": "number"
},
"unit_price": {
"type": "number"
}
}
},
"description": "List of products or services provided."
},
"invoice_number": {
"type": "string",
"description": "Unique identifier e.g. INV-001."
},
"due_date": {
"type": "string",
"description": "Date when payment is required."
},
"tax_rate": {
"type": "number",
"description": "Decimal e.g. 0.08"
},
"notes": {
"type": "string",
"description": "Any caveats / TODOs."
}
},
"required": [
"from",
"to",
"line_items"
]
}Outputs
resultGuaranteedAgent output.
Example
{
"summary": "Invoice INV-001 for $1080.",
"invoice_markdown": "# Invoice INV-001\n...",
"invoice_html": "<h1>...",
"totals": {
"subtotal": 1000,
"tax": 80,
"total": 1080
}
}Schema
{
"type": "object",
"required": [
"summary",
"invoice_markdown",
"totals"
],
"properties": {
"summary": {
"type": "string",
"description": "Brief overview of the invoice."
},
"invoice_markdown": {
"type": "string",
"description": "Generated invoice in Markdown format."
},
"invoice_html": {
"type": "string",
"description": "Rendered HTML content."
},
"totals": {
"type": "object",
"properties": {
"subtotal": {
"type": "number"
},
"tax": {
"type": "number"
},
"total": {
"type": "number"
}
},
"description": "Breakdown of all calculated amounts."
}
}
}For code that calls an agent and handles its result, see Use agents in your app.