> ## Documentation Index
> Fetch the complete documentation index at: https://docs.algovoi.co.uk/llms.txt
> Use this file to discover all available pages before exploring further.

# Verify a receipt

> Recompute an AlgoVoi receipt yourself: identify the format, get the bytes, check the digest or signature offline. No AlgoVoi service in the loop.

An AlgoVoi receipt is only worth what a third party can check. Every format on
this page can be verified without calling AlgoVoi, using the published rules
and an open-source verifier.

## 1. Identify the format

| Format | What it proves | Spec |
| - | - | - |
| Compliance receipt | A payment was screened and the verdict at admission time | [Compliance receipt](https://docs.algovoi.co.uk/compliance-receipt.md) |
| Settlement attestation | A transfer settled on a specific chain, amount and recipient | [Settlement attestation](https://docs.algovoi.co.uk/settlement-attestation.md) |
| Refund and cancellation receipts | A refund or mandate cancellation happened, categorically | [Refund](https://docs.algovoi.co.uk/refund-receipt.md) · [Cancellation](https://docs.algovoi.co.uk/cancellation-receipt.md) |
| Composite trust query | Several verdicts combined into one answer | [Composite trust query](https://docs.algovoi.co.uk/composite-trust-query.md) |
| Payment Evidence Frame | Any of the above wrapped in one lifecycle envelope | [Payment Evidence Frame](https://docs.algovoi.co.uk/payment-evidence-frame.md) |
| Agentic payment receipt | An agent payment end to end | [Agentic payment receipts](https://docs.algovoi.co.uk/agentic-payment-receipts.md) |

## 2. Get the bytes

Receipts are JSON signed over the RFC 8785 JCS canonical form — the same bytes
whoever computed them, which is why the digest matches across implementations.
The rules that make that true: [Canonicalisation substrate](https://docs.algovoi.co.uk/canonicalisation-substrate.md).

## 3. Check it

```bash theme={null}
pip install algovoi-receipt-verifier algovoi-audit-verifier
algovoi-verify receipt.json --jwks https://api.algovoi.co.uk/.well-known/jwks.json
```

Hosted equivalents, no auth:

```bash theme={null}
curl -s -X POST https://verify.algovoi.co.uk/verify \
  -H "Content-Type: application/json" \
  -d @receipt.json
```

| Tool | Use |
| - | - |
| [Compliance receipt verifier](https://docs.algovoi.co.uk/receipt-verifier.md) | JWS receipt against a published key set |
| [Audit verifier](https://docs.algovoi.co.uk/audit-verifier.md) | Selective-disclosure audit records |
| [RFC 9421 verifier](https://docs.algovoi.co.uk/rfc9421-verifier.md) · [signer](https://docs.algovoi.co.uk/rfc9421-signer.md) | HTTP message signatures |
| [Webhook verifier](https://docs.algovoi.co.uk/webhook-verifier.md) | `algvw_` HMAC webhook signatures |
| [Settlement verification](https://docs.algovoi.co.uk/settlement-verify.md) | Confirm the on-chain transfer itself |
| [Receipt sentinel](https://docs.algovoi.co.uk/receipt-sentinel.md) | Tenant-side sliding window over verification results |
| [Proofpack](https://docs.algovoi.co.uk/avm-proofpack.md) | Algorand and VOI state proofs, offline |

## Prove it yourself, end to end

The [conformance corpus](https://docs.algovoi.co.uk/conformance-vectors.md) holds 45 anchor sets and 374
vectors, byte-for-byte across ten independent JCS implementations. Clone it and
run a set:

```bash theme={null}
git clone https://github.com/chopmob-cloud/algovoi-jcs-conformance-vectors
cd algovoi-jcs-conformance-vectors/vectors/compliance_receipt_v1
python runner_python.py
```

* [Verify it yourself](https://docs.algovoi.co.uk/verify-it-yourself.md) — the one-command walkthrough
* [Authorship and provenance](https://docs.algovoi.co.uk/substrate-authorship-provenance.md) — what is
  published, where, and how to check each artefact
* [Adopters registry](https://docs.algovoi.co.uk/adopters.md) — who else publishes under
  `canon_version: jcs-rfc8785-v1`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.