Make a PDF invoice from invoice fields, with a signed receipt of its hash
invoice_makeMake a clean PDF invoice from invoice fields, and get back a signed, dated receipt of the PDF's hash, so either side can later show which invoice was made and when. Send: number, issue_date (YYYY-MM-DD), optional due_date, currency (USD, EUR, GBP ... 43 supported), seller {name, address, tax_id, contact}, buyer {name, address, ...}, items [{description, quantity, unit_price}] (up to 40), optional tax_lines [{label, rate_percent OR amount}], notes, payment_terms. Every number, rate and tax line is yours: we only add them up (half-up rounding to the currency's smallest unit); no tax advice, no tax rules, no checking of tax ids. Moves no money and makes no payment link: web addresses and links (dotted names, IP addresses, schemes such as http: or pay:) are refused in every text field. Free, no sign-up, 100 invoices a day per caller. Stores nothing: the signed receipt holds the number, dates, totals and hashes, never names or addresses. Text must use Western European letters (the Windows-1252 set; accented Latin letters, euro, pound, yen). Answer: pdf_base64, totals, signed observation, receipt.
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": {
"number": "<number>",
"issue_date": "<issue_date>",
"currency": "<currency>",
"seller": "<seller>",
"buyer": "<buyer>",
"items": "<items>"
},
"name": "invoice_make"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buyer | Yes | ||
| items | Yes | ||
| notes | No | ||
| number | Yes | Invoice number: letters, digits, space and . _ / # - (1 to 40). | |
| seller | Yes | ||
| currency | Yes | Three-letter code, for example USD, EUR, GBP, JPY. | |
| due_date | No | YYYY-MM-DD, on or after the issue date. | |
| tax_lines | No | ||
| issue_date | Yes | YYYY-MM-DD (2000 to 2100). | |
| payment_terms | No | Plain words, for example 'Net 30. Bank transfer, account details sent separately.' No web addresses. |