> ## Documentation Index
> Fetch the complete documentation index at: https://docs.frankieone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Australian ID Documents

## Driver's Licences

This guide explains how to verify Australian driver's licences across different states and territories.

**Required Fields**

<AccordionGroup>
  <Accordion title="Basic Information">
    * **Name:** Given/primary and family names (exactly as shown on licence)
    * **Date of Birth:** Format: `YYYY-MM-DD`
    * **ID Type:** Must be `DRIVERS_LICENCE`
    * **Country:** Must be `AUS`
  </Accordion>

  <Accordion title="State-Specific Fields">
    * **State:** Use one of: `VIC`, `NSW`, `ACT`, `WA`, `SA`, `NT`, `QLD`, `TAS`
    * **Licence Number:** Provided in `idNumber` field
    * **Card Number:** Provided in `extraData` with:
      ```json theme={null}
      {
        "kvpKey": "document_number",
        "kvpValue": "your_card_number_here"
      }
      ```
  </Accordion>
</AccordionGroup>

**Implementation Example**

<CodeGroup>
  ```json Example Request theme={null}
  {
    "identityDocs": [
      {
        "idType": "DRIVERS_LICENCE",
        "country": "AUS",
        "region": "NSW",
        "idNumber": "N49187",
        "extraData": [
          {
            "kvpKey": "document_number",
            "kvpType": "general.string",
            "kvpValue": "21631234"
          }
        ]
      }
    ]
  }
  ```
</CodeGroup>

**Format Requirements**

<Tabs>
  <Tab title="Licence Number Formats">
    | State | Format       | Length   | Example     |
    | ----- | ------------ | -------- | ----------- |
    | ACT   | Numeric      | Up to 10 | `123456789` |
    | NT    | Numeric      | Up to 10 | `123456789` |
    | QLD   | Numeric      | 8-9      | `12345678`  |
    | NSW   | Alphanumeric | 6-8      | `N49187`    |
    | SA    | Alphanumeric | 6        | `ABC123`    |
    | TAS   | Alphanumeric | 6-8      | `A12345`    |
    | VIC   | Numeric      | Up to 10 | `123456789` |
    | WA    | Numeric      | 7        | `1234567`   |
  </Tab>

  <Tab title="Card Number Formats">
    | State | Format       | Length | Example      |
    | ----- | ------------ | ------ | ------------ |
    | ACT   | Alphanumeric | 10     | `ABC1234567` |
    | NT    | Numeric      | 6-8    | `123456`     |
    | QLD   | Alphanumeric | 10     | `ABC1234567` |
    | NSW   | Numeric      | 10     | `1234567890` |
    | SA    | Alphanumeric | 9      | `ABC123456`  |
    | TAS   | Alphanumeric | 9      | `ABC123456`  |
    | VIC   | Alphanumeric | 8      | `ABC12345`   |
    | WA    | Alphanumeric | 8-10   | `ABC123456`  |
  </Tab>
</Tabs>

<Callout icon="bell" color="#FFCA16" iconType="regular">
  ##### Victorian Licence Verification - Important Update

  As of July 1st, 2023, Victorian card number verification has special handling:

  * For compromised licenses (e.g., Optus breach): DVS verifies current card number
  * For non-compromised licenses: Card number isn't verified (can match license number)
  * Always capture card numbers as historical compromises may affect verification
  * Direct DVS users will see audit log entry: "Successful Match - Card Number hasn't been checked"
</Callout>

**DVS Response Handling**

<Info>
  To receive expanded verification details: 1. Enable the "full check results"
  flag 2. Access results in:
  `entityResult.nameCheck.checkResult[x].checkProcessResults`
</Info>

**Sample License Images**

