For clean Markdown of any page, append .md to the page URL. For a complete documentation index, see https://docs.rebateright.com.au/api-reference/medicare-eligibility/llms.txt. For full documentation content, see https://docs.rebateright.com.au/api-reference/medicare-eligibility/llms-full.txt.

# Eligibility Check Disclaimer (PDF)

POST https://api.rebateright.com.au/EligibilityDisclaimer
Content-Type: application/json

> 🚧 **Coming Soon** — This endpoint is not yet available in production.

Returns **`application/pdf`**: a printable **Online Eligibility Check (OEC) Report** for the patient. The PDF
follows the layout that Services Australia requires when handing an OECW result to the patient — header, patient
details, per-service rebate estimate, and the mandated disclaimer and privacy notice wording. Quote only — not
for claiming.

## No live check

This endpoint **does not call Medicare**. It formats the values you supply into the approved OEC layout. Run the
live eligibility check first via `POST /CalculateRebate`, then feed the resulting per-item figures
(`ItemScheduleFee`, `Benefit`, an explanation code) and the overall `Reason` into this request.

## Request body

The shape mirrors `/CalculateRebate` so the same payload can drive both calls with small additions. Identical
field names are reused (PascalCase) for patient and service fields. Three per-item fields
(`ItemScheduleFee`, `Benefit`, `MedicareExplanationCode`) are echoed from the `/CalculateRebate` response, and
two root fields (`AccountReferenceId`, `Reason`) are specific to the disclaimer.

Only `MedicareItems` (with at least one item) and each item's `ItemNumber` are required. Missing optional fields
render as blank cells on the PDF.

## Location on the report

The **Location ID** printed on the report is taken from the **`x-minor-id`** request header (the same header as
other RebateRight endpoints), not from the JSON body.

## Response

On success the response body is **`application/pdf`**. The download is offered as **`MedicareEligibilityCheckReport.pdf`**.

## Errors

Validation failures return **HTTP 400** with a **plain-text** message describing the problem (not a JSON error
envelope).


Reference: https://docs.rebateright.com.au/api-reference/medicare-eligibility/eligibility-check-disclaimer-pdf

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: collection
  version: 1.0.0
paths:
  /EligibilityDisclaimer:
    post:
      operationId: eligibility-check-disclaimer-pdf
      summary: Eligibility Check Disclaimer (PDF)
      description: >
        > 🚧 **Coming Soon** — This endpoint is not yet available in production.


        Returns **`application/pdf`**: a printable **Online Eligibility Check
        (OEC) Report** for the patient. The PDF

        follows the layout that Services Australia requires when handing an OECW
        result to the patient — header, patient

        details, per-service rebate estimate, and the mandated disclaimer and
        privacy notice wording. Quote only — not

        for claiming.


        ## No live check


        This endpoint **does not call Medicare**. It formats the values you
        supply into the approved OEC layout. Run the

        live eligibility check first via `POST /CalculateRebate`, then feed the
        resulting per-item figures

        (`ItemScheduleFee`, `Benefit`, an explanation code) and the overall
        `Reason` into this request.


        ## Request body


        The shape mirrors `/CalculateRebate` so the same payload can drive both
        calls with small additions. Identical

        field names are reused (PascalCase) for patient and service fields.
        Three per-item fields

        (`ItemScheduleFee`, `Benefit`, `MedicareExplanationCode`) are echoed
        from the `/CalculateRebate` response, and

        two root fields (`AccountReferenceId`, `Reason`) are specific to the
        disclaimer.


        Only `MedicareItems` (with at least one item) and each item's
        `ItemNumber` are required. Missing optional fields

        render as blank cells on the PDF.


        ## Location on the report


        The **Location ID** printed on the report is taken from the
        **`x-minor-id`** request header (the same header as

        other RebateRight endpoints), not from the JSON body.


        ## Response


        On success the response body is **`application/pdf`**. The download is
        offered as **`MedicareEligibilityCheckReport.pdf`**.


        ## Errors


        Validation failures return **HTTP 400** with a **plain-text** message
        describing the problem (not a JSON error

        envelope).
      tags:
        - subpackage_medicareEligibility
      parameters:
        - name: x-api-key
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: >-
            PDF document — Online Eligibility Check (OEC) Report
            (`MedicareEligibilityCheckReport.pdf`).
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                DateOfService:
                  type: string
                  format: date
                  description: >-
                    Date of service printed against every row on the report. ISO
                    date `YYYY-MM-DD`.
                PatientFamilyName:
                  type: string
                  description: >-
                    Patient family name as it appears on the Medicare card.
                    Printed in the patient-details section of the report.
                PatientGivenName:
                  type: string
                  description: >-
                    Patient first given name as it appears on the Medicare card.
                    Printed in the patient-details section of the report.
                PatientMedicareNumber:
                  type: string
                  description: Patient's 10-digit Medicare card number.
                PatientMedicareRefNumber:
                  type: string
                  description: >-
                    Individual Reference Number (IRN) from the patient's
                    Medicare card.
                AccountReferenceId:
                  type: string
                  description: >-
                    Caller-supplied reference identifying this OECW quote (e.g.
                    invoice or visit id).
                Reason:
                  type: string
                  description: >-
                    Outcome text printed under **Outcome / Fund Explanation
                    Text**. Typically the `Reason` returned by
                    `/CalculateRebate`.
                MedicareItems:
                  type: array
                  items:
                    $ref: >-
                      #/components/schemas/EligibilityDisclaimerPostRequestBodyContentApplicationJsonSchemaMedicareItemsItems
