Guides
Claims
Send a dental claim as JSON, with secondary and tertiary payers and the standard claim fields, read its validation findings, follow it through the 997 and 277 on its timeline, correct and resubmit it, void it, and read the 837D it went out in.
Send a claim as JSON. Claim House checks it, writes it into a standard 837D file with your organization's other claims, sends the file to the dental network in a batch, reads the 997 and the 277 that come back, and keeps a timeline. A claim has one ID for life: a correction and a resubmission keep it.
A test key sends to the sandbox network: a 997 after 30 seconds, a 277 after 60 seconds. Live claims are not open yet: a live key gets 503 CLAIMS_UNAVAILABLE (see Going live).
A key needs submit to send or change a claim and read to read one. A submit-only key changes only the claims it made and sees a claim only in the answers to its own writes.
Before the first claim: a provider#
Every claim names its rendering provider, the dentist who did the work. Add one (see Providers for licenses and NPIs):
curl "https://sandbox.myclaimhouse.com/api/v1/providers" \
-H "Authorization: Bearer $CLAIMHOUSE_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d @- <<EOF
{
"first_name": "Riley",
"last_name": "Example",
"credential": "DDS",
"npi": "1999990017",
"licenses": [{ "state": "GA", "number": "GA-000000" }]
}
EOFThe office bills the claim: its NPI, tax ID, phone and nine-digit ZIP go on the file (see Offices). With OFFICE_ID and PAYER_ID from the quickstart and PROVIDER_ID from above, you can send a claim.
Send a claim#
POST /claims takes the office, the payer, the rendering provider, the subscriber (and the patient when it is a dependent), and one line per procedure:
curl "https://sandbox.myclaimhouse.com/api/v1/claims" \
-H "Authorization: Bearer $CLAIMHOUSE_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d @- <<EOF
{
"office_id": "$OFFICE_ID",
"payer_id": "$PAYER_ID",
"rendering_provider_id": "$PROVIDER_ID",
"subscriber": {
"first_name": "Sam",
"last_name": "Sample",
"date_of_birth": "1980-02-02",
"gender": "F",
"member_id": "CH-ACTIVE-FULL",
"address": { "line1": "1 Sample Street", "city": "Sampleville", "state": "GA", "postal_code": "30301" }
},
"lines": [{ "cdt": "D2740", "fee": 1140.00, "service_date": "2026-09-24", "tooth": "3" }],
"metadata": { "pms_claim_number": "PMS-1042" }
}
EOFThe answer is 201 with the claim. By default (submit true) it is validated at once and, with no errors, queued for the next batch:
{
"id": "clm_...",
"object": "claim",
"state": "queued",
"next_step": "This claim is queued and goes out in the next batch.",
"frequency": "original",
"patient_control_number": "CH4Q7M2K9TRB",
"office": { "id": "off_...", "name": "..." },
"payer": { "id": "pyr_...", "payer_id": "...", "name": "..." },
"rendering_provider": { "id": "prv_...", "first_name": "Riley", "last_name": "Example", "npi": "1999990017" },
"kind": "claim",
"sequence": "primary",
"insurance_type": "commercial",
"totals": { "charge": "1140.00", "lines": 1 },
"validation": { "validated_at": "...", "errors": 0, "warnings": 1, "findings": [{ "field": "attachments", "code": "ATTACHMENT_RECOMMENDED", "message": "Payers often ask for X-rays, a chart or a narrative before they pay for crowns. Attaching them now saves a request later.", "severity": "warning" }] },
"attachments": [],
"network": { "submitted_at": null, "clearinghouse_claim_id": null, "payer_claim_number": null, "rejection": null },
"metadata": { "pms_claim_number": "PMS-1042" }
}patient_control_number(CLM01) is your ID for the claim on the wire, returned on the payer's status and remittance: 1 to 20 letters, digits or hyphens, unique in your organization, never built from patient details. Leave it out and Claim House makes one (CHand 10 random characters)."submit": falsesaves a draft; send it later withPOST /claims/{id}/submit.- A line's
feeis the charge for the whole line in dollars, at most two decimals (a number, or a decimal string such as"1140.00", read exactly).quantity(default 1) counts units and never multiplies the fee. Every amount on the claim object is a decimal string. metadata: up to 20 pairs of your own, never sent to the payer.remarksgo to the payer as up to 5 notes of 80 characters, split between words (about 370 characters, never more than 400); one that does not fit is aTOO_LONGfinding, nothing is cut. A remark startingNEA#and a number made elsewhere also writes thePWKpayers look for, unless the claim carries attachments; the number of a Claim House attachment must be on the claim (REMARKS_NAME_ATTACHMENT).attachments: closed attachments (att_...), at most 5, andforeign_attachments(numbers you hold from your own network account), at most 10 together. See Attachments.- The
Idempotency-Keymakes a retry safe: the same key and body return the same claim.
More claim fields#
Each is optional and maps to one place in the 837D. The reference gives every rule.
| Field | What it carries |
|---|---|
insurance_type | The claim filing indicator (SBR09), default commercial. |
accident | cause (auto, employment, other), date, and state for auto (CLM11, DTP*439). |
referral_number, prior_authorization | REF9F, REFG1. |
diagnosis_codes | Up to 4 ICD-10-CM codes, the first the principal (HI). A line points at them with diagnosis_pointers (SV311). |
orthodontics | appliance_placed_date, total_months, months_remaining (DN1, DTP*452). |
missing_teeth | { tooth, status }, missing or to_be_extracted (DN2). |
service_location | Where the treatment happened, when it is not the billing office (2310C). See Many offices. |
payer_provider_ids | billing and rendering: the payer's own IDs for the office and the dentist, such as Medicaid provider IDs (REF*G2 in 2010BB and 2310B). One you leave out is the office's or provider's payer_provider_ids entry for the claim's payer, fixed when the claim is queued. |
Line teeth, areas | Several teeth ({ tooth, surfaces }, one TOO each) or areas on one line, in place of tooth and area. |
Line prosthesis, prior_placement_date | initial or replacement (SV305); a replacement needs the date of the first placement (DTP*441). |
Medicaid#
Send "insurance_type": "medicaid" and put the patient's Medicaid ID in subscriber.member_id. Medicaid provider IDs go in the office's and the provider's payer_provider_ids, or the claim's. GET /claims filters by insurance_type and by sequence.
Capitation encounters#
For a capitation plan, send "encounter": true. The claim is validated like any other but reported, not billed: it goes out in a file of encounters (BHT06 RP). Its journey ends at accepted_payer. An ERA, if one comes, applies as usual. Predeterminations can't be encounters (422).
Secondary and tertiary claims#
coordination places the claim among the payers: sequence (primary, secondary, tertiary) and other_payers (up to 2), each with what it paid and its adjustments. A secondary claim lists one primary payer; a tertiary one a primary and a secondary. For each payer that paid, paid plus its adjustments equals the claim's charge (an adjustment may be negative, a reversal). A payer, or one of its lines, takes at most 5 adjustment segments (one per group, 6 reasons each): more is TOO_MANY_ADJUSTMENTS.
curl "https://sandbox.myclaimhouse.com/api/v1/claims" \
-H "Authorization: Bearer $CLAIMHOUSE_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d @- <<EOF
{
"office_id": "$OFFICE_ID",
"payer_id": "$PAYER_ID",
"rendering_provider_id": "$PROVIDER_ID",
"subscriber": { "first_name": "Sam", "last_name": "Sample", "date_of_birth": "1980-02-02", "gender": "F", "member_id": "SAMPLE-SEC-1",
"address": { "line1": "1 Sample Street", "city": "Sampleville", "state": "GA", "postal_code": "30301" } },
"lines": [{ "cdt": "D2740", "fee": 1140.00, "service_date": "2026-09-24", "tooth": "3" }],
"coordination": {
"sequence": "secondary",
"other_payers": [{
"payer_name": "Sample Primary Dental",
"payer_identifier": "SMPRI",
"responsibility": "primary",
"relationship": "self",
"subscriber": { "first_name": "Sam", "last_name": "Sample", "member_id": "CH-ACTIVE-FULL" },
"paid": 800.00,
"paid_date": "2026-10-01",
"adjustments": [{ "group": "CO", "reason": "45", "amount": 340.00 }]
}]
}
}
EOFAn other payer is a directory payer_id, or payer_name with payer_identifier for one outside the directory.
Line by line#
A payer that paid line by line gives lines (sent as loop 2430): every claim line once, as { line, paid, adjustments }. Then each line's paid plus its adjustments equals the line's fee; the payer's paid is its lines' paid less its own adjustments, which are claim level only; and paid_date (each line's adjudication date) is required. The 837 balances only with every charged line given, so a line left out is OTHER_PAYER_LINE_MISSING. A line off by a cent is OTHER_PAYER_LINE_NOT_BALANCED; a line the claim lacks, or one given twice, is OTHER_PAYER_LINE_INVALID.
For lines of 1,140.00 and 50.00, a primary that paid 810.00 on line 1, nothing on line 2, and took 10.00 back at claim level:
{
"sequence": "secondary",
"other_payers": [{
"payer_id": "pyr_...",
"responsibility": "primary",
"relationship": "self",
"subscriber": { "first_name": "Sam", "last_name": "Sample", "member_id": "CH-ACTIVE-FULL" },
"paid": 800.00,
"paid_date": "2026-10-01",
"adjustments": [{ "group": "OA", "reason": "23", "amount": 10.00 }],
"lines": [
{ "line": 1, "paid": 810.00, "adjustments": [{ "group": "CO", "reason": "45", "amount": 150.00 }, { "group": "PR", "reason": "2", "amount": 180.00 }] },
{ "line": 2, "paid": 0, "adjustments": [{ "group": "CO", "reason": "45", "amount": 30.00 }, { "group": "PR", "reason": "2", "amount": 20.00 }] }
]
}]
}Copy the groups and reasons from the payer's ERA. The usual ones: CO-45 (over the fee schedule, written off), PR-1 deductible, PR-2 coinsurance (a percentage) and PR-3 copay (a fixed amount), PR-96 not covered, PR-119 benefit maximum reached. A tertiary claim lists both payers; the secondary's adjustments usually include OA-23 for what the primary paid.
The next payer's claim#
Once an ERA has paid or denied a claim (paid, denied or reconciled), POST /claims/{id}/next_claim makes the next payer's claim from it:
curl "https://sandbox.myclaimhouse.com/api/v1/claims/$CLAIM_ID/next_claim" \
-H "Authorization: Bearer $CLAIMHOUSE_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{ "payer_id": "pyr_..." }'- The new claim is a draft (
submit: truequeues it) withsequenceone higher,source_claim_idnaming the source, andother_payersthe payers that already paid or denied it: the source's own that did, then the source's payer with what its ERA paid and adjusted. That is line by line (lines) when the ERA's lines match the claim's, by line control number (REF*6R) else by position; otherwise, or with"adjudication": "claim", it is summed by group and reason at claim level. Other coverage the source listed without a payment is not carried. - It copies the office, provider, patient, place of service, lines, metadata, remarks, service location and the fields above. Not copied: attachments, the patient control number and
insurance_type(defaultcommercial). subscriberdefaults to the source's. The patient stays the source's patient. Asubscriberwho is not the patient needsrelationship(the patient's to them:spouse,childorother), else422.- Refusals (
409):NO_APPLIED_PAYMENT(no ERA payment applied),NO_NEXT_PAYER(the source is tertiary),PAYMENT_NOT_BALANCED(paid plus adjustments is not the charge;detailshascharge,paid,adjustmentsanddifference). For those, writecoordinationby hand onPOST /claims.
Validation findings#
Every check runs together. Each finding has a field (a dotted path such as lines[0].tooth), a stable code, a message and a severity:
- an error keeps the claim from being sent: it is kept in
needs_attentionand still answered201. A live claim to a payer our clearinghouse does not take claims for yet is one (PAYER_NOT_ON_CLEARINGHOUSE); - a warning does not stop it: an old service date, a provider with no license on file, or none for the state the claim is sent from (
NO_LICENSE_FOR_STATE), a payer that needs enrollment the provider does not have (ENROLLMENT_NOT_ACTIVE, see Payer enrollment), a live claim to a payer that needs enrollment with our clearinghouse first (CLEARINGHOUSE_ENROLLMENT_REQUIRED).
The checks cover the shape of the claim, the CDT codes (a filling needs a tooth and surfaces, a crown or extraction a tooth, scaling and root planing a quadrant, a night guard an arch), the office and provider, the payer, the other payers' balances, and whether the claim can be written as an 837D. The codes are REQUIRED, TOO_SHORT, TOO_LONG, FORMAT_INVALID, IDENTIFIER_DELIMITER, IDENTIFIER_CHARACTER, IDENTIFIER_CONTROL_CHARACTER, IDENTIFIER_SPACING, TEXT_CHARACTER_REPLACED, TEXT_CHARACTER_UNSENDABLE, TEXT_SHORTENED, TEXT_EMPTY_AFTER_CLEANING, DATE_INVALID, DATE_IN_FUTURE, DATE_OF_BIRTH_INVALID, DATE_OF_BIRTH_AFTER_SERVICE, SERVICE_DATE_IN_FUTURE, SERVICE_DATE_NOT_ALLOWED, SERVICE_DATE_OLD, CONTROL_NUMBER_INVALID, PLACE_OF_SERVICE_INVALID, NO_LINES, TOO_MANY_LINES, CDT_FORMAT, CDT_RANGE, FEE_INVALID, FEE_NOT_POSITIVE, QUANTITY_INVALID, TOOTH_INVALID, TOOTH_REQUIRED, SURFACES_NEED_TOOTH, SURFACES_REQUIRED, SURFACE_INVALID, SURFACE_REPEATED, TOO_MANY_SURFACES, AREA_INVALID, AREA_REQUIRED, AREA_NOT_QUADRANT, AREA_NOT_ARCH, TOTAL_MISMATCH, ORIGINAL_REFERENCE_MISSING, OFFICE_NOT_FOUND, OFFICE_NPI_INVALID, OFFICE_TAX_ID_INVALID, OFFICE_ADDRESS_INCOMPLETE, OFFICE_ZIP_PLUS4_REQUIRED, OFFICE_PHONE_INVALID, PROVIDER_NOT_FOUND, PROVIDER_INACTIVE, PROVIDER_NPI_INVALID, PROVIDER_LICENSE_MISSING, NO_LICENSE_FOR_STATE, PAYER_NOT_FOUND, PAYER_INACTIVE, PAYER_NOT_SUPPORTED_FOR_CLAIMS, PAYER_NOT_ON_CLEARINGHOUSE, CLEARINGHOUSE_ENROLLMENT_REQUIRED, ENROLLMENT_NOT_ACTIVE, DUPLICATE_CLAIM, X12_CANNOT_BUILD, OFFICE_ADDRESS_PO_BOX, FILE_NOT_SENT, DELIVERY_UNCERTAIN, NO_PAYER_ANSWER, FILE_REJECTED, ATTACHMENT_REQUIRED, ATTACHMENT_OPEN, ATTACHMENT_RECOMMENDED, ATTACHMENT_NOT_FOUND, ATTACHMENT_NOT_USABLE, REMARKS_NAME_ATTACHMENT, ATTACHMENT_PATIENT_DIFFERS, ATTACHMENT_NOT_REVIEWED, COB_PAYERS_MISMATCH, OTHER_PAYER_PAID_NOT_ALLOWED, OTHER_PAYER_NOT_BALANCED, OTHER_PAYER_LINE_INVALID, OTHER_PAYER_LINE_MISSING, OTHER_PAYER_LINE_NOT_BALANCED, TOO_MANY_ADJUSTMENTS, DIAGNOSIS_CODE_INVALID, DIAGNOSIS_CODE_REPEATED, DIAGNOSIS_POINTER_INVALID, ORTHODONTICS_MONTHS_INVALID, PRIOR_PLACEMENT_REQUIRED, TOOTH_REPEATED, NPI_INVALID.
POST /claims/validate runs the same checks and stores nothing:
curl "https://sandbox.myclaimhouse.com/api/v1/claims/validate" \
-H "Authorization: Bearer $CLAIMHOUSE_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d @- <<EOF
{
"office_id": "$OFFICE_ID",
"payer_id": "$PAYER_ID",
"rendering_provider_id": "$PROVIDER_ID",
"subscriber": { "first_name": "Sam", "last_name": "Sample", "date_of_birth": "1980-02-02", "gender": "F", "member_id": "CH-ACTIVE-FULL",
"address": { "line1": "1 Sample Street", "city": "Sampleville", "state": "GA", "postal_code": "30301" } },
"lines": [{ "cdt": "D2740", "fee": 1140.00, "service_date": "2026-09-24" }]
}
EOFThat crown has no tooth: "valid": false with a TOOTH_REQUIRED error on lines[0].tooth.
Duplicates#
Two claims are duplicates when they have the same payer, patient (name, birth date and member ID), rendering provider (NPI), kind, sequence, encounter and procedures (each line's date, code, fee, quantity, teeth, surfaces and areas, in any order). So two dentists' claims for one patient, day and procedures are not duplicates. Each claim is checked against your organization's others in the same mode:
| The other claim is | This claim gets |
|---|---|
queued, submitted, accepted_clearinghouse, accepted_payer, paid, denied, reconciled, returned | DUPLICATE_CLAIM error: it is held in needs_attention, never sent. |
draft, validated, needs_attention | DUPLICATE_CLAIM warning (two drafts warn each other). |
rejected, voided | Nothing. |
For a real repeat service (the same procedure twice in a day), send "allow_duplicate": true (create, PATCH or resubmit): the error becomes a warning and both are sent. A claim never matches itself (its corrections and resubmissions), and a next payer's claim differs by payer or sequence. A match you cannot read (a key that only submits) is not named. A batch never carries two identical claims unless one allows it.
States and next_step#
A claim is always in one state, and next_step says what happens next or what you must do:
| state | next_step |
|---|---|
draft | This claim is a draft: it has not been checked or sent. Validate it, then queue it to send it. |
validated | This claim passed validation and has not been queued. Queue it to send it in the next batch. |
needs_attention | This claim has errors, so it was not queued. Fix the errors in its validation results, then validate it again. |
queued | This claim is queued and goes out in the next batch. |
submitted | This claim was sent to the dental network. Next, the clearinghouse acknowledges the file. |
accepted_clearinghouse | The clearinghouse accepted the file. Next, the payer's front end accepts or rejects the claim. |
accepted_payer | The payer accepted the claim. Nothing is needed from you while it is processed. |
rejected | This claim was rejected. Fix what the rejection names, then resubmit it. |
voided | This claim was voided. Nothing more will happen to it. |
paid | The payer paid this claim (see its payment). Post the payment in your system, then mark the claim reconciled. |
denied | The payer denied this claim (see the reasons in its payment). Correct it and resubmit it as a replacement, or mark it reconciled once posted. |
reconciled | The payment is posted. Nothing is needed unless the payer changes or reverses it. |
returned | The payer returned its estimate for this predetermination (see the estimate). Once the treatment is done, convert it into a claim and add the service dates. |
You act on needs_attention and rejected: correct the claim and send it again. paid and denied come from the payer's remittance (see ERAs and posting): post it, then reconcile the claim (reconciled), or correct a denied claim. returned is a predetermination's estimate (see Predeterminations). The rest move on their own.
Every claim has a kind: claim, or predetermination (sent before treatment, no service dates, answered with an estimate). GET /claims lists claims only unless you ask for kind=predetermination. A claim made from a predetermination (POST /claims/{id}/convert) is a draft whose lines need their service_date.
The batch, and what comes back#
Queued claims go out in batches: one 837D file per organization and mode, at most 500 claims each (the network takes up to 25,000). The batch runs every 60 seconds, in the sandbox and in live mode (every 30 seconds on a developer's machine). In test mode, Send batch now on the dashboard sends it at once. Each claim in a sent file becomes submitted; its timeline names the file and its place in it.
- The 997 acknowledges the file. Accepted: each claim becomes
accepted_clearinghouse. Rejected: each goes back toqueuedand out in the next batch; you do nothing. - The 277 gives each claim's status at the payer. Accepted:
accepted_payer, withnetwork.payer_claim_number. Rejected:rejected, with the reason and what to fix innetwork.rejection. Any other status (pending, say) goes on the timeline and the state stays. The clearinghouse's own 277 leaves an accepted claim ataccepted_clearinghouse; its rejection isrejectedwithsource: clearinghouse. - The 835 says what the payer paid:
paidordenied, withpayment. See ERAs and posting. - A late status, or one about an earlier submission of a corrected claim, is recorded and changes nothing. One that matches none of your claims is not applied.
A claim is billed once, when its file is handed to the network: never in test mode, never when rejected before it is sent or when the network would not take its file. A correction or a resend after a rejected file is not billed again; a void transaction is billed once. See Pricing and usage.
Delivery uncertain#
A file is handed to the network once. If the answer to the handover is lost, it is never sent again on its own: Claim House waits for its 997. With none after 4 hours, its claims go back to needs_attention with a DELIVERY_UNCERTAIN error, delivery_uncertain.file_id on the claim, and claim.needs_attention. The claim may already be with the payer: check its status. To send it anyway, submit or resubmit it with "confirm_resend": true; without it the answer is 409 DELIVERY_UNCERTAIN.
No answer from the payer#
A claim (or a void transaction) still submitted or accepted_clearinghouse 7 days after it was sent, with no answer from the payer (a 277 of any status, or an ERA), goes to needs_attention with a NO_PAYER_ANSWER error, no_payer_answer on the claim (file_id, and since: when it was sent), and claim.needs_attention. The clearinghouse's acknowledgement is not an answer. Check the claim with the payer, then:
- Resend: submit or resubmit it (with corrections, if any) with
"confirm_resend": true. It goes out under the same claim ID, as it went before. Without the flag the answer is409 NO_PAYER_ANSWER. - Void: the payer never acknowledged it, so it is voided at once: no void transaction,
claim.voided. A replacement, or a claim the payer gave a number, is voided by a void transaction instead. A void transaction flagged this way can only be resent; if the original claim's payment was reversed (claim.payment_reversed), the payer took the void, so don't resend it.
A late answer still counts: a 277 or ERA that arrives later moves the claim as it would have, and clears the flag. Edits not yet sent stay on the claim: correct it once the payer has answered. Only claims sent after this check went live are flagged. In test mode, try it with CH-NO-ANSWER.
What a claim sends is fixed when it is queued#
When a claim is queued, what its file says of the billing office, the service location and the rendering provider is fixed, and shown in snapshot. Editing the office or provider afterwards changes no queued or sent claim. A draft, a validated claim and one that needs attention follow the current records (snapshot is null), except a claim flagged NO_PAYER_ANSWER, which keeps what it was sent with. To change what a sent claim said, correct it: the correction takes a new snapshot when it is queued again.
The timeline#
GET /claims/{id}/timeline lists what happened, oldest first:
curl "https://sandbox.myclaimhouse.com/api/v1/claims/$CLAIM_ID/timeline" -H "Authorization: Bearer $CLAIMHOUSE_KEY"{
"object": "claim_timeline",
"claim_id": "clm_...",
"data": [
{ "type": "created", "occurred_at": "...", "summary": "Claim created", "detail": { "via": "api_key" }, "actor": { "kind": "api_key", "id": "key_..." } },
{ "type": "validated", "occurred_at": "...", "summary": "Validated · 0 errors, 1 warning", "detail": { "errors": 0, "warnings": 1 }, "actor": null },
{ "type": "queued", "occurred_at": "...", "summary": "Queued for the next batch", "detail": {}, "actor": null },
{ "type": "submitted", "occurred_at": "...", "summary": "Submitted to network · batch 20260924210030000.837, claim 1 of 1", "detail": { "file_name": "20260924210030000.837", "position": 1 }, "actor": null },
{ "type": "accepted_clearinghouse", "occurred_at": "...", "summary": "Accepted by clearinghouse · 997", "detail": {}, "actor": null },
{ "type": "accepted_payer", "occurred_at": "...", "summary": "Accepted by payer front end · 277 · STC A1:20", "detail": { "payer_claim_number": "..." }, "actor": null }
]
}The same steps are sent as events (claim.submitted, claim.accepted, claim.rejected and the others), each with the claim's ID and state only. A claim moved to another office has a moved entry, and one a next payer's claim was made from a next_claim_created entry.
GET /claims filters by state, office, payer, creation time, the request or idempotency_key that made a claim, or its patient control number:
curl "https://sandbox.myclaimhouse.com/api/v1/claims?state=queued&limit=10" -H "Authorization: Bearer $CLAIMHOUSE_KEY"Try the scenarios#
In test mode the subscriber's member_id picks what the network does:
| Member ID | What happens |
|---|---|
CH-REJECT-A7 | Accepted in the 997, then rejected by the payer in the 277 with A7:33 (subscriber not found) |
CH-REJECT-A3 | Accepted in the 997, then returned by the payer as unprocessable in the 277 with A3:21 |
CH-997-REJECT | The whole file is rejected in the 997: its claims return to the queue, go out in the next batch and are accepted |
CH-ATTACH-REQUIRED | A claim fails validation with an attachment-required error until a closed attachment (an X-ray) is on it; then it is accepted |
CH-SOLICITED | The payer accepts the claim, then asks for a narrative and an X-ray 1 minute later (a payer request) |
CH-PAID-ERA | Accepted by the payer, then paid in an 835 2 minutes later: 80% of an allowed amount below the charge on each line (a contractual adjustment and coinsurance) |
CH-DENIED | Accepted by the payer, then denied in an 835 2 minutes later: the benefit maximum was reached |
CH-NO-ANSWER | Accepted in the 997, then no answer from the payer: the claim needs attention with NO_PAYER_ANSWER when its 277 would have come (a live claim waits 7 days) |
Any other member ID is accepted by the clearinghouse (997 after 30 seconds) and by the payer (277 after 60 seconds, A1:20).
Correct and resubmit#
A claim that needs attention, or was rejected, is corrected under the same ID. PATCH /claims/{id} changes only the fields you send (the subscriber and patient field by field, the lines as a whole) and checks the result. POST /claims/{id}/resubmit does the same and queues the claim when it has no errors.
Start with a crown without its tooth:
curl "https://sandbox.myclaimhouse.com/api/v1/claims" \
-H "Authorization: Bearer $CLAIMHOUSE_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d @- <<EOF
{
"office_id": "$OFFICE_ID",
"payer_id": "$PAYER_ID",
"rendering_provider_id": "$PROVIDER_ID",
"subscriber": { "first_name": "Sam", "last_name": "Sample", "date_of_birth": "1980-02-02", "gender": "F", "member_id": "CH-REJECT-A7",
"address": { "line1": "1 Sample Street", "city": "Sampleville", "state": "GA", "postal_code": "30301" } },
"lines": [{ "cdt": "D2740", "fee": 1140.00, "service_date": "2026-09-24" }]
}
EOFThen give the line its tooth and send it on:
curl "https://sandbox.myclaimhouse.com/api/v1/claims/$FIX_ID/resubmit" \
-H "Authorization: Bearer $CLAIMHOUSE_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{ "lines": [{ "cdt": "D2740", "fee": 1140.00, "service_date": "2026-09-24", "tooth": "3" }] }'- A rejected claim the payer has (it has a
payer_claim_number) goes out again as a replacement naming that number; one it never had, as an original. - A claim the payer accepted, paid or denied is corrected with
resubmittoo: the correction is checked first (with errors it is refused and the claim stays as it was), then sent as a replacement under the same ID, with its attachments. To send different images, see Attachments. - Not corrected: a
reconciledclaim, and a claim with a void in progress.
Changed your mind before the replacement went out? POST /claims/{id}/cancel_correction puts the claim back as the payer has it: content, lines and attachments as before (your edits undone; an attachment that went to another claim meanwhile is named on the timeline), its frequency, and the state its payments leave it in (accepted_payer, paid or denied). It works while the correction needs attention, is validated or queued (also after its file was rejected). Once the replacement has gone to the payer, or with no correction open, it answers 409 CONFLICT. A correction goes out in the next batch, so the window is short: hold it on your side if staff should review it first.
Void a claim#
POST /claims/{id}/void voids at once a claim the payer has not seen (a draft, a validated or queued claim, one that needs attention, one rejected before the payer numbered it, or one the payer never answered). For a claim the payer has (a payer_claim_number, or a correction of one, also while the correction is open), it queues a void transaction, a new claim linked to it (void_transaction), and the original becomes voided when the payer accepts the void. A claim between being sent and the payer's answer, or a replacement queued to go out, cannot be voided until then (cancel the correction first). A converted predetermination is not voided: void the claim made from it.
curl "https://sandbox.myclaimhouse.com/api/v1/claims/$FIX_ID/void" \
-H "Authorization: Bearer $CLAIMHOUSE_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{}'Read the 837D#
GET /claims/{id}/x12 returns the claim as it was sent, as text: its file's envelope and header, the levels above the claim (billing office, subscriber, patient), the claim loop (CLM and its fields, the rendering provider, the service facility, other payers, and per line LX, SV3, TOO, DTP and REF*6R), and the trailers, one segment per line. Other claims of the file are left out, and SE, GE and IEA count what is shown. Until the claim is in a file it is not found:
curl "https://sandbox.myclaimhouse.com/api/v1/claims/$FIX_ID/x12" -H "Authorization: Bearer $CLAIMHOUSE_KEY"When you read one: CLM01 is the patient control number, and with the line number each line's REF6R; CLM05 holds the place of service and frequency (11:B:1 an original at an office, :7 a replacement, :8 a void, with REFF8 naming the payer claim number); TOO a tooth and its surfaces; ISA15 is T in test mode, where the receiver (1000B) is CLAIM HOUSE SANDBOX. The reference shows a whole example.