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/dva/llms.txt. For full documentation content, see https://docs.rebateright.com.au/api-reference/dva/llms-full.txt.

# DVA Processing Report

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

> 🚧 **Coming Soon** — This endpoint is not yet available.
> RebateRight is completing DVA certification. Availability will be announced when certification is complete.

Retrieve a processing report for a **DVA medical claim** submitted through **Medicare**, from the same Minor ID
(transmitting location) that submitted the claim.

## 📑 Response — `status`

| Value | Meaning |
|---|---|
| `COMPLETE` | Report is available; `claimAssessment` is populated. |
| `REPORT_NOT_READY` | Claim located but assessment / payment is not finalised yet — retry later. |
| `REPORT_NOT_FOUND` | No matching claim for this location, provider, and identifiers. |
| `REPORT_EXPIRED` | Lodgement is outside the six-month retrieval window. |

The report summarises how the claim was assessed: totals at claim level, and per medical event and service (assessment codes, benefit and charge amounts, veteran details as held when assessed).

Reports can be retrieved for **six months** from the date the original claim was lodged, as many times as needed. Only the location that submitted the claim may request its report.

Malformed requests (for example an invalid `correlationId`) receive **HTTP 400** — see the **`400`** response examples.


Reference: https://docs.rebateright.com.au/api-reference/dva/dva-processing-report

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: collection
  version: 1.0.0
paths:
  /Medicare/dvaprocessingreport/v1:
    post:
      operationId: dva-processing-report
      summary: DVA Processing Report
      description: >
        > 🚧 **Coming Soon** — This endpoint is not yet available.

        > RebateRight is completing DVA certification. Availability will be
        announced when certification is complete.


        Retrieve a processing report for a **DVA medical claim** submitted
        through **Medicare**, from the same Minor ID

        (transmitting location) that submitted the claim.


        ## 📑 Response — `status`


        | Value | Meaning |

        |---|---|

        | `COMPLETE` | Report is available; `claimAssessment` is populated. |

        | `REPORT_NOT_READY` | Claim located but assessment / payment is not
        finalised yet — retry later. |

        | `REPORT_NOT_FOUND` | No matching claim for this location, provider,
        and identifiers. |

        | `REPORT_EXPIRED` | Lodgement is outside the six-month retrieval
        window. |


        The report summarises how the claim was assessed: totals at claim level,
        and per medical event and service (assessment codes, benefit and charge
        amounts, veteran details as held when assessed).


        Reports can be retrieved for **six months** from the date the original
        claim was lodged, as many times as needed. Only the location that
        submitted the claim may request its report.


        Malformed requests (for example an invalid `correlationId`) receive
        **HTTP 400** — see the **`400`** response examples.
      tags:
        - subpackage_dva
      parameters:
        - name: x-api-key
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DVA_DVA Processing Report_Response_200'
        '400':
          description: >-
            Validation or business-rule failure (HTTP 400). The body is either
            the Medicare `serviceMessage` envelope or a gateway JSON-schema
            envelope (`code`, `codeType`, `message`); both include
            `correlationId` for tracing.
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/PostMedicareDvaprocessingreportV1RequestBadRequestError
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                correlationId:
                  type: string
                  description: >-
                    Transaction identifier from the successful DVA medical claim
                    response; must match exactly what was returned when the
                    claim was accepted. Format is `urn:uuid:` + Minor ID (8
                    characters) + 16 hexadecimal characters (33 characters
                    total), for example `urn:uuid:MDE0000015181774ceb04e27`.
                payeeProvider:
                  $ref: >-
                    #/components/schemas/MedicareDvaprocessingreportV1PostRequestBodyContentApplicationJsonSchemaPayeeProvider
                  description: >-
                    Payee provider from the original claim transmission; use the
                    same values as on that claim.
              required:
                - correlationId
                - payeeProvider
servers:
  - url: https://api.rebateright.com.au
  - url: https://test-api.rebateright.com.au
