api_hr_invoice
Generate a structured customer invoice from seller/buyer and line items with subtotal, discounts and tax. One call costs 0.01 USDC on Base x402; customer-owned provider credentials use X-Provider-Key header where needed.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"invoice_number": "<invoice_number>",
"seller": "<seller>",
"buyer": "<buyer>",
"items": "<items>"
},
"name": "api_hr_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buyer | Yes | buyer; see operation description for units and format | |
| items | Yes | items; see operation description for units and format | |
| seller | Yes | seller; see operation description for units and format | |
| tax_pct | No | tax pct; see operation description for units and format | |
| discount_pct | No | discount pct; see operation description for units and format | |
| invoice_number | Yes | invoice number; see operation description for units and format |