# Retrieves the member EOB (Explanation of Benefits) PDF for the specified batch claim.

Resolution order:
1. If the client/company is configured for Zelis RedCard EOBs, attempt external retrieval.
2. If external retrieval is unavailable, misconfigured, or not eligible, fall back to internal VBA report generation.
The response always includes correlation identifiers (Subscriber_ID, Member_Seq, Batch_Number, Batch_Claim).

Endpoint: GET /claims/{claimNumber}/eob
Version: v1
Security: apiKeyAuth, bearerAuth

## Security:

  - `apiKeyAuth` (unknown)
    apiKey in header x-api-key

  - `bearerAuth` (unknown)
    http bearer JWT

## Path parameters:

  - `claimNumber` (integer, required)
    VBA Claim Number

## Header parameters:

  - `vbasoftware-database` (string, required)
    Target client database/schema (multi?tenant routing header).

## Response 200:

  - `200` (unknown)
    EOB metadata and (when available) PDF bytes wrapped in a standard response envelope.

## Response 200 fields (application/json):

  - `data` (object)
    Data Transfer Object (DTO) representing a generated Explanation of Benefits (EOB) document
for a specific member claim within a claim batch.

  - `data.report_Bytes` (string)
    The raw binary contents of the EOB document (generally a PDF). Will be serialized as a Base64 string.
Empty or null indicates the EOB could not be produced by either external or internal generation paths.

  - `data.isVBA_EOB` (boolean)
    Indicates the origin of the EOB document.
True = Generated internally by the VBA reporting engine.
False = Retrieved from an external partner (e.g. Zelis RedCard).

  - `data.subscriber_ID` (string)
    Subscriber identifier associated to the member whose claim produced this EOB.

  - `data.member_Seq` (string)
    Member sequence (beneficiary sequence) under the subscriber used to distinguish the covered individual.

  - `data.batch_Number` (integer)
    Claim batch number grouping the claim for which the EOB was generated.

  - `data.batch_Claim` (integer)
    Claim sequence within the batch identifying the exact claim instance.

  - `error` (object)

  - `error.detail` (string)
    A human-readable explanation specific to this occurrence of the problem.

  - `error.instance` (string)
    A URI reference that identifies the specific occurrence of the problem.It may
or may not yield further information if dereferenced.

  - `error.status` (integer)
    The HTTP status code([RFC7231], Section 6) generated by the origin server for
this occurrence of the problem.

  - `error.title` (string)
    A short, human-readable summary of the problem type.It SHOULD NOT change from
occurrence to occurrence of the problem, except for purposes of localization(e.g.,
using proactive content negotiation; see[RFC7231], Section 3.4).

  - `error.type` (string)
    A URI reference [RFC3986] that identifies the problem type. This specification
encourages that, when dereferenced, it provide human-readable documentation for
the problem type (e.g., using HTML [W3C.REC-html5-20141028]). When this member
is not present, its value is assumed to be "about:blank".

  - `debug` (object)

  - `debug.activityID` (string, required)

## Response 401:

  - `401` (unknown)
    Unauthorized

## Response 403:

  - `403` (unknown)
    Forbidden. The x-api-key header is missing or not valid. The API gateway sends this response, not VBAPI, so the body is not the VBAPI envelope; see Errors and troubleshooting.

## Response 404:

  - `404` (unknown)
    Batch claim not found (propagated from underlying services).

## Response 429:

  - `429` (unknown)
    Too many requests. The limit is 25 requests per second sustained, with bursts up to 50, per API key. Wait and retry with exponential backoff and jitter.

## Response 500:

  - `500` (unknown)
    Unexpected error generating or retrieving the EOB.