components:
  schemas:
    MedicareDvaprocessingreportV1PostRequestBodyContentApplicationJsonSchemaPayeeProvider:
      type: object
      properties:
        providerNumber:
          type: string
          description: >-
            Payee provider number as transmitted on the original claim. Pad with
            leading zeros if there are between 3 and 7 characters before the
            check digit.
      required:
        - providerNumber
      description: >-
        Payee provider from the original claim transmission; use the same values
        as on that claim.
      title: >-
        MedicareDvaprocessingreportV1PostRequestBodyContentApplicationJsonSchemaPayeeProvider
    MedicareDvaprocessingreportV1PostResponsesContentApplicationJsonSchemaStatus:
      type: string
      enum:
        - COMPLETE
        - REPORT_NOT_READY
        - REPORT_NOT_FOUND
        - REPORT_EXPIRED
      description: |
        Outcome of the report request.

        | Value | Meaning |
        |-------|---------|
        | COMPLETE | Report returned with claim assessment data |
        | REPORT_NOT_READY | Report not ready yet — retry later |
        | REPORT_NOT_FOUND | Report not found |
        | REPORT_EXPIRED | Report has expired |
      title: >-
        MedicareDvaprocessingreportV1PostResponsesContentApplicationJsonSchemaStatus
    MedicareDvaprocessingreportV1PostResponsesContentApplicationJsonSchemaClaimAssessmentServiceProvider:
      type: object
      properties:
        providerNumber:
          type: string
          description: Provider number (stem, location, and check digit).
      required:
        - providerNumber
      description: Servicing provider on the assessed claim.
      title: >-
        MedicareDvaprocessingreportV1PostResponsesContentApplicationJsonSchemaClaimAssessmentServiceProvider
    MedicareDvaprocessingreportV1PostResponsesContentApplicationJsonSchemaClaimAssessmentMedicalEventItemsPatientCurrentMembership:
      type: object
      properties:
        veteranNumber:
          type: string
          description: DVA file number.
      required:
        - veteranNumber
      title: >-
        MedicareDvaprocessingreportV1PostResponsesContentApplicationJsonSchemaClaimAssessmentMedicalEventItemsPatientCurrentMembership
    MedicareDvaprocessingreportV1PostResponsesContentApplicationJsonSchemaClaimAssessmentMedicalEventItemsPatientCurrentMember:
      type: object
      properties:
        familyName:
          type: string
        givenName:
          type: string
      required:
        - familyName
        - givenName
      title: >-
        MedicareDvaprocessingreportV1PostResponsesContentApplicationJsonSchemaClaimAssessmentMedicalEventItemsPatientCurrentMember
    MedicareDvaprocessingreportV1PostResponsesContentApplicationJsonSchemaClaimAssessmentMedicalEventItemsPatient:
      type: object
      properties:
        currentMembership:
          $ref: >-
            #/components/schemas/MedicareDvaprocessingreportV1PostResponsesContentApplicationJsonSchemaClaimAssessmentMedicalEventItemsPatientCurrentMembership
        currentMember:
          $ref: >-
            #/components/schemas/MedicareDvaprocessingreportV1PostResponsesContentApplicationJsonSchemaClaimAssessmentMedicalEventItemsPatientCurrentMember
      required:
        - currentMembership
        - currentMember
      description: >-
        Veteran or patient as held when assessed; structure may include further
        membership fields from Medicare.
      title: >-
        MedicareDvaprocessingreportV1PostResponsesContentApplicationJsonSchemaClaimAssessmentMedicalEventItemsPatient
    MedicareDvaprocessingreportV1PostResponsesContentApplicationJsonSchemaClaimAssessmentMedicalEventItemsServiceItems:
      type: object
      properties:
        id:
          type: string
          description: Service line identifier (for example `0001`).
        itemNumber:
          type: string
          description: MBS item number as returned (may be padded).
        assessmentCode:
          type: string
          description: Assessment code for this service line.
        benefitPaid:
          type: string
          description: Benefit for this line, in cents as a string numeric.
        chargeAmount:
          type: string
          description: Charge for this line, in cents as a string numeric.
      required:
        - id
        - itemNumber
        - assessmentCode
        - benefitPaid
        - chargeAmount
      title: >-
        MedicareDvaprocessingreportV1PostResponsesContentApplicationJsonSchemaClaimAssessmentMedicalEventItemsServiceItems
    MedicareDvaprocessingreportV1PostResponsesContentApplicationJsonSchemaClaimAssessmentMedicalEventItems:
      type: object
      properties:
        id:
          type: string
          description: Medical event identifier within the claim (for example `01`).
        eventDate:
          type: string
          description: Medical event date (ISO 8601 calendar date).
        patient:
          $ref: >-
            #/components/schemas/MedicareDvaprocessingreportV1PostResponsesContentApplicationJsonSchemaClaimAssessmentMedicalEventItemsPatient
          description: >-
            Veteran or patient as held when assessed; structure may include
            further membership fields from Medicare.
        service:
          type: array
          items:
            $ref: >-
              #/components/schemas/MedicareDvaprocessingreportV1PostResponsesContentApplicationJsonSchemaClaimAssessmentMedicalEventItemsServiceItems
          description: Service lines within this medical event.
      required:
        - id
        - eventDate
        - patient
        - service
      title: >-
        MedicareDvaprocessingreportV1PostResponsesContentApplicationJsonSchemaClaimAssessmentMedicalEventItems
    MedicareDvaprocessingreportV1PostResponsesContentApplicationJsonSchemaClaimAssessment:
      type: object
      properties:
        claimId:
          type: string
          description: Claim identifier as assigned when assessed (for example `D0809@`).
        benefitPaid:
          type: string
          description: Total benefit paid for the claim, in cents as a string numeric.
        chargeAmount:
          type: string
          description: Total charge amount for the claim, in cents as a string numeric.
        serviceProvider:
          $ref: >-
            #/components/schemas/MedicareDvaprocessingreportV1PostResponsesContentApplicationJsonSchemaClaimAssessmentServiceProvider
          description: Servicing provider on the assessed claim.
        medicalEvent:
          type: array
          items:
            $ref: >-
              #/components/schemas/MedicareDvaprocessingreportV1PostResponsesContentApplicationJsonSchemaClaimAssessmentMedicalEventItems
          description: Assessed medical events for the claim.
      required:
        - claimId
        - benefitPaid
        - chargeAmount
        - serviceProvider
        - medicalEvent
      description: >-
        Present when `status` is `COMPLETE`. Assessment snapshot for the claim;
        Medicare may include additional properties beyond those listed.
      title: >-
        MedicareDvaprocessingreportV1PostResponsesContentApplicationJsonSchemaClaimAssessment
    DVA_DVA Processing Report_Response_200:
      type: object
      properties:
        status:
          $ref: >-
            #/components/schemas/MedicareDvaprocessingreportV1PostResponsesContentApplicationJsonSchemaStatus
          description: |
            Outcome of the report request.

            | Value | Meaning |
            |-------|---------|
            | COMPLETE | Report returned with claim assessment data |
            | REPORT_NOT_READY | Report not ready yet — retry later |
            | REPORT_NOT_FOUND | Report not found |
            | REPORT_EXPIRED | Report has expired |
        correlationId:
          type: string
          description: Echo of the `correlationId` sent on the request.
        claimAssessment:
          $ref: >-
            #/components/schemas/MedicareDvaprocessingreportV1PostResponsesContentApplicationJsonSchemaClaimAssessment
          description: >-
            Present when `status` is `COMPLETE`. Assessment snapshot for the
            claim; Medicare may include additional properties beyond those
            listed.
      required:
        - status
        - correlationId
      description: >-
        Processing report result. Additional properties appear when `status` is
        `COMPLETE`.
      title: DVA_DVA Processing Report_Response_200
    MedicareDvaprocessingreportV1PostResponsesContentApplicationJsonSchemaOneOf0ServiceMessageItems:
      type: object
      properties:
        code:
          type: string
          description: Medicare error code.
        severity:
          type: string
          description: Severity for this message (e.g. `Error`).
        reason:
          type: string
          description: Human-readable explanation.
      required:
        - code
        - severity
        - reason
      title: >-
        MedicareDvaprocessingreportV1PostResponsesContentApplicationJsonSchemaOneOf0ServiceMessageItems
    PostMedicareDvaprocessingreportV1RequestBadRequestError0:
      type: object
      properties:
        highestSeverity:
          type: string
          description: Highest severity across all messages (typically `Error`).
        correlationId:
          type: string
          description: >-
            Echo of the `correlationId` sent on the request, for support
            tracing.
        serviceMessage:
          type: array
          items:
            $ref: >-
              #/components/schemas/MedicareDvaprocessingreportV1PostResponsesContentApplicationJsonSchemaOneOf0ServiceMessageItems
          description: One or more validation or business-rule messages from Medicare.
      required:
        - highestSeverity
        - correlationId
        - serviceMessage
      title: PostMedicareDvaprocessingreportV1RequestBadRequestError0
    PostMedicareDvaprocessingreportV1RequestBadRequestError1:
      type: object
      properties:
        code:
          type: integer
          description: Numeric gateway or request-schema error code.
        codeType:
          type: string
          description: >-
            Gateway error category (for example `DHSEIN` for JSON schema
            validation).
        message:
          type: string
          description: Human-readable validation summary.
        correlationId:
          type: string
          description: >-
            Echo of the `correlationId` sent on the request when supplied; may
            be generated for this call when omitted upstream.
      required:
        - code
        - codeType
        - message
        - correlationId
      title: PostMedicareDvaprocessingreportV1RequestBadRequestError1
    PostMedicareDvaprocessingreportV1RequestBadRequestError:
      oneOf:
        - $ref: >-
            #/components/schemas/PostMedicareDvaprocessingreportV1RequestBadRequestError0
        - $ref: >-
            #/components/schemas/PostMedicareDvaprocessingreportV1RequestBadRequestError1
      title: PostMedicareDvaprocessingreportV1RequestBadRequestError
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
    minorId:
      type: apiKey
      in: header
      name: x-minor-id

