# Fortnox\FortnoxVacationDebtBasisApi



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

| Method | HTTP request | Description |
| ------------- | ------------- | ------------- |
| [**vacationDebtBasisControllerDoShow()**](FortnoxVacationDebtBasisApi.md#vacationDebtBasisControllerDoShow) | **GET** /3/vacationdebtbasis/{Year}/{Month} | Retrieve a specific vacation debt basis for a posted voucher |


## `vacationDebtBasisControllerDoShow()`

```php
vacationDebtBasisControllerDoShow($year, $month): \Fortnox\Model\FortnoxLonVacationDebtBasisSingleItemWrap
```

Retrieve a specific vacation debt basis for a posted voucher

Retrieve a vacation debt basis

### Example

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



$apiInstance = new Fortnox\Api\FortnoxVacationDebtBasisApi(
    // 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()
);
$year = 56; // int | Id of vacation debt basis to show
$month = 56; // int | Month of vacation debt basis to show

try {
    $result = $apiInstance->vacationDebtBasisControllerDoShow($year, $month);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling FortnoxVacationDebtBasisApi->vacationDebtBasisControllerDoShow: ', $e->getMessage(), PHP_EOL;
}
```

### Parameters

| Name | Type | Description  | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **year** | **int**| Id of vacation debt basis to show | |
| **month** | **int**| Month of vacation debt basis to show | |

### Return type

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

### Authorization

No authorization required

### HTTP request headers

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

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