Enterprise Document Processing

Reference solution for processing one inbound business document: parsing it, understanding it, classifying it, extracting structured information and producing a structured result with an explanation.

Unit event

Business Document

BUSINESS_DOCUMENT

One completed execution of the document-processing workflow for one inbound business document.

Design variant

A reasoning document-understanding pass, classification, two extraction passes, enterprise-knowledge grounding with reranking, and a grounded final generation. The same business unit event as Standard Processing, implemented differently.

Scenario inputs

Every value this design resolves, and who owns it. Change an editable value and the figures recalculate. The pricing engine answers, not this page: nothing here multiplies anything, and until it answers the figures beside you are the ones you were already looking at, labelled as such.

What the exposure labels mean
Editable is yours to set, and every one of them is a control below; Fixed by variant belongs to the design and changes by selecting a different variant; Derived follows whatever the upstream activity publishes — never yours to set, and it moves on its own when the value it is bound to moves.

63 fields

Ingest & Understand Document12 fields

Fixed by variant
im-ingest-document-service
origin USERexposure via DEFINITION_STRUCTUREIDau-ingest-document.implementation_mode_id

Fixed by variant
ctxdex:offering:agent-makers:ctxdex-enterprise-document-1
origin USERexposure via EXPLICIT_UI_PROJECTIONIDau-ingest-document.selection.commercial_offering_id

Fixed by variant
1UNIT
origin USERexposure via EXPLICIT_UI_PROJECTIONINTEGERau-ingest-document.occurrence_count

Editable
PAGE

Pages in the inbound document. This is the metered quantity for document-page pricing.

origin USERexposure via EXPLICIT_UI_PROJECTIONINTEGERau-ingest-document.undefined

Editable
TOKEN

Estimated tokens of text recovered from the document, published downstream so later activities do not restate it.

origin USERexposure via EXPLICIT_UI_PROJECTIONINTEGERau-ingest-document.undefined

Editable
origin USERexposure via DEFINITION_STRUCTUREIDau-understand-document.implementation_mode_id

Fixed by variant
ctxdex:offering:agent-makers:ctxdex-intelligence-4-pro
origin USERexposure via EXPLICIT_UI_PROJECTIONIDau-understand-document.selection.commercial_offering_id

Fixed by variant
1UNIT
origin USERexposure via EXPLICIT_UI_PROJECTIONINTEGERau-understand-document.occurrence_count

Editable
TOKEN

Input tokens eligible for cached-input treatment.

origin USERexposure via EXPLICIT_UI_PROJECTIONINTEGERau-understand-document.undefined

Editable
TOKEN

Estimated generated summary tokens, published downstream as an input size.

origin USERexposure via EXPLICIT_UI_PROJECTIONINTEGERau-understand-document.undefined

Derived
9000TOKEN

Estimated tokens of parsed document text presented to the model.

origin BOUND_OUTPUTexposure via RESOLVER_PROVENANCEINTEGERau-understand-document.undefined

Editable
TOKEN

Estimated system/policy prompt tokens.

origin USERexposure via EXPLICIT_UI_PROJECTIONINTEGERau-understand-document.undefined
Classify Document7 fields

Fixed by variant
im-classify-document-model
origin USERexposure via DEFINITION_STRUCTUREIDau-classify-document.implementation_mode_id

Fixed by variant
ctxdex:offering:agent-makers:ctxdex-intelligence-4-fast
origin USERexposure via EXPLICIT_UI_PROJECTIONIDau-classify-document.selection.commercial_offering_id

Fixed by variant
1UNIT
origin USERexposure via EXPLICIT_UI_PROJECTIONINTEGERau-classify-document.occurrence_count

Editable
TOKEN

Input tokens eligible for cached-input treatment.

origin USERexposure via EXPLICIT_UI_PROJECTIONINTEGERau-classify-document.undefined

Derived
1400TOKEN

Estimated tokens of the summary presented for classification.

origin BOUND_OUTPUTexposure via RESOLVER_PROVENANCEINTEGERau-classify-document.undefined

Editable
TOKEN

Estimated generated classification tokens.

origin USERexposure via EXPLICIT_UI_PROJECTIONINTEGERau-classify-document.undefined

Editable
TOKEN

Estimated system/policy prompt tokens, including the class taxonomy.

origin USERexposure via EXPLICIT_UI_PROJECTIONINTEGERau-classify-document.undefined
Extract Structured Information12 fields

