Skip to content

Dataset

Salesforce CPQ quote record datasets for AI training

A Salesforce CPQ dataset is a collection of the quoting records one company's org holds in the CPQ managed package: SBQQ__Quote__c quotes, SBQQ__QuoteLine__c lines with the price at each step from list to net, bundles and product options, discount schedules, approvals, and the Contract and SBQQ__Subscription__c records that amendments and renewals were quoted against. SourceX sources it to a buyer's spec from established businesses that run the package. Each dataset is de-identified and licensed for an agreed permitted use.

Dataset manifest

Sourced to your spec
What it is
One org's CPQ package records: quotes, quote lines with every price level, bundles, discount schedules, approvals, and the contracts and subscriptions behind amendments and renewals
Typical systems
Salesforce CPQ (the SBQQ managed package, formerly Steelbrick) on Sales Cloud, with Advanced Approvals (sbaa) or standard approval processes; Salesforce Billing records only on request
Typical history
Specified by the buyer; bounded by when the package was installed, and rule and product definitions are current-state unless the org kept dated copies
Modality
Structured package records joined by record ID; generated quote documents as PDF; short text in approval comments and quote notes
Delivery formats
Agreed per order; one CSV or JSONL file per object with describe metadata, or JSON records rooted on the quote; quote documents as files
Preparation
Accounts, contacts, reps and approvers re-keyed; names removed from comments, notes and documents; prices kept or banded as the supplier's contracts allow
Licensing
Rights reviewed against confidentiality terms in the supplier's customer contracts; permitted use set in the license
Availability
Sourced to your spec by product type, deal size and depth of contract history; supply is not guaranteed
Structured recordsIllustrative

What a delivery contains

Fields vary by source system and are fixed per order. A typical delivery includes:

FieldTypeWhat it holds
quote_keystringRe-keyed SBQQ__Quote__c Id. Lines, groups, documents and approvals all carry it.
quoteobjectSBQQ__Quote__c: SBQQ__Type__c (Quote, Amendment or Renewal), SBQQ__Status__c, SBQQ__Primary__c, SBQQ__StartDate__c, SBQQ__SubscriptionTerm__c and SBQQ__NetAmount__c.
opportunity_keystringSBQQ__Opportunity2__c, the Opportunity the quote belongs to, as a key that matches a Sales Cloud delivery.
source_quote_keystringSBQQ__Source__c, the quote this one was cloned from, where the clone filled it. It is how revisions are chained.
line_groupsarraySBQQ__QuoteLineGroup__c rows where the quote is split into phases or options: name, order and net total.
linesarraySBQQ__QuoteLine__c rows: Product2 ProductCode, SBQQ__Quantity__c, SBQQ__PriorQuantity__c, SBQQ__PricingMethod__c and SBQQ__Number__c.
lines[].price_waterfallobjectFrom each quote line: SBQQ__ListPrice__c, SBQQ__SpecialPrice__c, SBQQ__ProratedListPrice__c, SBQQ__RegularPrice__c, SBQQ__CustomerPrice__c, SBQQ__PartnerPrice__c, SBQQ__NetPrice__c and SBQQ__ProrateMultiplier__c.
lines[].discountsobjectThe rep's SBQQ__Discount__c or SBQQ__AdditionalDiscountAmount__c, the SBQQ__DiscountSchedule__c and tier applied, and partner and distributor discounts.
lines[].bundleobjectSBQQ__RequiredBy__c parent line, SBQQ__ProductOption__c and SBQQ__OptionLevel__c, which place a line inside its bundle.
approvalsarraysbaa__Approval__c rows with rule, step, sbaa__Status__c, approver key and comments, or ProcessInstanceStep rows under standard approvals.
documentsarraySBQQ__QuoteDocument__c rows: quote template, version, created time and the generated file, usually a PDF.
contractobjectThe Contract created from the quote or, for an amendment or renewal, the one quoted against: StartDate, EndDate and ContractTerm.
subscriptionsarraySBQQ__Subscription__c rows on that Contract: product, quantity, net price, start date, SBQQ__QuoteLine__c and SBQQ__RevisedSubscription__c.
definitions_refstringPointer to the delivered SBQQ__PriceRule__c, SBQQ__DiscountSchedule__c and SBQQ__ProductOption__c tables as they stood at export.
Sample recordIllustrative

