# CMS-1500 PDF: Transaction ID
Source: https://www.stedi.com/docs/healthcare/api-reference/get-pdf-1500

***

sidebarTitle: "CMS-1500 PDF: Transaction ID"
title: "CMS-1500 PDF: Transaction ID"
openapi: healthcare get /export/{transactionId}/1500/pdf
--------------------------------------------------------

This endpoint uses a claim's `transactionId` to retrieve autogenerated CMS-1500 Claim Form PDFs for submitted 837P professional claims.

1. Call this endpoint with the `transactionId` path parameter set to the claim's transaction ID. This ID is included in the transaction processed event for the claim, which you can receive automatically through Stedi [webhooks](/healthcare/configure-webhooks). You can also retrieve this ID through the [Poll Transactions](/healthcare/api-reference/get-poll-transactions) endpoint or from the transaction's details page within Stedi.
2. The endpoint returns the PDF data as a base64 encoded string.

To view the PDF, decode the base64 string and save it to a file with a `.pdf` extension.

<Note>
  If you plan to send these PDFs to payers or retain them for your records, we
  strongly recommend visiting [CMS-1500 Claim Form PDF](/healthcare/cms-1500-claim-form-pdf) for information about how to
  structure claim submissions for optimal generation, the correct printer
  settings for generated PDFs, and general best practices.
</Note>