<AccordionGroup>
  <Accordion title="Australian Capital Territory (ACT)">
    <Frame caption="Australian Capital Territory Driver Licence sample - front">
      <img src="https://mintcdn.com/frankieone-f5583b1b/DeCFYTh7H_iJ49UP/images/docs/269fa9e-Screenshot_2022-12-14_at_5.02.49_pm.png?fit=max&auto=format&n=DeCFYTh7H_iJ49UP&q=85&s=c370fa5da0956a93dad568ded8a78cb5" alt="Australian Capital Territory Driver Licence sample - front" width="400px" data-path="images/docs/269fa9e-Screenshot_2022-12-14_at_5.02.49_pm.png" />
    </Frame>

    <Frame caption="Australian Capital Territory Driver Licence sample - back">
      <img src="https://mintcdn.com/frankieone-f5583b1b/DeCFYTh7H_iJ49UP/images/docs/4b037ed-Screenshot_2022-12-14_at_5.03.50_pm.png?fit=max&auto=format&n=DeCFYTh7H_iJ49UP&q=85&s=4d2b5fc6fca286257b2c8bbfd8c72ab8" alt="Australian Capital Territory Driver Licence sample - back" width="400px" data-path="images/docs/4b037ed-Screenshot_2022-12-14_at_5.03.50_pm.png" />
    </Frame>
  </Accordion>

  <Accordion title="Northern Territory (NT)">
    <Tabs>
      <Tab title="Post Nov 2020">
        <Frame caption="Northern Territory Driver Licence - post 1 November 2020 sample - front">
          <img src="https://mintcdn.com/frankieone-f5583b1b/DeCFYTh7H_iJ49UP/images/docs/2645c61-Screenshot_2022-12-14_at_5.05.11_pm.png?fit=max&auto=format&n=DeCFYTh7H_iJ49UP&q=85&s=72f7233b3d80994e0054ee72f05de3af" alt="Northern Territory Driver Licence - post 1 November 2020 sample - front" width="400px" data-path="images/docs/2645c61-Screenshot_2022-12-14_at_5.05.11_pm.png" />
        </Frame>

        <Frame caption="Northern Territory Driver Licence - post 1 November 2020 sample - back">
          <img src="https://mintcdn.com/frankieone-f5583b1b/HiJ5UPe-ifV28Hjd/images/docs/becc09c-Screenshot_2022-12-14_at_5.05.39_pm.png?fit=max&auto=format&n=HiJ5UPe-ifV28Hjd&q=85&s=629767840d7b6aba4421fbb18e9d5ec7" alt="Northern Territory Driver Licence - post 1 November 2020 sample - back" width="400px" data-path="images/docs/becc09c-Screenshot_2022-12-14_at_5.05.39_pm.png" />
        </Frame>
      </Tab>

      <Tab title="Pre Nov 2020">
        <Frame caption="Northern Territory Driver Licence - pre 1 November 2020 sample - front">
          <img src="https://mintcdn.com/frankieone-f5583b1b/HiJ5UPe-ifV28Hjd/images/docs/944b65d-Screenshot_2022-12-14_at_5.07.15_pm.png?fit=max&auto=format&n=HiJ5UPe-ifV28Hjd&q=85&s=9fb8e76aba179345276801fe05582a10" alt="Northern Territory Driver Licence - pre 1 November 2020 sample - front" width="400px" data-path="images/docs/944b65d-Screenshot_2022-12-14_at_5.07.15_pm.png" />
        </Frame>

        <Frame caption="Northern Territory Driver Licence - pre 1 November 2020 sample - back">
          <img src="https://mintcdn.com/frankieone-f5583b1b/DeCFYTh7H_iJ49UP/images/docs/38db423-Screenshot_2022-12-14_at_5.07.25_pm.png?fit=max&auto=format&n=DeCFYTh7H_iJ49UP&q=85&s=de1310aa202b13ca8577698183b34b18" alt="Northern Territory Driver Licence - pre 1 November 2020 sample - back" width="400px" data-path="images/docs/38db423-Screenshot_2022-12-14_at_5.07.25_pm.png" />
        </Frame>
      </Tab>
    </Tabs>
  </Accordion>

  <Accordion title="Queensland (QLD)">
    <Tabs>
      <Tab title="Post June 2019">
        <Frame caption="Queensland Driver Licence – post 12 June 2019 sample - front">
          <img src="https://mintcdn.com/frankieone-f5583b1b/DeCFYTh7H_iJ49UP/images/docs/3eee03c-Screenshot_2022-12-14_at_5.08.45_pm.png?fit=max&auto=format&n=DeCFYTh7H_iJ49UP&q=85&s=13ce3e1a932e5b19974acfaefd36c06c" alt="Queensland Driver Licence – post 12 June 2019 sample - front" width="400px" data-path="images/docs/3eee03c-Screenshot_2022-12-14_at_5.08.45_pm.png" />
        </Frame>

        <Frame caption="Queensland Driver Licence sample - back">
          <img src="https://mintcdn.com/frankieone-f5583b1b/HiJ5UPe-ifV28Hjd/images/docs/d50c175-Screenshot_2022-12-14_at_5.09.46_pm.png?fit=max&auto=format&n=HiJ5UPe-ifV28Hjd&q=85&s=0d3c33fdce8402f13cef34a5358428e4" alt="Queensland Driver Licence sample - back" width="400px" data-path="images/docs/d50c175-Screenshot_2022-12-14_at_5.09.46_pm.png" />
        </Frame>
      </Tab>

      <Tab title="Pre June 2019">
        <Frame caption="Queensland Driver Licence - pre 12 June 2019 sample - front">
          <img src="https://mintcdn.com/frankieone-f5583b1b/DeCFYTh7H_iJ49UP/images/docs/5442127-Screenshot_2022-12-14_at_5.08.51_pm.png?fit=max&auto=format&n=DeCFYTh7H_iJ49UP&q=85&s=a9adba7bd535eae30181f2d2c3a01b84" alt="Queensland Driver Licence - pre 12 June 2019 sample - front" width="400px" data-path="images/docs/5442127-Screenshot_2022-12-14_at_5.08.51_pm.png" />
        </Frame>

        <Frame caption="Queensland Driver Licence sample - back">
          <img src="https://mintcdn.com/frankieone-f5583b1b/HiJ5UPe-ifV28Hjd/images/docs/d50c175-Screenshot_2022-12-14_at_5.09.46_pm.png?fit=max&auto=format&n=HiJ5UPe-ifV28Hjd&q=85&s=0d3c33fdce8402f13cef34a5358428e4" alt="Queensland Driver Licence sample - back" width="400px" data-path="images/docs/d50c175-Screenshot_2022-12-14_at_5.09.46_pm.png" />
        </Frame>
      </Tab>
    </Tabs>
  </Accordion>

  <Accordion title="New South Wales (NSW)">
    <Frame caption="New South Wales Driver Licence sample - front">
      <img src="https://mintcdn.com/frankieone-f5583b1b/HiJ5UPe-ifV28Hjd/images/docs/a329e75-Screenshot_2022-12-14_at_5.12.22_pm.png?fit=max&auto=format&n=HiJ5UPe-ifV28Hjd&q=85&s=e5ac4bfdbbac116d2cb91b35da7249a1" alt="New South Wales Driver Licence sample - front" width="400px" data-path="images/docs/a329e75-Screenshot_2022-12-14_at_5.12.22_pm.png" />
    </Frame>

    <Frame caption="New South Wales Driver Licence sample - back">
      <img src="https://mintcdn.com/frankieone-f5583b1b/DeCFYTh7H_iJ49UP/images/docs/3aa9ecd-Screenshot_2022-12-14_at_5.12.31_pm.png?fit=max&auto=format&n=DeCFYTh7H_iJ49UP&q=85&s=e2eecc99d186ad654a89c4173f402955" alt="New South Wales Driver Licence sample - back" width="400px" data-path="images/docs/3aa9ecd-Screenshot_2022-12-14_at_5.12.31_pm.png" />
    </Frame>

    <Frame caption="New South Wales Digital Driver Licence sample">
      <img src="https://mintcdn.com/frankieone-f5583b1b/DeCFYTh7H_iJ49UP/images/docs/13679bd-Screenshot_2022-12-14_at_5.13.16_pm.png?fit=max&auto=format&n=DeCFYTh7H_iJ49UP&q=85&s=61a260bc3d678390e7c680a63a2f37ed" alt="New South Wales Digital Driver Licence sample" width="400px" data-path="images/docs/13679bd-Screenshot_2022-12-14_at_5.13.16_pm.png" />
    </Frame>
  </Accordion>

  <Accordion title="South Australia (SA)">
    <Tabs>
      <Tab title="Physical License">
        <Frame caption="South Australia Driver Licence sample - front">
          <img src="https://mintcdn.com/frankieone-f5583b1b/DeCFYTh7H_iJ49UP/images/docs/1276eb1-Screenshot_2022-12-14_at_5.13.53_pm.png?fit=max&auto=format&n=DeCFYTh7H_iJ49UP&q=85&s=60b22a01fae525f1a026295e165a4636" alt="South Australia Driver Licence sample - front" width="400px" data-path="images/docs/1276eb1-Screenshot_2022-12-14_at_5.13.53_pm.png" />
        </Frame>

        <Frame caption="South Australia Driver Licence sample - back">
          <img src="https://mintcdn.com/frankieone-f5583b1b/HiJ5UPe-ifV28Hjd/images/docs/f1f50e7-Screenshot_2022-12-14_at_5.14.00_pm.png?fit=max&auto=format&n=HiJ5UPe-ifV28Hjd&q=85&s=11dac9b9478247b116197f6dbfb37831" alt="South Australia Driver Licence sample - back" width="400px" data-path="images/docs/f1f50e7-Screenshot_2022-12-14_at_5.14.00_pm.png" />
        </Frame>
      </Tab>

      <Tab title="Digital License">
        <Frame caption="South Australia Digital Driver Licence sample – Overview Tab">
          <img src="https://mintcdn.com/frankieone-f5583b1b/HiJ5UPe-ifV28Hjd/images/docs/ad04ddf-Screenshot_2022-12-14_at_5.14.16_pm.png?fit=max&auto=format&n=HiJ5UPe-ifV28Hjd&q=85&s=24351739cbf10184c45de22e023a79f7" alt="South Australia Digital Driver Licence sample – Overview Tab" width="400px" data-path="images/docs/ad04ddf-Screenshot_2022-12-14_at_5.14.16_pm.png" />
        </Frame>

        <Frame caption="South Australia Digital Driver Licence sample – DetailsTab">
          <img src="https://mintcdn.com/frankieone-f5583b1b/HiJ5UPe-ifV28Hjd/images/docs/b576e10-Screenshot_2022-12-14_at_5.14.22_pm.png?fit=max&auto=format&n=HiJ5UPe-ifV28Hjd&q=85&s=83219689c7e6ee204ed9bf2a68ec35ed" alt="South Australia Digital Driver Licence sample – DetailsTab" width="400px" data-path="images/docs/b576e10-Screenshot_2022-12-14_at_5.14.22_pm.png" />
        </Frame>
      </Tab>
    </Tabs>
  </Accordion>

  <Accordion title="Tasmania (TAS)">
    <Frame caption="Tasmania Driver Licence sample - front">
      <img src="https://mintcdn.com/frankieone-f5583b1b/DeCFYTh7H_iJ49UP/images/docs/0f0d9f1-Screenshot_2022-12-14_at_5.17.04_pm.png?fit=max&auto=format&n=DeCFYTh7H_iJ49UP&q=85&s=16816be639d1bf320347e8bf5a6b446e" alt="Tasmania Driver Licence sample - front" width="400px" data-path="images/docs/0f0d9f1-Screenshot_2022-12-14_at_5.17.04_pm.png" />
    </Frame>

    <Frame caption="Tasmania Driver Licence sample - back">
      <img src="https://mintcdn.com/frankieone-f5583b1b/HiJ5UPe-ifV28Hjd/images/docs/f90f508-Screenshot_2022-12-14_at_5.17.09_pm.png?fit=max&auto=format&n=HiJ5UPe-ifV28Hjd&q=85&s=f76bf9bfc44dfb46cb06a6acdafb48c0" alt="Tasmania Driver Licence sample - back" width="400px" data-path="images/docs/f90f508-Screenshot_2022-12-14_at_5.17.09_pm.png" />
    </Frame>
  </Accordion>

  <Accordion title="Victoria (VIC)">
    <Tabs>
      <Tab title="Post Nov 2022">
        <Frame caption="Victoria Driver Licence – post 7 November 2022 sample - front">
          <img src="https://mintcdn.com/frankieone-f5583b1b/HiJ5UPe-ifV28Hjd/images/docs/ad0c31c-Screenshot_2022-12-14_at_5.18.02_pm.png?fit=max&auto=format&n=HiJ5UPe-ifV28Hjd&q=85&s=145d8237992f132bd52fa0c8a1b3bb0e" alt="Victoria Driver Licence – post 7 November 2022 sample - front" width="400px" data-path="images/docs/ad0c31c-Screenshot_2022-12-14_at_5.18.02_pm.png" />
        </Frame>

        <Frame caption="Victoria Driver Licence - post 7 November 2022 sample - back">
          <img src="https://mintcdn.com/frankieone-f5583b1b/DeCFYTh7H_iJ49UP/images/docs/07995e6-Screenshot_2022-12-14_at_5.18.08_pm.png?fit=max&auto=format&n=DeCFYTh7H_iJ49UP&q=85&s=ee29c6a8e8c9b7a24a003d4c8ea2830f" alt="Victoria Driver Licence - post 7 November 2022 sample - back" width="400px" data-path="images/docs/07995e6-Screenshot_2022-12-14_at_5.18.08_pm.png" />
        </Frame>
      </Tab>

      <Tab title="Pre Nov 2022">
        <Frame caption="Victoria Driver Licence - pre 7 November 2022 sample - front">
          <img src="https://mintcdn.com/frankieone-f5583b1b/HiJ5UPe-ifV28Hjd/images/docs/91d458f-Screenshot_2022-12-14_at_5.18.59_pm.png?fit=max&auto=format&n=HiJ5UPe-ifV28Hjd&q=85&s=19b21aa3b4da0d05705b29eca5d16c19" alt="Victoria Driver Licence - pre 7 November 2022 sample - front" width="400px" data-path="images/docs/91d458f-Screenshot_2022-12-14_at_5.18.59_pm.png" />
        </Frame>

        <Frame caption="Victoria Driver Licence – pre 7 November 2022 sample - back">
          <img src="https://mintcdn.com/frankieone-f5583b1b/HiJ5UPe-ifV28Hjd/images/docs/ecd2d5a-Screenshot_2022-12-14_at_5.19.24_pm.png?fit=max&auto=format&n=HiJ5UPe-ifV28Hjd&q=85&s=5eabb1e51605e982aaf6a7cc0e81f3f2" alt="Victoria Driver Licence – pre 7 November 2022 sample - back" width="400px" data-path="images/docs/ecd2d5a-Screenshot_2022-12-14_at_5.19.24_pm.png" />
        </Frame>
      </Tab>
    </Tabs>
  </Accordion>

  <Accordion title="Western Australia (WA)">
    <Frame caption="Western Australia Driver Licence sample - front">
      <img src="https://mintcdn.com/frankieone-f5583b1b/DeCFYTh7H_iJ49UP/images/docs/0b68472-Screenshot_2022-12-14_at_5.19.50_pm.png?fit=max&auto=format&n=DeCFYTh7H_iJ49UP&q=85&s=2da69a5e19e93d5fe668ec9a90fa5dca" alt="Western Australia Driver Licence sample - front" width="400px" data-path="images/docs/0b68472-Screenshot_2022-12-14_at_5.19.50_pm.png" />
    </Frame>

    <Frame caption="Western Australia Driver Licence sample - back">
      <img src="https://mintcdn.com/frankieone-f5583b1b/DeCFYTh7H_iJ49UP/images/docs/018ee87-Screenshot_2022-12-14_at_5.21.04_pm.png?fit=max&auto=format&n=DeCFYTh7H_iJ49UP&q=85&s=e6670b140e78d74a8e4b13728a01598c" alt="Western Australia Driver Licence sample - back" width="400px" data-path="images/docs/018ee87-Screenshot_2022-12-14_at_5.21.04_pm.png" />
    </Frame>
  </Accordion>
