generate_invoice
Generate a Polish VAT invoice PDF from a complete invoice JSON string, including seller, buyer, and line items; returns the invoice number and base64-encoded PDF.
Instructions
Generate a Polish VAT invoice PDF. Pass the full invoice JSON (with sprzedawca, nabywca, pozycje, etc.) as a string. Returns invoice number and base64-encoded PDF.
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": {
"data": "<data>"
},
"name": "generate_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Invoice JSON string with sprzedawca (seller), nabywca (buyer), pozycje (line items), and other invoice fields |