Skip to main content

Order to cash · step 2 of 9

Opportunity

An opportunity is a specific potential sale that a business pursues with a known lead or customer, with an expected value, a sales stage and a probability of closing.

Why it exists: Because each potential sale has to be tracked separately from the buyer, so that the expected value, the stage and the chance of winning can be added up across all open deals.

See it live

Where it sits

  1. Lead

    comes from

  2. OpportunityThis document

  3. Quotation

    becomes

Order to cash: Lead → Opportunity → Quotation → Sales Order → Delivery Note → Invoice → Payment → Return → Credit Note

How an opportunity moves through its life

Six states. Pick one to see what an opportunity is, and what it can still become.

Being pursued. No quotation is active yet.

Then: Replied

Opportunity1 of 6
OpportunityOpen

Being pursued. No quotation is active yet.

Then: Replied

The buyer has answered. ERPNext closes it automatically if nothing changes for the CRM setting period.

Then: Quotation

Opportunity2 of 6
OpportunityReplied

The buyer has answered. ERPNext closes it automatically if nothing changes for the CRM setting period.

Then: Quotation

Set by the system while an active quotation exists against the opportunity.

Then: Converted

Opportunity3 of 6
OpportunityQuotation

Set by the system while an active quotation exists against the opportunity.

Then: Converted

Set by the system once a quotation from the opportunity has an order.

Then: Lost

Opportunity4 of 6
OpportunityConverted

Set by the system once a quotation from the opportunity has an order.

Then: Lost

Declared lost, with a reason. Blocked while an active quotation exists.

Then: Closed

Opportunity5 of 6
OpportunityLost

Declared lost, with a reason. Blocked while an active quotation exists.

Then: Closed

Closed by the auto-close job after Replied, when nothing has changed for the CRM setting period.

Ends here

Opportunity6 of 6
OpportunityClosed

Closed by the auto-close job after Replied, when nothing has changed for the CRM setting period.

Ends here

Rules that must hold, and what breaks them

Rules

  • An opportunity names its party: opportunity_from (a lead or a customer) and the party itself are both required.
  • An opportunity cannot be declared lost while an active quotation exists against it.
  • A replied opportunity closes on its own when nothing changes for the CRM setting period, which is fifteen days by default.

Does this happen in your business?

Tick what you recognise. Each tick shows what it costs.

Mistakes people make with opportunities

Tick any that happen here.

In ERPNext, and in your system

How ERPNext models it

DocTypeWhat it does here
Opportunityopportunity_from and party_name are required. Status Lost is blocked while an active quotation exists.
QuotationCarries the opportunity link back. A lost quotation sets the opportunity to Lost.
CRM Settingsclose_opportunity_after_days, default 15. A Replied opportunity closes on its own after this many days.

What other systems call it

SystemNameNote
ERPNextOpportunityDocType Opportunity. Docs updated 2026-07-23; source opportunity.json and opportunity.py at v16.50.0.
Tally—not verified: TallyPrime's help has no opportunity or pipeline record. The nearest voucher is a sales order.
Zoho Books—not verified: Zoho Books' help has no deal or opportunity page. Deals sit in Zoho CRM.
SAP Business OneOpportunitySAP Learning course on the Opportunity window (potential deals with a customer or lead). SAP's 9.0 Dutch help confirms the window; the 10.0 help page was not located on 2026-10-14.
OdooOpportunityA lead is converted into an opportunity. Opportunities also come straight from the pipeline (Odoo 18.0 docs).

From each maker's own documentation, checked 13 October 2026. A dash: not confirmed.

Where an opportunity connects

More terms it connects to

Each one opens that term.

Questions about opportunities

The one most people ask is answered first. Type to find the rest.

What does an opportunity mean for the business?

The opportunity is the pipeline. It is where a forecast starts, before any quotation exists, so the amount, the expected closing date and the probability decide what the sales team expects this month. When those fields are guessed, the forecast is a guess too. A lost reason recorded at the moment of loss is what shows which product, price or competitor loses the most deals.

Reviewed 14 October 2026. All 40 documents: the ERP glossary.

Start with one conversation

One message, call or WhatsApp is enough. Every line reaches the team directly.

Team away now