generate_qr_code_string
Formats invoice confirmation data into the official KRA eTIMS QR code string so receipt details can be encoded and scanned correctly.
Instructions
Formats invoice confirmation data into the official KRA eTIMS QR code string: 'invoice_date(ddmmyyyy)#time(hhmmss)#cu_number#cu_receipt_number#internal_data#receipt_signature'.
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_date": "<invoice_date>",
"time": "<time>",
"cu_number": "<cu_number>",
"cu_receipt_number": "<cu_receipt_number>",
"internal_data": "<internal_data>",
"receipt_signature": "<receipt_signature>"
},
"name": "generate_qr_code_string"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | Yes | Time formatted as HHMMSS (e.g. '123005') | |
| cu_number | Yes | Control Unit ID (sdcId from response, e.g. 'KRAMW010000001') | |
| invoice_date | Yes | Invoice date formatted as DDMMYYYY (e.g. '22102026') or YYYYMMDD | |
| internal_data | Yes | Internal fiscal data returned in intrlData | |
| cu_receipt_number | Yes | Receipt counter number (rcptNo, e.g. 4521) | |
| receipt_signature | Yes | Cryptographic receipt signature returned in rcptSign |