> 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 full documentation content, see https://docs.rebateright.com.au/llms-full.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.rebateright.com.au/_mcp/server.

# Immunisation History Statement

POST https://api.rebateright.com.au/AIR/v1/individual/immunisation-history/statement
Content-Type: application/json

Generate the individual's official AIR immunisation history statement as a PDF. The response carries the PDF as a base64-encoded string in `immunisationHistoryStatement.fileContent`.

Requires an `individualIdentifier` from a prior [Identify Individual](/api-reference/air/individual-details/identify-individual) call.

For shared response patterns and the full status-code list, see [AIR Integration](/air).

#### What's in the statement

The PDF shows every vaccine recorded on AIR (including overseas vaccines reported to the individual's provider), assessed up-to-date status for under-7s and 14–19-year-olds, and any planned catch-up dates.

#### Decoding the PDF

Base64-decode `fileContent` into bytes and write them to a `.pdf` file. The result is a Services Australia-issued statement suitable for the individual to keep or print.

#### Status Codes

| Code | Meaning |
|---|---|
| `AIR-I-1100` | Statement generated. `fileContent` returned. |
| `AIR-E-1005` | Validation errors (e.g. `AIR-E-1061` invalid identifier). |
| `AIR-E-1058` | Individual's record cannot be viewed. |
| `AIR-E-1078` | Statement cannot be generated or viewed at this time. |


Reference: https://docs.rebateright.com.au/api-reference/air/individual-details/immunisation-history-statement

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: collection
  version: 1.0.0
paths:
  /AIR/v1/individual/immunisation-history/statement:
    post:
      operationId: immunisation-history-statement
      summary: Immunisation History Statement
      description: >
        Generate the individual's official AIR immunisation history statement as
        a PDF. The response carries the PDF as a base64-encoded string in
        `immunisationHistoryStatement.fileContent`.


        Requires an `individualIdentifier` from a prior [Identify
        Individual](/api-reference/air/individual-details/identify-individual)
        call.


        For shared response patterns and the full status-code list, see [AIR
        Integration](/air).


        #### What's in the statement


        The PDF shows every vaccine recorded on AIR (including overseas vaccines
        reported to the individual's provider), assessed up-to-date status for
        under-7s and 14–19-year-olds, and any planned catch-up dates.


        #### Decoding the PDF


        Base64-decode `fileContent` into bytes and write them to a `.pdf` file.
        The result is a Services Australia-issued statement suitable for the
        individual to keep or print.


        #### Status Codes


        | Code | Meaning |

        |---|---|

        | `AIR-I-1100` | Statement generated. `fileContent` returned. |

        | `AIR-E-1005` | Validation errors (e.g. `AIR-E-1061` invalid
        identifier). |

        | `AIR-E-1058` | Individual's record cannot be viewed. |

        | `AIR-E-1078` | Statement cannot be generated or viewed at this time. |
      tags:
        - subpackage_air.subpackage_air/individualDetails
      parameters:
        - name: x-api-key
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/AIR_Individual Details_Immunisation
                  History Statement_Response_200
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                individualIdentifier:
                  type: string
                  description: Opaque token from a prior Identify Individual call.
                individualDateOfBirth:
                  type: string
                  description: DDMMYYYY format.
                informationProvider:
                  $ref: >-
                    #/components/schemas/AirV1IndividualImmunisationHistoryStatementPostRequestBodyContentApplicationJsonSchemaInformationProvider
              required:
                - individualIdentifier
                - individualDateOfBirth
                - informationProvider
servers:
  - url: https://api.rebateright.com.au
  - url: https://test-api.rebateright.com.au
components:
  schemas:
    AirV1IndividualImmunisationHistoryStatementPostRequestBodyContentApplicationJsonSchemaInformationProvider:
      type: object
      properties:
        providerNumber:
          type: string
        hpioNumber:
          type: string
          description: Optional. HPI-O. 16 digits.
        hpiiNumber:
          type: string
          description: Optional. HPI-I. 16 digits.
      required:
        - providerNumber
      title: >-
        AirV1IndividualImmunisationHistoryStatementPostRequestBodyContentApplicationJsonSchemaInformationProvider
    AirV1IndividualImmunisationHistoryStatementPostResponsesContentApplicationJsonSchemaImmunisationHistoryStatement:
      type: object
      properties:
        fileContent:
          type: string
          description: >-
            Base64-encoded PDF bytes. Decode and write to a `.pdf` file to
            render.
      description: Present on success. `null` on errors.
      title: >-
        AirV1IndividualImmunisationHistoryStatementPostResponsesContentApplicationJsonSchemaImmunisationHistoryStatement
    AirV1IndividualImmunisationHistoryStatementPostResponsesContentApplicationJsonSchemaErrorsItems:
      type: object
      properties:
        code:
          type: string
        field:
          type: string
        message:
          type: string
      title: >-
        AirV1IndividualImmunisationHistoryStatementPostResponsesContentApplicationJsonSchemaErrorsItems
    AIR_Individual Details_Immunisation History Statement_Response_200:
      type: object
      properties:
        statusCode:
          type: string
        codeType:
          type: string
        message:
          type: string
        immunisationHistoryStatement:
          oneOf:
            - $ref: >-
                #/components/schemas/AirV1IndividualImmunisationHistoryStatementPostResponsesContentApplicationJsonSchemaImmunisationHistoryStatement
            - type: 'null'
          description: Present on success. `null` on errors.
        errors:
          type:
            - array
            - 'null'
          items:
            $ref: >-
              #/components/schemas/AirV1IndividualImmunisationHistoryStatementPostResponsesContentApplicationJsonSchemaErrorsItems
        correlationId:
          type: string
      title: AIR_Individual Details_Immunisation History Statement_Response_200
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
    minorId:
      type: apiKey
      in: header
      name: x-minor-id

```

## SDK Code Examples

```python Success
import requests

url = "https://api.rebateright.com.au/AIR/v1/individual/immunisation-history/statement"

payload = {
    "individualIdentifier": "wXrN7bKidsrEkh89yldqZRw99uzP6WZJfEgIe4PEaEQ1TyUZsqOSEnqCM0BvbRF-FoHdgZgtg4iynmUuQamZdgGPH8QDag8rwFax7MI0zBpBaQnsaznfCA==",
    "individualDateOfBirth": "17042012",
    "informationProvider": { "providerNumber": "T39126X" }
}
headers = {
    "x-api-key": "<apiKey>",
    "Content-Type": "application/json"
}

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

print(response.json())
```

```javascript Success
const url = 'https://api.rebateright.com.au/AIR/v1/individual/immunisation-history/statement';
const options = {
  method: 'POST',
  headers: {'x-api-key': '<apiKey>', 'Content-Type': 'application/json'},
  body: '{"individualIdentifier":"wXrN7bKidsrEkh89yldqZRw99uzP6WZJfEgIe4PEaEQ1TyUZsqOSEnqCM0BvbRF-FoHdgZgtg4iynmUuQamZdgGPH8QDag8rwFax7MI0zBpBaQnsaznfCA==","individualDateOfBirth":"17042012","informationProvider":{"providerNumber":"T39126X"}}'
};

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

```go Success
package main

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

func main() {

	url := "https://api.rebateright.com.au/AIR/v1/individual/immunisation-history/statement"

	payload := strings.NewReader("{\n  \"individualIdentifier\": \"wXrN7bKidsrEkh89yldqZRw99uzP6WZJfEgIe4PEaEQ1TyUZsqOSEnqCM0BvbRF-FoHdgZgtg4iynmUuQamZdgGPH8QDag8rwFax7MI0zBpBaQnsaznfCA==\",\n  \"individualDateOfBirth\": \"17042012\",\n  \"informationProvider\": {\n    \"providerNumber\": \"T39126X\"\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 Success
require 'uri'
require 'net/http'

url = URI("https://api.rebateright.com.au/AIR/v1/individual/immunisation-history/statement")

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  \"individualIdentifier\": \"wXrN7bKidsrEkh89yldqZRw99uzP6WZJfEgIe4PEaEQ1TyUZsqOSEnqCM0BvbRF-FoHdgZgtg4iynmUuQamZdgGPH8QDag8rwFax7MI0zBpBaQnsaznfCA==\",\n  \"individualDateOfBirth\": \"17042012\",\n  \"informationProvider\": {\n    \"providerNumber\": \"T39126X\"\n  }\n}"

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

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

HttpResponse<String> response = Unirest.post("https://api.rebateright.com.au/AIR/v1/individual/immunisation-history/statement")
  .header("x-api-key", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("{\n  \"individualIdentifier\": \"wXrN7bKidsrEkh89yldqZRw99uzP6WZJfEgIe4PEaEQ1TyUZsqOSEnqCM0BvbRF-FoHdgZgtg4iynmUuQamZdgGPH8QDag8rwFax7MI0zBpBaQnsaznfCA==\",\n  \"individualDateOfBirth\": \"17042012\",\n  \"informationProvider\": {\n    \"providerNumber\": \"T39126X\"\n  }\n}")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.rebateright.com.au/AIR/v1/individual/immunisation-history/statement', [
  'body' => '{
  "individualIdentifier": "wXrN7bKidsrEkh89yldqZRw99uzP6WZJfEgIe4PEaEQ1TyUZsqOSEnqCM0BvbRF-FoHdgZgtg4iynmUuQamZdgGPH8QDag8rwFax7MI0zBpBaQnsaznfCA==",
  "individualDateOfBirth": "17042012",
  "informationProvider": {
    "providerNumber": "T39126X"
  }
}',
  'headers' => [
    'Content-Type' => 'application/json',
    'x-api-key' => '<apiKey>',
  ],
]);

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

```csharp Success
using RestSharp;

var client = new RestClient("https://api.rebateright.com.au/AIR/v1/individual/immunisation-history/statement");
var request = new RestRequest(Method.POST);
request.AddHeader("x-api-key", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"individualIdentifier\": \"wXrN7bKidsrEkh89yldqZRw99uzP6WZJfEgIe4PEaEQ1TyUZsqOSEnqCM0BvbRF-FoHdgZgtg4iynmUuQamZdgGPH8QDag8rwFax7MI0zBpBaQnsaznfCA==\",\n  \"individualDateOfBirth\": \"17042012\",\n  \"informationProvider\": {\n    \"providerNumber\": \"T39126X\"\n  }\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Success
import Foundation

let headers = [
  "x-api-key": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = [
  "individualIdentifier": "wXrN7bKidsrEkh89yldqZRw99uzP6WZJfEgIe4PEaEQ1TyUZsqOSEnqCM0BvbRF-FoHdgZgtg4iynmUuQamZdgGPH8QDag8rwFax7MI0zBpBaQnsaznfCA==",
  "individualDateOfBirth": "17042012",
  "informationProvider": ["providerNumber": "T39126X"]
] as [String : Any]

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

let request = NSMutableURLRequest(url: NSURL(string: "https://api.rebateright.com.au/AIR/v1/individual/immunisation-history/statement")! 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 Invalid Identifier
import requests

url = "https://api.rebateright.com.au/AIR/v1/individual/immunisation-history/statement"

payload = {
    "individualIdentifier": "INVALID",
    "individualDateOfBirth": "17042012",
    "informationProvider": { "providerNumber": "T39126X" }
}
headers = {
    "x-api-key": "<apiKey>",
    "Content-Type": "application/json"
}

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

print(response.json())
```

```javascript Invalid Identifier
const url = 'https://api.rebateright.com.au/AIR/v1/individual/immunisation-history/statement';
const options = {
  method: 'POST',
  headers: {'x-api-key': '<apiKey>', 'Content-Type': 'application/json'},
  body: '{"individualIdentifier":"INVALID","individualDateOfBirth":"17042012","informationProvider":{"providerNumber":"T39126X"}}'
};

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

```go Invalid Identifier
package main

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

func main() {

	url := "https://api.rebateright.com.au/AIR/v1/individual/immunisation-history/statement"

	payload := strings.NewReader("{\n  \"individualIdentifier\": \"INVALID\",\n  \"individualDateOfBirth\": \"17042012\",\n  \"informationProvider\": {\n    \"providerNumber\": \"T39126X\"\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 Invalid Identifier
require 'uri'
require 'net/http'

url = URI("https://api.rebateright.com.au/AIR/v1/individual/immunisation-history/statement")

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  \"individualIdentifier\": \"INVALID\",\n  \"individualDateOfBirth\": \"17042012\",\n  \"informationProvider\": {\n    \"providerNumber\": \"T39126X\"\n  }\n}"

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

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

HttpResponse<String> response = Unirest.post("https://api.rebateright.com.au/AIR/v1/individual/immunisation-history/statement")
  .header("x-api-key", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("{\n  \"individualIdentifier\": \"INVALID\",\n  \"individualDateOfBirth\": \"17042012\",\n  \"informationProvider\": {\n    \"providerNumber\": \"T39126X\"\n  }\n}")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.rebateright.com.au/AIR/v1/individual/immunisation-history/statement', [
  'body' => '{
  "individualIdentifier": "INVALID",
  "individualDateOfBirth": "17042012",
  "informationProvider": {
    "providerNumber": "T39126X"
  }
}',
  'headers' => [
    'Content-Type' => 'application/json',
    'x-api-key' => '<apiKey>',
  ],
]);

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

```csharp Invalid Identifier
using RestSharp;

var client = new RestClient("https://api.rebateright.com.au/AIR/v1/individual/immunisation-history/statement");
var request = new RestRequest(Method.POST);
request.AddHeader("x-api-key", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"individualIdentifier\": \"INVALID\",\n  \"individualDateOfBirth\": \"17042012\",\n  \"informationProvider\": {\n    \"providerNumber\": \"T39126X\"\n  }\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Invalid Identifier
import Foundation

let headers = [
  "x-api-key": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = [
  "individualIdentifier": "INVALID",
  "individualDateOfBirth": "17042012",
  "informationProvider": ["providerNumber": "T39126X"]
] as [String : Any]

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

let request = NSMutableURLRequest(url: NSURL(string: "https://api.rebateright.com.au/AIR/v1/individual/immunisation-history/statement")! 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()
```