```

## SDK Code Examples

```python Complete
import requests

url = "https://api.rebateright.com.au/Medicare/dvaprocessingreport/v1"

payload = {
    "correlationId": "urn:uuid:MDE0000015181774ceb04e27",
    "payeeProvider": { "providerNumber": "2447781L" }
}
headers = {
    "x-api-key": "<apiKey>",
    "Content-Type": "application/json"
}

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

print(response.json())
```

```javascript Complete
const url = 'https://api.rebateright.com.au/Medicare/dvaprocessingreport/v1';
const options = {
  method: 'POST',
  headers: {'x-api-key': '<apiKey>', 'Content-Type': 'application/json'},
  body: '{"correlationId":"urn:uuid:MDE0000015181774ceb04e27","payeeProvider":{"providerNumber":"2447781L"}}'
};

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

```go Complete
package main

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

func main() {

	url := "https://api.rebateright.com.au/Medicare/dvaprocessingreport/v1"

	payload := strings.NewReader("{\n  \"correlationId\": \"urn:uuid:MDE0000015181774ceb04e27\",\n  \"payeeProvider\": {\n    \"providerNumber\": \"2447781L\"\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 Complete
require 'uri'
require 'net/http'

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

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  \"correlationId\": \"urn:uuid:MDE0000015181774ceb04e27\",\n  \"payeeProvider\": {\n    \"providerNumber\": \"2447781L\"\n  }\n}"

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

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

HttpResponse<String> response = Unirest.post("https://api.rebateright.com.au/Medicare/dvaprocessingreport/v1")
  .header("x-api-key", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("{\n  \"correlationId\": \"urn:uuid:MDE0000015181774ceb04e27\",\n  \"payeeProvider\": {\n    \"providerNumber\": \"2447781L\"\n  }\n}")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.rebateright.com.au/Medicare/dvaprocessingreport/v1', [
  'body' => '{
  "correlationId": "urn:uuid:MDE0000015181774ceb04e27",
  "payeeProvider": {
    "providerNumber": "2447781L"
  }
}',
  'headers' => [
    'Content-Type' => 'application/json',
    'x-api-key' => '<apiKey>',
  ],
]);

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

```csharp Complete
using RestSharp;

