Skip to main content
2,200+ service businesses benchmarked. Do you know your gross profit per labor hour? See where you stand →
Level
← All finance systems

Open finance skill

Customer margin attribution

Is the data complete enough to trust customer-level margin?

Test whether revenue, labor, materials, subcontractors, and shared costs map consistently before calculating customer profitability.

Inputs

  • Customer revenue
  • Direct costs
  • Allocation policy

Outputs

  • Supported margin
  • Unattributed costs
  • Coverage and confidence

Checks performed

  • Revenue coverage
  • Cost attribution
  • Policy consistency

Guided synthetic example

See the check from input to decision

Revenue maps to customers, but a meaningful share of direct labor does not.

This is the operating model we use at Level. The percentages are estimated shares of the work in a typical review. Actual effort varies with data quality, complexity, and the issue found.

1

Start with the source records

About 15% of work
PopulationTotalAttributedCoverage
Revenue$500,000$490,00098%
Direct labor$180,000$126,00070%
Materials$120,000$114,00095%
2

Run the deterministic check

About 20% of work

Calculate coverage for every margin component and refuse precise customer margin when material costs are unattributed.

3

Surface the flagged result

About 10% of work

Needs review

$54,000 of direct labor is unattributed, so customer-level margin is not yet decision-grade.

4

Use recorded finance judgment to analyze possible reasons

About 25% of work

At Level, we record the review logic, known explanations, and questions our finance professionals use in this situation. AI applies that documented human judgment to organize the most plausible reasons, without pretending it knows which reason is true.

Possible reasons to investigate

Missing job or customer coding, shared crews, payroll mapping, and timing differences could all produce the gap.

5

Make the final human judgment

About 20% of work

A Level finance professional validates the source evidence, challenges the AI-assisted analysis, and decides which explanation is supported.

Which labor records lack a customer?
Can job identifiers restore the mapping?
What shared-cost policy is acceptable?
6

Make the operating decision

About 10% of work

Fix labor attribution or approve a documented allocation policy before comparing customer profitability.

Use this system

Start with the example, then inspect the structure

  1. Download the invented input and expected output.
  2. Replace one field at a time with a safe test value.
  3. Compare the result with the expected structure.
  4. Have a finance professional review every exception before acting.

MCP preview

run_synthetic_example {"slug":"customer-margin-attribution"}

Human review is part of the system

This check organizes evidence and surfaces exceptions. A person with finance domain expertise still needs to interpret the result, validate the source records, and discuss the operating decision.

Open source does not mean open client data. We publish reusable finance tools, checks, templates, and playbooks. Client records, workpapers, credentials, communications, and private configurations remain confidential.