> 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.

# Statement of Claim and Benefit Payment (PDF)

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

**What do I give the claimant when Medicare assesses a patient claim?**

The claimant gets the Statement of Claim and Benefit Payment. This endpoint produces it as a PDF,
in the wording Services Australia sets, with the claim's details filled in.

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

Services Australia requires the location to give the claimant a printed statement for each
interactive patient claim. This statement is for a claim that comes back `MEDICARE_ASSESSED`.
[Printed statements](/services-australia-requirements#printed-statements) says which statement
each outcome needs.

| You send                                                                          | You get                                                 | Then                                                           |
| --------------------------------------------------------------------------------- | ------------------------------------------------------- | -------------------------------------------------------------- |
| The claim you lodged, Medicare's response, and the names the claim does not carry | The **Statement of Claim and Benefit Payment** as a PDF | Print it for the claimant. The location may keep its own copy. |

## What the PDF carries

The PDF carries the header Services Australia sets, the Location ID and claim reference, the
location, the patient and claimant, the providers and referral, each service with its charge and
benefit, the Medicare reason codes, the payment details, the claimant declaration and the privacy
notice. The static wording follows the Patient Claim Interactive specification word for word, with
the Acts in italics. When the claimant has `eftDetails`, the PDF also carries their authority to pay
the benefit into that account. The footer on each page records the date and time RebateRight made the
PDF.

**Claim reference.** The PDF prints Medicare's `claimId` as the **Claim Reference**. The `claimId`
is the Location ID followed by the date and time of lodgement, which is how Services Australia
defines the claim reference.

## Request body

Send the request you lodged at an [Interactive Patient Claim](/api-reference/medicare-claiming/interactive-patient-claims/interactive-patient-claim-general)
endpoint, with the `status` and `claimAssessment` from Medicare's response beside
`patientClaimInteractive`. Add `statementDetails` for the location and the names the claim does not
carry. This endpoint reads the fields below and ignores the rest. It sends nothing to Medicare.

`status` must be `MEDICARE_ASSESSED`. For a pended claim, use
[Lodgement Advice (PDF)](/api-reference/medicare-claiming/interactive-patient-claims/lodgement-advice-pdf).

## Location on the PDF

The PDF prints the **`x-minor-id`** request header as its **Location ID**.

## Response

| Status | Content type      | Meaning                                                                                                                                                                               |
| ------ | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `200`  | `application/pdf` | The statement, offered as the download **`PatientClaimStatement.pdf`**.                                                                                                               |
| `400`  | `text/plain`      | The JSON is invalid, a field has the wrong type or value, a required field or the `x-minor-id` header is missing, or `status` is not `MEDICARE_ASSESSED`. The body names the problem. |

Reference: https://docs.rebateright.com.au/api-reference/medicare-claiming/interactive-patient-claims/statement-of-claim-and-benefit-payment-pdf

## 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. See [Keys, Minor ID and environments](/keys-and-environments).

### Body (application/json)

This endpoint expects an object.

- `patientClaimInteractive` (map from string to any, required) — The `patientClaimInteractive` object you lodged, unchanged. `medicalEvent` needs at least 1 medical event. Most fields print as you sent them. These print in their own form: | Field | On the PDF | |---|---| | `chargeAmount` and `patientContribAmount` | In dollars, such as `$25.05` | | `hospitalInd` `Y` | `*` after the item number | | `numberOfPatientsSeen` | After the item number, as `23/2` | | `medicalEventTime` | Under the date of service | | `referral.periodCode` | `N` prints `period` in months, `I` prints Indefinite, and `S` prints `statementDetails.referralPeriodMonths` in months | | `referralOverrideCode` | `E` prints Emergency referral, `L` prints Lost referral, and `H` prints Referral within, then `statementDetails.hospitalName`, or the facility ID when you leave the name out | | `accountPaidInd` | The account is fully paid: YES or NO | | `claimant.residentialAddress` | Under the claimant's details. Correspondence goes to the ABOVE ADDRESS when you send it, and to the ADDRESS HELD BY MEDICARE when you do not | | `claimant.eftDetails` | The claimant's authority to pay into that account, with its BSB, number and name | Each service's notations print in its Description of Service, in Services Australia's form: `aftercareOverrideInd` as NNAC, `accessionDateTime` as A-, `collectionDateTime` as C-, `duplicateServiceOverrideInd` as NDS, `fieldQuantity` as FQty-, `lspNumber` as LSPNum-, `multipleProcedureOverrideInd` as MPO, `rule3ExemptInd` as R3Ex, `restrictiveOverrideCode` as its meaning, `selfDeemedCode` as sent, `s4b3ExemptInd` as S4b3Ex, `scpId` as SCPId-, and `text` and `timeDuration` as sent. When the claimant is the patient, the claimant's name, date of birth and card print blank, because Services Australia asks for them only when the patient is not the claimant.
- `status` (enum, required) — The `status` from Medicare's response. It must be `MEDICARE_ASSESSED`.
  - Allowed values: `MEDICARE_ASSESSED`
- `claimAssessment` (map from string to any, required) — The `claimAssessment` object from Medicare's response, unchanged. The PDF prints `claimId` as the Claim Reference. It matches each service's `assessmentCode` and `benefitPaid` to the service you sent by its `id`, and prints `benefitPaid` in dollars as the Benefit. A 3-digit `assessmentCode` prints as the RSN Code. A claim-level `error` prints under Medicare Reason Codes with its `text`.
- `statementDetails` (PatientClaimStatementPostRequestBodyContentApplicationJsonSchemaStatementDetails, optional) — Details Services Australia requires on the statement that the claim does not carry. Send them so the statement names the location and each provider. A field you leave out prints as a blank.

## Response

### 200

The Statement of Claim and Benefit Payment as a PDF, named `PatientClaimStatement.pdf`.

- File download.

## Types

### PatientClaimStatementPostRequestBodyContentApplicationJsonSchemaStatementDetails

Details Services Australia requires on the statement that the claim does not carry. Send them so the statement names the location and each provider. A field you leave out prints as a blank.

- `locationName` (string, optional) — The location's name, printed under **Servicing Location**.
- `locationAddress` (string, optional) — The location's address, printed under the location's name.
- `locationPhoneNumber` (string, optional) — Optional. The location's phone number, printed under its address.
- `servicingProviderName` (string, optional) — The servicing provider's name, printed beside **Servicing Provider Name**.
- `payeeProviderName` (string, optional) — The payee provider's name, printed beside **Payee Provider Name** when the claim has a `payeeProvider`.
- `referringProviderName` (string, optional) — The requesting or referring provider's name, printed when the claim has a `referral`.
- `hospitalName` (string, optional) — The hospital's name, printed after Referral within when `referralOverrideCode` is `H`.
- `referralPeriodMonths` (integer, optional) — The length of a standard referral in months, required when `referral.periodCode` is `S`. A standard referral runs 12 months when a GP refers, and 3 months when a specialist refers.
- `reasonCodes` (list of PatientClaimStatementPostRequestBodyContentApplicationJsonSchemaStatementDetailsReasonCodesItems, optional) — An explanation for each 3-digit reason code Medicare returned, printed under **Medicare Reason Codes**. Services Australia requires one for each code. The [Services Australia reason-code lookup](https://www.servicesaustralia.gov.au/look-up-medicare-reason-code) gives each code's meaning.

### PatientClaimStatementPostRequestBodyContentApplicationJsonSchemaStatementDetailsReasonCodesItems

- `code` (string, optional) — The reason code, such as `556`.
- `text` (string, optional) — The explanation to print beside the code.

## Examples

**Request**

```json
{
  "patientClaimInteractive": {
    "accountPaidInd": "Y",
    "authorisationDate": "2026-04-13",
    "claimant": {
      "identity": {
        "dateOfBirth": "2009-02-08",
        "familyName": "FLETCHER",
        "givenName": "Clint"
      },
      "medicare": {
        "memberNumber": "4951525561",
        "memberRefNumber": "3"
      }
    },
    "medicalEvent": [
      {
        "id": "01",
        "medicalEventDate": "2026-04-13",
        "service": [
          {
            "chargeAmount": "2505",
            "id": "1001",
            "itemNumber": "65120",
            "scpId": "00001"
          }
        ]
      }
    ],
    "patient": {
      "identity": {
        "dateOfBirth": "2009-02-08",
        "familyName": "FLETCHER",
        "givenName": "Clint"
      },
      "medicare": {
        "memberNumber": "4951525561",
        "memberRefNumber": "3"
      }
    },
    "referral": {
      "issueDate": "2026-01-01",
      "provider": {
        "providerNumber": "2447781L"
      },
      "typeCode": "P"
    },
    "serviceProvider": {
      "providerNumber": "2446081F"
    },
    "submissionAuthorityInd": "Y"
  },
  "status": "MEDICARE_ASSESSED",
  "claimAssessment": {
    "claimId": "MDE0000013042608430607",
    "medicalEvent": [
      {
        "eventDate": "2026-04-13",
        "id": "01",
        "service": [
          {
            "assessmentCode": "ASSESSED",
            "benefitPaid": "1195",
            "chargeAmount": "2505",
            "id": "1001",
            "itemNumber": "65120"
          }
        ]
      }
    ]
  },
  "statementDetails": {
    "locationName": "<locationName>",
    "locationAddress": "<locationAddress>",
    "servicingProviderName": "GENEVIEVE GALLOWAY",
    "referringProviderName": "GWENDA HUNTER"
  }
}
```

**SDK Code**

```python Pathology Claim
import requests

url = "https://test-api.rebateright.com.au/PatientClaimStatement"

payload = {
    "patientClaimInteractive": {
        "accountPaidInd": "Y",
        "authorisationDate": "2026-04-13",
        "claimant": {
            "identity": {
                "dateOfBirth": "2009-02-08",
                "familyName": "FLETCHER",
                "givenName": "Clint"
            },
            "medicare": {
                "memberNumber": "4951525561",
                "memberRefNumber": "3"
            }
        },
        "medicalEvent": [
            {
                "id": "01",
                "medicalEventDate": "2026-04-13",
                "service": [
                    {
                        "chargeAmount": "2505",
                        "id": "1001",
                        "itemNumber": "65120",
                        "scpId": "00001"
                    }
                ]
            }
        ],
        "patient": {
            "identity": {
                "dateOfBirth": "2009-02-08",
                "familyName": "FLETCHER",
                "givenName": "Clint"
            },
            "medicare": {
                "memberNumber": "4951525561",
                "memberRefNumber": "3"
            }
        },
        "referral": {
            "issueDate": "2026-01-01",
            "provider": { "providerNumber": "2447781L" },
            "typeCode": "P"
        },
        "serviceProvider": { "providerNumber": "2446081F" },
        "submissionAuthorityInd": "Y"
    },
    "status": "MEDICARE_ASSESSED",
    "claimAssessment": {
        "claimId": "MDE0000013042608430607",
        "medicalEvent": [
            {
                "eventDate": "2026-04-13",
                "id": "01",
                "service": [
                    {
                        "assessmentCode": "ASSESSED",
                        "benefitPaid": "1195",
                        "chargeAmount": "2505",
                        "id": "1001",
                        "itemNumber": "65120"
                    }
                ]
            }
        ]
    },
    "statementDetails": {
        "locationName": "<locationName>",
        "locationAddress": "<locationAddress>",
        "servicingProviderName": "GENEVIEVE GALLOWAY",
        "referringProviderName": "GWENDA HUNTER"
    }
}
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 Pathology Claim
const url = 'https://test-api.rebateright.com.au/PatientClaimStatement';
const options = {
  method: 'POST',
  headers: {
    'x-minor-id': '<minorId>',
    'x-api-key': '<apiKey>',
    'Content-Type': 'application/json'
  },
  body: '{"patientClaimInteractive":{"accountPaidInd":"Y","authorisationDate":"2026-04-13","claimant":{"identity":{"dateOfBirth":"2009-02-08","familyName":"FLETCHER","givenName":"Clint"},"medicare":{"memberNumber":"4951525561","memberRefNumber":"3"}},"medicalEvent":[{"id":"01","medicalEventDate":"2026-04-13","service":[{"chargeAmount":"2505","id":"1001","itemNumber":"65120","scpId":"00001"}]}],"patient":{"identity":{"dateOfBirth":"2009-02-08","familyName":"FLETCHER","givenName":"Clint"},"medicare":{"memberNumber":"4951525561","memberRefNumber":"3"}},"referral":{"issueDate":"2026-01-01","provider":{"providerNumber":"2447781L"},"typeCode":"P"},"serviceProvider":{"providerNumber":"2446081F"},"submissionAuthorityInd":"Y"},"status":"MEDICARE_ASSESSED","claimAssessment":{"claimId":"MDE0000013042608430607","medicalEvent":[{"eventDate":"2026-04-13","id":"01","service":[{"assessmentCode":"ASSESSED","benefitPaid":"1195","chargeAmount":"2505","id":"1001","itemNumber":"65120"}]}]},"statementDetails":{"locationName":"<locationName>","locationAddress":"<locationAddress>","servicingProviderName":"GENEVIEVE GALLOWAY","referringProviderName":"GWENDA HUNTER"}}'
};

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

```go Pathology Claim
package main

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

func main() {

	url := "https://test-api.rebateright.com.au/PatientClaimStatement"

	payload := strings.NewReader("{\n  \"patientClaimInteractive\": {\n    \"accountPaidInd\": \"Y\",\n    \"authorisationDate\": \"2026-04-13\",\n    \"claimant\": {\n      \"identity\": {\n        \"dateOfBirth\": \"2009-02-08\",\n        \"familyName\": \"FLETCHER\",\n        \"givenName\": \"Clint\"\n      },\n      \"medicare\": {\n        \"memberNumber\": \"4951525561\",\n        \"memberRefNumber\": \"3\"\n      }\n    },\n    \"medicalEvent\": [\n      {\n        \"id\": \"01\",\n        \"medicalEventDate\": \"2026-04-13\",\n        \"service\": [\n          {\n            \"chargeAmount\": \"2505\",\n            \"id\": \"1001\",\n            \"itemNumber\": \"65120\",\n            \"scpId\": \"00001\"\n          }\n        ]\n      }\n    ],\n    \"patient\": {\n      \"identity\": {\n        \"dateOfBirth\": \"2009-02-08\",\n        \"familyName\": \"FLETCHER\",\n        \"givenName\": \"Clint\"\n      },\n      \"medicare\": {\n        \"memberNumber\": \"4951525561\",\n        \"memberRefNumber\": \"3\"\n      }\n    },\n    \"referral\": {\n      \"issueDate\": \"2026-01-01\",\n      \"provider\": {\n        \"providerNumber\": \"2447781L\"\n      },\n      \"typeCode\": \"P\"\n    },\n    \"serviceProvider\": {\n      \"providerNumber\": \"2446081F\"\n    },\n    \"submissionAuthorityInd\": \"Y\"\n  },\n  \"status\": \"MEDICARE_ASSESSED\",\n  \"claimAssessment\": {\n    \"claimId\": \"MDE0000013042608430607\",\n    \"medicalEvent\": [\n      {\n        \"eventDate\": \"2026-04-13\",\n        \"id\": \"01\",\n        \"service\": [\n          {\n            \"assessmentCode\": \"ASSESSED\",\n            \"benefitPaid\": \"1195\",\n            \"chargeAmount\": \"2505\",\n            \"id\": \"1001\",\n            \"itemNumber\": \"65120\"\n          }\n        ]\n      }\n    ]\n  },\n  \"statementDetails\": {\n    \"locationName\": \"<locationName>\",\n    \"locationAddress\": \"<locationAddress>\",\n    \"servicingProviderName\": \"GENEVIEVE GALLOWAY\",\n    \"referringProviderName\": \"GWENDA HUNTER\"\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 Pathology Claim
require 'uri'
require 'net/http'

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

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  \"patientClaimInteractive\": {\n    \"accountPaidInd\": \"Y\",\n    \"authorisationDate\": \"2026-04-13\",\n    \"claimant\": {\n      \"identity\": {\n        \"dateOfBirth\": \"2009-02-08\",\n        \"familyName\": \"FLETCHER\",\n        \"givenName\": \"Clint\"\n      },\n      \"medicare\": {\n        \"memberNumber\": \"4951525561\",\n        \"memberRefNumber\": \"3\"\n      }\n    },\n    \"medicalEvent\": [\n      {\n        \"id\": \"01\",\n        \"medicalEventDate\": \"2026-04-13\",\n        \"service\": [\n          {\n            \"chargeAmount\": \"2505\",\n            \"id\": \"1001\",\n            \"itemNumber\": \"65120\",\n            \"scpId\": \"00001\"\n          }\n        ]\n      }\n    ],\n    \"patient\": {\n      \"identity\": {\n        \"dateOfBirth\": \"2009-02-08\",\n        \"familyName\": \"FLETCHER\",\n        \"givenName\": \"Clint\"\n      },\n      \"medicare\": {\n        \"memberNumber\": \"4951525561\",\n        \"memberRefNumber\": \"3\"\n      }\n    },\n    \"referral\": {\n      \"issueDate\": \"2026-01-01\",\n      \"provider\": {\n        \"providerNumber\": \"2447781L\"\n      },\n      \"typeCode\": \"P\"\n    },\n    \"serviceProvider\": {\n      \"providerNumber\": \"2446081F\"\n    },\n    \"submissionAuthorityInd\": \"Y\"\n  },\n  \"status\": \"MEDICARE_ASSESSED\",\n  \"claimAssessment\": {\n    \"claimId\": \"MDE0000013042608430607\",\n    \"medicalEvent\": [\n      {\n        \"eventDate\": \"2026-04-13\",\n        \"id\": \"01\",\n        \"service\": [\n          {\n            \"assessmentCode\": \"ASSESSED\",\n            \"benefitPaid\": \"1195\",\n            \"chargeAmount\": \"2505\",\n            \"id\": \"1001\",\n            \"itemNumber\": \"65120\"\n          }\n        ]\n      }\n    ]\n  },\n  \"statementDetails\": {\n    \"locationName\": \"<locationName>\",\n    \"locationAddress\": \"<locationAddress>\",\n    \"servicingProviderName\": \"GENEVIEVE GALLOWAY\",\n    \"referringProviderName\": \"GWENDA HUNTER\"\n  }\n}"

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

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

HttpResponse<String> response = Unirest.post("https://test-api.rebateright.com.au/PatientClaimStatement")
  .header("x-minor-id", "<minorId>")
  .header("x-api-key", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("{\n  \"patientClaimInteractive\": {\n    \"accountPaidInd\": \"Y\",\n    \"authorisationDate\": \"2026-04-13\",\n    \"claimant\": {\n      \"identity\": {\n        \"dateOfBirth\": \"2009-02-08\",\n        \"familyName\": \"FLETCHER\",\n        \"givenName\": \"Clint\"\n      },\n      \"medicare\": {\n        \"memberNumber\": \"4951525561\",\n        \"memberRefNumber\": \"3\"\n      }\n    },\n    \"medicalEvent\": [\n      {\n        \"id\": \"01\",\n        \"medicalEventDate\": \"2026-04-13\",\n        \"service\": [\n          {\n            \"chargeAmount\": \"2505\",\n            \"id\": \"1001\",\n            \"itemNumber\": \"65120\",\n            \"scpId\": \"00001\"\n          }\n        ]\n      }\n    ],\n    \"patient\": {\n      \"identity\": {\n        \"dateOfBirth\": \"2009-02-08\",\n        \"familyName\": \"FLETCHER\",\n        \"givenName\": \"Clint\"\n      },\n      \"medicare\": {\n        \"memberNumber\": \"4951525561\",\n        \"memberRefNumber\": \"3\"\n      }\n    },\n    \"referral\": {\n      \"issueDate\": \"2026-01-01\",\n      \"provider\": {\n        \"providerNumber\": \"2447781L\"\n      },\n      \"typeCode\": \"P\"\n    },\n    \"serviceProvider\": {\n      \"providerNumber\": \"2446081F\"\n    },\n    \"submissionAuthorityInd\": \"Y\"\n  },\n  \"status\": \"MEDICARE_ASSESSED\",\n  \"claimAssessment\": {\n    \"claimId\": \"MDE0000013042608430607\",\n    \"medicalEvent\": [\n      {\n        \"eventDate\": \"2026-04-13\",\n        \"id\": \"01\",\n        \"service\": [\n          {\n            \"assessmentCode\": \"ASSESSED\",\n            \"benefitPaid\": \"1195\",\n            \"chargeAmount\": \"2505\",\n            \"id\": \"1001\",\n            \"itemNumber\": \"65120\"\n          }\n        ]\n      }\n    ]\n  },\n  \"statementDetails\": {\n    \"locationName\": \"<locationName>\",\n    \"locationAddress\": \"<locationAddress>\",\n    \"servicingProviderName\": \"GENEVIEVE GALLOWAY\",\n    \"referringProviderName\": \"GWENDA HUNTER\"\n  }\n}")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://test-api.rebateright.com.au/PatientClaimStatement', [
  'body' => '{
  "patientClaimInteractive": {
    "accountPaidInd": "Y",
    "authorisationDate": "2026-04-13",
    "claimant": {
      "identity": {
        "dateOfBirth": "2009-02-08",
        "familyName": "FLETCHER",
        "givenName": "Clint"
      },
      "medicare": {
        "memberNumber": "4951525561",
        "memberRefNumber": "3"
      }
    },
    "medicalEvent": [
      {
        "id": "01",
        "medicalEventDate": "2026-04-13",
        "service": [
          {
            "chargeAmount": "2505",
            "id": "1001",
            "itemNumber": "65120",
            "scpId": "00001"
          }
        ]
      }
    ],
    "patient": {
      "identity": {
        "dateOfBirth": "2009-02-08",
        "familyName": "FLETCHER",
        "givenName": "Clint"
      },
      "medicare": {
        "memberNumber": "4951525561",
        "memberRefNumber": "3"
      }
    },
    "referral": {
      "issueDate": "2026-01-01",
      "provider": {
        "providerNumber": "2447781L"
      },
      "typeCode": "P"
    },
    "serviceProvider": {
      "providerNumber": "2446081F"
    },
    "submissionAuthorityInd": "Y"
  },
  "status": "MEDICARE_ASSESSED",
  "claimAssessment": {
    "claimId": "MDE0000013042608430607",
    "medicalEvent": [
      {
        "eventDate": "2026-04-13",
        "id": "01",
        "service": [
          {
            "assessmentCode": "ASSESSED",
            "benefitPaid": "1195",
            "chargeAmount": "2505",
            "id": "1001",
            "itemNumber": "65120"
          }
        ]
      }
    ]
  },
  "statementDetails": {
    "locationName": "<locationName>",
    "locationAddress": "<locationAddress>",
    "servicingProviderName": "GENEVIEVE GALLOWAY",
    "referringProviderName": "GWENDA HUNTER"
  }
}',
  'headers' => [
    'Content-Type' => 'application/json',
    'x-api-key' => '<apiKey>',
    'x-minor-id' => '<minorId>',
  ],
]);

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

```csharp Pathology Claim
using RestSharp;

var client = new RestClient("https://test-api.rebateright.com.au/PatientClaimStatement");
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  \"patientClaimInteractive\": {\n    \"accountPaidInd\": \"Y\",\n    \"authorisationDate\": \"2026-04-13\",\n    \"claimant\": {\n      \"identity\": {\n        \"dateOfBirth\": \"2009-02-08\",\n        \"familyName\": \"FLETCHER\",\n        \"givenName\": \"Clint\"\n      },\n      \"medicare\": {\n        \"memberNumber\": \"4951525561\",\n        \"memberRefNumber\": \"3\"\n      }\n    },\n    \"medicalEvent\": [\n      {\n        \"id\": \"01\",\n        \"medicalEventDate\": \"2026-04-13\",\n        \"service\": [\n          {\n            \"chargeAmount\": \"2505\",\n            \"id\": \"1001\",\n            \"itemNumber\": \"65120\",\n            \"scpId\": \"00001\"\n          }\n        ]\n      }\n    ],\n    \"patient\": {\n      \"identity\": {\n        \"dateOfBirth\": \"2009-02-08\",\n        \"familyName\": \"FLETCHER\",\n        \"givenName\": \"Clint\"\n      },\n      \"medicare\": {\n        \"memberNumber\": \"4951525561\",\n        \"memberRefNumber\": \"3\"\n      }\n    },\n    \"referral\": {\n      \"issueDate\": \"2026-01-01\",\n      \"provider\": {\n        \"providerNumber\": \"2447781L\"\n      },\n      \"typeCode\": \"P\"\n    },\n    \"serviceProvider\": {\n      \"providerNumber\": \"2446081F\"\n    },\n    \"submissionAuthorityInd\": \"Y\"\n  },\n  \"status\": \"MEDICARE_ASSESSED\",\n  \"claimAssessment\": {\n    \"claimId\": \"MDE0000013042608430607\",\n    \"medicalEvent\": [\n      {\n        \"eventDate\": \"2026-04-13\",\n        \"id\": \"01\",\n        \"service\": [\n          {\n            \"assessmentCode\": \"ASSESSED\",\n            \"benefitPaid\": \"1195\",\n            \"chargeAmount\": \"2505\",\n            \"id\": \"1001\",\n            \"itemNumber\": \"65120\"\n          }\n        ]\n      }\n    ]\n  },\n  \"statementDetails\": {\n    \"locationName\": \"<locationName>\",\n    \"locationAddress\": \"<locationAddress>\",\n    \"servicingProviderName\": \"GENEVIEVE GALLOWAY\",\n    \"referringProviderName\": \"GWENDA HUNTER\"\n  }\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Pathology Claim
import Foundation

let headers = [
  "x-minor-id": "<minorId>",
  "x-api-key": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = [
  "patientClaimInteractive": [
    "accountPaidInd": "Y",
    "authorisationDate": "2026-04-13",
    "claimant": [
      "identity": [
        "dateOfBirth": "2009-02-08",
        "familyName": "FLETCHER",
        "givenName": "Clint"
      ],
      "medicare": [
        "memberNumber": "4951525561",
        "memberRefNumber": "3"
      ]
    ],
    "medicalEvent": [
      [
        "id": "01",
        "medicalEventDate": "2026-04-13",
        "service": [
          [
            "chargeAmount": "2505",
            "id": "1001",
            "itemNumber": "65120",
            "scpId": "00001"
          ]
        ]
      ]
    ],
    "patient": [
      "identity": [
        "dateOfBirth": "2009-02-08",
        "familyName": "FLETCHER",
        "givenName": "Clint"
      ],
      "medicare": [
        "memberNumber": "4951525561",
        "memberRefNumber": "3"
      ]
    ],
    "referral": [
      "issueDate": "2026-01-01",
      "provider": ["providerNumber": "2447781L"],
      "typeCode": "P"
    ],
    "serviceProvider": ["providerNumber": "2446081F"],
    "submissionAuthorityInd": "Y"
  ],
  "status": "MEDICARE_ASSESSED",
  "claimAssessment": [
    "claimId": "MDE0000013042608430607",
    "medicalEvent": [
      [
        "eventDate": "2026-04-13",
        "id": "01",
        "service": [
          [
            "assessmentCode": "ASSESSED",
            "benefitPaid": "1195",
            "chargeAmount": "2505",
            "id": "1001",
            "itemNumber": "65120"
          ]
        ]
      ]
    ]
  ],
  "statementDetails": [
    "locationName": "<locationName>",
    "locationAddress": "<locationAddress>",
    "servicingProviderName": "GENEVIEVE GALLOWAY",
    "referringProviderName": "GWENDA HUNTER"
  ]
] as [String : Any]

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

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