fix method reprocessByFilters
Change with this :
$response = $this->getClient()->post("documents/reprocess", [
"headers" => [
"rules-only" => $rulesOnly
],
"query" => $filter->toQueryParameters()
]);