diff --git a/src/Constants/Vat.php b/src/Constants/Vat.php index b2620e8..31f6faf 100644 --- a/src/Constants/Vat.php +++ b/src/Constants/Vat.php @@ -10,4 +10,6 @@ class Vat const vat0 = 'vat0'; // НДС 0% const vat10 = 'vat10';// НДС 10% const vat20 = 'vat20'; // НДС 20% + const vat110 = 'vat110'; // 10/110 + const vat120 = 'vat120'; // 20/120 } \ No newline at end of file diff --git a/src/Traits/HttpClient.php b/src/Traits/HttpClient.php index 8384508..f14caa2 100644 --- a/src/Traits/HttpClient.php +++ b/src/Traits/HttpClient.php @@ -35,7 +35,7 @@ private function execute($action, $data = []) $headers['Content-Type'] = 'application/json'; - $data = \json_encode($data, JSON_FORCE_OBJECT); + $data = \json_encode($data); $client = new Client(); $res = $client->request( @@ -51,4 +51,4 @@ private function execute($action, $data = []) 'response' => $response, ]; } -} \ No newline at end of file +}