</AccordionGroup>

## Australian Passports & Visas

<Info>
  This guide covers verification requirements for both Australian passports and
  visas. Both document types use similar verification fields but have some key
  differences.
</Info>

**Document Types Overview**

<CardGroup cols={2}>
  <Card title="Passport Verification" icon="passport">
    Australian passport verification for citizens and permanent residents.
  </Card>

  <Card title="Visa Verification" icon="id-card-clip">
    Australian visa verification for temporary residents and visitors.
  </Card>
</CardGroup>

**Required Fields**

<AccordionGroup>
  <Accordion title="Personal Information">
    Provide the following exactly as shown on the travel document:

    * Given name(s)
    * Middle name(s)
    * Family name(s)
  </Accordion>

  <Accordion title="Date of Birth">
    Must be in ISO format: `YYYY-MM-DD`

    <Callout icon="thumbtack" color="#1A6CFF" iconType="regular">
      Example: `1990-07-21` for July 21, 1990
    </Callout>
  </Accordion>

  <Accordion title="Document Details">
    * ID Type: Either `PASSPORT` or `VISA` (both are accepted)
    * Country Code: ISO-3166-alpha3 country code of passport issuance (e.g. Aus)
    * Document Number: Passport number in `idNumber` field
  </Accordion>
</AccordionGroup>

