validate_einvoice_tool
Validates e-invoice payloads for correct IRN and GSTIN formats, mandatory fields, HSN digit rules by supplier turnover, and tax/invoice totals before filing.
Instructions
Validate an e-invoice payload: IRN hash format, GSTIN format and
checksum, mandatory fields, HSN digit requirements for the supplier's
aggregate turnover (supplier_ato), tax math and invoice totals.
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": {
"einvoice": "<einvoice>"
},
"name": "validate_einvoice_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| einvoice | Yes | ||
| supplier_ato | No |