compute_revenue_contract
Run the full ASC 606 five-step recognition for a general revenue contract: identify the performance obligations (Step 2), allocate the transaction price by standalone selling price (Step 4), and recognize over time or at a point in time (Step 5). Give the transaction price and the promised items (each with its standalone selling price). Whatever the engine can't determine from what you provide — distinctness, timing — it logs as an OPEN ITEM rather than guessing. The result is recorded on the engagement file; a principal signs before the workpapers are delivered.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | The promised items in the contract. | |
| engagement_id | Yes | The revenue-contract engagement (opened + classified as a general revenue contract). | |
| transaction_price_usd | Yes | The contract's transaction price. |