Skip to main content
POST

Authorizations

capout-api-key
string
header
required

Organization-scoped CapOut API key

Headers

Idempotency-Key
string | null

Optional. Retrying with the same key and an identical payload returns the existing document_id. Reusing the key with a different payload, including different O&P rates or policy or different sketch fields, returns 409. A rejected invalid sketch doesn't use up the key.

Body

application/json

Version 1 typed contract for structured estimate imports.

file_name
string
required

Source filename

Minimum string length: 1
line_items
StructuredLineItemV1 · object[]
required

Nonempty ordered list of line items

Minimum array length: 1
schema_version
string
default:1

Contract schema version, must be '1'

Allowed value: "1"
estimate_name
string | null

Display project or estimate name

claim_number
string | null

Insurance claim number

policy_number
string | null

Insurance policy number

insured_name
string | null

Insured client name

insured_email
string | null

Insured email address

insured_phone
string | null

Insured phone number

property_address

Property address as a single string (US and Canadian addresses auto-split into street, city, state/province, postal, and country) or a structured object ({street, city, state, zip, country}). Explicit separate property_* fields override parsed components.

property_street
string | null

Property street address (overrides parsed property_address street)

property_city
string | null

Property city (overrides parsed property_address city)

property_state
string | null

Property 2-letter US state or Canadian province code

property_zip
string | null

Property ZIP or postal code (alias: property_postal)

property_country
string | null

Property 2-letter country code (defaults to US, inferred as CA for Canadian provinces/postal codes)

estimator
StructuredContactV1 · object | null

Optional contact record for an estimator or claim representative.

estimator_name
string | null

Estimator full name

estimator_email
string | null

Estimator email address

estimator_phone
string | null

Estimator phone number (alias: estimator_business_phone)

claim_rep
StructuredContactV1 · object | null

Optional contact record for an estimator or claim representative.

claim_rep_name
string | null

Claim representative full name

claim_rep_email
string | null

Claim representative email address

claim_rep_phone
string | null

Claim representative phone number (alias: claim_rep_business_phone)

date_of_loss
string | null

Date of loss (YYYY-MM-DD, ISO timestamp, or MM/DD/YYYY; converted using the property state/province timezone). Uploads with sketch geometry require YYYY-MM-DD.

date_received
string | null

Date received (YYYY-MM-DD, ISO timestamp, or MM/DD/YYYY; converted using the property state/province timezone)

date_inspected
string | null

Date inspected (YYYY-MM-DD, ISO timestamp, or MM/DD/YYYY; converted using the property state/province timezone)

type_of_loss
string | null

Type of loss (e.g. Water, Wind, Hail, Wind/Hail, Fire, Smoke, Mold, Freeze, Theft, Vandalism, Lightning, Flood, Other)

carrier_name
string | null

Insurance carrier name

price_list
string | null

Target Xactimate price list code (case-insensitive normalization for standard codes such as TXAU8X_AUG26)

tax_jurisdiction
string | null

Target Xactimate tax jurisdiction name or rate (e.g. 8.25%, 6.25% Res Mixed, 8.25% Mat Only, TX - Austin)

tax_jurisdiction_id

Optional Xactimate tax jurisdiction ID (e.g. 207 for 8.25%)

tax_jurisdiction_variant
string | null

Optional Xactimate tax jurisdiction variant (e.g. Mat Only, Com Rep/Rem, Res Mixed, Mixed)

overhead_rate_percent
number | null

Estimate overhead percentage; supply together with profit_rate_percent

Required range: 0 <= x <= 100
profit_rate_percent
number | null

Estimate profit percentage; supply together with overhead_rate_percent

Required range: 0 <= x <= 100
cumulative_overhead_profit
boolean
default:false

Calculate profit on the O&P basis plus rounded overhead

overhead_profit_basis
enum<string>
default:after_tax

Whether supplied sales-tax dollars enter the O&P basis

Available options:
before_tax,
after_tax
sketch
SketchGeometry · object | null

Room and staircase geometry for the sketch. These fields are required once the sketch has a room or staircase outline, and unknown fields are rejected. A sketch with no outlines, such as {}, isn't an error: the upload is processed as a standard conversion. A sketch can have at most 100 rooms, 100 staircases, 2,000 walls, 2,000 openings, 500 fixtures, and 20,000 points.

extensions
StructuredEstimateExtensions · object | null

Optional estimate details. Optional on sketch uploads when top-level O&P rates are supplied.

sketch_policies
SketchPolicies · object | null

Optional settings for the sketch.

Response

Successful Response

Response body for POST /upload.

document_id
string
required

Public document ID for status polling, realtime subscriptions, and ESX downloads.

created_at
string<date-time>
required
status_url
string
required
download_url
string
required

Stable authenticated ESX download URL. It redirects to the Contractor profile by default once export is complete.

contractor_download_url
string
required

Stable authenticated URL for the Contractor (8D) ESX file

carrier_download_url
string
required

Stable authenticated URL for the Carrier (5L) ESX file

status
string
default:processing
ws_url
string
default:/ws/status
source_type
string
default:PDF
sketch
SketchNotice · object | null

What happens to the sketch fields in a JSON upload, and how the upload is billed. Plain JSON uploads don't get a notice.