Fixed by variant
im-extract-fields-model
origin USERexposure via DEFINITION_STRUCTUREIDau-extract-fields.implementation_mode_id

Fixed by variant
ctxdex:offering:agent-makers:ctxdex-intelligence-4-fast
origin USERexposure via EXPLICIT_UI_PROJECTIONIDau-extract-fields.selection.commercial_offering_id

Fixed by variant
2UNIT
origin USERexposure via EXPLICIT_UI_PROJECTIONINTEGERau-extract-fields.occurrence_count

Editable
TOKEN

Input tokens eligible for cached-input treatment.

origin USERexposure via EXPLICIT_UI_PROJECTIONINTEGERau-extract-fields.undefined

Editable
TOKEN

Estimated tokens of the class and its field schema.

origin USERexposure via EXPLICIT_UI_PROJECTIONINTEGERau-extract-fields.undefined

Derived
9000TOKEN

Estimated tokens of parsed document text presented for extraction.

origin BOUND_OUTPUTexposure via RESOLVER_PROVENANCEINTEGERau-extract-fields.undefined

Editable
TOKEN

Estimated generated extraction tokens.

origin USERexposure via EXPLICIT_UI_PROJECTIONINTEGERau-extract-fields.undefined

Editable
UNIT

How many fields the class asks for. A stated assumption of the scenario, recorded here rather than inside a pricing request definition.

origin USERexposure via EXPLICIT_UI_PROJECTIONINTEGERau-extract-fields.undefined

Editable
TOKEN

Estimated system/policy prompt tokens.

origin USERexposure via EXPLICIT_UI_PROJECTIONINTEGERau-extract-fields.undefined

Fixed by variant
im-normalize-extracted-deterministic
origin USERexposure via DEFINITION_STRUCTUREIDau-normalize-extracted-result.implementation_mode_id

Fixed by variant
1UNIT
origin USERexposure via EXPLICIT_UI_PROJECTIONINTEGERau-normalize-extracted-result.occurrence_count

Editable
TOKEN

Estimated tokens of the normalized field set, published downstream as an input size.

origin USERexposure via RESOLVER_PROVENANCEINTEGERau-normalize-extracted-result.undefined
Retrieve Supporting Knowledge23 fields

Fixed by variant
im-prepare-document-query-deterministic
origin USERexposure via DEFINITION_STRUCTUREIDau-prepare-document-retrieval-query.implementation_mode_id

Fixed by variant
1UNIT
origin USERexposure via EXPLICIT_UI_PROJECTIONINTEGERau-prepare-document-retrieval-query.occurrence_count

Editable
TOKEN

Estimated tokens of the retrieval query, published downstream.

origin USERexposure via EXPLICIT_UI_PROJECTIONINTEGERau-prepare-document-retrieval-query.undefined

Fixed by variant
im-embed-model
origin USERexposure via DEFINITION_STRUCTUREIDau-embed-query.implementation_mode_id

Fixed by variant
ctxdex:offering:agent-makers:ctxdex-retrieval-3-embed
origin USERexposure via EXPLICIT_UI_PROJECTIONIDau-embed-query.selection.commercial_offering_id

Fixed by variant
1UNIT
origin USERexposure via EXPLICIT_UI_PROJECTIONINTEGERau-embed-query.occurrence_count

Editable
TOKEN

Embedding input tokens eligible for cached treatment.

origin USERexposure via EXPLICIT_UI_PROJECTIONINTEGERau-embed-query.undefined

Derived
200TOKEN

Tokens submitted to the embedding model.

origin BOUND_OUTPUTexposure via RESOLVER_PROVENANCEINTEGERau-embed-query.undefined

Fixed by variant
im-search-local-unpriced
origin USERexposure via DEFINITION_STRUCTUREIDau-search-enterprise-knowledge.implementation_mode_id

Fixed by variant
1UNIT
origin USERexposure via EXPLICIT_UI_PROJECTIONINTEGERau-search-enterprise-knowledge.occurrence_count

Editable
UNIT

Number of candidate documents/chunks returned.

origin USERexposure via EXPLICIT_UI_PROJECTIONINTEGERau-search-enterprise-knowledge.undefined

Editable
TOKEN

Estimated total tokens across candidate documents/chunks presented to reranking.

