Status values
under_review can be changed by the public decision operation, to approved or rejected.
Endpoints
List orders
Retrieve orders by status, employee, dates, and documented scalar fields. Use
X-Tenant-ID to restrict the tenant context where required.Get an order
Read products, contract fields, employee, status, and attachment references.
Approve or reject
Validate and apply one HR decision from
under_review.Download attachment
Download a contract document by attachment ID.
Order response model
The provider’s updated schema no longer returnstenant or divisionId inside an order. Tenant restriction remains available through X-Tenant-ID where the operation documents that header.
HR review data is returned in hrHistory:
hrHistory replaces the previous hrReviewDecision object. The old actor-category enum in decisionBy is no longer part of the provider schema.
Product response model
Each entry inproducts[] exposes product identity, classification, VAT, gross and net amounts, optional service amounts, and the accessory flag.
Decision rules
- Re-read the order immediately before deciding.
- Use dry run before the real decision.
- A final decision cannot be overwritten through the endpoint.
- Approval applies documented contract-date defaults and corresponding notifications.
- The contract does not enumerate notification recipients; do not depend on an undocumented list.
- After a timeout, re-read the order before any replay.
Order processing guide
Follow the review swimlane, state checks, conflict handling, and timeout reconciliation.
