Decision receipts: a signed, independently verifiable record of every decision
Decision receipts are DueReason's self-contained, signed record of a decision: how /verify checks one, and how to bulk-export receipts as CSV for an audit.
Updated · 7 min read
In short
- Every decided request in DueReason gets a decision receipt: a self-contained, signed record of who asked, who answered and how, built to be checked by someone who has never heard of DueReason and has no account.
- Anyone can check a single receipt for free at /verify, with no login - the same page a downloadable, self-verifying PDF points back to.
- An admin, auditor or owner can also bulk-export every receipt from a date range as CSV from the console, for pulling a period's worth of decisions for an internal or external review instead of opening each one by hand.
- A single export covers up to 92 days; a longer review period needs a few exports run back to back, one date range at a time.
A decision receipt is DueReason's answer to a question an approval tool alone doesn't answer: once someone has approved or rejected a request, how does anyone else - a supplier, an auditor, a customer, a lawyer two years later, a self-hosted customer entirely offline - check that the decision is real and has not been altered, without trusting DueReason's word for it or even having an account?
What a decision receipt is
A receipt is a self-contained, signed record of one decided request: who asked, what for, who answered and how, what evidence they attached, and the request's own slice of the organization's hash-chained ledger. It travels with the decision - attached to an invoice, a contract, a release - rather than staying locked inside DueReason. It is signed with EdDSA (Ed25519) over canonical JSON, using the same per-organization keys that sign grants, and it is self-describing: every hash and ledger event a verifier needs is inside the receipt itself, so checking it does not require trusting that DueReason's API is telling the truth about the request right now. Reissuing a receipt for the same request later produces the same decided facts, since a decision does not change after it is made.
A receipt is not a new source of truth - everything in it is derived, at the moment it is issued, from data the request's organization already owns (the request, its steps and responses, its evidence hashes, its ledger events and, when approved, its grant).
Checking one receipt: /verify and the PDF
Anyone holding a receipt file, or a link to one, can check it for free at DueReason's public /verify page - no account, no login. The cryptography runs entirely in the browser: /verify recomputes the receipt's hashes, checks the EdDSA signature against the organization's published keys, and confirms the ledger events inside the receipt chain together the way an append-only ledger always does. A request's receipt is also available from the console as a downloadable receipt.json and as a printable PDF with the signature and a link back to /verify in the footer, so a printed copy still points to how to check it.
Bulk CSV export: an audit trail for a date range
Where /verify answers "is this one receipt genuine," the receipts CSV export answers the question an admin or compliance reviewer actually has when preparing for an audit: "show me every decision this organization made in this period." From the console's exports screen, anyone holding the export:all permission (an owner, admin or auditor - the same roles that can already read every approval) picks a from/to date range and downloads /app/exports/receipts.csv, one row per request decided in that window:
| Column | What it is |
|---|---|
receipt_id | The receipt's id (the approval request's own id). |
request_id | The same id again, for joining the row back to the request in another system. |
decided_at | When the request reached its final outcome. |
decider | The name of whoever's answer settled the outcome (the last response across every step). |
outcome | approved, rejected, expired or cancelled. |
signed | yes when the decision also carries a signed, machine-executable grant - no otherwise. This is not whether the receipt itself is signed: every receipt is an EdDSA-signed envelope regardless, so that alone would read "yes" on every row and tell a reviewer nothing. signed instead flags the narrower, more useful fact: did this approval also produce a grant something downstream could execute. |
verify_url | A direct link to that request's public receipt page, for checking any one row in full. |
The export does not include the request's payload, written reason or evidence file contents - only the columns above, plus a link to the full receipt (which does carry evidence filenames and hashes, never file bytes) for whoever needs to open a specific decision in detail.
Date range limit. A single export call covers at most 92 days between from and to; asking for a longer span is refused rather than silently truncated. Reviewing a longer period - a full year for an annual audit, say - means running the export a few times with adjoining date ranges (four quarters, or twelve months) rather than one call. Within whatever range you ask for, the export itself pages through every decided request automatically, so you always get the complete set for that window in one download - there is no separate row cap to work around, only the 92-day span per call.
Why this is worth sending to an auditor instead of a screenshot
A screenshot of a status column is a claim. A decision receipt is checkable: its signature proves DueReason has not edited it since issuing it, and its ledger events prove they have not been reordered or tampered with since the decision was made. An auditor who does not trust DueReason, does not have a DueReason account and may never interact with the product at all can still verify every row the CSV export points to, independently, at /verify.
Questions
- Can someone verify a receipt without a DueReason account?
- Yes. /verify is a public page with no login - anyone holding a receipt file or a verify_url link can check its signature and ledger events there, entirely in their browser.
- Does the CSV export include the request's content or attachments?
- No. Each row has only receipt_id, request_id, decided_at, decider, outcome, signed and verify_url - the request's payload, written reason and evidence file contents are not in the export. Follow a row's verify_url to open that one decision's full receipt, which carries evidence filenames and hashes but never the file bytes themselves.
- What does the "signed" column actually mean?
- It means the decision also produced a signed, machine-executable grant (only possible on an approved request), not that the receipt itself is signed - every receipt is an EdDSA-signed envelope regardless of this column, so "signed" instead flags whether there is a grant something downstream could execute.
- How much history can one export cover?
- Up to 92 days between the from and to dates per export. For a longer review period, run the export again with the next slice of dates - each call still returns every decided request in its own window in full, with no separate row limit to page around.
- Who can download the bulk receipts export?
- Anyone holding the export:all permission in the organization - by default its owner, admins and auditors, the same roles that can already read every approval request.
See a decision receipt on your own request
Create an account, decide a request, and download its receipt - or check it straight away at /verify with no account at all.
Create your accountSources
This guide explains the regulation as we read it; it is not legal advice. Check the official text and your national law, which may add obligations.