encode_zatca_tlv
Encode Saudi ZATCA Phase 1 invoice fields into a compliant UTF-8 Base64 TLV QR string.
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": {
"seller_name": "<seller_name>",
"vat_number": "<vat_number>",
"timestamp": "<timestamp>",
"total_with_vat": "<total_with_vat>",
"vat_amount": "<vat_amount>"
},
"name": "encode_zatca_tlv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timestamp | Yes | ISO-8601 UTC timestamp | |
| vat_amount | Yes | ||
| vat_number | Yes | 15-digit Saudi VAT number (3XXXXXXXXXXXXX3) | |
| seller_name | Yes | ||
| total_with_vat | Yes |