servers:
  - url: https://api.rebateright.com.au
  - url: https://test-api.rebateright.com.au
components:
  schemas:
    EligibilityDisclaimerPostRequestBodyContentApplicationJsonSchemaMedicareItemsItems:
      type: object
      properties:
        ItemNumber:
          type: string
          description: MBS item number.
        ChargeAmount:
          type: string
          description: Amount charged to the patient as a decimal string (e.g. `100.00`).
        ItemScheduleFee:
          type: string
          description: >-
            Schedule fee for the item as returned by `/CalculateRebate`
            (`ItemScheduleFee`).
        Benefit:
          type: string
          description: >-
            Medicare benefit amount as returned by `/CalculateRebate`
            (`Benefit`).
        MedicareExplanationCode:
          type: string
          description: >-
            Medicare explanation code for the item (shown in the Medicare
            Explanation Code column).
      required:
        - ItemNumber
      title: >-
        EligibilityDisclaimerPostRequestBodyContentApplicationJsonSchemaMedicareItemsItems
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
    minorId:
      type: apiKey
      in: header
      name: x-minor-id

```

## SDK Code Examples

```python
import requests

url = "https://api.rebateright.com.au/EligibilityDisclaimer"

payload = {
    "DateOfService": "2026-04-21",
    "PatientFamilyName": "FLETCHER",
    "PatientGivenName": "Edmond",
    "PatientMedicareNumber": "4951525561",
    "PatientMedicareRefNumber": "2",
    "AccountReferenceId": "INV-2026-0417",
    "Reason": "[Medicare] The patient information matches Medicare's records.",
    "MedicareItems": [
        {
            "ItemNumber": "23",
            "ChargeAmount": "100.00",
            "ItemScheduleFee": "42.85",
            "Benefit": "42.85",
            "MedicareExplanationCode": "0"
        },
        {
            "ItemNumber": "3",
            "ChargeAmount": "25.00",
            "ItemScheduleFee": "20.05",
            "Benefit": "20.05",
            "MedicareExplanationCode": "0"
        }
    ]
}
headers = {
    "x-api-key": "<apiKey>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.rebateright.com.au/EligibilityDisclaimer';
const options = {
  method: 'POST',
  headers: {'x-api-key': '<apiKey>', 'Content-Type': 'application/json'},
  body: '{"DateOfService":"2026-04-21","PatientFamilyName":"FLETCHER","PatientGivenName":"Edmond","PatientMedicareNumber":"4951525561","PatientMedicareRefNumber":"2","AccountReferenceId":"INV-2026-0417","Reason":"[Medicare] The patient information matches Medicare\'s records.","MedicareItems":[{"ItemNumber":"23","ChargeAmount":"100.00","ItemScheduleFee":"42.85","Benefit":"42.85","MedicareExplanationCode":"0"},{"ItemNumber":"3","ChargeAmount":"25.00","ItemScheduleFee":"20.05","Benefit":"20.05","MedicareExplanationCode":"0"}]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.rebateright.com.au/EligibilityDisclaimer"

	payload := strings.NewReader("{\n  \"DateOfService\": \"2026-04-21\",\n  \"PatientFamilyName\": \"FLETCHER\",\n  \"PatientGivenName\": \"Edmond\",\n  \"PatientMedicareNumber\": \"4951525561\",\n  \"PatientMedicareRefNumber\": \"2\",\n  \"AccountReferenceId\": \"INV-2026-0417\",\n  \"Reason\": \"[Medicare] The patient information matches Medicare's records.\",\n  \"MedicareItems\": [\n    {\n      \"ItemNumber\": \"23\",\n      \"ChargeAmount\": \"100.00\",\n      \"ItemScheduleFee\": \"42.85\",\n      \"Benefit\": \"42.85\",\n      \"MedicareExplanationCode\": \"0\"\n    },\n    {\n      \"ItemNumber\": \"3\",\n      \"ChargeAmount\": \"25.00\",\n      \"ItemScheduleFee\": \"20.05\",\n      \"Benefit\": \"20.05\",\n      \"MedicareExplanationCode\": \"0\"\n    }\n  ]\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("x-api-key", "<apiKey>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.rebateright.com.au/EligibilityDisclaimer")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<apiKey>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"DateOfService\": \"2026-04-21\",\n  \"PatientFamilyName\": \"FLETCHER\",\n  \"PatientGivenName\": \"Edmond\",\n  \"PatientMedicareNumber\": \"4951525561\",\n  \"PatientMedicareRefNumber\": \"2\",\n  \"AccountReferenceId\": \"INV-2026-0417\",\n  \"Reason\": \"[Medicare] The patient information matches Medicare's records.\",\n  \"MedicareItems\": [\n    {\n      \"ItemNumber\": \"23\",\n      \"ChargeAmount\": \"100.00\",\n      \"ItemScheduleFee\": \"42.85\",\n      \"Benefit\": \"42.85\",\n      \"MedicareExplanationCode\": \"0\"\n    },\n    {\n      \"ItemNumber\": \"3\",\n      \"ChargeAmount\": \"25.00\",\n      \"ItemScheduleFee\": \"20.05\",\n      \"Benefit\": \"20.05\",\n      \"MedicareExplanationCode\": \"0\"\n    }\n  ]\n}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.rebateright.com.au/EligibilityDisclaimer")
  .header("x-api-key", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("{\n  \"DateOfService\": \"2026-04-21\",\n  \"PatientFamilyName\": \"FLETCHER\",\n  \"PatientGivenName\": \"Edmond\",\n  \"PatientMedicareNumber\": \"4951525561\",\n  \"PatientMedicareRefNumber\": \"2\",\n  \"AccountReferenceId\": \"INV-2026-0417\",\n  \"Reason\": \"[Medicare] The patient information matches Medicare's records.\",\n  \"MedicareItems\": [\n    {\n      \"ItemNumber\": \"23\",\n      \"ChargeAmount\": \"100.00\",\n      \"ItemScheduleFee\": \"42.85\",\n      \"Benefit\": \"42.85\",\n      \"MedicareExplanationCode\": \"0\"\n    },\n    {\n      \"ItemNumber\": \"3\",\n      \"ChargeAmount\": \"25.00\",\n      \"ItemScheduleFee\": \"20.05\",\n      \"Benefit\": \"20.05\",\n      \"MedicareExplanationCode\": \"0\"\n    }\n  ]\n}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.rebateright.com.au/EligibilityDisclaimer', [
  'body' => '{
  "DateOfService": "2026-04-21",
  "PatientFamilyName": "FLETCHER",
  "PatientGivenName": "Edmond",
  "PatientMedicareNumber": "4951525561",
  "PatientMedicareRefNumber": "2",
  "AccountReferenceId": "INV-2026-0417",
  "Reason": "[Medicare] The patient information matches Medicare\'s records.",
  "MedicareItems": [
    {
      "ItemNumber": "23",
      "ChargeAmount": "100.00",
      "ItemScheduleFee": "42.85",
      "Benefit": "42.85",
      "MedicareExplanationCode": "0"
    },
    {
      "ItemNumber": "3",
      "ChargeAmount": "25.00",
      "ItemScheduleFee": "20.05",
      "Benefit": "20.05",
      "MedicareExplanationCode": "0"
    }
  ]
}',
  'headers' => [
    'Content-Type' => 'application/json',
    'x-api-key' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.rebateright.com.au/EligibilityDisclaimer");
var request = new RestRequest(Method.POST);
request.AddHeader("x-api-key", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"DateOfService\": \"2026-04-21\",\n  \"PatientFamilyName\": \"FLETCHER\",\n  \"PatientGivenName\": \"Edmond\",\n  \"PatientMedicareNumber\": \"4951525561\",\n  \"PatientMedicareRefNumber\": \"2\",\n  \"AccountReferenceId\": \"INV-2026-0417\",\n  \"Reason\": \"[Medicare] The patient information matches Medicare's records.\",\n  \"MedicareItems\": [\n    {\n      \"ItemNumber\": \"23\",\n      \"ChargeAmount\": \"100.00\",\n      \"ItemScheduleFee\": \"42.85\",\n      \"Benefit\": \"42.85\",\n      \"MedicareExplanationCode\": \"0\"\n    },\n    {\n      \"ItemNumber\": \"3\",\n      \"ChargeAmount\": \"25.00\",\n      \"ItemScheduleFee\": \"20.05\",\n      \"Benefit\": \"20.05\",\n      \"MedicareExplanationCode\": \"0\"\n    }\n  ]\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "x-api-key": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = [
  "DateOfService": "2026-04-21",
  "PatientFamilyName": "FLETCHER",
  "PatientGivenName": "Edmond",
  "PatientMedicareNumber": "4951525561",
  "PatientMedicareRefNumber": "2",
  "AccountReferenceId": "INV-2026-0417",
  "Reason": "[Medicare] The patient information matches Medicare's records.",
  "MedicareItems": [
    [
      "ItemNumber": "23",
      "ChargeAmount": "100.00",
      "ItemScheduleFee": "42.85",
      "Benefit": "42.85",
      "MedicareExplanationCode": "0"
    ],
    [
      "ItemNumber": "3",
      "ChargeAmount": "25.00",
      "ItemScheduleFee": "20.05",
      "Benefit": "20.05",
      "MedicareExplanationCode": "0"
    ]
  ]
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.rebateright.com.au/EligibilityDisclaimer")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```