Create Receipt
create_receiptCreate a simplified sales receipt for point-of-sale transactions with automatic tax calculation. Add line items, customer details, and issue date for a tax-compliant ticket.
Instructions
Create a simplified sales receipt (ticket) for point-of-sale transactions. Tax amounts are auto-calculated.
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": {
"lines": "<lines>"
},
"name": "create_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | Yes | Line items | |
| contact | No | Optional contact info | |
| comments | No | Notes | |
| currency | No | Currency (default: EUR) | EUR |
| issuedDate | No | Issue date YYYY-MM-DD |