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.

Authorizationstringrequiredheader

A Stedi API Key for authentication.

Body

application/json
x12stringrequired

Response

application/json

ClaimsRawX12Submission 200 response

Information about the claim.

Show attributes

The type of claim, currently not used.

An identifier Stedi assigns to the claim.

A tracking number that Stedi assigns to the claim.

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

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.

The ID of the payer. This is the same as the tradingPartnerServiceId.

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

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

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 UUID for the service line.

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

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

An identifier for the transaction.

Currently not used.

errorsarray<object>

A list of errors. Currently not used.

Array item

The error code.

The description of the error code.

The field related to the error.

Recommended followup actions to correct the error.

Where the error is located in the original request.

The value for the data causing the error.

failureobject

Currently not used.

Show attributes

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
metaobject

Metadata from Stedi about the request.

Show attributes

Indicates where this request can be found for support.

The biller ID assigned to this request.

The sender ID assigned to this request.

The submitter ID assigned to this request.

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

payerobject

Information about the payer for the submitted claim.

Show attributes

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

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

statusstring

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.

warningsarray<object>

A list of warnings.

Array item

A machine-readable code indicating the type of problem.

A human-readable description of the problem.