> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.rebateright.com.au/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.rebateright.com.au/_mcp/server.

# Status Report

POST https://test-api.rebateright.com.au/Medicare/statusreport/v1
Content-Type: application/json

**Is the report for my in-patient claim ready to retrieve?**

That is the question this endpoint answers, for up to 1,000 claims in one submission. It also
finds the remittance advice that records what each claim was paid.

Test environment only. Services Australia is certifying this service, and it reaches production once certified.

The response to an in-patient claim acknowledges it. Medicare assesses the claim after lodgement, and so does
the patient's health fund for every claim type except Medicare Only. This endpoint tells you where each claim is up to, and when its report and its
remittance advice are ready to retrieve. [In-Patient Claim Report](/api-reference/medicare-claiming/in-patient-claims/in-patient-claim-report)
retrieves the claim's report.
[Follow the claim to its outcome](/in-patient-claiming#follow-the-claim-to-its-outcome) gives the
steps from claim to remittance advice, and what Services Australia asks of your software.

A status request from a Minor ID other than the one that lodged the claim returns `2030`, or
`REPORT_NOT_FOUND` for a remittance advice lookup.

## Report status

| Value              | Meaning                                                                                                                                                                                                          |
| ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `PROCESSING`       | Medicare or the health fund is still assessing the claim. `processStatus` says which. Check again later.                                                                                                         |
| `READY`            | The report is ready to retrieve. In a remittance advice lookup, the row's `transactionId` is the remittance advice ID.                                                                                           |
| `REPORTED`         | You have retrieved the report before. You may retrieve it again.                                                                                                                                                 |
| `REPORT_NOT_READY` | The claim has no remittance advice yet. This value appears only in a remittance advice lookup. Check again later.                                                                                                |
| `REPORT_NOT_FOUND` | No report exists for this transaction ID. Either no claim from this Minor ID has the ID, or the claim was lodged more than 6 months ago. In a remittance advice lookup, it can also mean the claim was rejected. |

A malformed request, such as one that sends both transaction IDs and a date range, receives a **`400`**.
See the `400` response examples.

Reference: https://docs.rebateright.com.au/api-reference/medicare-claiming/in-patient-claims/status-report

## Authentication

- `x-api-key` header (required) — API Key authentication via header
- `x-minor-id` header (required) — Your Minor ID is 3 uppercase letters followed by 5 digits, such as `MDE00000`. Send the Minor ID exactly as issued. A malformed value returns `400` with the text `The Minor ID is not valid.` on every endpoint.

## Servers

- `https://test-api.rebateright.com.au` (Test, default)
- `https://api.rebateright.com.au` (Production)

## Request

### Headers

- `x-minor-id` (string, required) — The Minor ID of the clinic you act for. Send the Minor ID that lodged the claims. See [Keys, Minor ID and environments](/keys-and-environments).

### Body (application/json)

This endpoint expects an object.

- `transactionId` (list of string, optional) — The transaction IDs of the claims to check, up to 1,000, each sent once. Send an array, even for one claim. A transaction ID is the claim's `correlationId` without `urn:uuid:`. It is 24 characters: the Minor ID that lodged the claim, then 16 letters or digits, as in `MDE000005b864a2b5f7a4538`. Rows come back in the order you send the IDs.
- `fromDateTime` (datetime, optional) — The start of a range of lodgement times. The response covers the claims Medicare received from `fromDateTime` to `toDateTime`. Send it with `toDateTime`, in place of `transactionId`. Give the local time with its Australian offset from UTC, as in `2026-10-21T00:00:00+11:00` for AEDT. It must not be in the future.
- `toDateTime` (datetime, optional) — The end of the range, in the same format as `fromDateTime`. It must not be in the future, and must be no more than 31 days after `fromDateTime`. Medicare returns at most 1,000 rows. A range that matches more returns none, so narrow the range or add a filter.
- `requestTransmissionType` (enum, optional) — The kind of record to report on. | Value | Reports on | Send it with | |---|---|---| | `mcp-in-patient-medical-claim` | In-patient claims | A date range only. With `transactionId`, it returns `2030`. | | `mcp-eclipse-remittance-advice` | The remittance advices for in-patient claims | `transactionId` or a date range | Leave it out to check claims by `transactionId`. With a date range, it limits the rows to one kind.
  - Allowed values: `mcp-in-patient-medical-claim`, `mcp-eclipse-remittance-advice`
- `associateName` (string, optional) — Send it only with a date range. It limits the rows to one health fund, by the fund code the claims carried, as in `TST`. In a remittance advice range, it is the payer's name. Use letters, digits, spaces and `'` `-` `&` `.` `,` `/`, with no space at the start or the end.
- `reportStatus` (enum, optional) — Send it only with a date range. It limits the rows to one report status. A range with no row in that status returns `REPORT_NOT_FOUND`. | Value | Rows returned | |---|---| | `PROCESSING` | Claims still being assessed | | `READY` | Reports ready and not yet retrieved | | `REPORTED` | Reports retrieved at least once |
  - Allowed values: `PROCESSING`, `READY`, `REPORTED`

## Response

### 200

OK

- `status` (enum, required) — Whether anything matched the request. | Value | Meaning | |---|---| | `COMPLETE` | At least one transaction ID or claim matched. `transactionStatus` holds one row for each. | | `REPORT_NOT_FOUND` | Nothing matched. `transactionStatus` is absent. |
  - Allowed values: `COMPLETE`, `REPORT_NOT_FOUND`
- `correlationId` (string, required) — The ID RebateRight generated for this status request. Quote it in a support enquiry. It is not a claim's transaction ID.
- `transactionStatus` (list of MedicareStatusreportV1PostResponsesContentApplicationJsonSchemaTransactionStatusItems, optional) — One row for each transaction ID you sent, in the same order, or one row for each claim in the date range.

## Errors

### 400 Bad Request Error

The request failed a check (HTTP 400). The body is either Medicare's `serviceMessage` envelope or a gateway envelope (`code`, `codeType`, `message`). Both carry `correlationId`.

- `PostMedicareStatusreportV1RequestBadRequestError`

## Types

### MedicareStatusreportV1PostResponsesContentApplicationJsonSchemaTransactionStatusItems

- `transactionId` (string, required) — In a claim row, it is the claim's transaction ID. In a remittance advice lookup, the remittance advice ID once `reportStatus` is `READY` or `REPORTED`. Until then, the row carries the claim's transaction ID. A remittance advice ID need not start with your Minor ID.
- `reportStatus` (enum, required) — Whether the report is ready to retrieve. The table at the top of this page explains each value. A row with `REPORT_NOT_READY` or `REPORT_NOT_FOUND` carries only `transactionId` and `reportStatus`.
  - Allowed values: `PROCESSING`, `READY`, `REPORTED`, `REPORT_NOT_READY`, `REPORT_NOT_FOUND`
- `processStatus` (string, optional) — It says where the claim is up to. The values include: | Value | Meaning | `reportStatus` | |---|---|---| | `RECEIVED` | Medicare has received the claim and accepted it for processing. | `PROCESSING` | | `MEDICARE_VERIFIED` | Medicare has verified the patient. The health fund is verifying them. | `PROCESSING` | | `HEALTH_FUND_VERIFIED` | The health fund has verified the patient. | `PROCESSING` | | `MEDICARE_ASSESSING` | Medicare is assessing the claim. | `PROCESSING` | | `HEALTH_FUND_ASSESSING` | The health fund is assessing the claim. | `PROCESSING` | | `MEDICARE_REJECTED` | Medicare rejected the claim. The report says why. | `READY` or `REPORTED` | | `HEALTH_FUND_REJECTED` | The health fund rejected the claim. The report says why. | `READY` or `REPORTED` | | `HEALTH_FUND_UNPROCESSED` | The health fund has not processed the claim. A report is available. | `READY` or `REPORTED` | | `REQUESTED_DELETE` | The provider asked Medicare to delete the claim. A report is available. | `READY` or `REPORTED` | | `COMPLETE` | Assessment is complete. A report is available. | `READY` or `REPORTED` | A remittance advice row that is `READY` or `REPORTED` carries `COMPLETE`.
- `lodgementDateTime` (datetime, optional) — When Medicare received the claim, with its offset from UTC.
- `reference` (string, optional) — The claim's Medicare claim ID. In the test environment it is the 5-digit `claimId` from the claim's report, followed by `%`, as in `02193%`. For a Patient Claim (`PC`), Services Australia sends the last 5 characters of the claim ID. It is present once Medicare has verified the patient.
- `associateName` (string, optional) — The fund code from the claim, as in `TST`. A Medicare Only (`MO`) claim has no health fund, so its row has no `associateName`. In a remittance advice row, it is the payer's name.
- `requestTransmissionType` (string, optional) — The kind of record in this row. `mcp-in-patient-medical-claim` for a claim, and `mcp-eclipse-remittance-advice` for a remittance advice.

### PostMedicareStatusreportV1RequestBadRequestError0

- `highestSeverity` (string, required) — The highest severity across the messages, usually `Error`.
- `correlationId` (string, required) — The ID RebateRight generated for this status request.
- `serviceMessage` (list of MedicareStatusreportV1PostResponsesContentApplicationJsonSchemaOneOf0ServiceMessageItems, required) — One message for each check the request failed.

### PostMedicareStatusreportV1RequestBadRequestError1

- `code` (integer, required) — The gateway's error code.
- `codeType` (string, required) — The gateway's error category, such as `DHSEIN` for a body that does not match the schema.
- `message` (string, required) — What failed.
- `correlationId` (string, required) — The ID RebateRight generated for this status request.

### MedicareStatusreportV1PostResponsesContentApplicationJsonSchemaOneOf0ServiceMessageItems

- `code` (string, required) — Medicare's error code, such as `2030` for a broken rule or `9202` for an invalid value.
- `severity` (string, required) — The severity of this message, such as `Error`.
- `reason` (string, required) — What failed. Show it to your user exactly as returned.

## Examples

### Claim IDs

**Request**

```json
{
  "transactionId": [
    "MDE000005b864a2b5f7a4538",
    "MDE00000d6e3921b131c4736"
  ]
}
```

**Response**

```json
{
  "status": "COMPLETE",
  "correlationId": "urn:uuid:MDE00000786eb4c5a0b44b46",
  "transactionStatus": [
    {
      "transactionId": "MDE000005b864a2b5f7a4538",
      "reportStatus": "READY",
      "processStatus": "COMPLETE",
      "lodgementDateTime": "2026-10-21T10:06:49+11:00",
      "reference": "02193%",
      "requestTransmissionType": "mcp-in-patient-medical-claim"
    },
    {
      "transactionId": "MDE00000d6e3921b131c4736",
      "reportStatus": "PROCESSING",
      "processStatus": "HEALTH_FUND_ASSESSING",
      "lodgementDateTime": "2026-10-21T10:06:53+11:00",
      "reference": "02194%",
      "associateName": "TST",
      "requestTransmissionType": "mcp-in-patient-medical-claim"
    }
  ]
}
```

**SDK Code**

```python Claim IDs
import requests

url = "https://test-api.rebateright.com.au/Medicare/statusreport/v1"

payload = { "transactionId": ["MDE000005b864a2b5f7a4538", "MDE00000d6e3921b131c4736"] }
headers = {
    "x-minor-id": "<minorId>",
    "x-api-key": "<apiKey>",
    "Content-Type": "application/json"
}

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

print(response.json())
```

```javascript Claim IDs
const url = 'https://test-api.rebateright.com.au/Medicare/statusreport/v1';
const options = {
  method: 'POST',
  headers: {
    'x-minor-id': '<minorId>',
    'x-api-key': '<apiKey>',
    'Content-Type': 'application/json'
  },
  body: '{"transactionId":["MDE000005b864a2b5f7a4538","MDE00000d6e3921b131c4736"]}'
};

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

```go Claim IDs
package main

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

func main() {

	url := "https://test-api.rebateright.com.au/Medicare/statusreport/v1"

	payload := strings.NewReader("{\n  \"transactionId\": [\n    \"MDE000005b864a2b5f7a4538\",\n    \"MDE00000d6e3921b131c4736\"\n  ]\n}")

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

	req.Header.Add("x-minor-id", "<minorId>")
	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 Claim IDs
require 'uri'
require 'net/http'

url = URI("https://test-api.rebateright.com.au/Medicare/statusreport/v1")

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

request = Net::HTTP::Post.new(url)
request["x-minor-id"] = '<minorId>'
request["x-api-key"] = '<apiKey>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"transactionId\": [\n    \"MDE000005b864a2b5f7a4538\",\n    \"MDE00000d6e3921b131c4736\"\n  ]\n}"

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

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

HttpResponse<String> response = Unirest.post("https://test-api.rebateright.com.au/Medicare/statusreport/v1")
  .header("x-minor-id", "<minorId>")
  .header("x-api-key", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("{\n  \"transactionId\": [\n    \"MDE000005b864a2b5f7a4538\",\n    \"MDE00000d6e3921b131c4736\"\n  ]\n}")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://test-api.rebateright.com.au/Medicare/statusreport/v1', [
  'body' => '{
  "transactionId": [
    "MDE000005b864a2b5f7a4538",
    "MDE00000d6e3921b131c4736"
  ]
}',
  'headers' => [
    'Content-Type' => 'application/json',
    'x-api-key' => '<apiKey>',
    'x-minor-id' => '<minorId>',
  ],
]);

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

```csharp Claim IDs
using RestSharp;

var client = new RestClient("https://test-api.rebateright.com.au/Medicare/statusreport/v1");
var request = new RestRequest(Method.POST);
request.AddHeader("x-minor-id", "<minorId>");
request.AddHeader("x-api-key", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"transactionId\": [\n    \"MDE000005b864a2b5f7a4538\",\n    \"MDE00000d6e3921b131c4736\"\n  ]\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Claim IDs
import Foundation

let headers = [
  "x-minor-id": "<minorId>",
  "x-api-key": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = ["transactionId": ["MDE000005b864a2b5f7a4538", "MDE00000d6e3921b131c4736"]] as [String : Any]

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

let request = NSMutableURLRequest(url: NSURL(string: "https://test-api.rebateright.com.au/Medicare/statusreport/v1")! 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()
```

### Date Range

**Request**

```json
{
  "fromDateTime": "2026-10-21T00:00:00+11:00",
  "toDateTime": "2026-10-21T10:00:00+11:00",
  "requestTransmissionType": "mcp-in-patient-medical-claim"
}
```

**Response**

```json
{
  "status": "COMPLETE",
  "correlationId": "urn:uuid:MDE00000fac66af227394f9b",
  "transactionStatus": [
    {
      "transactionId": "MDE00000ec7a2a123121468e",
      "reportStatus": "REPORTED",
      "processStatus": "MEDICARE_REJECTED",
      "lodgementDateTime": "2026-10-21T09:59:33+11:00",
      "reference": "02191%",
      "requestTransmissionType": "mcp-in-patient-medical-claim"
    },
    {
      "transactionId": "MDE00000f9cdbab6fb3b4730",
      "reportStatus": "REPORTED",
      "processStatus": "MEDICARE_REJECTED",
      "lodgementDateTime": "2026-10-21T09:59:42+11:00",
      "reference": "02192%",
      "associateName": "TST",
      "requestTransmissionType": "mcp-in-patient-medical-claim"
    }
  ]
}
```

**SDK Code**

```python Date Range
import requests

url = "https://test-api.rebateright.com.au/Medicare/statusreport/v1"

payload = {
    "fromDateTime": "2026-10-21T00:00:00+11:00",
    "toDateTime": "2026-10-21T10:00:00+11:00",
    "requestTransmissionType": "mcp-in-patient-medical-claim"
}
headers = {
    "x-minor-id": "<minorId>",
    "x-api-key": "<apiKey>",
    "Content-Type": "application/json"
}

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

print(response.json())
```

```javascript Date Range
const url = 'https://test-api.rebateright.com.au/Medicare/statusreport/v1';
const options = {
  method: 'POST',
  headers: {
    'x-minor-id': '<minorId>',
    'x-api-key': '<apiKey>',
    'Content-Type': 'application/json'
  },
  body: '{"fromDateTime":"2026-10-21T00:00:00+11:00","toDateTime":"2026-10-21T10:00:00+11:00","requestTransmissionType":"mcp-in-patient-medical-claim"}'
};

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

```go Date Range
package main

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

func main() {

	url := "https://test-api.rebateright.com.au/Medicare/statusreport/v1"

	payload := strings.NewReader("{\n  \"fromDateTime\": \"2026-10-21T00:00:00+11:00\",\n  \"toDateTime\": \"2026-10-21T10:00:00+11:00\",\n  \"requestTransmissionType\": \"mcp-in-patient-medical-claim\"\n}")

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

	req.Header.Add("x-minor-id", "<minorId>")
	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 Date Range
require 'uri'
require 'net/http'

url = URI("https://test-api.rebateright.com.au/Medicare/statusreport/v1")

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

request = Net::HTTP::Post.new(url)
request["x-minor-id"] = '<minorId>'
request["x-api-key"] = '<apiKey>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"fromDateTime\": \"2026-10-21T00:00:00+11:00\",\n  \"toDateTime\": \"2026-10-21T10:00:00+11:00\",\n  \"requestTransmissionType\": \"mcp-in-patient-medical-claim\"\n}"

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

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

HttpResponse<String> response = Unirest.post("https://test-api.rebateright.com.au/Medicare/statusreport/v1")
  .header("x-minor-id", "<minorId>")
  .header("x-api-key", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("{\n  \"fromDateTime\": \"2026-10-21T00:00:00+11:00\",\n  \"toDateTime\": \"2026-10-21T10:00:00+11:00\",\n  \"requestTransmissionType\": \"mcp-in-patient-medical-claim\"\n}")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://test-api.rebateright.com.au/Medicare/statusreport/v1', [
  'body' => '{
  "fromDateTime": "2026-10-21T00:00:00+11:00",
  "toDateTime": "2026-10-21T10:00:00+11:00",
  "requestTransmissionType": "mcp-in-patient-medical-claim"
}',
  'headers' => [
    'Content-Type' => 'application/json',
    'x-api-key' => '<apiKey>',
    'x-minor-id' => '<minorId>',
  ],
]);

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

```csharp Date Range
using RestSharp;

var client = new RestClient("https://test-api.rebateright.com.au/Medicare/statusreport/v1");
var request = new RestRequest(Method.POST);
request.AddHeader("x-minor-id", "<minorId>");
request.AddHeader("x-api-key", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"fromDateTime\": \"2026-10-21T00:00:00+11:00\",\n  \"toDateTime\": \"2026-10-21T10:00:00+11:00\",\n  \"requestTransmissionType\": \"mcp-in-patient-medical-claim\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Date Range
import Foundation

let headers = [
  "x-minor-id": "<minorId>",
  "x-api-key": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = [
  "fromDateTime": "2026-10-21T00:00:00+11:00",
  "toDateTime": "2026-10-21T10:00:00+11:00",
  "requestTransmissionType": "mcp-in-patient-medical-claim"
] as [String : Any]

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

let request = NSMutableURLRequest(url: NSURL(string: "https://test-api.rebateright.com.au/Medicare/statusreport/v1")! 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()
```

### Remittance Advice

**Request**

```json
{
  "transactionId": [
    "MDE000005b864a2b5f7a4538",
    "MDE00000d6e3921b131c4736"
  ],
  "requestTransmissionType": "mcp-eclipse-remittance-advice"
}
```

**Response**

```json
{
  "status": "COMPLETE",
  "correlationId": "urn:uuid:MDE00000250b35fdf1194624",
  "transactionStatus": [
    {
      "transactionId": "MDE000005b864a2b5f7a4538",
      "reportStatus": "REPORT_NOT_READY"
    },
    {
      "transactionId": "MDE00000d6e3921b131c4736",
      "reportStatus": "REPORT_NOT_READY"
    }
  ]
}
```

**SDK Code**

```python Remittance Advice
import requests

url = "https://test-api.rebateright.com.au/Medicare/statusreport/v1"

payload = {
    "transactionId": ["MDE000005b864a2b5f7a4538", "MDE00000d6e3921b131c4736"],
    "requestTransmissionType": "mcp-eclipse-remittance-advice"
}
headers = {
    "x-minor-id": "<minorId>",
    "x-api-key": "<apiKey>",
    "Content-Type": "application/json"
}

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

print(response.json())
```

```javascript Remittance Advice
const url = 'https://test-api.rebateright.com.au/Medicare/statusreport/v1';
const options = {
  method: 'POST',
  headers: {
    'x-minor-id': '<minorId>',
    'x-api-key': '<apiKey>',
    'Content-Type': 'application/json'
  },
  body: '{"transactionId":["MDE000005b864a2b5f7a4538","MDE00000d6e3921b131c4736"],"requestTransmissionType":"mcp-eclipse-remittance-advice"}'
};

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

```go Remittance Advice
package main

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

func main() {

	url := "https://test-api.rebateright.com.au/Medicare/statusreport/v1"

	payload := strings.NewReader("{\n  \"transactionId\": [\n    \"MDE000005b864a2b5f7a4538\",\n    \"MDE00000d6e3921b131c4736\"\n  ],\n  \"requestTransmissionType\": \"mcp-eclipse-remittance-advice\"\n}")

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

	req.Header.Add("x-minor-id", "<minorId>")
	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 Remittance Advice
require 'uri'
require 'net/http'

url = URI("https://test-api.rebateright.com.au/Medicare/statusreport/v1")

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

request = Net::HTTP::Post.new(url)
request["x-minor-id"] = '<minorId>'
request["x-api-key"] = '<apiKey>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"transactionId\": [\n    \"MDE000005b864a2b5f7a4538\",\n    \"MDE00000d6e3921b131c4736\"\n  ],\n  \"requestTransmissionType\": \"mcp-eclipse-remittance-advice\"\n}"

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

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

HttpResponse<String> response = Unirest.post("https://test-api.rebateright.com.au/Medicare/statusreport/v1")
  .header("x-minor-id", "<minorId>")
  .header("x-api-key", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("{\n  \"transactionId\": [\n    \"MDE000005b864a2b5f7a4538\",\n    \"MDE00000d6e3921b131c4736\"\n  ],\n  \"requestTransmissionType\": \"mcp-eclipse-remittance-advice\"\n}")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://test-api.rebateright.com.au/Medicare/statusreport/v1', [
  'body' => '{
  "transactionId": [
    "MDE000005b864a2b5f7a4538",
    "MDE00000d6e3921b131c4736"
  ],
  "requestTransmissionType": "mcp-eclipse-remittance-advice"
}',
  'headers' => [
    'Content-Type' => 'application/json',
    'x-api-key' => '<apiKey>',
    'x-minor-id' => '<minorId>',
  ],
]);

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

```csharp Remittance Advice
using RestSharp;

var client = new RestClient("https://test-api.rebateright.com.au/Medicare/statusreport/v1");
var request = new RestRequest(Method.POST);
request.AddHeader("x-minor-id", "<minorId>");
request.AddHeader("x-api-key", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"transactionId\": [\n    \"MDE000005b864a2b5f7a4538\",\n    \"MDE00000d6e3921b131c4736\"\n  ],\n  \"requestTransmissionType\": \"mcp-eclipse-remittance-advice\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Remittance Advice
import Foundation

let headers = [
  "x-minor-id": "<minorId>",
  "x-api-key": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = [
  "transactionId": ["MDE000005b864a2b5f7a4538", "MDE00000d6e3921b131c4736"],
  "requestTransmissionType": "mcp-eclipse-remittance-advice"
] as [String : Any]

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

let request = NSMutableURLRequest(url: NSURL(string: "https://test-api.rebateright.com.au/Medicare/statusreport/v1")! 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()
```

### No Match

**Request**

```json
{
  "transactionId": [
    "MDE00000d83d269f45104652"
  ]
}
```

**Response**

```json
{
  "status": "REPORT_NOT_FOUND",
  "correlationId": "urn:uuid:MDE00000ea04a1660ef64586"
}
```

**SDK Code**

```python No Match
import requests

url = "https://test-api.rebateright.com.au/Medicare/statusreport/v1"

payload = { "transactionId": ["MDE00000d83d269f45104652"] }
headers = {
    "x-minor-id": "<minorId>",
    "x-api-key": "<apiKey>",
    "Content-Type": "application/json"
}

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

print(response.json())
```

```javascript No Match
const url = 'https://test-api.rebateright.com.au/Medicare/statusreport/v1';
const options = {
  method: 'POST',
  headers: {
    'x-minor-id': '<minorId>',
    'x-api-key': '<apiKey>',
    'Content-Type': 'application/json'
  },
  body: '{"transactionId":["MDE00000d83d269f45104652"]}'
};

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

```go No Match
package main

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

func main() {

	url := "https://test-api.rebateright.com.au/Medicare/statusreport/v1"

	payload := strings.NewReader("{\n  \"transactionId\": [\n    \"MDE00000d83d269f45104652\"\n  ]\n}")

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

	req.Header.Add("x-minor-id", "<minorId>")
	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 No Match
require 'uri'
require 'net/http'

url = URI("https://test-api.rebateright.com.au/Medicare/statusreport/v1")

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

request = Net::HTTP::Post.new(url)
request["x-minor-id"] = '<minorId>'
request["x-api-key"] = '<apiKey>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"transactionId\": [\n    \"MDE00000d83d269f45104652\"\n  ]\n}"

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

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

HttpResponse<String> response = Unirest.post("https://test-api.rebateright.com.au/Medicare/statusreport/v1")
  .header("x-minor-id", "<minorId>")
  .header("x-api-key", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("{\n  \"transactionId\": [\n    \"MDE00000d83d269f45104652\"\n  ]\n}")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://test-api.rebateright.com.au/Medicare/statusreport/v1', [
  'body' => '{
  "transactionId": [
    "MDE00000d83d269f45104652"
  ]
}',
  'headers' => [
    'Content-Type' => 'application/json',
    'x-api-key' => '<apiKey>',
    'x-minor-id' => '<minorId>',
  ],
]);

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

```csharp No Match
using RestSharp;

var client = new RestClient("https://test-api.rebateright.com.au/Medicare/statusreport/v1");
var request = new RestRequest(Method.POST);
request.AddHeader("x-minor-id", "<minorId>");
request.AddHeader("x-api-key", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"transactionId\": [\n    \"MDE00000d83d269f45104652\"\n  ]\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift No Match
import Foundation

let headers = [
  "x-minor-id": "<minorId>",
  "x-api-key": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = ["transactionId": ["MDE00000d83d269f45104652"]] as [String : Any]

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

let request = NSMutableURLRequest(url: NSURL(string: "https://test-api.rebateright.com.au/Medicare/statusreport/v1")! 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()
```