Skip to the page

Search the titles, headings and text of every guide and API reference page.

    Chapters

    Claims

    Validate a claim

    POST/api/v1/claims/validate

    Checks a claim body the way creating it would and stores nothing: every finding together, errors (which keep a claim from being sent) and warnings. Needs an Idempotency-Key header and a key with the submit permission.

    Needs a key with submit permission.

    Request

    Headers

    Headers
    NameTypeRequiredDescription
    Idempotency-KeystringrequiredMakes the request safe to repeat: a request with the same key and body returns the first answer (the reply has an idempotent-replayed header), and the same key with a different request is refused. 1 to 255 printable characters; a UUID is a good choice.At least 1 character.At most 255 characters.Matches `^[\x21-\x7e]{1,255}$`.

    Body

    Body
    NameTypeRequiredDescription
    kindstringoptionalclaim (the default): treatment done. predetermination: sent before treatment to ask what the payer would pay; it has no service dates and comes back with an estimate. Set when the claim is made; it never changes.One of: `claim`, `predetermination`.
    office_idstringrequiredThe office that bills the claim (off_...).
    payer_idstringrequiredThe payer (a Claim House payer ID, pyr_..., a payer ID or an alias from the payer directory).
    rendering_provider_idstringrequiredThe dentist who did the treatment (prv_...).
    subscriberobjectrequiredThe person who holds the coverage. Also the patient unless patient is given.
    subscriber.first_namestringrequired
    subscriber.last_namestringrequired
    subscriber.date_of_birthvalueoptional
    subscriber.genderstring or nulloptionalOne of: `F`, `M`, `U`.
    subscriber.member_idstringrequired
    subscriber.group_numbervalueoptional
    subscriber.addressobject or nulloptional
    subscriber.address.line1stringrequired
    subscriber.address.line2valueoptional
    subscriber.address.citystringrequired
    subscriber.address.statestringrequired
    subscriber.address.postal_codestringrequired
    patientobject or nulloptionalThe patient, when not the subscriber.
    patient.first_namestringrequired
    patient.last_namestringrequired
    patient.date_of_birthvalueoptional
    patient.genderstring or nulloptionalOne of: `F`, `M`, `U`.
    patient.relationshipstringrequiredOne of: `spouse`, `child`, `other`.
    patient.addressobject or nulloptional
    patient.address.line1stringrequired
    patient.address.line2valueoptional
    patient.address.citystringrequired
    patient.address.statestringrequired
    patient.address.postal_codestringrequired
    place_of_servicestringoptionalThe place of service code. Default 11 (office).
    linesarray of objectrequiredThe procedures, one line each. At least one for a claim to be sent.At most 100 items.
    lines[].cdtstringrequired
    lines[].descriptionvalueoptional
    lines[].service_datevalueoptional
    lines[].feenumberoptional
    lines[].quantityintegeroptionalAt least 0.At most 99999.
    lines[].toothvalueoptionalThe tooth, for a line with one. For several teeth give teeth instead (never both).
    lines[].surfacesvalueoptionalThe surfaces of the tooth. With teeth, give the surfaces of each tooth there.
    lines[].areavalueoptionalThe oral cavity code, for a line with one area. For several give areas instead (never both).
    lines[].teetharray of objectoptionalSeveral teeth, each with its surfaces (up to 32): one TOO segment each. Not with tooth or surfaces.At most 32 items.
    lines[].teeth[].toothstringrequired
    lines[].teeth[].surfacesvalueoptional
    lines[].areasarray of stringoptionalSeveral oral cavity codes (up to 5). Not with area.At most 5 items.
    lines[].prosthesisstring or nulloptionalinitial or replacement: whether the crown, bridge or denture is the first or a replacement.One of: `initial`, `replacement`.
    lines[].prior_placement_datevalueoptionalWhen the prosthesis being replaced was first placed: needed for a replacement (a finding when missing).
    lines[].diagnosis_pointersarray of integeroptionalPositions, from 1, in the claim's diagnosis_codes (up to 4). A position past the codes is a finding.At most 4 items.
    totalvalueoptionalThe total the claim comes to, in dollars: checked against the lines.
    remarksvalueoptionalNotes for the payer: up to 5 notes of 80 characters, split between words (about 370 characters of ordinary text); a remark that does not fit is a TOO_LONG finding.
    metadataobjectoptionalUp to 20 pairs of your own, returned with the claim and never sent to the payer.
    patient_control_numbervalueoptionalYour identifier for the claim, sent on the claim and returned on its status: unique in your organization. Made for you when omitted.
    attachmentsarray of stringoptionalThe attachments the claim carries (att_...), at most 5: of your organization and mode, for the claim's payer, unsolicited and on no other claim. Each must be closed before the claim is sent (ATTACHMENT_OPEN); the claim file carries a PWK and a note for each.At most 5 items.
    foreign_attachmentsarray of objectoptionalFor partners that already hold an attachment number (an attachment sent through their own NEA account, say): the PWK and NTE of each, which the claim file carries unchanged, after the claim's own attachments. At most 10 in all with attachments. Claim House keeps nothing else of such an attachment and does not check it.At most 10 items.
    foreign_attachments[].pwkarray of stringrequiredThe elements of the PWK segment after its id, in order (1 to 9); an empty string for an element the segment leaves empty.At most 9 items.
    foreign_attachments[].ntestring or nullrequiredThe text of the NTE segment that followed the PWK, or null when none did.At most 80 characters.
    coordinationobjectoptionalCoordination of benefits: this claim's place among the payers (sequence) and the other payers that are responsible before or alongside this one. Absent: a primary claim with no other payer. On a correction it is replaced whole.
    coordination.sequencestringoptionalprimary (the default), secondary or tertiary: this claim's place among the payers. Written as SBR01 of the claim's subscriber loop.One of: `primary`, `secondary`, `tertiary`.
    coordination.other_payersarray of objectoptionalThe payers responsible before or alongside this one (up to 2): a secondary claim has one primary, a tertiary claim a primary and a secondary.At most 2 items.
    coordination.other_payers[].payer_idstringoptionalThe other payer, as a directory reference (a Claim House payer ID, a payer ID or an alias). Or give payer_name and payer_identifier, never both ways.
    coordination.other_payers[].payer_namestringoptionalFor a payer outside the directory: its name.
    coordination.other_payers[].payer_identifierstringoptionalFor a payer outside the directory: its payer ID as the claim file carries it (NM109).
    coordination.other_payers[].responsibilitystringrequiredprimary or secondary: this payer's place before the claim's own payer.One of: `primary`, `secondary`.
    coordination.other_payers[].insurance_typestringoptionalThe filing indicator of this payer. Default commercial.One of: `commercial`, `medicaid`, `medicare_b`, `champus`, `dental_maintenance`, `ppo`, `pos`, `epo`, `indemnity`, `hmo`, `self_pay`, `other`.
    coordination.other_payers[].relationshipstringrequiredThe patient's relationship to this payer's subscriber: self, spouse, child or other.One of: `self`, `spouse`, `child`, `other`.
    coordination.other_payers[].subscriberobjectrequiredThis payer's subscriber.
    coordination.other_payers[].subscriber.first_namestringrequired
    coordination.other_payers[].subscriber.last_namestringrequired
    coordination.other_payers[].subscriber.member_idstringrequired
    coordination.other_payers[].subscriber.group_numbervalueoptional
    coordination.other_payers[].paidvalueoptionalWhat this payer paid, in dollars; leave out when it did not adjudicate the claim.
    coordination.other_payers[].paid_datevalueoptionalWhen it paid: needed when it paid anything.
    coordination.other_payers[].patient_responsibilityvalueoptionalWhat this payer says the patient owes, in dollars.
    coordination.other_payers[].adjustmentsarray of objectoptionalIts adjustments, which with paid add up to the claim's charge. With lines: its claim-level adjustments only.At most 30 items.
    coordination.other_payers[].adjustments[].groupstringrequiredCO contractual, OA other, PI payer initiated, PR patient responsibility.One of: `CO`, `OA`, `PI`, `PR`.
    coordination.other_payers[].adjustments[].reasonstringrequiredThe claim adjustment reason code (such as 45).
    coordination.other_payers[].adjustments[].amountnumberoptionalIn dollars; negative for a reversal.
    coordination.other_payers[].linesarray of object or nulloptionalWhat it paid and adjusted line by line (loop 2430): every line of the claim, once each. Needs paid and paid_date. Each line's paid and adjustments add up to its fee; the lines' paid less the claim-level adjustments is paid. Leave out (or null) for claim-level figures.At most 100 items.
    coordination.other_payers[].lines[].lineintegerrequiredThe claim line, from 1 in the order of lines.At least 1.At most 100.
    coordination.other_payers[].lines[].paidnumberoptionalWhat this payer paid on the line, in dollars.
    coordination.other_payers[].lines[].adjustmentsarray of objectoptionalIts adjustments of the line, which with paid add up to the line's fee.At most 30 items.
    coordination.other_payers[].lines[].adjustments[].groupstringrequiredCO contractual, OA other, PI payer initiated, PR patient responsibility.One of: `CO`, `OA`, `PI`, `PR`.
    coordination.other_payers[].lines[].adjustments[].reasonstringrequiredThe claim adjustment reason code (such as 45).
    coordination.other_payers[].lines[].adjustments[].amountnumberoptionalIn dollars; negative for a reversal.
    insurance_typestringoptionalThe claim filing indicator (SBR09). Default commercial. For a Medicaid claim: medicaid, with the Medicaid ID in subscriber.member_id.One of: `commercial`, `medicaid`, `medicare_b`, `champus`, `dental_maintenance`, `ppo`, `pos`, `epo`, `indemnity`, `hmo`, `self_pay`, `other`.
    accidentobject or nulloptionalThe accident the treatment relates to: cause, date (always needed) and state (needed for auto).
    accident.causestringrequiredOne of: `auto`, `employment`, `other`.
    accident.datevalueoptionalWhen the accident happened. Always needed (a finding when missing).
    accident.statevalueoptionalThe state the accident happened in: needed for an auto accident.
    referral_numbervalueoptionalThe referral number (REF*9F), up to 50 characters.
    prior_authorizationvalueoptionalThe prior authorization number (REF*G1), up to 50 characters.
    diagnosis_codesarray of stringoptionalUp to 4 ICD-10-CM codes; the first is the principal diagnosis. Written without the dot. Lines point at them with diagnosis_pointers. On a correction the list is replaced whole.At most 4 items.
    orthodonticsobject or nulloptionalOrthodontic treatment: the date the appliance was placed, the months of treatment in all and the months remaining.
    orthodontics.appliance_placed_datestringrequired
    orthodontics.total_monthsintegerrequiredThe months of treatment in all (0 to 99).At least -9007199254740991.
    orthodontics.months_remainingintegerrequiredThe months of treatment remaining (0 to 99).At least -9007199254740991.
    missing_teetharray of objectoptionalTeeth that are missing or to be extracted (up to 35). On a correction the list is replaced whole.At most 35 items.
    missing_teeth[].toothstringrequired
    missing_teeth[].statusstringrequiredOne of: `missing`, `to_be_extracted`.
    service_locationobject or nulloptionalWhere the treatment happened, when that is not the billing office's address: name, NPI (optional) and address. Not written when it is the billing address.
    service_location.namestringrequired
    service_location.npivalueoptional
    service_location.addressobjectrequired
    service_location.address.line1stringrequired
    service_location.address.line2valueoptional
    service_location.address.citystringrequired
    service_location.address.statestringrequired
    service_location.address.postal_codestringrequired
    payer_provider_idsobject or nulloptionalThe payer's own IDs for the billing office and the rendering provider (REF*G2), such as Medicaid provider IDs, up to 50 characters each. One left out or null: the office's or the provider's payer_provider_ids entry for the claim's payer, taken when the claim is queued (see snapshot). On a correction it is replaced whole.
    payer_provider_ids.billingvalueoptionalThe payer's own ID for the billing office (2010BB REF*G2).
    payer_provider_ids.renderingvalueoptionalThe payer's own ID for the rendering provider (2310B REF*G2).
    encounterbooleanoptionaltrue: a capitation encounter, reported to the payer and not billed for payment (sent as reporting only, BHT06 RP). Validated and priced like any claim. A claim's only: a predetermination with it is refused. Default false.
    allow_duplicatebooleanoptionaltrue: this claim is a separate service identical to another claim (same payer, patient, rendering provider, service dates, codes and fees), billed on purpose. A duplicate of a claim already queued or sent is then a warning instead of a DUPLICATE_CLAIM error, and both are sent. Default false.
    submitbooleanoptionaltrue (the default): validate the claim and queue it when it has no errors. false: save it as a draft.

    Response

    The findings. Status 200.

    Response fields
    NameTypeDescription
    objectstringAlways `claim_validation`.
    validbooleanTrue when there is no error: the claim would be queued.
    errorsintegerAt least -9007199254740991.
    warningsintegerAt least -9007199254740991.
    findingsarray of object
    findings[].fieldvalueThe request field the finding is about, as a dotted path (lines[0].tooth), or null for the claim as a whole.
    findings[].codestringA stable code for the finding.
    findings[].messagestring
    findings[].severitystringAn error keeps the claim from being sent; a warning does not.One of: `error`, `warning`.

    Errors

    Errors
    HTTP statusCodeWhat it means
    401UNAUTHORIZEDA valid API key is required. Send it as "Authorization: Bearer <key>".
    403PERMISSION_DENIEDThis API key is not allowed to do that.
    422INVALID_REQUESTThe request is not valid.
    400IDEMPOTENCY_KEY_REQUIREDThis request needs an Idempotency-Key header: a value you make up (a UUID is good), new for each new request.
    400IDEMPOTENCY_KEY_INVALIDThe Idempotency-Key header must be 1 to 255 printable characters.
    422IDEMPOTENCY_KEY_REUSEDThat Idempotency-Key was already used with a different request.
    409IDEMPOTENCY_KEY_IN_USEA request with that Idempotency-Key is still running. Send it again with the same key after Retry-After seconds.
    429TOO_MANY_REQUESTSToo many requests of this kind lately. Wait, then try again.
    413PAYLOAD_TOO_LARGEThe request body is larger than 1 MB.
    504TIMEOUTThe request took too long. Send it again with the same Idempotency-Key and body after Retry-After seconds: a 409 means it is still finishing (wait and send again), and any other answer is final. If this 504 comes back, find what the request made by listing with ?idempotency_key=<the key>.
    503CLAIMS_UNAVAILABLEClaims are not available in live mode yet. Use a test key.
    500INTERNALSomething went wrong on our side. Quote the request ID if you contact us.

    Example

    Example request

    Shell
    curl -X POST "https://app.myclaimhouse.com/api/v1/claims/validate" \
      -H "Authorization: Bearer $CLAIMHOUSE_KEY" \
      -H "Idempotency-Key: $(uuidgen)" \
      -H "Content-Type: application/json" \
      -d '{
      "office_id": "off_01JM000000E008000000000003",
      "payer_id": "pyr_01JM000000E008000000000004",
      "rendering_provider_id": "prv_01JM000000E008000000000005",
      "subscriber": {
        "first_name": "Alex",
        "last_name": "Example",
        "date_of_birth": "1985-04-12",
        "gender": "F",
        "member_id": "CH-ACTIVE-FULL",
        "address": {
          "line1": "1 Example Street",
          "city": "Exampleville",
          "state": "GA",
          "postal_code": "30000"
        }
      },
      "lines": [
        {
          "cdt": "D2740",
          "fee": 1140,
          "service_date": "2026-09-24",
          "tooth": "3"
        }
      ],
      "metadata": {
        "pms_claim_number": "PMS-1042"
      },
      "attachments": [
        "att_01JM000000E00800000000003G"
      ]
    }'

    Example response: 200

    JSON
    {
      "object": "claim_validation",
      "valid": true,
      "errors": 0,
      "warnings": 0,
      "findings": []
    }