**Important Considerations**

<AccordionGroup>
  <Accordion title="Name Matching">
    Names must exactly match the travel document, including:

    * Capitalization
    * Special characters
    * Spaces
    * Diacritical marks
  </Accordion>

  {" "}

  <Accordion title="Country Codes">
    * For Australian passports: Use `AUS`
    * For visas: Use the ISO-3166-alpha3 code of the passport's issuing country
  </Accordion>

  <Accordion title="Document Numbers">
    Always use the passport number, even when verifying a visa. The visa itself is linked to the passport number in the verification system.
  </Accordion>
</AccordionGroup>

<Callout icon="bell" color="#FFCA16" iconType="regular">
  When verifying visas, ensure you're using the correct passport number that the
  visa is associated with. Using an incorrect or expired passport number will
  result in verification failure.
</Callout>

<Callout icon="star" color="#3DD892" iconType="regular">
  For visa holders from countries with different name formats, always use the
  name order and format exactly as shown
</Callout>

## Medicare Cards

<Info>
  The Australian Medicare Card is a government-issued healthcare card that comes
  in three colors: Green, Blue, and Yellow. Each card type has specific
  validation requirements and data formats. This guide explains how to integrate
  Australian Medicare Card verification into your application.
</Info>

**Required Fields**

<AccordionGroup>
  <Accordion title="Basic Information">
    * **Name**: Full name as displayed on the card (given name, middle initial, family name)
    * **Date of Birth**: Must be in `YYYY-MM-DD` format
    * **Country**: Must be `AUS`
  </Accordion>

  {" "}

  <Accordion title="Card-Specific Details">
    * **Card Number** (`idNumber`): The complete Medicare card number
    * **Card Color** (`idSubType`): One of the following: - `G` - Green - `B` - Blue - `Y` - Yellow
    * **Expiry Date** (`idExpiry`): Format `YYYY-MM-DD`

    <Callout icon="bell" color="#FFCA16" iconType="regular">
      For Green cards, the expiry only shows YYYY-MM. You must append `-01` for
      the day.
    </Callout>
  </Accordion>

  <Accordion title="Additional Data Fields">
    These fields should be included in the `extraData` array:

    1. **Reference Number**

    ```json theme={null}
    {
      "kvpKey": "reference",
      "kvpValue": "n" // Where n is 1-5
    }
    ```

    2. **Middle Name/Initial (Optional)**

    ```json theme={null}
    {
      "kvpKey": "display_middle_name",
      "kvpValue": "X" // Middle initial as shown on card
    }
    ```
  </Accordion>
