diff --git a/packages/ws/src/Ws/Services/ExtService.php b/packages/ws/src/Ws/Services/ExtService.php
index <HASH>..<HASH> 100644
--- a/packages/ws/src/Ws/Services/ExtService.php
+++ b/packages/ws/src/Ws/Services/ExtService.php
@@ -51,13 +51,14 @@ class ExtService extends BaseSunat
 
     private function processResponse($status)
     {
-        $code = intval($status->statusCode);
+        $originCode = $status->statusCode;
+        $code = intval($originCode);
 
         $result = new StatusResult();
-        $result->setCode($code);
+        $result->setCode($originCode);
 
         if ($this->isPending($code)) {
-            $result->setError($this->getCustomError($code));
+            $result->setError($this->getCustomError($originCode));
 
             return $result;
         }
@@ -73,7 +74,7 @@ class ExtService extends BaseSunat
         }
 
         if ($this->isExceptionCode($code)) {
-            $this->loadErrorByCode($result, $code);
+            $this->loadErrorByCode($result, $originCode);
         }
 
         return $result;
Preserve original code in getStatus