Field names from the table above; values are masked placeholders.

Example record

{
  "quote_key": "a0q_7731",
  "quote": {
    "SBQQ__Type__c": "Amendment",
    "SBQQ__Status__c": "Approved",
    "SBQQ__Primary__c": true,
    "SBQQ__StartDate__c": "2025-03-01",
    "SBQQ__SubscriptionTerm__c": 6,
    "SBQQ__NetAmount__c": 3645.0
  },
  "opportunity_key": "006_o2218",
  "source_quote_key": null,
  "line_groups": [],
  "lines": [
    {
      "SBQQ__Number__c": 1,
      "ProductCode": "WMS-CORE-USER",
      "SBQQ__Quantity__c": 75,
      "SBQQ__PriorQuantity__c": 60,
      "SBQQ__PricingMethod__c": "List",
      "price_waterfall": {
        "SBQQ__ListPrice__c": 600.0,
        "SBQQ__SpecialPrice__c": 600.0,
        "SBQQ__ProrateMultiplier__c": 0.5,
        "SBQQ__ProratedListPrice__c": 300.0,
        "SBQQ__RegularPrice__c": 270.0,
        "SBQQ__CustomerPrice__c": 243.0,
        "SBQQ__PartnerPrice__c": 243.0,
        "SBQQ__NetPrice__c": 243.0
      },
      "discounts": {
        "SBQQ__Discount__c": 10,
        "discount_schedule": "User volume",
        "tier_discount_pct": 10
      },
      "bundle": {
        "SBQQ__RequiredBy__c": null
      }
    }
  ],
  "approvals": [
    {
      "rule": "Rep discount above 5 percent",
      "step": 1,
      "sbaa__Status__c": "Approved",
      "approver_key": "u_044",
      "comments": "Same discount as the original order."
    }
  ],
  "documents": [
    {
      "template": "Amendment order form",
      "version": 1,
      "file": "a0q_7731/order_form_v1.pdf"
    }
  ],
  "contract": {
    "contract_key": "800_c0457",
    "StartDate": "2024-09-01",
    "EndDate": "2025-08-31",
    "ContractTerm": 12
  },
  "subscriptions": [
    {
      "subscription_key": "a1s_3301",
      "ProductCode": "WMS-CORE-USER",
      "SBQQ__Quantity__c": 60,
      "SBQQ__NetPrice__c": 486.0,
      "SBQQ__StartDate__c": "2024-09-01",
      "SBQQ__RevisedSubscription__c": null
    },
    {
      "subscription_key": "a1s_3390",
      "ProductCode": "WMS-CORE-USER",
      "SBQQ__Quantity__c": 15,
      "SBQQ__NetPrice__c": 243.0,
      "SBQQ__StartDate__c": "2025-03-01",
      "SBQQ__RevisedSubscription__c": "a1s_3301"
    }
  ],
  "definitions_ref": "definitions/at_export/"
}

Synthetic record for illustration. Field names, structure and format are agreed per order.

What AI teams use it for

Discount decomposition

Separate price columns let a model learn policy discounts, rep concessions and channel terms as different quantities.

Quote configuration agents

Bundle lines with their product options show which components reps selected under each parent product.

Approval prediction

Lines whose discretionary discount crossed a threshold sit beside the approval record, its decision and its comment.

Renewal and expansion modeling

Contract chains show which customers added quantity mid-term, at what price, and what the renewal quote did next.

Pricing agent evaluation

Give an agent the product, quantity, term and rules, hold out the net price, and score it against the stored waterfall.

Use-case guides: Sales agents, Finance and accounting agents, Enterprise and computer-use agents, Private evaluation sets

What makes this data valuable

Full waterfall populated

