Construction and design ·
Unit price analysis (UPA) budgets and surcharges and discounts as in BIM 2.0
In many countries construction budgets are built by unit price analysis (UPA): every item has its own sheet with materials, equipment and labor, and its price already carries overhead and profit. Elsewhere jobs are priced at direct cost and surcharges are added at the end. ERPSqlite does both on the same tree of chapters and items, and does it the same way as BIM 2.0 in Odoo: we checked it by importing 20 real jobs (10 UPA and 10 standard) and comparing every amount and every report.

Standard or UPA
Under “Computation” you choose the “Budget type”. Standard is the usual one: each item adds up its resources and the surcharges and discounts are applied once, on the total. In a UPA budget each item carries its own surcharges and discounts:
- Materials: quantity × price, plus waste (%).
- Equipment: quantity × depreciation or rental × price, divided by the item's productivity (units per day).
- Labor: crew × daily wage, plus social benefits (%) and each worker's bonus, divided by productivity.
- Direct cost + overhead (%) = subtotal; + profit (%) = unit price.
Surcharges and discounts with templates
Surcharges and discounts are lines with a value (%) worked out on the lines they affect: overhead on the direct cost, profit on the subtotal, permits on the net. The materials, labor, equipment and subcontract totals and the direct cost come from the budget; the line marked as main is the total. A line can take the total of another budget (the job's general costs, for example).
Lines are loaded from a template, and a budget's lines can be saved as a new template. Definitions use the same codes as BIM 2.0, so an imported template is recognised.

The BIM 2.0 reports
“Print” opens the same dialog as BIM 2.0, with the reports for the budget type:
- Standard: Summary, Detailed and All (by chapter, item or resource, with notes and measurements), Schedule, Comparison (budget against work done in the daily reports) and Earned value analysis by stage.
- UPA: UPA standard format, one sheet per item with its materials, equipment, labor and the subtotal cascade, and Budget standard format, with each chapter's total, the running total and the grand total.

The calculation, step by step
Two examples from the “Standard Costing” and “UPA Costing” dossiers, with the figures the app gives:
- Standard, concrete footing per m³: materials with waste 212.54 + equipment 4.25 + labor 70.20 (1.3 h of skilled worker and 2 h of laborer) = 286.99. The whole warehouse, 27,100.56 of direct cost; + 15% overhead + 10% profit = 34,282.20.
- UPA, block wall per m², with an output of 25 m² a day: 2 bricklayers and 2 helpers earn 210.00 a day; + 250% social benefits + 4 bonuses of 2.50 = 745.00 ÷ 25 = 29.80. With materials 14.01 and equipment 0.48, the direct cost is 44.29; + 15% and + 10%, 56.03 per m².
- The UPA item price is rounded once, at the end, as in BIM 2.0: it may differ by a cent from the sum of its rounded lines.

Importing and uploading BIM 2.0 jobs
With “Import from BIM 2.0 (Odoo)” you enter the address, database, user and password, and pick the budgets with “Search in Odoo” or by their code. The tree, measurements, calculation type, surcharges and discounts with what they apply to, stages and the auxiliary budgets of the lines that use them all come across.
And the other way: “Export” ▸ “Upload to BIM 2.0 (Odoo)” creates the budget in Odoo and has it calculate its amounts. We cover it in the article on uploading and downloading Odoo budgets.

How we checked it
We imported 20 jobs from a real BIM 2.0 and compared, for each one, the price and amount of every item and resource, the analysis of every UPA item, every surcharge and discount line, the totals by type and the grand total, within half a cent. Then we compared the text of every report, in order, with the HTML of the Odoo report: the 2 UPA reports for the 10 UPA jobs and 13 variants for the 10 standard ones. They all match; the tests stay in the app and run with every version.

What it does not do
BIM 2.0's “Apu HH” type is imported as UPA. The comparison takes work done from the daily reports (quantity × price), not from Odoo's staff, tool and stock-out records. In the earned value analysis, as in BIM 2.0, the stage table and the indicators at the top come out empty and at zero; the per-stage projection is calculated. Some older BIM 2.0 jobs store amounts from before their last recalculation: the app recalculates them with today's rules.
Frequently asked questions
Do my existing budgets change?
No. They stay standard and give the same result; the new options (waste, depreciation, crews) start switched off.
Where do each UPA item's overhead and profit percentages come from?
From the template lines with the overhead and profit roles; each item can use its own.
Do I need Odoo to use it?
No. Odoo is only needed to import BIM 2.0 jobs; the calculation, templates and reports work without it.