origin USERexposure via EXPLICIT_UI_PROJECTIONINTEGERau-search-enterprise-knowledge.undefined

Fixed by variant
im-rerank-model
origin USERexposure via DEFINITION_STRUCTUREIDau-rerank-candidates.implementation_mode_id

Fixed by variant
ctxdex:offering:agent-makers:ctxdex-retrieval-2-rerank
origin USERexposure via EXPLICIT_UI_PROJECTIONIDau-rerank-candidates.selection.commercial_offering_id

Fixed by variant
1UNIT
origin USERexposure via EXPLICIT_UI_PROJECTIONINTEGERau-rerank-candidates.occurrence_count

Derived
20UNIT

Number of candidate documents/chunks scored for the query.

origin BOUND_OUTPUTexposure via RESOLVER_PROVENANCEINTEGERau-rerank-candidates.undefined

Derived
16000TOKEN

Estimated total candidate-document tokens supplied to reranking.

origin BOUND_OUTPUTexposure via RESOLVER_PROVENANCEINTEGERau-rerank-candidates.undefined

Editable
UNIT

Number of rerank queries.

origin USERexposure via EXPLICIT_UI_PROJECTIONINTEGERau-rerank-candidates.undefined

Editable
TOKEN

Output tokens if the selected rerank commercial path meters them; zero in the pilot default.

origin USERexposure via EXPLICIT_UI_PROJECTIONINTEGERau-rerank-candidates.undefined

Derived
200TOKEN

Estimated tokens in the rerank query.

origin BOUND_OUTPUTexposure via RESOLVER_PROVENANCEINTEGERau-rerank-candidates.undefined

Fixed by variant
im-assemble-context-deterministic
origin USERexposure via DEFINITION_STRUCTUREIDau-assemble-grounded-context.implementation_mode_id

Fixed by variant
1UNIT
origin USERexposure via EXPLICIT_UI_PROJECTIONINTEGERau-assemble-grounded-context.occurrence_count

Editable
TOKEN

Estimated token size of assembled grounded context.

origin USERexposure via EXPLICIT_UI_PROJECTIONINTEGERau-assemble-grounded-context.undefined
Produce Final Result9 fields

Fixed by variant
im-generate-structured-result-model
origin USERexposure via DEFINITION_STRUCTUREIDau-generate-structured-result.implementation_mode_id

Fixed by variant
ctxdex:offering:agent-makers:ctxdex-intelligence-4-pro
origin USERexposure via EXPLICIT_UI_PROJECTIONIDau-generate-structured-result.selection.commercial_offering_id

Fixed by variant
1UNIT
origin USERexposure via EXPLICIT_UI_PROJECTIONINTEGERau-generate-structured-result.occurrence_count

Editable
TOKEN

Input tokens eligible for cached-input treatment.

origin USERexposure via EXPLICIT_UI_PROJECTIONINTEGERau-generate-structured-result.undefined

Derived
1400TOKEN

Estimated tokens of the document summary presented as context.

origin BOUND_OUTPUTexposure via RESOLVER_PROVENANCEINTEGERau-generate-structured-result.undefined

Editable
TOKEN

Estimated generated result and explanation tokens.

origin USERexposure via RESOLVER_PROVENANCEINTEGERau-generate-structured-result.undefined

Derived
450TOKEN

Estimated tokens of the normalized field set presented to the model.

origin BOUND_OUTPUTexposure via RESOLVER_PROVENANCEINTEGERau-generate-structured-result.undefined

Derived
4000TOKEN

Estimated tokens of grounded context presented to the model. Zero when the variant does not ground, which adds nothing to the summed input.

origin BOUND_OUTPUTexposure via RESOLVER_PROVENANCEINTEGERau-generate-structured-result.undefined

Editable
TOKEN

Estimated system/policy prompt tokens, including the result schema.

origin USERexposure via EXPLICIT_UI_PROJECTIONINTEGERau-generate-structured-result.undefined

Cost by operation

Where the direct unit cost comes from. Expand an operation for the activities inside it and how each one resolved.

Complete
Ingest & Understand DocumentComplete2 activities, 2 priced0.16246 USD76% of direct total

Parse the inbound document into text and structure, then form a compact understanding of it.

Ingest and Parse Document

Priced

Read an inbound business document and produce its text and layout structure. Commercially this is a document service metered by page, not a language model.

au-ingest-documentim-ingest-document-service

A pricing request was made and returned an amount.