List, special, regular, customer, partner and net price are filled on every line.

Steps reproduce

Recomputed prices match the stored ones on most sampled lines.

Contracted inside CPQ

Won quotes link to Contract and SBQQ__Subscription__c records.

Amendment depth

Many contracts carry several amendment and renewal quotes.

Approval detail

Approval records name the rule, step, approver role and comment.

Non-primary quotes kept

Abandoned and superseded quotes remain beside the primary one.

License terms

Salesforce CPQ dataset

This page covers salesforce CPQ quote records.Illustrative

Each quote line stores the whole price waterfall

A core Salesforce opportunity keeps one Amount, and an opportunity product keeps a unit price and a discount. A CPQ quote line keeps every intermediate price the calculator produced. SBQQ__ListPrice__c starts as the price book price. SBQQ__SpecialPrice__c replaces it where a contracted price or an option discount applies. SBQQ__RegularPrice__c is the result after the discount schedule, the volume or term tiers the company set. SBQQ__CustomerPrice__c is what remains after the rep's own discretionary discount, SBQQ__PartnerPrice__c after the partner discount, and SBQQ__NetPrice__c after the distributor discount. Subscription lines also carry a prorate multiplier for the term.

Each gap has a different author. The step from list to regular is company policy, applied by rule. The step from regular to customer is the one a rep typed and an approver may have had to sign off. The partner and distributor steps are channel terms. A model reading net price alone cannot tell a volume tier from a negotiated concession. Here they sit in separate columns of one row, so the discretionary part of every discount can be isolated and joined to the approval it triggered.

Three checks decide whether the columns can be trusted. Recompute each step on a sample. Where a price does not follow from the fields before it, the usual cause is a price rule or a custom calculator script that wrote the value directly. Check bundle lines, since a component can be priced as a percent of other lines or sold at a bundled price, and SBQQ__RequiredBy__c says which line is its parent. And ask whether the org used quote line groups or multi-year segments, which multiply the lines per product.

What the contract chain keeps and what the rules do not log

In its standard behavior CPQ does not edit a contracted deal. When a won quote is contracted, each subscription line becomes an SBQQ__Subscription__c record under a Contract. A mid-term change is a new quote with SBQQ__Type__c set to Amendment, opened against that Contract, whose lines show SBQQ__PriorQuantity__c beside the new quantity and are priced for the remaining term only. Contracting it adds subscription records for the difference, linked back through SBQQ__RevisedSubscription__c, and leaves the originals as they were. A renewal is another quote, typed Renewal, whose lines point at the subscriptions they renew, and contracting it usually starts a new Contract. Read in order, the chain is a ledger of how one customer's products, quantities and prices changed.

What the export does not hold is the pricing engine's reasoning. Price rules, product rules and discount schedules exist as records, and the calculator applies them each time a quote is saved, but it writes only the resulting field values. No table lists which rule fired on which line. The rule records are also the current definitions. An admin who changed a tier or a condition last year overwrote the old one, so older quotes were priced under rules the export may no longer contain. Quotes are edited in place and revised by cloning, so earlier drafts survive only as separate quotes, linked by SBQQ__Source__c where the clone filled it, or as field history where the org tracked it.

To test a sample, sum subscription quantities per product across a contract and compare them with the latest amendment quote. Check that every Amendment and Renewal quote resolves to a Contract in the delivery. Confirm which approval mechanism the org ran. Advanced Approvals stores sbaa__Approval__c records with rule, step and comments, while a standard approval process stores ProcessInstance steps with a decision and comment but no pricing rule. Then recompute some old lines from the delivered rules and count how many still reproduce.

