# Get an ERA's 835

Page: https://app.myclaimhouse.com/docs/api/getEraX12

`GET /api/v1/eras/{id}/x12`

The remittance as the payer sent it, as text: your organization's remittance only, as an interchange of its own (a file shared with others is never shown), one segment per line. Bank and account numbers show only their last four characters.

Needs a key with `read` permission.

## Request

### Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | Yes | An ERA ID (era_...). |

## Response

The remittance's 835 segments. Status `200`, as `text/plain`.

## Errors

| HTTP status | Code | What it means |
| --- | --- | --- |
| 401 | `UNAUTHORIZED` | A valid API key is required. Send it as "Authorization: Bearer <key>". |
| 403 | `PERMISSION_DENIED` | This API key is not allowed to do that. |
| 404 | `NOT_FOUND` | Not found. |
| 422 | `INVALID_REQUEST` | The request is not valid. |
| 429 | `TOO_MANY_REQUESTS` | Too many requests of this kind lately. Wait, then try again. |
| 504 | `TIMEOUT` | The request took too long. Send it again with the same Idempotency-Key and body after Retry-After seconds: a 409 means it is still finishing (wait and send again), and any other answer is final. If this 504 comes back, find what the request made by listing with ?idempotency_key=<the key>. |
| 500 | `INTERNAL` | Something went wrong on our side. Quote the request ID if you contact us. |

## Example

### Example request

```bash
curl "https://app.myclaimhouse.com/api/v1/eras/era_01JM000000E00800000000003G/x12" \
  -H "Authorization: Bearer $CLAIMHOUSE_KEY"
```

### Example response: 200

```text
ISA*00*          *00*          *ZZ*262403888      *ZZ*CLAIMHOUSE     *260924*2103*^*00501*000001042*0*T*:~
GS*HP*262403888*CLAIMHOUSE*20260924*2103*1042*X*005010X221A1~
ST*835*0001*005010X221A1~
BPR*C*820.8*C*ACH*CCP*01*XXXXX1112*DA*XXXXXXXX5678*1000000000**01*XXXXX2223*DA*XXXXXXXX4321*20260924~
TRN*1*SBXEFT000001042*1000000000~
DTM*405*20260924~
N1*PR*EXAMPLE DENTAL PLAN*PI*00000~
N1*PE*EXAMPLE FAMILY DENTAL*XX*1999999992~
REF*TJ*009999999~
REF*PQ*org_01JM000000E008000000000001~
LX*1~
CLP*CH4Q7M2K9TRB*1*1140*820.8*205.2*12*990000001042*11*1~
NM1*QC*1*EXAMPLE*ALEX****MI*CH-PAID-ERA~
SVC*AD:D2740*1140*820.8**1~
DTM*472*20260924~
CAS*CO*45*114~
CAS*PR*2*205.2~
REF*6R*CH4Q7M2K9TRB-1~
AMT*B6*1026~
SE*18*0001~
GE*1*1042~
IEA*1*000001042~
```

### An ERA of another organization or mode: 404

```json
{
  "error": "NOT_FOUND",
  "message": "ERA not found",
  "errors": [],
  "request_id": "req_01JM000000E008000000000010"
}
```