</AccordionGroup>

**Implementation Example**

<CodeGroup>
  ```json title="Sample Medicare Card Request" {28-42} theme={null}
  {
      "entity": {
          "entityType": "INDIVIDUAL",
          "entityProfile": "safe_harbour_id",
          "gender": "M",
          "name": {
              "givenName": "BRUCE",
              "middleName": "TWOPASS",
              "familyName": "TESTTHIRTYNINE"
          },
          "dateOfBirth": {
              "dateOfBirth": "1988-01-01"
          },
          "addresses": [
              {
                  "addressType": "RESIDENTIAL1",
                  "streetNumber": "287",
                  "streetName": "Gooyong",
                  "streetType": "St",
                  "town": "WOOMERA",
                  "postalCode": "5720",
                  "state": "SA",
                  "country": "AUS"
              }
          ],
          "identityDocs": [
              {
                  "idType": "NATIONAL_HEALTH_ID", // Medicare Card Identifier
                  "idSubType": "G",              // G = Green Medicare Card
                  "idNumber": "5156598231",      // Full card number
                  "idExpiry": "2030-01-01",      // Expiry date with appended day
                  "extraData": [
                      {
                          "kvpKey": "reference",
                          "kvpValue": "1"        // Reference number (1-5)
                      },
                      {
                          "kvpKey": "display_middle_name",
                          "kvpValue": "X"        // Middle initial (optional)
                      }
                  ],
                  "country": "AUS"
              }
          ]
      }
  }
  ```
</CodeGroup>

<Check>
  Use this checklist to ensure your Medicare Card implementation is correct:

  * Card type is specified correctly (G/B/Y)
  * Full name matches card exactly
  * Date formats follow YYYY-MM-DD
  * Reference number is between 1 and 5
  * Country is set to "AUS"
  * Middle initial is included if present on card
</Check>

## Name Change Certificates

<Info>
  The Name Change Certificate is an official document that verifies a person's
  legal name change in Australia. Each state and territory maintains its own
  registry for name changes, but the verification process is standardized across
  the country.
</Info>

**Required Fields**

<AccordionGroup>
  <Accordion title="Basic Information">
    * **New Name:** Must match certificate exactly
      * Given name(s)
      * Middle name(s)
      * Family name(s)
    * **Date of Birth:** Format: `YYYY-MM-DD`
    * **ID Type:** Must be `NAME_CHANGE`
    * **Country:** Must be `AUS`
  </Accordion>

  {" "}

  <Accordion title="Certificate Details">
    * **Registration Number:** Provided in `idNumber` field
    * **Registration State:** Use `region` field with one of: - `VIC`, `NSW`, `ACT`, `WA`, `SA` `NT`, `QLD`, `TAS`
    * **Certificate Number:** Required in `extraData`
  </Accordion>

  {" "}

  <Accordion title="Date Information">
    Both dates must be in `YYYY-MM-DD` format:

    * **Date of Print**
    * **Date of Registration**
  </Accordion>

  <Accordion title="Original Name Details">
    Previous legal name information:

    * Original family name
    * Original first given name
    * Original other given name(s)
  </Accordion>
</AccordionGroup>

**Implementation Example**

<CodeGroup>
  ```json Example Request theme={null}
  {
    "identityDocs": [
      {
        "idType": "NAME_CHANGE",
        "country": "AUS",
        "region": "NSW",
        "idNumber": "NC123456789",
        "extraData": [
          {
            "kvpKey": "certificate_number",
            "kvpValue": "CERT123456"
          },
          {
            "kvpKey": "certificate_date_of_print",
            "kvpValue": "2023-06-15"
          },
          {
            "kvpKey": "certificate_date_of_registration",
            "kvpValue": "2023-06-01"
          },
          {
            "kvpKey": "registered_name_family",
            "kvpValue": "SMITH"
          },
          {
            "kvpKey": "registered_name_first_given",
            "kvpValue": "JOHN"
          },
          {
            "kvpKey": "registered_name_other_given",
            "kvpValue": "MICHAEL"
          }
        ]
      }
    ]
  }
  ```
</CodeGroup>

**Extra Data Fields Reference**

