Main conceptsContract pricing
Main concepts

Contracts & Pricing in Jules

How Jules structures commercial contracts and pricing models for recyclable commodity trading.

Contracts & Pricing in Jules

Product documentation — How Jules structures commercial contracts, quality streams, and pricing models that feed into operations.


Table of Contents

  1. Overview
  2. Contract Types
  3. Contract Lifecycle
  4. Quality Streams
  5. Pricing Models
  6. Equipment & Services
  7. Financial KPIs
  8. From Contract to Operation
  9. Key Business Rules
  10. Glossary

Overview

A contract in Jules represents a commercial agreement with a counterparty (supplier or customer). It defines the terms under which trading will occur: what materials, at what price, for what period, and under which logistics conditions.

Contracts serve two purposes:

  1. Record keeping — documenting the agreed terms with a counterparty
  2. Prefilling — when creating operations, contract terms are automatically applied to save time and ensure consistency

What makes a contract?

DimensionDescription
DirectionPurchase (BUY) or Sale (SELL)
CompanyThe counterparty (supplier or customer)
SiteThe physical location involved
Market typeExport or Local
Contract typeTrading, WM Spot, or WM Recurring
PeriodStart date and end date
StreamsOne or more quality lines with pricing

Contract Types

TypeCodeDescription
TradingTRADINGStandard commodity trading contract
WM SpotWM_SPOTWaste Management — one-off spot deal
WM RecurringWM_RECURRINGWaste Management — recurring arrangement

Offer Type

Contracts can also be classified by offer type:

Offer TypeDescription
SpotOne-time deal at current market conditions
RecurringOngoing arrangement with regular shipments

Contract Lifecycle

Contracts follow a four-status lifecycle similar to operations:

StatusMeaning
IN_PROGRESSContract is being negotiated or drafted
CONFIRMEDTerms are agreed and locked
CLOSEDContract has been fully executed
CANCELLEDContract was abandoned

Key actions

  • Duplicate — Create a copy of an existing contract (useful for renewals with minor changes)
  • Share — Send the contract to the counterparty via email or portal
  • Generate Offer PDF — Produce a formatted PDF of the contract terms

Quality Streams

A contract contains one or more streams (quality lines), each defining the commercial terms for a specific material grade.

What's in a stream?

FieldDescription
QualityThe material grade (e.g., HMS 1&2, OCC, LDPE Film)
QuantityContracted volume (in tonnes or other units)
Cost / PriceThe agreed price per unit
Price typeSPOT (fixed), INDEX (formula-based), or TREATMENT
IncotermCommercial delivery terms (FOB, CFR, CIF, EXW, etc.)
MQCMinimum Quality Commitment per container
EquipmentContainer type (e.g., 40' HC)
Payment termsPayment conditions
Tolerance rateAllowed quantity deviation (e.g., +/- 5%)
Estimated logistic costExpected transportation cost
Temporary priceFlag indicating the price may change

Pricing Models

Jules contracts support three pricing models at the stream level:

1. Spot Price (Fixed)

A fixed price agreed upfront.

Price = 320 USD / T

2. Index Price (Formula-based)

Price derived from a market reference index.

Price = Index Value + adjustments

The index reference and formula details are specified on the stream, then carried forward to operations when they are created from the contract.

3. Treatment Price

Used in waste management contracts where the pricing reflects a treatment fee rather than a commodity price.

Treatment fee = X EUR / T for processing material Y

Equipment & Services

Beyond quality streams, contracts can include:

Equipment

Defined via ContractToEquipment, specifying:

  • Equipment type (e.g., container type)
  • Equipment position
  • Equipment price
  • Quantity and modalities

Services

Defined via ContractToService, covering additional services like:

  • Inspection
  • Sorting
  • Custom processing

Each has its own pricing, modalities, and terms.


Financial KPIs

For WM (Waste Management) contracts, Jules calculates financial KPIs that summarize the contract's performance over a given period:

KPIDescription
TurnoverTotal revenue generated
Operation MarginMargin on core operations
Transport MarginMargin on transport services
Equipment MarginMargin on equipment services
Service MarginMargin on additional services
Recycling MarginMargin on recycling activities
Treatment MarginMargin on treatment activities
Recycled TonsVolume of recycled material
Tons TreatedVolume of material treated
Truck TurnsNumber of truck rotations

These KPIs can be filtered by date range for period-specific analysis.


From Contract to Operation

When creating an operation, Jules can prefill fields from a contract:

The prefill mechanism copies:

  • Company and site
  • Quality streams (become operation qualities)
  • Pricing (spot, index, or treatment)
  • Incoterm and payment terms
  • Equipment and logistic material
  • MQC and tolerance rates

Note: Contract prefill also works at the company and site level (CompanyToContractPrefill, SiteToContractPrefill), allowing default contract terms to be configured per trading partner or location.


Key Business Rules

1. Contract numbering

Contracts do not have an auto-generated Harold number. They use a reference number that can be manually set by the user.

2. Multi-stream contracts

A single contract can contain multiple quality streams, each with its own pricing and terms. This is common when a counterparty supplies or buys several material grades.

3. Bills (WM contracts)

For Waste Management contracts, bills track the actual costs incurred against each stream. A bill records:

  • The billed amount vs. the cost amount
  • The quantity processed
  • Which stream element it relates to (quality, equipment, service, treatment)

Bills can be created individually or in bulk, and cancelled when needed.

4. ERP synchronization

Contracts support push sync with external ERP systems, allowing contract data to be synchronized bidirectionally.

5. Sharing

Contracts can be shared with counterparties via email templates, with the last shared date tracked on the contract.


Glossary

TermDefinition
BillA cost record tracking actual amounts billed against a WM contract stream
ContractA commercial agreement defining trading terms with a counterparty
EquipmentContainer type and configuration associated with a contract
Financial KPIsPerformance metrics calculated for WM contracts (margins, volumes)
Index priceA price derived from a market reference (LME, Platts, etc.)
MQCMinimum Quality Commitment — the minimum weight per container
PrefillAutomatic population of operation fields from contract terms
ServiceAn additional service (inspection, sorting) included in a contract
Spot priceA fixed price agreed at the time of the deal
StreamA quality line within a contract, carrying its own commercial terms
Treatment priceA fee for processing/treating material (common in waste management)
Tolerance rateAllowed percentage deviation from contracted quantity