Buy invoices (pack of 10 or Pro)
start_purchaseStart a purchase on behalf of the user. Free: 3 invoices per month without an account. Then: pack of 10 invoices for 5.83 EUR incl. VAT (one-time), or Pro, unlimited for one year, 22.61 EUR incl. VAT. Returns checkout_url, a Stripe payment page (card and other methods). Give that link to the user, or pay there yourself if you are authorised to. Without an API key pass the user's email: after payment an account is created for that address and get_purchase_status returns an API key. With an API key on the connection the purchase is credited to that account and email is not needed. Nothing is charged by this call itself. Only call it when the user wants to buy.
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": {
"product": "<product>"
},
"name": "start_purchase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Email of the person the purchase is for. Required without an API key. Receipt and account access go there. | ||
| product | Yes | pack = 10 invoices, one-time; pro = unlimited for one year, renews yearly, can be cancelled any time |