835 ERA PDF
Retrieve the generated PDF of an 835 Electronic Remittance Advice (ERA).
/electronic-remittance-advice/{transactionId}/pdfThis endpoint uses an 835 Electronic Remittance Advice (ERA) transactionId to retrieve its associated PDF file.
Stedi autogenerates a PDF file for each processed 835 ERA. The PDF contains a human-readable version of the ERA, including payment details, adjustments, and explanations for each service line. It resembles the Standard Paper Remittance (SPR) format that the Centers for Medicare and Medicaid Services (CMS) uses for ERA PDFs, regardless of which payer sent the ERA.
- Call this endpoint with the
transactionIdpath parameter set to the 835 ERA's transaction ID. This ID is included in the transaction processed event for the 835 ERA, which you can receive automatically through Stedi webhooks. You can also retrieve this ID through the Poll Transactions endpoint or from the transaction's details page within the Stedi portal. - By default, the endpoint returns the PDF as a base64-encoded string. To receive the unencoded PDF data, include the
Accept: application/pdfrequest header.
To view the PDF, save the PDF data to a file with a .pdf extension.
This is a PDF representation of the 835 ERA - it's not the same as an Explanation of Benefits (EOB) that you may receive from the payer. Learn more
A Stedi API Key for authentication.
Path Parameters
A unique identifier for the Electronic Remittance Advice (ERA) within Stedi. This ID is included in the transaction processed event for the ERA, which you can receive automatically through Stedi webhooks. You can also retrieve this ID through the Poll Transactions endpoint or from the transaction's details page within Stedi.
Query Parameters
If false, the generated PDF will not include the Stedi logo in the footer. The default is true.
Response
GetElectronicRemittanceAdvicePdf 200 response
curl --request GET \ --url "https://healthcare.us.stedi.com/2024-04-01/electronic-remittance-advice/{transactionId}/pdf" \ --header "Authorization: <api_key>"fetch("https://healthcare.us.stedi.com/2024-04-01/electronic-remittance-advice/{transactionId}/pdf", { headers: { "Authorization": "<api_key>" }})package mainimport ( "fmt" "net/http" "io/ioutil")func main() { url := "https://healthcare.us.stedi.com/2024-04-01/electronic-remittance-advice/{transactionId}/pdf" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("Authorization", "<api_key>") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body))}import requestsurl = "https://healthcare.us.stedi.com/2024-04-01/electronic-remittance-advice/{transactionId}/pdf"response = requests.request("GET", url, headers = { "Authorization": "<api_key>"})print(response.text)import java.net.URI;import java.net.http.HttpClient;import java.net.http.HttpRequest;import java.net.http.HttpResponse;import java.net.http.HttpResponse.BodyHandlers;import java.time.Duration;HttpClient client = HttpClient.newBuilder() .connectTimeout(Duration.ofSeconds(10)) .build();HttpRequest.Builder requestBuilder = HttpRequest.newBuilder() .uri(URI.create("https://healthcare.us.stedi.com/2024-04-01/electronic-remittance-advice/{transactionId}/pdf")) .header("Authorization", "<api_key>") .GET() .build();try { HttpResponse<String> response = client.send(requestBuilder.build(), BodyHandlers.ofString()); System.out.println("Status code: " + response.statusCode()); System.out.println("Response body: " + response.body());} catch (Exception e) { e.printStackTrace();}{
"code": "string",
"message": "string"
}{
"code": "string",
"message": "string"
}{
"code": "string",
"message": "string"
}{
"code": "string",
"message": "string"
}{
"code": "string",
"message": "string"
}{
"code": "string",
"message": "string"
}{
"code": "string",
"message": "string"
}