<Tabs>
  <Tab title="Certificate Details">
    ```json theme={null}
    {
      "kvpKey": "certificate_number",
      "kvpValue": "your_certificate_number"
    }
    ```
  </Tab>

  <Tab title="Date Fields">
    ```json theme={null}
    {
      "kvpKey": "certificate_date_of_print",
      "kvpValue": "YYYY-MM-DD"
    },
    {
      "kvpKey": "certificate_date_of_registration",
      "kvpValue": "YYYY-MM-DD"
    }
    ```
  </Tab>

  <Tab title="Original Name">
    ```json theme={null}
    {
      "kvpKey": "registered_name_family",
      "kvpValue": "ORIGINAL_SURNAME"
    },
    {
      "kvpKey": "registered_name_first_given",
      "kvpValue": "ORIGINAL_FIRST_NAME"
    },
    {
      "kvpKey": "registered_name_other_given",
      "kvpValue": "ORIGINAL_MIDDLE_NAME"
    }
    ```
  </Tab>
</Tabs>

<Callout icon="bell" color="#FFCA16" iconType="regular">
  Ensure all names match exactly as shown on the certificate, including: -
  Capitalization - Spacing - Special characters - Middle names/initials
</Callout>

<Callout icon="star" color="#3DD892" iconType="regular">
  When verifying a name change certificate along with other ID documents: 1. Use
  the new legal name in the main entity object 2. Include the original name
  details only in the name change certificate's `extraData` 3. Ensure all dates
  are in ISO format (`YYYY-MM-DD`)
</Callout>

## Birth Certificates

<Info>
  Birth certificates are primary identity documents issued by Australian state
  and territory Registry of Births, Deaths and Marriages. Verification
  requirements may vary based on the issuing jurisdiction and year of issue.
</Info>

**Required Fields**

<AccordionGroup>
  <Accordion title="Basic Information">
    * **Name:** Must match certificate exactly
      * Given name(s)
      * Middle name(s)
      * Family name(s)
    * **Date of Birth:** Format: `YYYY-MM-DD`
    * **ID Type:** Must be `BIRTH_CERT`
    * **Country:** Must be `AUS`
  </Accordion>

  {" "}

  <Accordion title="Registration Details">
    * **Registration Number:** Provided in `idNumber` field
    * **Registration State:** Use `region` field with one of: - `VIC`, `NSW`, `ACT`, `WA`, `SA`, `NT`, `QLD`, `TAS`
    * **Registration Date:** Can be provided in either: - Full date format: `YYYY-MM-DD` - Year only format: `YYYY`
    * **Registration District:** Optional field where applicable
  </Accordion>

  <Accordion title="Certificate Information">
    * **Certificate Number**
    * **Date of Print:** Format: `YYYY-MM-DD`
    * **Registered Name Details:** May differ from current legal name
      * Family name
      * First given name
      * Other given name(s)
  </Accordion>
</AccordionGroup>

**Implementation Example**

<CodeGroup>
  ```json Example Request theme={null}
  {
    "identityDocs": [
      {
        "idType": "BIRTH_CERT",
        "country": "AUS",
        "region": "NSW",
        "idNumber": "1234567890",
        "extraData": [
          {
            "kvpKey": "registration_date",
            "kvpValue": "1990-03-15"
          },
          {
            "kvpKey": "registration_district",
            "kvpValue": "SYDNEY"
          },
          {
            "kvpKey": "certificate_number",
            "kvpValue": "CERT123456"
          },
          {
            "kvpKey": "certificate_date_of_print",
            "kvpValue": "2023-01-10"
          },
          {
            "kvpKey": "registered_name_family",
            "kvpValue": "SMITH"
          },
          {
            "kvpKey": "registered_name_first_given",
            "kvpValue": "JOHN"
          },
          {
            "kvpKey": "registered_name_other_given",
            "kvpValue": "MICHAEL"
          }
        ]
      }
    ]
  }
  ```
</CodeGroup>

**Extra Data Fields Reference**

<Tabs>
  <Tab title="Registration Details">
    ```json theme={null}
    {
      "kvpKey": "registration_date",
      "kvpValue": "YYYY-MM-DD"  // or "YYYY"
    },
    {
      "kvpKey": "registration_district",
      "kvpValue": "DISTRICT_NAME"  // Optional
    }
    ```
  </Tab>

  <Tab title="Certificate Details">
    ```json theme={null}
    {
      "kvpKey": "certificate_number",
      "kvpValue": "CERT_NUMBER"
    },
    {
      "kvpKey": "certificate_date_of_print",
      "kvpValue": "YYYY-MM-DD"
    }
    ```
  </Tab>

  <Tab title="Registered Name">
    ```json theme={null}
    {
      "kvpKey": "registered_name_family",
      "kvpValue": "SURNAME"
    },
    {
      "kvpKey": "registered_name_first_given",
      "kvpValue": "FIRST_NAME"
    },
    {
      "kvpKey": "registered_name_other_given",
      "kvpValue": "MIDDLE_NAME"
    }
    ```
  </Tab>
</Tabs>

<Callout icon="bell" color="#FFCA16" iconType="regular">
  Match requirements vary by jurisdiction and certificate age. Ensure you provide:

  * All available registration details
  * Exact name matching as shown on certificate
  * Correct date formats
</Callout>

<Info>
  ##### Registration Requirements

  The requirements for registration number and date matching vary based on:

  * Certificate's issuing State/Territory
  * Year of issue
  * Registry's historical record format

  Always provide as much information as available for the most accurate verification.
</Info>

<Callout icon="star" color="#3DD892" iconType="regular">
  When handling birth certificates:

  1. Collect all available fields, even optional ones
  2. Pay special attention to historical date formats
  3. Note any discrepancies between registered name and current legal name
  4. Verify registration district spelling where applicable
