verify_einvoice_qr
Verify Indian GST B2B e-invoice QR codes to confirm authenticity by validating the NIC RSA signature, internal claims, and IRN hash against supplier GSTIN and invoice details.
Instructions
Verify cryptographically signed QR code from Indian GST B2B e-invoices (A3 Authenticity).
Validates the NIC RSA digital signature against bundled public trust anchors, verifies internal claims, and cross-checks the 64-char Invoice Reference Number (IRN) against SHA-256(SupplierGSTIN + DocTyp + DocNo + FinYr).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qr_text | Yes | Signed JWT string extracted from GST B2B e-invoice QR code | |
| expected_irn | No | Optional expected 64-character hex IRN | |
| expected_gstin | No | Optional expected supplier GSTIN |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||