Skip to main content

Revenue contracts: setting them up

The switch​

Settings → Apps → Revenue contracts (accounting.revenue). Off by default: no company had it before, and a distributor recognising revenue on its invoices needs none of it. It needs Receivables. Off, the screens leave the menu, the routes refuse with module disabled, the assistant's tools disappear and the contracts already made stay as they were; switching it on again brings them back.

Who can do what​

PermissionWhat it allowsGiven by default to
revenue_contract.readSee contracts, their allocation and the SSP tableManager, Accounting
revenue_contract.manageDraft and change contracts, keep the SSP table, activate, complete and cancelAccounting
revenue_contract.approveApprove an activation or send it backManager

| revenue_recognition.read | See each contract's recognition, its contract asset or liability, and the run preview | Manager, Accounting | | revenue_recognition.run | Run recognition for a month, record a delivery, bill a posted invoice under a contract | Accounting | | revenue_milestone.manage | Set out milestones, mark one met or withdraw it, enter percent-complete estimates | Manager, Accounting | | revenue_usage.record | Enter or import usage (give it to an API client that sends usage) | Accounting | | revenue_contract.modify | Draft, change, submit and withdraw a contract modification; terminate a contract | Accounting | | revenue_returns.estimate | Enter a contract's expected returns (refund liability and return asset) | Accounting | | revenue_disclosure.read | See the disclosures (remaining obligations, contract balances, disaggregation, waterfall) and export the audit pack | Manager, Accounting | | revenue_contract.read_document | Upload a signed contract for the contract reader and see what it read | Accounting |

A modification is approved under revenue_contract.approve, as an activation is. The assistant may read modifications (revenue.modifications) and draft one (revenue.draft_modification); it never submits, approves or terminates.

Nobody approves a contract they submitted, whatever the roles say. The assistant may read a contract's recognition (revenue.schedule) but never runs it or records progress.

Approval​

Activation is a workflow transition with approval. Settings → Approvals → Approver for revenue contract (activate) (workflow.revenue_contract.activate.approval_role) names the role that approves; it is Manager out of the box. Empty it to let contracts activate without a second person, or add a rule to the revenue_contract.activate.approval rule set to route by amount or source (the rule sees transaction_price, currency and source).

The SSP table​

Finance → SSP table. One row per item (or per code, for something that is not an item, such as SUPPORT-12M or INSTALL), per currency, from a date and optionally to one, optionally for one price list. Each row has its method — observable, adjusted market, expected cost plus a margin, or residual — and the evidence for it, which is required.

A contract looks each obligation up on its own date in its own currency. A row for the contract's price list wins over one for any list; between those, the latest to start wins. Deactivate a row rather than deleting it; contracts that used it keep a link to it.

Recommended: keep observable SSPs for everything you sell alone, and reserve residual for things whose price genuinely varies (software licences sold only in bundles).

Numbering​

Contracts are numbered RC-{fiscal year}-{sequence} (Settings → Numbering → Revenue contract), restarting each fiscal year.

The fiscal calendar​

A contract's date must fall in an open period when it is drafted, changed or activated, as every dated document's must.

How it works with other apps​

  • Receivables: contracts are made from posted invoices; a credit memo or a proforma never is.
  • Sales: contracts are made from confirmed orders where Sales is on. Off, the from a sales order choice is refused.
  • Multi-currency: a contract in a currency other than the company's needs it, as an invoice does.
  • Schedules (ledger/schedules): the even split of deferred revenue stays for invoice lines with no contract. A contract's obligations are recognised by schedules of their own (kind revenue recognition), which the Schedules screen does not list; the contract page and the Recognition run screen do.
  • Sales and Warehouse: a shipment against a contract's order is a delivery of its point-in-time obligations, heard through the event outbox. With Sales off, deliveries are recorded by hand.
  • Close: the checklist item Recognise the period's contract revenue (revenue_not_recognised) is red while revenue due in the period is not posted.

Recognition​

Account roles. Two balance-sheet roles, mapped on Finance → Account roles: Contract assets (contract_asset, starter account 1260) and Contract liabilities (contract_liability, 2470). A company created before this release gets them from Add the missing standard accounts; until they are mapped, a month that needs them waits with the reason, and the invoice of an active contract is refused. Revenue goes to Sales revenue for an obligation with an item and Other sales income for one without; write a posting rule for the event revenue.recognised to send it elsewhere. Billing moved out of revenue posts as revenue.contract_billed.

The job. revenue.recognition runs at 06:00 in the company's timezone, for the month that has just ended, and only where the app is on. A month in a closed period is not refused: the first open month after it catches it up.

Contracts in another currency (A8). A contract in another currency is recognised in its own currency and carried in the company's at historical rates:

WhatRate
Revenue recognisedThe rate in force on the recognition month's posting day (the reference exchange rates, spot)
An invoice or credit memo billed under the contractThe invoice's own rate, frozen on it
A balance relieved (the liability drawn down, the asset billed)The balance's carried average: what the books hold for it over what is held
The difference between the twoRealised exchange gain or loss (fx_realised_gain_loss, starter 4810), in the same journal