var client = new RestClient("https://api.rebateright.com.au/Medicare/dvaprocessingreport/v1");
var request = new RestRequest(Method.POST);
request.AddHeader("x-api-key", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"correlationId\": \"urn:uuid:MDE0000015181774ceb04e27\",\n  \"payeeProvider\": {\n    \"providerNumber\": \"2447781L\"\n  }\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Complete
import Foundation

let headers = [
  "x-api-key": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = [
  "correlationId": "urn:uuid:MDE0000015181774ceb04e27",
  "payeeProvider": ["providerNumber": "2447781L"]
] as [String : Any]

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

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

```python Report Not Ready
import requests

url = "https://api.rebateright.com.au/Medicare/dvaprocessingreport/v1"

payload = {
    "correlationId": "urn:uuid:MDE00000ddf66a7ebee84495",
    "payeeProvider": { "providerNumber": "2447781L" }
}
headers = {
    "x-api-key": "<apiKey>",
    "Content-Type": "application/json"
}

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

print(response.json())
```

```javascript Report Not Ready
const url = 'https://api.rebateright.com.au/Medicare/dvaprocessingreport/v1';
const options = {
  method: 'POST',
  headers: {'x-api-key': '<apiKey>', 'Content-Type': 'application/json'},
  body: '{"correlationId":"urn:uuid:MDE00000ddf66a7ebee84495","payeeProvider":{"providerNumber":"2447781L"}}'
};

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

```go Report Not Ready
package main

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

func main() {

	url := "https://api.rebateright.com.au/Medicare/dvaprocessingreport/v1"

	payload := strings.NewReader("{\n  \"correlationId\": \"urn:uuid:MDE00000ddf66a7ebee84495\",\n  \"payeeProvider\": {\n    \"providerNumber\": \"2447781L\"\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 Report Not Ready
require 'uri'
require 'net/http'

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

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  \"correlationId\": \"urn:uuid:MDE00000ddf66a7ebee84495\",\n  \"payeeProvider\": {\n    \"providerNumber\": \"2447781L\"\n  }\n}"

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

```java Report Not Ready
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.rebateright.com.au/Medicare/dvaprocessingreport/v1")
  .header("x-api-key", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("{\n  \"correlationId\": \"urn:uuid:MDE00000ddf66a7ebee84495\",\n  \"payeeProvider\": {\n    \"providerNumber\": \"2447781L\"\n  }\n}")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.rebateright.com.au/Medicare/dvaprocessingreport/v1', [
  'body' => '{
  "correlationId": "urn:uuid:MDE00000ddf66a7ebee84495",
  "payeeProvider": {
    "providerNumber": "2447781L"
  }
}',
  'headers' => [
    'Content-Type' => 'application/json',
    'x-api-key' => '<apiKey>',
  ],
]);

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

```csharp Report Not Ready
using RestSharp;

var client = new RestClient("https://api.rebateright.com.au/Medicare/dvaprocessingreport/v1");
var request = new RestRequest(Method.POST);
request.AddHeader("x-api-key", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"correlationId\": \"urn:uuid:MDE00000ddf66a7ebee84495\",\n  \"payeeProvider\": {\n    \"providerNumber\": \"2447781L\"\n  }\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Report Not Ready
import Foundation

let headers = [
  "x-api-key": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = [
  "correlationId": "urn:uuid:MDE00000ddf66a7ebee84495",
  "payeeProvider": ["providerNumber": "2447781L"]
] as [String : Any]

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

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

```python Report Not Found
import requests

url = "https://api.rebateright.com.au/Medicare/dvaprocessingreport/v1"

payload = {
    "correlationId": "urn:uuid:MDE000009bb6cd1c92674e1c",
    "payeeProvider": { "providerNumber": "2447781L" }
}
headers = {
    "x-api-key": "<apiKey>",
    "Content-Type": "application/json"
}

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

print(response.json())
```

```javascript Report Not Found
const url = 'https://api.rebateright.com.au/Medicare/dvaprocessingreport/v1';
const options = {
  method: 'POST',
  headers: {'x-api-key': '<apiKey>', 'Content-Type': 'application/json'},
  body: '{"correlationId":"urn:uuid:MDE000009bb6cd1c92674e1c","payeeProvider":{"providerNumber":"2447781L"}}'
};

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

```go Report Not Found
package main

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

func main() {

	url := "https://api.rebateright.com.au/Medicare/dvaprocessingreport/v1"

	payload := strings.NewReader("{\n  \"correlationId\": \"urn:uuid:MDE000009bb6cd1c92674e1c\",\n  \"payeeProvider\": {\n    \"providerNumber\": \"2447781L\"\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 Report Not Found
require 'uri'
require 'net/http'

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

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  \"correlationId\": \"urn:uuid:MDE000009bb6cd1c92674e1c\",\n  \"payeeProvider\": {\n    \"providerNumber\": \"2447781L\"\n  }\n}"

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

```java Report Not Found
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.rebateright.com.au/Medicare/dvaprocessingreport/v1")
  .header("x-api-key", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("{\n  \"correlationId\": \"urn:uuid:MDE000009bb6cd1c92674e1c\",\n  \"payeeProvider\": {\n    \"providerNumber\": \"2447781L\"\n  }\n}")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.rebateright.com.au/Medicare/dvaprocessingreport/v1', [
  'body' => '{
  "correlationId": "urn:uuid:MDE000009bb6cd1c92674e1c",
  "payeeProvider": {
    "providerNumber": "2447781L"
  }
}',
  'headers' => [
    'Content-Type' => 'application/json',
    'x-api-key' => '<apiKey>',
  ],
]);

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

```csharp Report Not Found
using RestSharp;

var client = new RestClient("https://api.rebateright.com.au/Medicare/dvaprocessingreport/v1");
var request = new RestRequest(Method.POST);
request.AddHeader("x-api-key", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"correlationId\": \"urn:uuid:MDE000009bb6cd1c92674e1c\",\n  \"payeeProvider\": {\n    \"providerNumber\": \"2447781L\"\n  }\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Report Not Found
import Foundation

let headers = [
  "x-api-key": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = [
  "correlationId": "urn:uuid:MDE000009bb6cd1c92674e1c",
  "payeeProvider": ["providerNumber": "2447781L"]
] as [String : Any]

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

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