# Test claims workflow
Source: https://www.stedi.com/docs/healthcare/test-claims-workflow

***

title: Test claims workflow
sidebarTitle: "Test claims workflow"
------------------------------------

You can submit test professional, dental, and institutional claims to make sure your claims process is working smoothly from end to end. When you submit test claims to the [Stedi Test Payer](https://www.stedi.com/healthcare/network?search=StediTest\&entry=FRCPB), Stedi generates and returns an 835 Electronic Remittance Advice (ERA) based on the original claim.

## Submit test claims

You can submit test claims with any payer ID and receive test 277CA claim acknowledgments from Stedi. This helps you test your claim submission workflow and practice interpreting and handling 277CA responses.

To send test claims:

* **JSON endpoints:** Set the `usageIndicator` property in the test claim body to `T`.
* **X12 EDI endpoints and SFTP:** Set `ISA15` (Interchange Usage Indicator) to `T` (Test Data) instead of `P` (Production Data).
* **Stedi portal**: Designate the claim as a test claim during the submission process.
  * In the [1500 claim form](https://portal.stedi.com/app/healthcare/claims/create), select **Test** for the **EDI mode**.
  * During [X12 EDI upload](https://portal.stedi.com/app/healthcare/claims/upload), set `ISA15` (Interchange Usage Indicator) to `T` (Test Data).

When you send a test claim, Stedi doesn't send it to the payer. Instead, it processes the claim as if it were sent to the payer and returns a 277CA claim acknowledgment indicating whether the claim was successfully processed.

Designating a claim as test data also allows you to filter for test claims on the [Transactions](https://portal.stedi.com/app/core/transactions) page in the Stedi portal. The following example shows the **Transactions** page filtered to show only 837 claims. There are two test claims (indicated by the **Test** badge) and one production claim.

![Transactions page test claims](/images/providers/transactions-page-test-claims.png)

## Generate test ERAs

When you submit test claims to the [Stedi Test Payer](https://www.stedi.com/healthcare/network?search=StediTest\&entry=FRCPB), Stedi returns a test 277CA claim acknowledgment and a test 835 Electronic Remittance Advice (ERA) based on the original claim. Only test claims you send to the Stedi Test Payer will generate a test 835 ERA.

You can use this approach to test your claims processing workflow from end to end.

### Enroll with the Stedi Test Payer

You must enroll your provider with the [Stedi Test Payer](https://www.stedi.com/healthcare/network?search=StediTest\&entry=FRCPB) for **835 Claim payment**. Visit [Transaction enrollment](/healthcare/transaction-enrollment#create-enrollment-requests) for instructions on how to submit an enrollment request.

Once your enrollment is submitted, you can start sending test claims to the Stedi Test Payer. The enrollment request is automatically set to `LIVE` status when you receive your first test ERA from Stedi.

![Transactions page test claims](/images/providers/stedi-test-payer-enrollment.png)

### Submit a test claim

Submit a test claim to the Stedi Test Payer. Ensure that you:

* Designate the claim as test data:
  * JSON endpoints: Set the `usageIndicator` property to `T`.
  * X12 EDI endpoints and SFTP: Set `ISA15` to `T`.
  * Stedi portal: Specify that this is a test claim in the submission form.
* Set the payer to the [Stedi Test Payer](https://www.stedi.com/healthcare/network?search=StediTest\&entry=FRCPB).
* Use the billing provider NPI and tax ID you enrolled with the Stedi Test Payer.

The following example shows how to submit a test professional claim to the Stedi Test Payer using the [Professional Claims](/healthcare/api-reference/post-healthcare-claims) JSON endpoint.

{/* schema:ClaimsSubmissionRequestContent */}

{/* replace:<TAX-ID-USED-IN-ENROLLMENT>:1234567890 */}

{/* replace:<NPI-USED-IN-ENROLLMENT>:1234567890 */}

```bash
curl --request POST \
  --url "https://healthcare.us.stedi.com/2024-04-01/change/medicalnetwork/professionalclaims/v3/submission" \
  --header "Authorization: <api_key>" \
  --header "Content-Type: application/json" \
  --data '{
    "tradingPartnerName": "Stedi Test Payer",
    "tradingPartnerServiceId": "STEDITEST",
    "usageIndicator": "T",
    "billing": {
      "address": {
        "address1": "123 Some St",
        "address2": "Floor 1",
        "city": "A City",
        "postalCode": "123450000",
        "state": "NY"
      },
      "contactInformation": {
        "name": "Test Data Health Services, Inc.",
        "phoneNumber": "5553334444"
      },
      "employerId": "<TAX-ID-USED-IN-ENROLLMENT>",
      "npi": "<NPI-USED-IN-ENROLLMENT>",
      "organizationName": "Therapy Associates",
      "providerType": "BillingProvider",
      "taxonomyCode": "2084P0800X"
    },
    "claimInformation": {
      "benefitsAssignmentCertificationIndicator": "Y",
      "claimChargeAmount": "109.20",
      "claimFilingCode": "CI",
      "claimFrequencyCode": "1",
      "healthCareCodeInformation": [
        {
          "diagnosisCode": "F1111",
          "diagnosisTypeCode": "ABK"
        }
      ],
      "patientControlNumber": "<YOUR-CLAIM-ID>",
      "placeOfServiceCode": "02",
      "planParticipationCode": "A",
      "releaseInformationCode": "Y",
      "serviceFacilityLocation": {
        "address": {
          "address1": "1234 Other St",
          "city": "A City",
          "postalCode": "123450000",
          "state": "NY"
        },
        "npi": "1999999984",
        "organizationName": "Smith Associates"
      },
      "serviceLines": [
        {
          "professionalService": {
            "compositeDiagnosisCodePointers": {
              "diagnosisCodePointers": [
                "1"
              ]
            },
            "lineItemChargeAmount": "109.20",
            "measurementUnit": "UN",
            "procedureCode": "90837",
            "procedureIdentifier": "HC",
            "procedureModifiers": [
              "95"
            ],
            "serviceUnitCount": "1"
          },
          "providerControlNumber": "111222333",
          "renderingProvider": {
            "firstName": "Jane",
            "lastName": "Smith",
            "npi": "1999999984",
            "providerType": "RenderingProvider",
            "taxonomyCode": "111YP2000X"
          },
          "serviceDate": "20240101"
        }
      ],
      "signatureIndicator": "Y"
    },
    "receiver": {
      "organizationName": "Stedi"
    },
    "submitter": {
      "contactInformation": {
        "name": "Test Data Health Services, Inc.",
        "phoneNumber": "5552223333"
      },
      "organizationName": "Test Data Health Services, Inc.",
      "submitterIdentification": "<YOUR-SUBMITTER-ID>"
    },
    "subscriber": {
      "address": {
        "address1": "2222 Random St",
        "city": "A City",
        "postalCode": "123450000",
        "state": "NY"
      },
      "dateOfBirth": "20000101",
      "firstName": "John",
      "gender": "M",
      "groupNumber": "3335555",
      "lastName": "Anon",
      "memberId": "U7777788888",
      "paymentResponsibilityLevelCode": "P",
      "subscriberGroupName": "Test ERAs Group"
    }
  }'
```

### Test responses

Stedi returns the following responses within minutes of submitting a test claim to the Stedi Test Payer:

* A test 277CA claim acknowledgment response indicating whether the claim was successfully processed. Note that if Stedi rejects the claim in the 277CA, you won't receive a test 835 ERA.
* A test 835 Electronic Remittance Advice (ERA) containing information from the original claim, including the same:
  * Provider information
  * Patient information
  * Service line details
  * Charges

Test 835 ERAs always indicate that all service lines are paid, with the same charge amounts you submitted in the test claim. Note that when you submit production claims, payers may send ERAs with different outcomes, including partially paid, denied, split, or bundled claims.

## Retrieve test responses

You can retrieve test 277CAs and 835 ERAs through the following methods:

### APIs

You can retrieve responses through Stedi's reports endpoints. Visit [Get and correlate acknowledgments and ERAs](/healthcare/receive-claim-responses) for details.

### SFTP

Claim responses will appear in your server's `from-stedi` directory. Visit [SFTP submission](/healthcare/submit-claims-sftp-connection#retrieve-claim-responses) for details.

### Stedi portal

Go to the [Transactions](https://portal.stedi.com/app/healthcare/transactions) page and click the relevant transaction to view its details. You can also access responses through the **Related transactions** tab of the test 837 claim submission.

The following example shows the **Related transactions** tab of a test claim submission, with links to the associated test 277CA and test 835 ERA responses.

![Related transactions tab](/images/providers/test-claim-related-transactions.png)

## Correlate test responses

Both the test 277CA and the test 835 ERA will include the Patient Control Number you specified in the claim submission, which is what you can use to match these responses to the original claim.

### 277CA claim acknowledgment

* **JSON:** [`transactions[].payers[].claimStatusTransactions[].claimStatusDetails[].patientClaimStatusDetails[].claims[].claimStatus.patientAccountNumber`](/healthcare/api-reference/get-healthcare-reports-277#response.transactions.payers.claimStatusTransactions.claimStatusDetails.patientClaimStatusDetails.claims.claimStatus.patientAccountNumber)
* **X12 EDI:** `Loop 2200D TRN02` (Patient Control Number)
* **Stedi portal:** Go to the [Transactions](https://portal.stedi.com/app/healthcare/transactions) page, find the 277CA, and click it to review its **Overview** tab. The Patient Control Number is displayed as the **Patient account number**.

### 835 Electronic Remittance Advice (ERA)

* **JSON:** [`transactions[].detailInfo[].paymentInfo[].claimPaymentInfo.patientControlNumber`](/healthcare/api-reference/get-healthcare-reports-835#response.transactions.detailInfo.paymentInfo.claimPaymentInfo.patientControlNumber)
* **X12 EDI:** `Loop 2100 CLP01` (Patient Control Number)
* **Stedi portal:** Go to the [Transactions](https://portal.stedi.com/app/healthcare/transactions) page, find the 835 ERA, and click it to review its **Overview** tab. The Patient Control Number is listed as the first number in the **Claim identifiers** field.