src/AvaTaxClient.php
/**
     * List all nexus that apply to a specific address.
     *
     * Returns a list of all Avalara-supported taxing jurisdictions that apply to this address.
     * This API allows you to identify which tax authorities apply to a physical location, salesperson address, or point of sale.
     * In general, it is usually expected that a company will declare nexus in all the jurisdictions that apply to each physical address
     * where the company does business.
     * The results of this API call can be passed to the 'Create Nexus' API call to declare nexus for this address.
     *
     * 
     * @param string $line1 The first address line portion of this address.
     * @param string $line2 The first address line portion of this address.
     * @param string $line3 The first address line portion of this address.
     * @param string $city The city portion of this address.
     * @param string $region The region, state, or province code portion of this address.
     * @param string $postalCode The postal code or zip code portion of this address.
     * @param string $country The two-character ISO-3166 code of the country portion of this address.
     * @return FetchResult
     */
List all nexus that apply to a specific address.
Returns a list of all Avalara-supported taxing jurisdictions that apply to this address.
This API allows you to identify which tax authorities apply to a physical location, salesperson address, or point of sale.
In general, it is usually expected that a company will declare nexus in all the jurisdictions that apply to each physical address
where the company does business.
The results of this API call can be passed to the 'Create Nexus' API call to declare nexus for this address.

@param string $line1 The first address line portion of this address.
@param string $line2 The first address line portion of this address.
@param string $line3 The first address line portion of this address.
@param string $city The city portion of this address.
@param string $region The region, state, or province code portion of this address.
@param string $postalCode The postal code or zip code portion of this address.
@param string $country The two-character ISO-3166 code of the country portion of this address.
List all nexus that apply to a specific address . Returns a list of all Avalara - supported taxing jurisdictions that apply to this address . This API allows you to identify which tax authorities apply to a physical location salesperson address or point of sale . In general it is usually expected that a company will declare nexus in all the jurisdictions that apply to each physical address where the company does business . The results of this API call can be passed to the ' Create Nexus ' API call to declare nexus for this address . @param string $line1 The first address line portion of this address . @param string $line2 The first address line portion of this address . @param string $line3 The first address line portion of this address . @param string $city The city portion of this address . @param string $region The region state or province code portion of this address . @param string $postalCode The postal code or zip code portion of this address . @param string $country The two - character ISO - 3166 code of the country portion of this address .
public function listNexusByAddress($line1, $line2, $line3, $city, $region, $postalCode, $country)
    {
        $path = "/api/v2/definitions/nexus/byaddress";
        $guzzleParams = [
            'query' => ['line1' => $line1, 'line2' => $line2, 'line3' => $line3, 'city' => $city, 'region' => $region, 'postalCode' => $postalCode, 'country' => $country],
            'body' => null
        ];
        return $this->restCall($path, 'GET', $guzzleParams);
    }
public function listNexusByAddress ( $ line1 , $ line2 , $ line3 , $ city , $ region , $ postalCode , $ country ) { $ path = " /api/v2/definitions/nexus/byaddress " ; $ guzzleParams = [ 'query' => [ 'line1' => $ line1 , 'line2' => $ line2 , 'line3' => $ line3 , 'city' => $ city , 'region' => $ region , 'postalCode' => $ postalCode , 'country' => $ country ] , 'body' => null ] ; return $ this -> restCall ( $ path , 'GET' , $ guzzleParams ) ; }
List all nexus that apply to a specific address.
List all nexus that apply to a specific address .