src/Invoice/Completor.php
protected function isCompany()
    {
        // Note: companies outside EU must also fill in their vat number!? Even
        // if there's no way to check it with a webservice like VIES.
        return !empty($this->invoice[Tag::Customer][Tag::CompanyName1]) && !empty($this->invoice[Tag::Customer][Tag::VatNumber]);
    }
protected function isCompany()
    {
        // Note: companies outside EU must also fill in their vat number!? Even
        // if there's no way to check it with a webservice like VIES.
        return !empty($this->invoice[Tag::Customer][Tag::CompanyName1]) && !empty($this->invoice[Tag::Customer][Tag::VatNumber]);
    }
protected function isCompany ( ) { // Note: companies outside EU must also fill in their vat number!? Even // if there's no way to check it with a webservice like VIES. return ! empty ( $ this -> invoice [ Tag :: Customer ] [ Tag :: CompanyName1 ] ) && ! empty ( $ this -> invoice [ Tag :: Customer ] [ Tag :: VatNumber ] ) ; }
Returns whether the client is a company with a vat number.

@return bool
Returns whether the client is a company with a vat number .