src/AvaTaxClient.php
/**
     * Point of sale data file generation
     *
     * Builds a point-of-sale data file containing tax rates and rules for this location, containing tax rates for all
     * items defined for this company. This data file can be used to correctly calculate tax in the event a 
     * point-of-sale device is not able to reach AvaTax.
     * This data file can be customized for specific partner devices and usage conditions.
     * The result of this API is the file you requested in the format you requested using the 'responseType' field.
     * This API builds the file on demand, and is limited to a maximum of 7500 items.
     *
     * 
     * @param int $companyId The ID number of the company that owns this location.
     * @param int $id The ID number of the location to retrieve point-of-sale data.
     * @param string $date The date for which point-of-sale data would be calculated (today by default)
     * @param string $format The format of the file (JSON by default) (See PointOfSaleFileType::* for a list of allowable values)
     * @param string $partnerId If specified, requests a custom partner-formatted version of the file. (See PointOfSalePartnerId::* for a list of allowable values)
     * @param boolean $includeJurisCodes When true, the file will include jurisdiction codes in the result.
     * @return FileResult
     */
Point of sale data file generation
Builds a point-of-sale data file containing tax rates and rules for this location, containing tax rates for all
items defined for this company. This data file can be used to correctly calculate tax in the event a
point-of-sale device is not able to reach AvaTax.
This data file can be customized for specific partner devices and usage conditions.
The result of this API is the file you requested in the format you requested using the 'responseType' field.
This API builds the file on demand, and is limited to a maximum of 7500 items.

@param int $companyId The ID number of the company that owns this location.
@param int $id The ID number of the location to retrieve point-of-sale data.
@param string $date The date for which point-of-sale data would be calculated (today by default)
@param string $format The format of the file (JSON by default) (See PointOfSaleFileType::* for a list of allowable values)
@param string $partnerId If specified, requests a custom partner-formatted version of the file. (See PointOfSalePartnerId::* for a list of allowable values)
@param boolean $includeJurisCodes When true, the file will include jurisdiction codes in the result.
Point of sale data file generation Builds a point - of - sale data file containing tax rates and rules for this location containing tax rates for all items defined for this company . This data file can be used to correctly calculate tax in the event a point - of - sale device is not able to reach AvaTax . This data file can be customized for specific partner devices and usage conditions . The result of this API is the file you requested in the format you requested using the ' responseType ' field . This API builds the file on demand and is limited to a maximum of 7500 items . @param int $companyId The ID number of the company that owns this location . @param int $id The ID number of the location to retrieve point - of - sale data . @param string $date The date for which point - of - sale data would be calculated ( today by default ) @param string $format The format of the file ( JSON by default ) ( See PointOfSaleFileType :: * for a list of allowable values ) @param string $partnerId If specified requests a custom partner - formatted version of the file . ( See PointOfSalePartnerId :: * for a list of allowable values ) @param boolean $includeJurisCodes When true the file will include jurisdiction codes in the result .
public function buildPointOfSaleDataForLocation($companyId, $id, $date, $format, $partnerId, $includeJurisCodes)
    {
        $path = "/api/v2/companies/{$companyId}/locations/{$id}/pointofsaledata";
        $guzzleParams = [
            'query' => ['date' => $date, 'format' => $format, 'partnerId' => $partnerId, 'includeJurisCodes' => $includeJurisCodes],
            'body' => null
        ];
        return $this->restCall($path, 'GET', $guzzleParams);
    }
public function buildPointOfSaleDataForLocation ( $ companyId , $ id , $ date , $ format , $ partnerId , $ includeJurisCodes ) { $ path = " /api/v2/companies/ { $ companyId } /locations/ { $ id } /pointofsaledata " ; $ guzzleParams = [ 'query' => [ 'date' => $ date , 'format' => $ format , 'partnerId' => $ partnerId , 'includeJurisCodes' => $ includeJurisCodes ] , 'body' => null ] ; return $ this -> restCall ( $ path , 'GET' , $ guzzleParams ) ; }
Point of sale data file generation
 Builds a point-of-sale data file containing tax rates and rules for this location, containing tax rates for all
 items defined for this company.
Point of sale data file generation Builds a point - of - sale data file containing tax rates and rules for this location containing tax rates for all items defined for this company .