Release/query/reject a Tunisian shipment dossier: upload a PDF via POST /api/v1/...
https://tunis-data.hanibal-ai.com/api/v1/sanad/releaseOverview
Release/query/reject a Tunisian shipment dossier: upload a PDF via POST /api/v1/sanad/uploads and pass upload_id, or use upload_id=sample for the built-in demo dossier.
Protocol
x402
Price
$0.10
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
uncategorized
Provider
tunis-data
Source
bazaar
Indexed
2026-11-12 13:09:53
Health
Status
unknown
Latency (p50)
—
Uptime (30d)
—
Reliability Score
—
Last Checked
Never
Last Healthy
Never
Consecutive Failures
0
x402 Payment Validation
Payment Requirements
—
Asset Verified
—
Facilitator
—
Input Schema
{
"method": "GET",
"queryParams": {
"upload_id": "sample"
},
"type": "http"
}
Output Schema
{
"example": {
"attestation": {
"alg": "Ed25519",
"canonicalization": "RFC8785",
"expires_at": "2026-11-11T00:05:00Z",
"issued_at": "2026-11-11T00:00:00Z",
"issuer": "did:web:tunis-data.hanibal-ai.com",
"key_id": "78qu0-QLludYs9c4",
"payload_sha256": "0000000000000000000000000000000000000000000000000000000000000000",
"public_key": {
"crv": "Ed25519",
"kty": "OKP",
"x": "BY8bf4H2gq8fwcVN4LaHpSQ3nQt6OEbe5wz75QWdamg"
},
"signature": "base64url-signature",
"type": "x402-data-attestation",
"version": 1
},
"confidence": "high",
"data": {
"as_of": "2026-11-09",
"benchmark": {
"bct_eur_tnd": 3.2891,
"bct_usd_tnd": 3.0139,
"chapter15_unit_value_tnd_kg": 12
},
"checks": [
{
"detail": "20000 x 12.5 = 250000, invoice 250000",
"name": "line_total",
"ok": true
},
{
"detail": "HS 1509.10 is olive oil",
"name": "hs_code",
"ok": true
}
],
"computed": {
"line_total_tnd": 250000,
"quantity_kg": 20000,
"unit_price_tnd_kg": 12.5,
"unit_value_deviation_pct": 4.2
},
"decision": "RELEASE",
"document": {
"extraction": "pdfplumber",
"file": "sanad_sample_invoice.pdf",
"hs_code": "1509.10",
"origin": "TN",
"sample": true
},
"note": "Built-in sample dossier; paid calls with upload_id=sample run the real extractor on it.",
"sample": true
},
"disclaimer": "Unofficial compilation of public Tunisian data. Not endorsed by the source agency. Verify against the linked source before making a decision.",
"gaps": [],
"generated_at": "2026-11-11T00:00:00Z",
"request_id": "req_example",
"source": {
"edition": "example",
"page": null,
"publisher": "example",
"retrieved": "2026-11-11T00:00:00Z",
"sha256": null,
"title": "Release/query/reject a Tunisian shipment dossier: upload a PDF via POST /api/v1/sanad/uploads and pass upload_id, or use upload_id=sample for the built-in de...",
"url": null
}
},
"type": "json"
}