The contract asset is monetary — a right to consideration in the foreign currency — so the period-end currency revaluation restates it at the closing rate through Unrealised exchange gain or loss and reverses it on the first day of the next period, as it does an open invoice. The contract liability is not monetary (a promise to perform, not money owed) and is never restated. Both roles need no setting; the revaluation reads the contract asset role's mapped account.

A month with no rate on file for its posting day waits with the sentence naming the pair and the date; add the rate under Finance → Exchange rates and the next run posts it. A foreign contract that was already in force when this arrived keeps posting its invoices to revenue, and its page says so: make a new contract for what is still to come. Terminations and expected returns are refused for a contract in another currency for now; credit its invoices instead. The multi-currency switch is needed to make one, as for an invoice.

Usage through the API. POST /api/v1/revenue/obligations/{id}/usage and POST /api/v1/revenue/usage/import take counts with your own reference; a count sent again with the same reference is kept once. Issue the API client revenue_usage.record only.

Modifications, terminations and returns​

Approval. A modification is applied through the revenue_modification workflow's apply transition. Settings → Approvals → Approver for revenue contract modification (apply) (workflow.revenue_modification.apply.approval_role) is Manager out of the box; empty it to apply modifications on submission, or route by rule in the revenue_modification.apply.approval rule set (the rule sees treatment, catch_up and currency). Nobody approves a modification they submitted.

The setting. revenue.modification_ssp_tolerance_percent (Settings → Accounting → Modification SSP tolerance, default 5): how far the price of what a modification adds may be from its standalone selling prices and still be suggested as a separate contract (ASC 606-10-25-12). It only steers the suggestion; the person always chooses the treatment. Raise it if your contracts routinely add goods at a small, policy discount you treat as at SSP.

Account roles. Two more roles on Finance → Account roles: Refund liabilities (refund_liability, starter account 2475) and Return assets (return_asset, 1265). A company created before this release gets them from Add the missing standard accounts. An expected return with a cost also posts to Cost of goods sold (cost_of_goods_sold), mapped where inventory is kept. Two event types, for posting rules: revenue.contract_settled (a termination's settlement) and revenue.returns_estimated (a change of expected returns).

The settlement rule (no setting): on termination, revenue is recognised to the last day; a contract liability moves to the refund liability; a contract asset is billed (left to bill) or conceded (off revenue), the person's choice on the termination. Credit memos against a contract's invoice relieve its refund liability before anything else.

With the fiscal calendar. A modification's date, a termination's day and an estimate's date each pass the period lock. A modification takes effect only in a month nothing has been recognised in yet, once every month before it is.

Disclosures and the contract reader​

The setting. revenue.rpo_one_year_expedient (Settings → Accounting, label RPO: one-year practical expedient, default off). On, the remaining performance obligations leave out every contract whose original expected duration is a year or less (ASC 606-10-50-14(a)); the screen and the audit pack always state the amount and the number of contracts left out. It is a policy election: choose it once with your auditor and keep it. The screen can switch it for one look without changing the setting.

Permissions. revenue_disclosure.read (Manager, Accounting) opens the disclosures and the audit pack. Give it alone to an auditor's read-only login: it does not open each contract's working. Printing the PDF also needs document.print. revenue_contract.read_document (Accounting) uploads contracts for the reader; choosing a customer for one and confirming a draft also need revenue_contract.manage.

The contract reader is an accounting agent: switch it on and choose its owner in Settings → Accounting agents (The contract reader). It uses the model bound to Read documents in Settings → AI models; with no model, or the provider down, an uploaded contract waits as Waiting to be read and Read again retries. It acts with the Accounting role for its owner and only ever drafts. Every reading is logged as an AI task run with the prompt's key and version (contract_reader.read, version 1), and a reading that fails its checks appears in the agents' review queue under Failed checks.

The roll-forward reads the ledger. It uses the accounts mapped to the roles contract_asset, contract_liability and refund_liability (Finance → Account roles). A role with no account shows no account mapped. Anything posted to those accounts other than by the revenue app (a manual journal) shows as Other journals and makes the books disagree with the contracts; keep those accounts for contracts only.

The audit pack prints as the document Revenue audit pack (revenue_audit_packs), a file template in version 1, against the company, never issued. Its CSV files are plain numbers and ISO dates; text a person typed is protected against spreadsheet formulas.

Demo​

The product's own demo company has the app on, an SSP table and three contracts: one from a posted invoice waiting for approval, a bundle drafted by hand with a constrained volume rebate, and an annual support plan sold three months ago, active and recognised by day for each month that has ended, and upgraded this month by an approved prospective modification. Its disclosures read from those contracts, so the Revenue disclosures screen shows figures from the first visit; the contract reader has no demo document, since reading one needs a model. A client's company onboarded with demo content gets none.