Expense Report Status — Proposed Guide
Planned API — Reference OnlyExpense Report Status: Report status conveys progress through drafting, submission and review. It should not collapse approval, reimbursement and…
Overview
Report status conveys progress through drafting, submission and review. It should not collapse approval, reimbursement and accounting export into one ambiguous completed value.
Key concepts
Define valid transitions and the actor permitted to request each transition. Partial rejection needs a clearly represented outcome.
Implementation considerations
Unknown future status values should be displayed neutrally rather than interpreted as approved. A state diagram is a proposal, not a live workflow.
Illustrative data model
This local fixture shows a possible representation for the concepts above. It is not an endpoint response, production configuration or a claim that the described capability is implemented.
{
"reference_only": true,
"topic": "Expense Report Status",
"report_id": "rpt_example_123",
"status": "draft",
"version": 1
}Design review checklist
- Document which organization owns the expense report status representation and which actor may view or change it.
- Test the boundaries of report id, status, version using synthetic values, including missing or inconsistent references.
- Before future implementation, obtain an approved contract and review failure behavior. This documentation does not authorize production activation.
Proposed data types
| Name | Type | Description |
|---|---|---|
| report_id | string | Stable fictional report reference; not a secret and not evidence that a resource exists. |
| status | string | Proposed lifecycle value. Its meaning depends on the resource and must not be inferred from HTTP success. |
| version | integer | Illustrative resource revision for detecting stale updates; no live concurrency contract is published. |