0.12 USD

Understand Document

Priced

Form a compact understanding of the parsed document, sufficient for classification and for explaining the final result.

au-understand-documentim-understand-document-reasoning

A pricing request was made and returned an amount.

0.04246 USD
Classify DocumentComplete1 activity, 1 priced0.002128 USD1% of direct total

Decide what kind of business document this is, which is what tells extraction what to look for.

Classify Document

Priced

Decide the business document class, which determines what structured extraction looks for.

au-classify-documentim-classify-document-model

A pricing request was made and returned an amount.

0.002128 USD
Extract Structured InformationComplete2 activities, 1 priced0.0196 USD9% of direct total

Pull the fields the document class calls for, twice, then normalize them into the canonical shape.

Extract Structured Fields

Priced×2

Extract the fields the document class calls for, from the parsed document text.

au-extract-fieldsim-extract-fields-model

A pricing request was made and returned an amount.

0.0196 USD

Normalize Extracted Result

No pricing request

Coerce extracted field values into the canonical shape, types and units. Application logic, not a priced resource. Deliberately not ad-normalize-operational-result, which normalizes an operational system's reply and shares neither its inputs nor its outputs.

au-normalize-extracted-resultim-normalize-extracted-deterministic

This activity does not price. No request was made, so there is no amount — not an amount of zero.

No amount
Retrieve Supporting KnowledgeComplete5 activities, 2 priced0.00082 USD0% of direct total

Ground the result against enterprise knowledge: build a query, embed it, search, rerank and assemble.

Prepare Document Retrieval Query

No pricing request

Build an enterprise-knowledge retrieval query from the document summary. Deliberately not ad-prepare-retrieval-query, which builds one from a normalized customer request: same shape, different semantic input, and decisions §4 puts semantic correctness above the reuse ratio.

au-prepare-document-retrieval-queryim-prepare-document-query-deterministic

This activity does not price. No request was made, so there is no amount — not an amount of zero.

No amount

Embed Query

Priced

Generate a vector embedding for the retrieval query.

au-embed-queryim-embed-model

A pricing request was made and returned an amount.

0.00002 USD

Search Enterprise Knowledge

No pricing request

Search enterprise knowledge using the query representation.

au-search-enterprise-knowledgeim-search-local-unpriced

This activity does not price. No request was made, so there is no amount — not an amount of zero.

No amount

Rerank Candidates

Priced

Rerank retrieved candidates for relevance to the support query.

au-rerank-candidatesim-rerank-model

A pricing request was made and returned an amount.

0.0008 USD

Assemble Grounded Context

No pricing request

Assemble selected evidence into a bounded context for final response generation.

au-assemble-grounded-contextim-assemble-context-deterministic

This activity does not price. No request was made, so there is no amount — not an amount of zero.

No amount
Produce Final ResultComplete1 activity, 1 priced0.02828 USD13% of direct total

Produce the structured result and a grounded explanation of how it was arrived at.

Generate Structured Result

Priced

Produce the final structured result and a short explanation of how it was arrived at.

au-generate-structured-resultim-generate-structured-result-model

A pricing request was made and returned an amount.

0.02828 USD

Direct unit total

0.213288 USD

Bars show each operation’s share of the stated direct unit total. An operation with no priced activity shows no amount, which is not an amount of zero.

Assumptions, issues and reproducibility

Activity states not exercised by this configuration

InactiveUnpricedZero priced

The read model reports these so their absence reads as absence rather than as coverage.

Issues

The runtime reported none for this configuration.

Technical detail and reproducibility

Result source
REFERENCE_PREFETCH
Scenario configuration
scenario:enterprise-document:high-accuracy:2026-09-15
Pricing effective at
2026-09-15T00:00:00Z
Definition fingerprint
d82b403b7d3a8653dccdac867e5dcb20f5e25ef57c9fe789887b7ca6ab811d0b
Catalogue fingerprint
fb4a33fb254bba125309001aadb10f470d9bf9f219404324ba86b2ad91c206f1
Pricing engine version
0.7.0
Pricing orchestration contract version
v4
Pricing rule registry version
daf63fc55107b886370c9744e36b7276da8f235e6e5f8eb56a1d2214151568f5
Scenario contract version
v1
Variant definition fingerprint
d82b403b7d3a8653dccdac867e5dcb20f5e25ef57c9fe789887b7ca6ab811d0b