# Fortnox\FortnoxSieApi



All URIs are relative to https://api.fortnox.se, except if the operation defines another base path.

| Method | HTTP request | Description |
| ------------- | ------------- | ------------- |
| [**sieControllerDoShow()**](FortnoxSieApi.md#sieControllerDoShow) | **GET** /3/sie/{Type} | Retrieve a SIE file |


## `sieControllerDoShow()`

```php
sieControllerDoShow($type, $selection, $financial_year, $exportall, $fromdate, $todate): \Fortnox\Model\FortnoxBfSieSingleItemWrap
```

Retrieve a SIE file

Retrieves a SIE file as streamed content

### Example

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



$apiInstance = new Fortnox\Api\FortnoxSieApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client()
);
$type = 'type_example'; // string | type
$selection = 'selection_example'; // string | filter on selection
$financial_year = 56; // int | financialYear
$exportall = 'exportall_example'; // string | filter on export all
$fromdate = new \DateTime('2013-10-20T19:20:30+01:00'); // \DateTime | filter on from date
$todate = new \DateTime('2013-10-20T19:20:30+01:00'); // \DateTime | filter on to date

try {
    $result = $apiInstance->sieControllerDoShow($type, $selection, $financial_year, $exportall, $fromdate, $todate);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling FortnoxSieApi->sieControllerDoShow: ', $e->getMessage(), PHP_EOL;
}
```

### Parameters

| Name | Type | Description  | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **type** | **string**| type | |
| **selection** | **string**| filter on selection | [optional] |
| **financial_year** | **int**| financialYear | [optional] |
| **exportall** | **string**| filter on export all | [optional] |
| **fromdate** | **\DateTime**| filter on from date | [optional] |
| **todate** | **\DateTime**| filter on to date | [optional] |

### Return type

[**\Fortnox\Model\FortnoxBfSieSingleItemWrap**](../Model/FortnoxBfSieSingleItemWrap.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: `application/octet-stream`, `application/json`

[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
