// 	$result = $client->getAccountData(null, '9114272913');
// 	Logger::info('Result is: {0}', $result);
// 	print_separator();
// }
// // getAccountApiKeys by nip
// {
// 	$result = $client->getAccountApiKeys('00000000-0000-0000-0000-0000000000b5');
// 	Logger::info('Result is: {0}', $result);
// 	print_separator();
// }
$createAccountOperationId = null;
$contractor = new Contractor();
$contractor->setName('Test contractor ' . uniqid());
$contractor->setTaxPayerNumber('5271711106');
$contractor->setEmail('*****@*****.**');
$contractor->setFax('12312123');
$contractor->setPhone('234234234');
$contractor->setWww('www.esr24.pl');
$employees = array();
$employee = new EmployeeData();
$employee->setFirstName('Jan');
$employee->setLastName('Kowalski');
$employee->setEmail('*****@*****.**');
$employee->setPhone('123123123');
$employees[] = $employee;
$data = new AccountData();
$data->setExId('exAccount' . uniqid());
$data->setContractor($contractor);
$data->setEmployees($employees);
$result = $client->createAccount($data);
$createAccountOperationId = $result->getOperationId();