Construction Quantity Reconciliation
Pricing
$2.00 / 1,000 examined quantity comparison lines
Construction Quantity Reconciliation
Compare CSV/XLSX construction quantity lists with exact item mappings, compatible unit conversions, revision and gross/net scope checks, unmatched items and original-row evidence. No CAD/BIM account required.
Pricing
$2.00 / 1,000 examined quantity comparison lines
Rating
0.0
(0)
Developer
AFK Digital
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
8 days ago
Last modified
Categories
Features
Share
Compare two exported construction quantity lists and inspect quantity differences, unmatched items, and review candidates with source-row evidence. Supports CSV and XLSX. No CAD/BIM account, model upload, external AI service, or construction-platform subscription is required.
What it does
- Matches explicit item IDs and customer-supplied aliases.
- Aggregates split rows only within the same item, work package, revision scope, gross/net basis, waste basis, normalized unit, and additional aggregation keys.
- Applies only your supplied positive, dimensionally compatible conversions.
- Separates missing items from recorded zero quantities.
- Preserves every contributing original row, filename, worksheet and row number.
- Flags revision, quantity-basis, waste-basis and unit mismatches for review without a misleading delta.
- Suggests similar descriptions for human review. Description similarity NEVER establishes an exact match.
Quick start
Run the prefilled demo. It contains a unit conversion, split floor-area rows, a zero baseline, missing/new items, a changed revision, gross/net mismatch, different work packages and a description-only candidate.
For your own data, provide two file descriptors:
{"baselineQuantitiesFile": {"fileName": "baseline.csv","content": "item_id,quantity,unit,location_or_work_package,revision_scope,quantity_basis,waste_basis\nW01,10,m,Level 1,Issued scope,net,excluded\n"},"comparisonQuantitiesFile": {"fileName": "comparison.csv","content": "item_id,quantity,unit,location_or_work_package,revision_scope,quantity_basis,waste_basis\nW01,12,m,Level 1,Issued scope,net,excluded\n"},"maxLines": 10000}
XLSX: use {"fileName":"quantities.xlsx","base64":"BASE64_BYTES","sheet":"Sheet1"}. For a publicly accessible HTTPS file use {"fileName":"quantities.xlsx","url":"https://..."}. Do not provide local server paths. URL downloads reject private networks and validate each redirect. Authentication headers are not accepted. The caller is responsible for permission to process supplied files.
CSV is UTF-8 (optional BOM), comma-delimited, with a unique nonblank header row. XLSX reads the first worksheet unless sheet is supplied. Hidden rows are included. Other worksheets are not processed; consolidate or select the intended sheet. Formulas on the selected sheet must be exported as values. Macros and external relationships are rejected throughout the workbook.
Input options
| Input | Meaning |
|---|---|
| baselineQuantitiesFile | Required baseline CSV/XLSX descriptor |
| comparisonQuantitiesFile | Required comparison descriptor |
| columnMapping | Canonical field to source header, common or nested under baseline/comparison |
| itemMapping | Alias ID to canonical ID; applied to both lists |
| unitConversions | Array of fromUnit, toUnit, factor |
| quantityTolerance | Nonnegative decimal strings absolute and percentage |
| aggregationKeys | Additional mapped/raw column names that must remain separate |
| maxLines | Combined nonblank input rows, 1–100000, default 10000; excess rejects the run |
Canonical fields: item_id, quantity, unit, description, location_or_work_package, revision_scope, quantity_basis, waste_basis. Quantity and unit are required on every data row. Missing item IDs produce separate unmatched rows/candidates. Never infer an identity from description alone.
Example mappings:
{"columnMapping": {"baseline": {"item_id":"BOQ Code","quantity":"Net Qty","unit":"UOM","location_or_work_package":"Zone"},"comparison": {"item_id":"Item","quantity":"Measured Qty","unit":"Unit","location_or_work_package":"Package"}},"itemMapping": {"NEW-W01":"W01"},"unitConversions": [{"fromUnit":"cm","toUnit":"m","factor":"0.01"}],"quantityTolerance": {"absolute":"0.001","percentage":"0.5"},"aggregationKeys": ["trade"]}
IDs and scope labels are case-sensitive and whitespace-trimmed. Mapping chains/cycles are rejected. Do not use aliases to combine semantically different items. Protected grouping dimensions cannot be removed with aggregationKeys. Scope labels describe comparable scope, not necessarily document revision numbers: if two document revisions represent the same measurement scope, supply the same explicit scope label; otherwise keep them distinct.
Undeclared scope fields are exposed in undeclared_scope_fields. Two missing scope labels do not prove the files have the same scope. An explicit value on only one side creates a scope mismatch.
Unit and numeric rules
Recognized conversion families:
- Length: mm, cm, m, km, in, ft, yd.
- Area: mm2, cm2, m2, km2, in2, ft2, yd2.
- Volume: mm3, cm3, m3, in3, ft3, yd3, l, ml.
- Count: ea, pcs, item, unit, each.
Typography aliases m²/m³/ft²/ft³/sqm/sqft/cum/count are canonicalized without changing quantities. There are no implicit scale factors. A supplied m-to-m2 or volume-to-count conversion is rejected even when a factor is supplied. Unknown unit labels can be compared exactly as-is but cannot be converted. Give direct conversions to one common target; conversion chains and conflicting source rules are rejected. Customer-provided factors are trusted within their dimension; verify them.
Use plain decimal notation with a dot, up to 18 integer and 12 fractional digits; no thousands separators, exponent notation, booleans, NaN or Infinity. Negative adjustments are allowed. Decimal arithmetic uses 100-digit precision. Quantity deltas are comparison minus baseline. Percentage delta is 100 × delta / absolute(baseline), rounded to 12 decimal places. A zero or missing baseline yields a null percentage. Missing either side yields null delta, not a zero substitution. Tolerance passes when the absolute OR percentage threshold passes; zero baselines cannot use percentage tolerance. No cross-unit total quantity is reported.
Output
The default Dataset is exportable as JSON or CSV. Key-value store:
- SUMMARY: input counts, status counts, examined/billable lines and pricing estimate.
- DIFF-REPORT: complete JSON report.
- DIFF-REPORT.csv: spreadsheet-safe CSV report.
- OUTPUT: summary, output count and product version.
Required fields: item_id, location_or_work_package, description, baseline_qty, comparison_qty, normalized_unit, quantity_delta, percentage_delta, match_status, evidence_rows. Decimal values are strings to preserve precision; missing values are JSON null / blank CSV cells. Evidence contains baseline/comparison arrays of file/sheet/row references and original values. Aggregated row evidence is not discarded.
Statuses: matched_equal, within_tolerance, quantity_changed, baseline_only, comparison_only, revision_scope_mismatch, quantity_basis_mismatch, waste_basis_mismatch, unit_mismatch, review_candidate. A scope mismatch is represented by two separate side-specific rows; no incompatible quantities are subtracted. Other unmatched groups remain separate.
Similar-description suggestions require the same package, scope, unit and extra keys, use a threshold of 0.82, inspect at most 100 candidates per group and 5000 comparisons per run using the first 512 description characters, and return up to five suggestions. Truncation is exposed in SUMMARY. They are advisory and not exhaustive. Always review evidence before making contractual or payment decisions.
CSV formula-injection protection prefixes risky flat text values with an apostrophe. Dataset flat text fields are also escaped for CSV exports. Original values remain in nested evidence. Excel date/time values are ISO strings with cell_types metadata preserving their original type.
Pricing: USD 2 per 1,000 examined comparison lines
One custom event quantity-comparison-line costs USD 0.002. Platform usage is included. No separate startup charge or automatic Dataset-item charge.
For each EXACT comparable group count max(number of baseline source rows, number of comparison source rows), then sum those counts. An unmatched source row counts once. Review suggestions do not add events.
Examples:
- One baseline row and one comparison row, same comparable group: 1 line, USD 0.002.
- Three split baseline rows and one comparison row, same comparable group: 3 lines, USD 0.006.
- Two unmatched baseline rows and one unmatched comparison row: 3 lines, USD 0.006.
- Different revision scopes on each side: separate groups; one source row each counts as 2 lines.
- The prefilled demo: 17 source rows, 13 report groups, 14 examined lines, USD 0.028.
Grouping does not hide split-row processing from billing. Report groups and source input lines are different metrics. There is no rounding up to blocks of 1,000. Invalid inputs are rejected before custom event charges. An insufficient run charge limit rejects the entire comparison before new charges or result publication. In a rare failure after charging, recoverable reports are saved in the run key-value store; contact the developer for reconciliation.
Limits and security
10 MiB per file; combined maxLines <=100000; 128 columns; 8192 characters per cell; 2000 ZIP members; XLSX expanded data <=50 MiB and compression ratio <=200; 8 MiB evidence per result group; 64 MiB total JSON result. The Apify platform also imposes its own input/request limits. Split large files or use finer aggregation keys if a limit is reached. Files are rejected rather than silently truncated. CSV line references identify the first physical line of a multiline record.
No macros, formula evaluation, CAD/BIM model execution, OCR, LLM calls, currency valuation, cost estimation or automatic construction approval. Reports are evidence-based quantity comparisons, not certified survey or contractual determinations.
Development
Product NEWAPI98, version 1.0.0. Python 3.12 container.
python -m pytest -qNEWAPI98_LOCAL_DEMO=1 python -m src.main
Monetization references checked 2026-11-14:
- https://docs.apify.com/actors/monetize/pay-per-event
- https://docs.apify.com/actors/monetize/pricing-and-costs
Apify creator payout is 80% of event revenue minus applicable platform usage costs. Final run costs and verification evidence are recorded separately; estimates are not claimed as measured costs.