diff --git a/src/Resources/ComercioExteriorCatalogs.php b/src/Resources/ComercioExteriorCatalogs.php new file mode 100644 index 0000000..37c524e --- /dev/null +++ b/src/Resources/ComercioExteriorCatalogs.php @@ -0,0 +1,30 @@ + "0101", "page" => 0, "limit" => 10]) + * @return JSON search result + * @throws Facturapi_Exception + */ + public function searchTariffFractions($params = null) + { + try { + return json_decode( + $this->execute_get_request( + $this->get_request_url("tariff-fractions") . $this->array_to_params($params) + ) + ); + } catch (Facturapi_Exception $e) { + throw new Facturapi_Exception('Unable to search tariff fractions: ' . $e->getMessage()); + } + } +}