Alpha Covenant Holdings · AP contract ap-view/1 · 2026-10-25

The receipt, shaped for the moment before a payment goes out

Your AP or ERP system asks one question before release: is there a dated read of the exclusion files under this vendor's exact name and key? This contract answers it with the read itself — per source, answered with n rows or did not answer — and a hash you can replay. It does not answer "should we pay": that rule is yours, and the receipt is what your rule reads.

1. One call

POST https://alphacovenantholdings.com/api/ap/check   X-Api-Key: acv_…
{"name":"Example Vendor LLC","uei":"ABC123DEF456","partner_reference":"PO-44812"}

Same read as the free receipt and the batch; the view is stored under your key at GET /api/ap/view/{receipt_id}. For volume, POST the CSV to /api/batch with a webhook_url and call /view per receipt id.

2. What comes back

{
 "contract": "ap-view/1",
 "receipt_id": "r_\u2026",
 "read_at": "2026-10-11T00:00:00+00:00",
 "name_as_submitted": "Example Vendor LLC",
 "keys": {
  "uei": "ABC123DEF456"
 },
 "sources": [
  {
   "source": "sam",
   "state": "answered",
   "exact_rows": 0,
   "similar_shown": 2,
   "similar_names": [
    "EXAMPLE VENDORS INC",
    "EXAMPLE VENDOR GROUP"
   ],
   "official_url": "https://sam.gov/search/?index=ex"
  },
  {
   "source": "leie",
   "state": "did_not_answer",
   "exact_rows": null,
   "similar_shown": 0
  }
 ],
 "decision": null,
 "decision_belongs_to": "payer",
 "sha256": "\u2026"
}

3. Write your rule against it (examples — yours to decide)

4. Replay the hash

POST https://alphacovenantholdings.com/api/ap/verify   {"view": …, "sha256": "…"}

SHA-256 of canonical JSON (keys sorted, non-JSON values via str(), UTF-8) of the view without its sha256 field. The underlying receipt has its own sha256 under the same rule and an Ed25519 certification at /api/receipts/{id}/certification/html.

5. What this contract will never contain

6. HTTP behaviour, measured

Partner spec: https://alphacovenantholdings.com/api/batch/spec · JSON: https://alphacovenantholdings.com/api/ap/contract · Public-record evidence, not legal advice or a compliance determination.