</Callout>

## Citizenship Certificates

<Info>
  Australian Citizenship Certificates are official documents that prove
  Australian citizenship. They contain unique identifiers and can be used to
  verify both acquired and birth-right citizenship status.
</Info>

**Required Fields**

<AccordionGroup>
  <Accordion title="Basic Information">
    * **Name:** Must match certificate exactly
      * Given name(s)
      * Middle name(s)
      * Family name(s)
    * **Date of Birth:** Format: `YYYY-MM-DD`
    * **ID Type:** Must be `CITIZENSHIP`
    * **Country:** Must be `AUS`
  </Accordion>

  {" "}

  <Accordion title="Certificate Details">
    * **Stock Number:** Provided in `idNumber` field
    * **Date of Acquisition:** When citizenship was granted - Format: `YYYY-MM-DD`
  </Accordion>

  <Accordion title="Country Information">
    Both countries must use ISO-8660-3 alpha country codes (e.g., 'AUS', 'GBR', 'USA'):

    * **Primary Country:** Original citizenship
    * **Secondary Country:** Additional citizenship
  </Accordion>
</AccordionGroup>

**Implementation Example**

<CodeGroup>
  ```json Example Request theme={null}
  {
    "identityDocs": [
      {
        "idType": "CITIZENSHIP",
        "country": "AUS",
        "idNumber": "ABC123456",  // Stock number
        "extraData": [
          {
            "kvpKey": "acquisition_date",
            "kvpValue": "2020-03-15"
          },
          {
            "kvpKey": "primary_country",
            "kvpValue": "GBR"  // Original citizenship
          },
          {
            "kvpKey": "secondary_country",
            "kvpValue": "AUS"  // New citizenship
          }
        ]
      }
    ]
  }
  ```
</CodeGroup>

**Extra Data Fields Reference**

<Tabs>
  <Tab title="Acquisition Date">
    ```json theme={null}
    {
      "kvpKey": "acquisition_date",
      "kvpValue": "YYYY-MM-DD"
    }
    ```
  </Tab>

  <Tab title="Country Codes">
    ```json theme={null}
    {
      "kvpKey": "primary_country",
      "kvpValue": "ISO_COUNTRY_CODE"
    },
    {
      "kvpKey": "secondary_country",
      "kvpValue": "ISO_COUNTRY_CODE"
    }
    ```
  </Tab>
</Tabs>

<Callout icon="bell" color="#FFCA16" iconType="regular">
  When verifying citizenship certificates: - Ensure the stock number is entered
  exactly as shown - Use correct ISO country codes (3-letter format) - Match
  names precisely as they appear on the certificate
</Callout>

<Callout icon="star" color="#3DD892" iconType="regular">
  Common ISO country codes for citizenship verification:

  * `AUS` - Australia
  * `GBR` - United Kingdom
  * `NZL` - New Zealand
  * `USA` - United States
  * `CHN` - China
  * `IND` - India
</Callout>

<Info>
  For dual citizenship cases:

  * Primary country typically represents original citizenship
  * Secondary country should be 'AUS' for Australian citizenship certificates
  * You must provide both country codes to verify successfully
</Info>

## ImmiCard

<Info>
  The ImmiCard is an official immigration credential issued by the Department of
  Home Affairs to eligible visa holders and other non-citizens. It serves as an
  official photo identification document for accessing services in Australia.
</Info>

**Required Fields**

<AccordionGroup>
  <Accordion title="Basic Information">
    * **Name:** Must match ImmiCard exactly
      * Given name(s)
      * Middle name(s)
      * Family name(s)
          <Callout icon="star" color="#3DD892" iconType="regular">
            For single-name individuals, use a hyphen (-) in the `givenName` field
          </Callout>
    * **Date of Birth:** Format: `YYYY-MM-DD`
    * **ID Type:** Must be `IMMIGRATION`
    * **Country:** Must be `AUS`
  </Accordion>

  <Accordion title="ImmiCard Details">
    * **ImmiCard Number:** Provided in `idNumber` field
      * Format: Three alpha characters followed by six numeric characters
      * Example: `PRE123456`
      * Letters can be upper or lowercase
  </Accordion>
</AccordionGroup>

**Implementation Example**

<CodeGroup>
  ```json Example Request theme={null}
  {
    "entity": {
      "entityProfile": "gov_id",
      "name": {
        "familyName": "Jones",
        "middleName": "",
        "givenName": "Matthew Test"
      },
      "dateOfBirth": {
        "dateOfBirth": "1980-01-01"
      },
      "identityDocs": [
        {
          "idType": "IMMIGRATION",
          "country": "AUS",
          "idNumber": "PRE123456",
          "region": ""
        }
      ]
    }
  }
  ```

  ```json Example with Single Name theme={null}
  {
    "entity": {
      "name": {
        "familyName": "Singh",
        "middleName": "",
        "givenName": "-" // Hyphen for single name
      },
      "identityDocs": [
        {
          "idType": "IMMIGRATION",
          "country": "AUS",
          "idNumber": "PRE123456"
        }
      ]
    }
  }
  ```
</CodeGroup>

**ImmiCard Number Format**

<Card title="Format Requirements" icon="id-card">
  ImmiCard numbers must follow this pattern:

  * First 3 characters: Letters (A-Z, case insensitive)
  * Last 6 characters: Numbers (0-9)
  * Total length: 9 characters
  * Example: `PRE123456`
</Card>

<Callout icon="bell" color="#FFCA16" iconType="regular">
  Common validation issues:

  * Incorrect ImmiCard number format
  * Missing or incorrect name format for single-name individuals
  * Incorrect date format (must be YYYY-MM-DD)
