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

# eAU examples

> Common eAU requests and their responses.

# Examples

### Example 1: `start_work_incapacity` matches the AU start date of the health insurance

<Frame>
  <img src="https://mintcdn.com/kombo/n-JSqniBA8JIRXQO/images/eau/eau-example-1.svg?fit=max&auto=format&n=n-JSqniBA8JIRXQO&q=85&s=7bb5a18d5414f9f395ecc8a27112dcc6" alt="1762" width="3221" height="1427" data-path="images/eau/eau-example-1.svg" />
</Frame>

The response will inculde the AU from 26.04. to 30.04.

### Example 2: `start_work_incapacity` is after the AU start date of the health insurance

<Frame>
  <img src="https://mintcdn.com/kombo/n-JSqniBA8JIRXQO/images/eau/eau-example-2.svg?fit=max&auto=format&n=n-JSqniBA8JIRXQO&q=85&s=cd26178263f53e47395898df4b9ac80e" alt="1762" width="3221" height="1427" data-path="images/eau/eau-example-2.svg" />
</Frame>

The response will inculde the AU period, which is containing the
`start_work_incapacity` date. The AU response will be from26.04. to 30.04.

### Example 3: `start_work_incapacity` is before the AU start date of the health insurance

<Frame>
  <img src="https://mintcdn.com/kombo/n-JSqniBA8JIRXQO/images/eau/eau-example-3.svg?fit=max&auto=format&n=n-JSqniBA8JIRXQO&q=85&s=0efcb04581076a345f76dec676a2f0c3" alt="1762" width="3799" height="1397" data-path="images/eau/eau-example-3.svg" />
</Frame>

If the health insurance has no starting or running AU for the specified
`start_work_incapacity` date it will check **5 days** into the future. In this
example the response will report the AU from 26.04. to 30.04.

### Example 4: Two AU periods - The `start_work_incapacity` date matches one of the AU periods

<Frame>
  <img src="https://mintcdn.com/kombo/n-JSqniBA8JIRXQO/images/eau/eau-example-4.svg?fit=max&auto=format&n=n-JSqniBA8JIRXQO&q=85&s=c6c311febec089ff76625cc7c9adcd86" alt="1762" width="7772" height="1329" data-path="images/eau/eau-example-4.svg" />
</Frame>

The response will include the AU matching the `start_work_incapacity` date. In
this example the response will be from 26.04. to 30.04. The AU from 28.04. to
10.05 will be returned on a follow up request with the `start_work_incapacity`
date set to 01.05.

### Example 5: Two AU periods - The `start_work_incapacity` date matches both of the AU periods

<Frame>
  <img src="https://mintcdn.com/kombo/n-JSqniBA8JIRXQO/images/eau/eau-example-5.svg?fit=max&auto=format&n=n-JSqniBA8JIRXQO&q=85&s=8f5723efa91ff481ac0eba57e7574ec3" alt="1762" width="7772" height="1329" data-path="images/eau/eau-example-5.svg" />
</Frame>

The response will include both AU periods.

### Example 6: Two AU periods - The `start_work_incapacity` date matches one of the AU periods

<Frame>
  <img src="https://mintcdn.com/kombo/n-JSqniBA8JIRXQO/images/eau/eau-example-6.svg?fit=max&auto=format&n=n-JSqniBA8JIRXQO&q=85&s=198e1138e85bcad8b3edad8f1071a074" alt="1762" width="7772" height="1325" data-path="images/eau/eau-example-6.svg" />
</Frame>

The response will include the AU matching the `start_work_incapacity` date. In
this example the response will be AU-period 2 from 28.04. to 10.05. The AU
period 1 (from 26.04 to 30.04) will not be included.

### Example 7: Two AU periods - The `start_work_incapacity` date is between the start dates of both AU periods

<Frame>
  <img src="https://mintcdn.com/kombo/n-JSqniBA8JIRXQO/images/eau/eau-example-7.svg?fit=max&auto=format&n=n-JSqniBA8JIRXQO&q=85&s=f6450f87c6de813a1825d3a9eeffbbc8" alt="1762" width="7772" height="1319" data-path="images/eau/eau-example-7.svg" />
</Frame>

The response will only include AU period 1 from 26.04. to 30.04.

### Example 8: Two AU periods - The `start_work_incapacity` date is before both start dates of the AU periods

<Frame>
  <img src="https://mintcdn.com/kombo/n-JSqniBA8JIRXQO/images/eau/eau-example-8.svg?fit=max&auto=format&n=n-JSqniBA8JIRXQO&q=85&s=1876d3a61894535f6c7970193907d0d6" alt="1762" width="7882" height="1312" data-path="images/eau/eau-example-8.svg" />
</Frame>

If the request was sent before the AU period 2 was available for the health
insurance (e.g. on the 27.04.), the response will only include AU period 1 from
26.04. to 30.04. Otherwise the response will include both AU periods.

### Example 9: Two AU periods - The `start_work_incapacity` date is before both start dates of the AU periods

<Frame>
  <img src="https://mintcdn.com/kombo/n-JSqniBA8JIRXQO/images/eau/eau-example-9.svg?fit=max&auto=format&n=n-JSqniBA8JIRXQO&q=85&s=36d6487a448896f3970715a445ac9aa2" alt="1762" width="8321" height="1316" data-path="images/eau/eau-example-9.svg" />
</Frame>

In this example the start date of the AU period 2 is exactly 5 days after the
`start_work_incapacity` date. Therefor the response will only include AU periods
1 from 26.04. to 30.04.

### Example 10: Delayed eAU processing

<Frame>
  <img src="https://mintcdn.com/kombo/n-JSqniBA8JIRXQO/images/eau/eau-example-10.svg?fit=max&auto=format&n=n-JSqniBA8JIRXQO&q=85&s=18f0cc01f8ba5c0afa9e526d004b9561" alt="1762" width="3221" height="1436" data-path="images/eau/eau-example-10.svg" />
</Frame>

If the health insurance has no AU for the available for the
`start_work_incapacity` date it will respond with flag\_current\_work\_incapacity =
4\. After receiving the AU on the 29.04 (within the 14 day window) the status
will update and return the AU from 26.04. to 30.04.

### Example 11: Two AU periods - Delayed eAU processing of the first AU

<Frame>
  <img src="https://mintcdn.com/kombo/n-JSqniBA8JIRXQO/images/eau/eau-example-11.svg?fit=max&auto=format&n=n-JSqniBA8JIRXQO&q=85&s=f364bfbc3f4f4a61250f9a89d62dfb6e" alt="1762" width="7307" height="1443" data-path="images/eau/eau-example-11.svg" />
</Frame>

Due to technical issues (e.g. internet outage at the doctor's office) the first
AU-period was not processed until the 29.04. The status for the request on the
27.04 will be flag\_current\_work\_incapacity = 4. On the 28.04 the follow up
certificate will be available and the status will be updated to the AU from
28.04. to 10.05. This finalizes the eAU request and the initial AU will not be
returned.
