837P Health Care Claim
Submit an EDI 837P · Health Care Claim: Professional via API
Quick answer
Can I send 837I or 837D claims through the same endpoint?
What is an EDI 837P?
The 837 · Health Care Claim: Professional (005010X222A1) is how physicians and outpatient providers bill health plans. SignalEDI accepts the claim as typed JSON, validates it against payer companion-guide rules, and renders the compliant X12 837P before routing — your billing system never assembles segments.
- See /blog/edi-837-healthcare-claims for the full 837 guide
- See /blog/healthcare-edi-api for the 835 and 270/271 patterns
POST request
Pass partnerId, documentTypeCode 837, environment, healthcareDataClassification, and the typed payload. Sandbox example with synthetic data only:
curl -X POST https://api.signaledi.com/v1/documents/outbound \
-H "Authorization: Bearer $SIGNALEDI_SANDBOX_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: sandbox-837p-0001" \
-d @claim-837p.jsonThe 837P JSON payload
The payload mirrors the claim: billing provider, subscriber, payer, and one or more claims, each with diagnoses and service lines.
- Required payload objects: billingProvider, subscriber, payer, claims
- healthcareDataClassification is required for healthcare 837 JSON
- Use SYNTHETIC only with sandbox data
{
"partnerId": "ptr_sandbox_payer",
"documentTypeCode": "837",
"environment": "CERTIFICATION",
"healthcareDataClassification": "SYNTHETIC",
"payload": {
"originatorReference": "BATCH-0001",
"date": "2026-08-28",
"billingProvider": {
"name": "Sample Medical Group",
"npi": "1234567893",
"taxId": "123456789",
"address1": "100 Main St",
"city": "Springfield",
"state": "IL",
"postalCode": "62701"
},
"subscriber": {
"lastName": "Sample",
"firstName": "Sandbox",
"memberId": "SANDBOX-MBR-0001",
"claimFilingIndicator": "CI"
},
"payer": {
"name": "Sample Health Plan",
"payerId": "PAYER01"
},
"claims": [
{
"claimId": "CLM-0001",
"totalChargeAmount": 150,
"diagnoses": ["J06.9"],
"serviceLines": [
{
"lineNumber": 1,
"procedureCode": "99213",
"chargeAmount": 150,
"units": 1,
"serviceDate": "2026-08-20",
"diagnosisPointers": [1]
}
]
}
]
}
}Responses and validation errors
A successful submission returns HTTP 202 with a documentId and queued status. Validation failures return 400 with per-field fieldErrors so your system can show exactly what to fix.
- Example 400: { "fieldErrors": { "documentTypeCode": "Required string for typed payloads" } }
{
"ok": true,
"documentId": "doc_out_sandbox_0001",
"mode": "typed",
"standard": "X12",
"documentTypeCodes": ["837"],
"status": "queued",
"environment": "CERTIFICATION",
"idempotentReplay": false
}Acknowledgements
After routing, the payer or clearinghouse returns a 999 · Implementation Acknowledgment for syntax and a 277CA claim acknowledgment for claim-level acceptance. Watch document.partner_ack webhooks or the dashboard lifecycle instead of polling — see /developers/guides/handle-997-999-acknowledgements for the event model.
FAQ
Common questions
Yes — the same outbound endpoint accepts the 837 family; the payload converts to a compliant X12 837P, 837I, or 837D based on the claim and partner profile. See /blog/healthcare-edi-api for the supported transaction list.
No. Sandbox requests carry synthetic or de-identified data only and declare healthcareDataClassification SYNTHETIC. PHI is accepted only on a production connection, where production PHI clearance and an executed BAA are required.
Yes — provide exactly one of payload, content, or contentBase64. JSON is the fastest developer on-ramp because validation returns field-level errors before anything is routed.