</Callout>

<Callout icon="star" color="#3DD892" iconType="regular">
  ##### Name Handling

  When dealing with names on ImmiCards:

  1. Use exact spelling and format as shown on the card
  2. For single names, use hyphen (-) in given name field
  3. Include middle names if present on the card 4. Maintain case sensitivity
</Callout>

<Info>
  ##### Address Requirements

  While the example includes address information, it's not required for ImmiCard
  verification. However, if provided, ensure:

  * All address components are accurate
  * State codes are valid Australian states/territories
  * Postal codes match the state/territory
</Info>

## Marriage Certificates

<Info>
  Australian Marriage Certificates are official documents that verify a legal
  marriage. Following the Marriage Amendment (Definition and Religious Freedoms)
  Act 2017, certificates support various formats for recording participant
  details.
</Info>

**Required Fields**

<AccordionGroup>
  <Accordion title="Basic Information">
    * **Name:** Either partner's name as shown on certificate
    * **Date of Birth:** Format: `YYYY-MM-DD`
    * **ID Type:** Must be `MARRIAGE_CERT`
    * **Country:** Must be `AUS`
  </Accordion>

  {" "}

  <Accordion title="Certificate Details">
    * **Registration Number:** Provided in `idNumber` field
    * **Registration State:** Use `region` field with one of: `VIC`, `NSW`, `ACT`, `WA`, `SA`, `NT`, `QLD`, `TAS`
    * **Registration Year:** Format: `YYYY`
    * **Certificate Number**
  </Accordion>

  <Accordion title="Date Information">
    All dates must be in `YYYY-MM-DD` format:

    * **Marriage Date**
    * **Date of Print**
    * **Date of Registration**
  </Accordion>
</AccordionGroup>

**Partner Information**

<Tabs>
  <Tab title="Traditional Format">
    ```json theme={null}
    // Bride Details
    {
      "kvpKey": "bride_name_family",
      "kvpValue": "SMITH"
    },
    {
      "kvpKey": "bride_name_first_given",
      "kvpValue": "JANE"
    },
    {
      "kvpKey": "bride_name_other_given",
      "kvpValue": "MARIE"
    },

    // Groom Details
    {
      "kvpKey": "groom_name_family",
      "kvpValue": "JONES"
    },
    {
      "kvpKey": "groom_name_first_given",
      "kvpValue": "JOHN"
    },
    {
      "kvpKey": "groom_name_other_given",
      "kvpValue": "MICHAEL"
    }
    ```
  </Tab>

  <Tab title="Marriage Equality Format">
    ```json theme={null}
    // Partner 1 Details
    {
      "kvpKey": "partner1_name_family",
      "kvpValue": "SMITH"
    },
    {
      "kvpKey": "partner1_name_first_given",
      "kvpValue": "JANE"
    },
    {
      "kvpKey": "partner1_name_other_given",
      "kvpValue": "MARIE"
    },

    // Partner 2 Details
    {
      "kvpKey": "partner2_name_family",
      "kvpValue": "JONES"
    },
    {
      "kvpKey": "partner2_name_first_given",
      "kvpValue": "SARAH"
    },
    {
      "kvpKey": "partner2_name_other_given",
      "kvpValue": "ELIZABETH"
    }
    ```
  </Tab>
</Tabs>

**Implementation Example**

<CodeGroup>
  ```json Complete Example theme={null}
  {
    "identityDocs": [
      {
        "idType": "MARRIAGE_CERT",
        "country": "AUS",
        "region": "VIC",
        "idNumber": "1234567890",
        "extraData": [
          {
            "kvpKey": "registration_year",
            "kvpValue": "2023"
          },
          {
            "kvpKey": "marriage_date",
            "kvpValue": "2023-06-15"
          },
          {
            "kvpKey": "certificate_number",
            "kvpValue": "CERT123456"
          },
          {
            "kvpKey": "certificate_date_of_print",
            "kvpValue": "2023-06-20"
          },
          {
            "kvpKey": "certificate_date_of_registration",
            "kvpValue": "2023-06-16"
          },
          {
            "kvpKey": "partner1_name_family",
            "kvpValue": "SMITH"
          },
          {
            "kvpKey": "partner1_name_first_given",
            "kvpValue": "JANE"
          },
          {
            "kvpKey": "partner1_name_other_given",
            "kvpValue": "MARIE"
          },
          {
            "kvpKey": "partner2_name_family",
            "kvpValue": "JONES"
          },
          {
            "kvpKey": "partner2_name_first_given",
            "kvpValue": "SARAH"
          },
          {
            "kvpKey": "partner2_name_other_given",
            "kvpValue": "ELIZABETH"
          }
        ]
      }
    ]
  }
  ```
</CodeGroup>

<Callout icon="bell" color="#FFCA16" iconType="regular">
  ##### State-Specific Requirements

  Victoria (VIC) has specific requirements for field mapping:

  * Enter the left-hand column/first row details as Name 2
  * This applies regardless of the order on the certificate
  * Consult state-specific DVS specifications for other jurisdictions
</Callout>

<Info>
  ##### Marriage Equality Support

  Certificates support multiple format combinations:

  * Traditional: Bride/Groom format
  * Modern: Partner 1/Partner 2 format
  * Use the appropriate format based on the certificate layout
</Info>

<Callout icon="star" color="#3DD892" iconType="regular">
  ##### Best Practices

  When verifying marriage certificates:

  1. Check the certificate format before
     choosing field names
  2. Ensure all dates are in correct ISO format
  3. Verify state-specific requirements
  4. Include all available optional fields
  5. Match names exactly as shown on certificate
</Callout>
