خب الان بهتر شد. مطابق داکیومنت شما باید از متد post استفاده کنید و این هیچ ربطی به soap نداره. دستور هدر نیز برای ارسال هدر به مرورگر کاربر می باشد.

در نهایت می توانید از کد زیر برای ارسال درخواست به روش post استفاده کنید.

$url = 'https://esbapi.pec.ir/ApiManager/Vas/GetBillInfo';
$username = 'username';
$password = 'password';

$postdata = json_encode(array(
'billId' => '5019955030150',
'payId' => '50177188'
));

$opts = array('http' =>
array(
'method' => 'POST',
'header' => array('Content-Type: application/json',
'Authorization: Basic '.base64_encode($username.'|'.$password),
'Content-Length: ' . strlen($postdata)
),
'content' => $postdata,
'timeout' => 30,
)
);

$context = stream_context_create($opts);

$result = file_get_contents($url, false, $context);

var_dump($result);