A maintenance company signed an attractive annual contract with a mall. Six months later technicians were visiting twice as often as agreed, spare parts were absorbed because nobody checked what the contract covered, and two urgent tickets missed their agreed response time. A contract that looked profitable was losing money every month.
In maintenance services, the contract is the product. Beyond the single work order, this article covers contract and SLA management and profitability per contract.
Contract types
| Type | Covers | System must track |
|---|---|---|
| Preventive | Scheduled visits | Schedule, execution, reports |
| Comprehensive | Preventive, breakdowns, parts | Parts and labour vs contract value |
| Labour only | Visits and repairs | Parts billed separately |
| Visit bank | Fixed visits or hours | Consumed and remaining |
| SLA | Binding response and resolution times | Actual vs agreed |
SLAs: promises that must be measured
An SLA defines response time, resolution time and working hours for each priority. ERPNext supports Service Level Agreements on tickets with priorities, response and resolution times and working hours, showing each ticket's deadline and whether it was met. Times should be written per contract; any figures you quote to customers must come from what you can deliver.
Contract lifecycle
- Quote from equipment survey and expected visits and parts.
- Contract with type, term, value, billing, SLA and covered serial numbers.
- Preventive schedule generated per asset.
- Every visit and ticket is a work order linked to the contract.
- Periodic billing plus out-of-scope work.
- Monthly profitability and SLA review.
- Renewal repriced on actual cost.
Profitability per contract
| Item | Source |
|---|---|
| Revenue | Contract and extra invoices |
| Labour | Technician timesheets |
| Parts | Stock issued to work orders |
| Travel | Linked expenses |
| Subcontract | Supplier invoices on the contract |
With the contract as a cost centre or project, everything is charged automatically and contracts can be ranked from most to least profitable.
Covered equipment and the customer view
Linking tickets and visits to serial numbers stops unbilled work on uncovered assets, reveals failure-prone equipment (see recurring failures) and builds asset history. A customer portal or Frappe Helpdesk lets customers log tickets, see priority and SLA deadlines and follow them; see ticket vs request vs work order.
Pricing contracts from data
| Component | Estimate |
|---|---|
| Preventive visits | Visits × hours × technician cost |
| Breakdowns | Average tickets for this equipment from past contracts |
| Parts | Consumption rate per asset in comprehensive contracts |
| Travel | Distance and visits |
| SLA risk | Cost of readiness for critical times |
After a year of work orders, parts and hours on contracts, pricing rests on your own experience, so you can compete confidently or decline contracts that do not cover cost.
Scheduling technicians
Group visits by area, reserve capacity for SLA-critical tickets and assign by qualification. Technicians see their schedule on mobile and record start, finish and parts on site.
Periodic customer reports
Visits done, tickets and SLA times vs agreed, and equipment needing attention turn the contract into a visible service and a renewal tool.
KPIs and common mistakes
- SLA compliance per contract.
- Preventive visits on time.
- Margin per contract, type and customer.
- Parts cost vs comprehensive contract value.
- Most failure-prone assets.
- Renewal rate.
Avoid pricing comprehensive contracts without failure data, accepting SLAs you cannot measure, doing out-of-scope work without a billable order, and renewing at the same price without reviewing last year's cost.
Frequently asked questions
Preventive vs comprehensive contract?
Comprehensive adds breakdowns and parts, so cost tracking matters more.
Does ERPNext support SLAs?
Yes, with priorities, response and resolution times and working hours.
How do I see profitability per contract?
Charge labour, parts, travel and subcontract to the contract and compare with billed revenue.
Can out-of-scope work be billed?
Yes, through a separate work order.





