$options[ 'stream_context' ] = stream_context_create([
'http' => array(
'header' => "FNS-OpenApi-token: " . $token . "\r\nFNS-OpenApi-UserToken: " . $userToken
)
]);
POST /open-api/ais3/KktService/0.1 HTTP/1.1
Host: openapi.nalog.ru:8090
Connection: Keep-Alive
User-Agent: PHP-SOAP/7.2.24-0ubuntu0.18.04.2
Content-Type: text/xml; charset=utf-8
SOAPAction: "urn:SendMessageRequest"
Content-Length: 1520
FNS-OpenApi-token: d23597c6486f4b53b873eed030dae3fb
FNS-OpenApi-UserToken: 0K3RgtC+INC30LDQutC+0LTQuNGA0L7QstCw0L3QvdCw0Y8g0YHRgtGA0L7QutCw