Professional Claims (837P) Raw X12

Submit an 837P professional claim in raw X12 EDI format

POST/change/medicalnetwork/professionalclaims/v3/raw-x12-submission

This endpoint is ideal if you have an existing system that generates X12 EDI files and you want to send them through Stedi.

  1. Call this endpoint with a payload in 837 X12 EDI format.
  2. Stedi validates the EDI and sends the claim to the payer.
  3. The endpoint returns a response from Stedi in JSON format containing information about the claim you submitted and whether the submission was successful.

Visit Submit professional claims for a full how-to guide.

CMS-1500 Claim Form PDF

When you submit a professional claim, Stedi automatically generates a 1500 claim form PDF. If you plan to send these PDFs to payers or retain them for your records, we strongly recommend reviewing the CMS-1500 claim form PDF documentation to learn how to structure claim submissions for optimal generation, the correct printer settings for generated PDFs, and general best practices.

Authorization
RequiredHeader

A Stedi API Key for authentication.

Body

application/json
x12
StringRequired

Response

application/json

ClaimsRawX12Submission 200 response

Information about the claim.

Show attributes
claimType
claimReference.claimType
StringDeprecated

This shape is deprecated: Currently not used.

correlationId
claimReference.correlationId
String

An identifier Stedi assigns to the claim.

customerClaimNumber
claimReference.customerClaimNumber
String

A tracking number that Stedi assigns to the claim.

formatVersion
claimReference.formatVersion
String

The X12 EDI version Stedi used to generate the claim for the payer. This is always 5010.

patientControlNumber
claimReference.patientControlNumber
String

The patientControlNumber from the original request, if supplied. This is a unique identifier that you assign to the claim so you can track the claim and correlate it with responses from the payer.

payerID
claimReference.payerID
StringDeprecated

This shape is deprecated: Please use payerId.

payerId
claimReference.payerId
String

The payer's ID. This is the same as the tradingPartnerServiceId.

rhclaimNumber
claimReference.rhclaimNumber
String

A tracking number Stedi assigns to the claim. This is the same as the correlationId.

serviceLines
claimReference.serviceLines
Array of Objects

Contains a unique identifier for each service line, listed in the order the service lines were included in the claim. You can use these identifiers to correlate payer responses to specific service lines.

Array item
lineItemControlNumber
claimReference.serviceLines[].lineItemControlNumber
String

A unique identifier for the service line, matching the value provided for the claimInformation.serviceLines.providerControlNumber property in the claim submission. If you didn't provide a value for providerControlNumber, this property contains a randomly generated a ULID for the service line.

submitterId
claimReference.submitterId
String

Stedi's ID for the entity that submitted the claim.

timeOfResponse
claimReference.timeOfResponse
String

A timestamp for Stedi's response to the claim submission.

An identifier for the transaction.

editResponses
Array of Objects

Currently not used.

Array item
allowOverride
editResponses[].allowOverride
String
badData
editResponses[].badData
String
claimCorePath
editResponses[].claimCorePath
String
editActivity
editResponses[].editActivity
String
editName
editResponses[].editName
String
element
editResponses[].element
String
errorDescription
editResponses[].errorDescription
String
fieldIndex
editResponses[].fieldIndex
String
loop
editResponses[].loop
String
phaseID
editResponses[].phaseID
String
qualifierCode
editResponses[].qualifierCode
String
referenceID
editResponses[].referenceID
String
segment
editResponses[].segment
String
editStatus
StringDeprecated

This shape is deprecated: Currently not used.

errors
Array of Objects

Errors resulting from claim edits. You must review and fix these errors before resubmitting.

Array item
code
errors[].code
String

The error code.

description
errors[].description
String

The description of the error code.

field
errors[].field
String

The field related to the error.

followupAction
errors[].followupAction
String

Recommended followup actions to correct the error.

location
errors[].location
String

Where the error is located in the original request.

value
errors[].value
String

The value for the data causing the error.

failure
Object

Currently not used.

Show attributes
code
failure.code
String
description
failure.description
String

A 200 response indicates that Stedi successfully generated the X12 EDI claim format required by the payer. It does not indicate whether the payer has accepted the claim - the payer will respond later with a 277CA containing this information. Learn more about 277CAs. A 400 response indicates one or more problems with the claim data in the request. Examples include missing required fields, invalid values, or incorrect data types. The response includes a message describing the problem.

Possible values
200 OK
400 BAD_REQUEST
meta
Object

Metadata from Stedi about the request.

Show attributes
applicationMode
meta.applicationMode
String

Indicates where this request can be found for support.

billerId
meta.billerId
String

The biller ID assigned to this request.

senderId
meta.senderId
String

The sender ID assigned to this request.

submitterId
meta.submitterId
String

The submitter ID assigned to this request.

traceId
meta.traceId
String

The file execution ID, a unique identifier assigned to the processed file within the Stedi platform.

payer
Object

Information about the payer for the submitted claim.

Show attributes
payerID
payer.payerID
StringDeprecated

This shape is deprecated: Please use payerId.

payerId
payer.payerId
String

The payer's ID. This is the same as the tradingPartnerServiceId.

payerName
payer.payerName
String

The payer's business name, such as Aetna or Cigna.

status
String

The status of the claim submission.

An ID for the payer you identified in the original claim. This value may differ from the tradingPartnerServiceId you submitted in the original request because it reflects the payer's internal concept of their ID, not necessarily the ID Stedi uses to route requests to this payer.

warnings
Array of Objects

A list of warnings. Currently not used.

Array item
code
warnings[].code
String

A machine-readable code indicating the type of problem.

description
warnings[].description
String

A human-readable description of the problem.