Pharmacy Claims

Beacon details and endpoints for Pharmacy Claim resources

Overview

The Pharmacy Claims resource provides information about Pharmacy Claims submitted for a Covered Entity including the unique Beacon ID as well as any issues detected within the Submission. Partners can provide multiple query parameters to the Pharmacy Claims endpoint to receive a filtered response. As an example, the entity\_id query parameter will return Pharmacy Claims for that specific entity ID.

Partners are responsible for working with their Covered Entities to establish the appropriate data to facilitate Pharmacy Submissions. View the Beacon Claims guide to learn more.


Endpoints


Query params

Optionally required parameters require at least one parameter to be present in the request.

ParamRequiredDescriptionExample
submission_idfalseBeacon Submission IDSUB-0001...
pagefalsePagination support3
beacon_idfalseAllows for claims queries using the beacon_idCLM-0fc5bd66cfa610074a5366f417352153e2a49fc990c7cf98779874659d50f169



Pharmacy Claims

Get Pharmacy Claims. At least 1 of the following query params must be specified: entity_id, submission_id.

Request

GET /api/pharmacy_claims?entity_id={entity_id}


Response

{
  'pharmacy_claims': [
    {
      'beacon_id': 'CLM-0fc5bd66cfa610074a5366f417352153e2a49fc990c7cf98779874659d50f169',
      'entity_id': 'DSH12345',
      'submission_id': 'SUB-23974234234',
      'balance': 20,
      'ndc': '57894006103',
      'date_of_service': '2025-01-31',
      'date_prescribed': '2025-01-15',
      'rx_number': '3128c9442f20...',
      'fill_number': '30',
      'rx_bin_number': '12345',
      'rx_pcn_number': '12345',
      'service_provider_id': '1234567890',
      'prescriber_id': '1649230558',
      'submitted_by': 'John Doe',
      'date_submitted': '2025-02-01',
      'valid': true,
      'issues': [],
      'has_rebates': true
    },
    {
      'beacon_id': 'CLM-af15712736fea8ccbc81b9dc78cce9900d95cc1d3b38cc62622faf1d09bab1d7',
      'entity_id': 'DSH12345',
      'submission_id': 'SUB-23974234234',
      'balance': 20,
      'ndc': '57894006103',
      'date_of_service': '2025-01-31',
      'date_prescribed': '2025-01-15',
      'rx_number': '3128c9442f20...',
      'fill_number': '30',
      'rx_bin_number': '12345',
      'rx_pcn_number': '12345',
      'service_provider_id': '0004567890',
      'prescriber_id': '1649230558',
      'submitted_by': 'John Doe',
      'date_submitted': '2025-02-01',
      'valid': false,
      'issues': [
        'invalid_contract_pharmacy'
      ],
      'has_rebates': false
    }
  ]
}
{
  'type': 'error.list',
  'request_id': '494f1f50595e6884ba0f0570e4394bd5',
  'errors': [
    {
      'code': 'not_found',
      'message': 'Entity not found'
    }
  ]
}



Pharmacy Claim

Fetch individual Pharmacy Claim by providing a beacon_id

Request

GET /api/pharmacy_claims/:beacon_id


Response

{
  'beacon_id': 'CLM-2cf855d7d9e935ad57614493a33dfb82f645bbd3ba2c396d672901b8e1bbef42',
  'entity_id': 'DSH12345',
  'submission_id': 'SUB-23974234234',
  'balance': 10,
  'ndc': '57894006103',
  'date_of_service': '2025-01-01',
  'date_prescribed': '2025-01-01',
  'rx_number': 'abc9442f20...',
  'fill_number': '30',
  'rx_bin_number': '12345',
  'rx_pcn_number': '12345',
  'service_provider_id': '1234567890',
  'prescriber_id': '1234567893',
  'submitted_by': 'John Doe',
  'date_submitted': '2025-02-01',
  'valid': true,
  'issues': [],
  'has_rebates': true
}
{
  'type": 'error.list',
  'request_id': '494f1f50595e6884ba0f0570e4394bd5',
  'errors': [
    {
      'code': 'not_found',
      'message': 'Claim not found'
    }
  ]
}



Response Data Reference


FieldDefinition
beacon_idunique identifier assigned to Claim upon submission to Beacon
entity_id340B ID of Covered Entity
submission_idunique identifier assigned to Submission
balancequantity balance of unique Claim
ndc11 digit National Drug Code
date_of_serviceidentifies date the prescription was filled or professional service rendered or subsequent payer began coverage following Part A expiration in a long-term care setting only
date_prescribeddate the physician wrote the prescription. Always comes on or before the Date of Service
rx_numberThe native prescription number for the prescription as generated by the pharmacy. Beacon will returned a de-identified version
fill_numberIndicates the number of times a prescription has been filled
rx_bin_numberPrescription Drug Bank Identification Number
rx_pcn_numberIdentifier used to determine which processor will handle a prescription drug claim
service_provider_idNPI of the dispensing pharmacy
prescriber_idNPI of the prescribing physician
submitted_byname of User or Partner who submit the Claim
date_submitteddate claim was submitted to Beacon
validtrue if the Claim is conforming
issueswill return empty array if no issues identified otherwise identifies issues, associated with Claims in the submission.
has_rebatesrepresents the presence of associated Rebate payment

Did this page help you?