{
  "note": "DEMO — FIXTURE DATA — NOT A LIVE COMPANY VERIFICATION",
  "disclaimer": "Fixture data only. Decisions come from the same deriveDecision the production tools use. Receipts are signed by a SEPARATE demo key (kind:\"demo\"), never the production key — a demo receipt is not a live-company verification and carries no production entitlement/usage/settlement.",
  "demoKeyId": "canary-ed25519-1b2a15b7e136a91d",
  "demoPublicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA36zLwNBqHQ1Nyv2odHA9iQsKVvSKfdNaOxfGmSNbp7M=\n-----END PUBLIC KEY-----\n",
  "productionKeyIncluded": false,
  "scenarios": [
    {
      "id": "ready",
      "title": "READY — evidence supports proceeding (within limitations)",
      "company": "Fixture Foods BV (fictional)",
      "why": "The receiver is registered on the production Peppol network and accepts BIS Billing 3.0.",
      "tool": "lookup_peppol_participant",
      "input": {
        "countryCode": "BE",
        "vatId": "BE0123456789"
      },
      "toolResult": {
        "identifier": "0208:0123456789",
        "scheme": "0208",
        "status": "registered",
        "supportsBis30Invoice": true,
        "source": "peppol-smp",
        "network": "peppol-production",
        "checkedAt": "2026-07-16T09:00:00Z"
      },
      "decision": {
        "status": "ready",
        "summary": "Registered on the Peppol network and accepts BIS Billing 3.0 invoices.",
        "decision": {
          "canProceed": true,
          "requiresHumanReview": false,
          "blockingReasons": [],
          "warnings": [],
          "nextActions": [
            "Proceed with Peppol readiness for this receiver."
          ]
        },
        "evidence": [
          {
            "source": "peppol-smp",
            "statement": "Registered; BIS Billing 3.0 accepted.",
            "observedAt": "2026-07-16T09:00:00Z"
          }
        ],
        "limitations": [
          "Technical readiness only: not a legal, fiscal or compliance guarantee, not proof a payment or a Peppol delivery will occur, and current only as of the stated check time."
        ],
        "provenance": {
          "source": "peppol-smp",
          "network": "peppol-production",
          "checkedAt": "2026-07-16T09:00:00Z",
          "scheme": "0208"
        },
        "requestId": "demo-ready",
        "receiptId": "demo-ready-receipt"
      },
      "requestHash": "cc53b691247b2be749d12e79c788f164c15035c39f2c98019ea5d4d18e360f98",
      "resultHash": "a97a4e194cf9aa80f25a75aee0ae22bee104e30cb17728be66f038264771935f",
      "receipt": {
        "version": "2",
        "keyId": "canary-ed25519-1b2a15b7e136a91d",
        "alg": "Ed25519",
        "kind": "demo",
        "receiptId": "demo-ready-receipt",
        "subject": "demo:fixture",
        "policyVersion": "jx-mcp-065.demo.v1",
        "paymentRail": "none",
        "provider": "peppol",
        "providerStatus": "registered",
        "requestHash": "cc53b691247b2be749d12e79c788f164c15035c39f2c98019ea5d4d18e360f98",
        "resultHash": "a97a4e194cf9aa80f25a75aee0ae22bee104e30cb17728be66f038264771935f",
        "createdAt": "2026-07-16T09:00:00Z",
        "completion": "succeeded",
        "signature": "4ac2mfSuo9Kvk5AaoAl5kD/ZtG41xN68akkJH9+291CqXMBvuy9ooEA0QGaIU3GgW78Z6pH2WqIJrFHwK8/yDA=="
      }
    },
    {
      "id": "needs_review",
      "title": "NEEDS_REVIEW — a human must judge, not the agent",
      "company": "Example Widgets SPRL (fictional)",
      "why": "Registered on Peppol, but BIS Billing 3.0 acceptance is not advertised for the queried document type.",
      "tool": "lookup_peppol_participant",
      "input": {
        "countryCode": "BE",
        "vatId": "BE0987654321"
      },
      "toolResult": {
        "identifier": "0208:0987654321",
        "scheme": "0208",
        "status": "registered",
        "supportsBis30Invoice": false,
        "source": "peppol-smp",
        "network": "peppol-production",
        "checkedAt": "2026-07-16T09:00:00Z"
      },
      "decision": {
        "status": "needs_review",
        "summary": "Registered on Peppol, but BIS Billing 3.0 acceptance is not confirmed.",
        "decision": {
          "canProceed": false,
          "requiresHumanReview": true,
          "blockingReasons": [],
          "warnings": [
            "The receiver is registered but does not advertise BIS Billing 3.0 support for the queried document type."
          ],
          "nextActions": [
            "Confirm with the receiver which document types they accept."
          ]
        },
        "evidence": [
          {
            "source": "peppol-smp",
            "statement": "Registered; BIS 3.0 support not advertised.",
            "observedAt": "2026-07-16T09:00:00Z"
          }
        ],
        "limitations": [
          "Technical readiness only: not a legal, fiscal or compliance guarantee, not proof a payment or a Peppol delivery will occur, and current only as of the stated check time."
        ],
        "provenance": {
          "source": "peppol-smp",
          "network": "peppol-production",
          "checkedAt": "2026-07-16T09:00:00Z",
          "scheme": "0208"
        },
        "requestId": "demo-needs_review",
        "receiptId": "demo-needs_review-receipt"
      },
      "requestHash": "361c527e352f5efb17bb31c90078586a2ac31e878fa330b4dab862c1bc34eff2",
      "resultHash": "bfe3c75449f8952a7fdb56318eb7850e71074aabf6c1dab7449fe23d419291ab",
      "receipt": {
        "version": "2",
        "keyId": "canary-ed25519-1b2a15b7e136a91d",
        "alg": "Ed25519",
        "kind": "demo",
        "receiptId": "demo-needs_review-receipt",
        "subject": "demo:fixture",
        "policyVersion": "jx-mcp-065.demo.v1",
        "paymentRail": "none",
        "provider": "peppol",
        "providerStatus": "registered",
        "requestHash": "361c527e352f5efb17bb31c90078586a2ac31e878fa330b4dab862c1bc34eff2",
        "resultHash": "bfe3c75449f8952a7fdb56318eb7850e71074aabf6c1dab7449fe23d419291ab",
        "createdAt": "2026-07-16T09:00:00Z",
        "completion": "succeeded",
        "signature": "vklWuNEZhH4iU6qLVxROmcKmDgNIbnIV/ulMw8+L4Wsn6VE+4qFTh6OMDilXID9wCyZdjjnUqdBw7E9YVb94CQ=="
      }
    },
    {
      "id": "unavailable",
      "title": "UNAVAILABLE — an unknown, never a 'no'",
      "company": "Sample Traders GmbH (fictional)",
      "why": "VIES did not return a reliable answer (timeout). This is NOT 'invalid' and NOT 'not registered'.",
      "tool": "verify_vat_vies",
      "input": {
        "vatNumber": "BE0123456749"
      },
      "toolResult": {
        "vatNumber": "BE0123456749",
        "state": "unavailable",
        "provenance": {
          "source": "vies",
          "checkedAt": "2026-07-16T09:00:00Z",
          "unavailableReason": "timeout"
        }
      },
      "decision": {
        "status": "unavailable",
        "summary": "VIES could not be reached; no validity claim is made.",
        "decision": {
          "canProceed": false,
          "requiresHumanReview": false,
          "blockingReasons": [],
          "warnings": [],
          "nextActions": [
            "Retry later — VIES availability is outside Jithox's control."
          ]
        },
        "evidence": [],
        "limitations": [
          "Technical readiness only: not a legal, fiscal or compliance guarantee, not proof a payment or a Peppol delivery will occur, and current only as of the stated check time.",
          "VIES did not answer (timeout); this is NOT 'invalid'."
        ],
        "provenance": {
          "source": "vies",
          "checkedAt": "2026-07-16T09:00:00Z"
        },
        "requestId": "demo-unavailable",
        "receiptId": "demo-unavailable-receipt"
      },
      "requestHash": "f35197e1119f4c67d36e5f9096389dcfad8f8d4de8dae5e19eaf425fa8ffc257",
      "resultHash": "21903054a5473e6f46fcae023f05a9cb71a80419cc4bffb05414a7b157e3289b",
      "receipt": {
        "version": "2",
        "keyId": "canary-ed25519-1b2a15b7e136a91d",
        "alg": "Ed25519",
        "kind": "demo",
        "receiptId": "demo-unavailable-receipt",
        "subject": "demo:fixture",
        "policyVersion": "jx-mcp-065.demo.v1",
        "paymentRail": "none",
        "provider": "vies",
        "providerStatus": "unavailable",
        "requestHash": "f35197e1119f4c67d36e5f9096389dcfad8f8d4de8dae5e19eaf425fa8ffc257",
        "resultHash": "21903054a5473e6f46fcae023f05a9cb71a80419cc4bffb05414a7b157e3289b",
        "createdAt": "2026-07-16T09:00:00Z",
        "completion": "succeeded",
        "signature": "tkx6TAMNSdKp8AT0O1BwWA18POUOKH519W1Fi/jV+1FPZWULOEI79xoCSFQFzc/u+61SwEWJsElT7Vp9cF3lDA=="
      }
    }
  ],
  "workflow": [
    {
      "tool": "validate_vat_number",
      "why": "Local format + checksum (no network).",
      "example": "BE0123456749 → valid format (warns: run VIES next)",
      "definitive": "indicative (format only)"
    },
    {
      "tool": "verify_vat_vies",
      "why": "Live EU VIES active-registration check.",
      "example": "BE0123456749 → invalid (checksum-valid but not VIES-active — the teaching case)",
      "definitive": "definitive when VIES answers; else unavailable"
    },
    {
      "tool": "lookup_peppol_participant",
      "why": "Peppol SML/SMP reachability + BIS 3.0.",
      "example": "Fixture Foods → registered + BIS 3.0",
      "definitive": "registered/not_registered are definitive; unavailable is not"
    },
    {
      "tool": "validate_invoice",
      "why": "Structural BIS 3.0 completeness + totals.",
      "example": "draft invoice → structural errors listed, if any",
      "definitive": "structural only — not tax/legal correctness"
    },
    {
      "tool": "get_einvoice_readiness",
      "why": "Composite readiness + next step.",
      "example": "combines the above into one decision",
      "definitive": "one decision status + nextActions"
    }
  ],
  "offlineVerification": {
    "shell": "curl -sO https://sanctions.mcp.jithox.com/demo/public-key.pem; curl -sO https://sanctions.mcp.jithox.com/receipts/verify-receipt.mjs; # save a scenario's receipt as receipt.json; then:\nnode verify-receipt.mjs receipt.json public-key.pem   # → VALID DEMO RECEIPT",
    "node": "node sanctions.mcp.jithox.com/receipts/verify-receipt.mjs receipt.json public-key.pem",
    "python": "Verify the Ed25519 signature over the canonical bytes (jithox.receipt.v2 + canonical JSON without the signature) with the demo public key."
  },
  "limitations": [
    "Fixture data only — NOT a live company verification.",
    "Demo receipts are signed by a separate demo key; the production verifier rejects them (unknown key id).",
    "A valid demo receipt proves only that this fixture decision was signed by the demo key — no legal/fiscal/compliance meaning, no real execution.",
    "Real production calls require the €39 Developer Pilot and OAuth."
  ],
  "checksums": {
    "scenariosSha256": "fc484ffdf3285e3ac1a39197572204f43db8c3888ce71db4784663b3fb8ead4e",
    "demoPublicKeyPemSha256": "ff1eb2fdf71b402e4e3da917ef50847547df869068fa1257990c34684538fc88"
  },
  "generatedFor": "evaluation"
}