Docs / Receipts

Receipts

A receipt is a deterministic evaluation result issued against a rulepack. It represents the compliance status of a product at a specific point in time.

Public receipt structure
{
  "receipt_id": "string",
  "issued_at": "ISO8601",

  "rulepack": {
    "rulepack_id": "string",
    "rulepack_version": "string"
  },

  "subject": {
    "product_id": "string",
    "gtin": "string | null",
    "markets": ["string"]
  },

  "result": {
    "status": "PASS | FAIL | UNKNOWN",
    "counts": {
      "rules_total": number,
      "rules_pass": number,
      "rules_fail": number
    }
  }
}
Semantics

What a receipt means

  • A receipt is bound to a specific rulepack version
  • Results are deterministic given identical inputs
  • Receipts do not expose underlying evidence or inputs
Public API
GET /v1/public/receipts/:receiptId