What to check before licensing

  • Check that customer names and negotiated prices are free of confidentiality terms in the supplier's customer contracts that bar licensing, or agree price banding.
  • Have the buyer and the org owner each read what the Salesforce agreement and the CPQ package terms say about API extraction and use of exported data.
  • Ask whether approvals ran through the Advanced Approvals package or standard approval processes, and confirm the matching objects are in the delivery.
  • Ask whether the supplier still quotes in this package or has moved to a newer Salesforce revenue product, and on what date its CPQ records stop.
  • On a sample, recompute list to net on each line and count the lines where a price rule or custom script overrode a step.
  • Ask whether price rules, discount schedules and product options are delivered as current definitions only or with dated changes.
  • Check that every Amendment and Renewal quote resolves to its Contract and subscriptions, and that non-primary quotes were kept.

Delivery No files move before a signed license. A listing or a request grants no files by itself.

How licensing works through SourceX

  1. 1

    Define

    Send the domain, modality, volume, format, timeline and permitted use you need.

  2. 2

    Source

    SourceX identifies businesses that hold matching data and are open to licensing it.

  3. 3

    Qualify

    Fit, rights and quality are checked, and you review samples before committing.

  4. 4

    License

    Scope, permitted use, exclusivity, price and obligations are agreed in writing.

  5. 5

    Deliver

    Approved data is prepared, de-identified where required and transferred securely.

Questions Acquisition Partners ask

What does a CPQ quote line hold that an opportunity product does not?

It holds the price at every step, not one figure. Each SBQQ__QuoteLine__c row stores list, special, regular, customer, partner and net price, the discount schedule applied, the rep's own discount, the prorate multiplier and its place in a bundle. The opportunity product that CPQ syncs from the primary quote keeps only the end result, so a Sales Cloud export alone cannot separate a volume tier from a negotiated discount.

Does the data show why a price rule fired?

No. Salesforce CPQ stores price rules, conditions and actions as records, and stores the values they produced on the quote and its lines, but keeps no per-quote log of which rules ran. You can often reconstruct it by replaying the delivered rules against a line. That works only while the rules are unchanged, so ask whether the supplier kept dated copies or field history on its rule objects.

How are quote revisions represented?

As separate quotes, not as versions of one record. A rep edits a quote in place or clones it, and an opportunity can hold several quotes with one marked primary. SBQQ__Source__c is meant to point at the quote a clone came from, so check on a sample that it is filled. Edits made without cloning are visible only where the org tracked field history on the quote objects, so check what share of opportunities carry more than one quote.

Can amendments and renewals be followed across a contract?

Yes, where the supplier contracted its quotes inside CPQ. Each amendment and renewal is its own quote opened against a Contract. Amendments add subscription records under that Contract, linked to the quote lines that created them and the subscriptions they revise. A renewal quote's lines point at the subscriptions being renewed, and its own Contract usually follows. Some orgs quote in CPQ and manage renewals elsewhere, so ask what share of won quotes have a Contract.

Are the generated quote PDFs included?

They can be, by agreement. Each generated document is logged as an SBQQ__QuoteDocument__c record with its template and version, and the generated file is stored in the org as a document or attachment. Documents repeat customer names, addresses and signatory details in a layout that is harder to redact than rows, so consider specifying the structured records with a sample of documents.

Is SourceX affiliated with Salesforce?

Salesforce CPQ is named to identify the system the records come from. That does not imply a partnership with or endorsement by Salesforce. The records belong to the business that runs Salesforce CPQ, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.

  • Sales quotes and deal desk approvals

    Quote versions with line items and prices, discount requests, justifications and approver decisions, through to the signed or abandoned quote

  • Salesforce CRM records

    One Sales Cloud org's Lead, Account, Contact and Opportunity records with their products, activities, campaign membership and the change history the org kept

  • DealHub quote and deal room records

    A DealHub account's quotes by opportunity, each with its playbook answers, line items, approval steps, generated document and DealRoom events

  • Pricing and packaging histories

    One company's price and plan changes over time, each with its proposal, rollout rules, customer notice and measured result

  • Zuora subscription order and invoice records

    One Zuora tenant's accounts, versioned subscriptions and charges, orders or amendments, usage, invoices, payments and credit records

Evaluating this data for procurement?

Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.

Request dataset diligence

Tell us what your models need

Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.

Updated 26 November 2026.

See if your company qualifies