src/Invoice/CompletorStrategyBase.php
protected function getVatBreakDownMinRate()
    {
        $result = array(Tag::VatRate => PHP_INT_MAX);
        foreach ($this->vatBreakdown as $breakDown) {
            if ($breakDown[Tag::VatRate] < $result[Tag::VatRate]) {
                $result = $breakDown;
            }
        }
        return $result;
    }
protected function getVatBreakDownMinRate()
    {
        $result = array(Tag::VatRate => PHP_INT_MAX);
        foreach ($this->vatBreakdown as $breakDown) {
            if ($breakDown[Tag::VatRate] < $result[Tag::VatRate]) {
                $result = $breakDown;
            }
        }
        return $result;
    }
protected function getVatBreakDownMinRate ( ) { $ result = array ( Tag :: VatRate => PHP_INT_MAX ) ; foreach ( $ this -> vatBreakdown as $ breakDown ) { if ( $ breakDown [ Tag :: VatRate ] < $ result [ Tag :: VatRate ] ) { $ result = $ breakDown ; } } return $ result ; }
Returns the minimum vat rate on the invoice.

@return array
A vat rate overview: array with keys vatrate, vatamount, amount, count.
Returns the minimum vat rate on the invoice .