Guides
Offices
The office is the billing entity of a claim. List, add and change offices through the API, with a pay-to address and a default service location.
An office is who a check or a claim is made for, and the billing entity of a claim: its name, NPI, tax ID and address go on the file as the billing provider. Offices belong to your organization and a mode: a test key sees and adds test offices, a live key live ones.
One office per billing identity#
Each billing identity (an NPI with its tax ID) is its own office, through the API as through SFTP. A practice that bills some claims under a dentist's own NPI adds an office for that NPI and sends those claims with its office_id.
- Several offices may share an address.
- Two offices may share an NPI (a group billing under one NPI at two addresses). Over SFTP, such offices are told apart by the billing address in the file.
- A claim treated somewhere else, or paid to another address, keeps its billing office: see Billing, treating and pay-to addresses.
List your offices#
GET /offices lists the offices of the key's mode. A new organization starts with a test-mode sample office.
curl "https://app.myclaimhouse.com/api/v1/offices" -H "Authorization: Bearer $CLAIMHOUSE_KEY"Add an office#
POST /offices (MCP: create_office) takes the fields of the dashboard's office form, checked by the same rules, and answers 201. It needs an Idempotency-Key and a key with submit. A test key adds a test office, which is all an integration without the dashboard needs for the sandbox.
curl "https://app.myclaimhouse.com/api/v1/offices" \
-H "Authorization: Bearer $CLAIMHOUSE_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d @- <<EOF
{
"name": "Sample Family Dental",
"address_line1": "100 Sample Street",
"city": "Sampleville",
"state": "GA",
"postal_code": "30301",
"phone": "404-555-0100",
"npi": "1999999000",
"tax_id": "00-0000000",
"specialty": "general"
}
EOF- Required:
name,address_line1,city,state(two letters),postal_code(5 or 9 digits; claims need all nine,OFFICE_ZIP_PLUS4_REQUIRED),phone(10 digits),npi(valid check digit),tax_id(9 digits),specialty. - The billing address is a street address: a PO box is refused with
422. - Optional:
address_line2,time_zone(the state's main zone when left out),pay_to_address,default_service_location,payer_provider_ids, and the contact and doctor fields the attachment network needs (contact_name,contact_email,contact_fax,doctor_first_name,doctor_last_name). - The full tax ID is never shown back: the office has
tax_id_last4. An office added through the API saysorigin: "api". - A live office can be added once your organization is live.
Change an office#
PATCH /offices/{id} takes any field POST does, by the same rules, and changes only those you send. An empty string clears an optional text field (time_zone goes back to the state's zone); null clears pay_to_address, default_service_location and client_reference.
curl -X PATCH "https://app.myclaimhouse.com/api/v1/offices/$NEW_OFFICE_ID" \
-H "Authorization: Bearer $CLAIMHOUSE_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d @- <<EOF
{
"address_line1": "120 Sample Street",
"postal_code": "303010100",
"pay_to_address": { "line1": "PO Box 100", "city": "Sampleville", "state": "GA", "postal_code": "30301" },
"default_service_location": { "name": "Sample Family Dental North", "address": { "line1": "250 Sample Parkway", "city": "Sampleton", "state": "GA", "postal_code": "300020100" } }
}
EOF- One office, one call: a new address shared by several offices is a
PATCHto each. - An edit applies to claims queued after it. Queued and sent claims keep what they were queued with (see Claims).
- An office registered with the attachment network stays registered, with its facility ID; attachments are never blocked by an edit. See Attachments.
- To move an office's unsent claims to another office, see Moving claims.
IDs assigned by payers#
payer_provider_ids holds a payer's own ID for the office, such as a Medicaid provider ID: a list of { payer_id, identifier }, one per payer (pyr_...), 1 to 50 characters each. A claim to that payer sends it as REF*G2 (2010BB), unless the claim sends its own (see More claim fields). On PATCH the list replaces the one on file ([] removes them all). A payer given twice, an unknown payer or a longer ID is a 422.
The office of a check#
office_id on POST /eligibility: Optional when your organization has exactly one office in the key's mode, test or live: that office is used. With no office, or several, the check is refused with a 422 naming office_id (listing your office IDs when there are several).
Many offices#
Many offices covers centralized billing, moving claims, paging and filtering GET /offices, practice groups, client_reference, and usage and statements by office.