src/AvaTaxClient.php
/**
     * Change a transaction's code
     *
     * Renames a transaction uniquely identified by this URL by changing its code to a new code.
     * After this API call succeeds, the transaction will have a new URL matching its new code.
     * A transaction represents a unique potentially taxable action that your company has recorded, and transactions include actions like
     * sales, purchases, inventory transfer, and returns (also called refunds).
     *
     * 
     * @param string $companyCode The company code of the company that recorded this transaction
     * @param string $transactionCode The transaction code to change
     * @param ChangeTransactionCodeModel $model The code change request you wish to execute
     * @return TransactionModel
     */
Change a transaction's code
Renames a transaction uniquely identified by this URL by changing its code to a new code.
After this API call succeeds, the transaction will have a new URL matching its new code.
A transaction represents a unique potentially taxable action that your company has recorded, and transactions include actions like
sales, purchases, inventory transfer, and returns (also called refunds).

@param string $companyCode The company code of the company that recorded this transaction
@param string $transactionCode The transaction code to change
@param ChangeTransactionCodeModel $model The code change request you wish to execute
@return TransactionModel
Change a transaction ' s code Renames a transaction uniquely identified by this URL by changing its code to a new code . After this API call succeeds the transaction will have a new URL matching its new code . A transaction represents a unique potentially taxable action that your company has recorded and transactions include actions like sales purchases inventory transfer and returns ( also called refunds ) . @param string $companyCode The company code of the company that recorded this transaction @param string $transactionCode The transaction code to change @param ChangeTransactionCodeModel $model The code change request you wish to execute @return TransactionModel
public function changeTransactionCode($companyCode, $transactionCode, $model)
    {
        $path = "/api/v2/companies/{$companyCode}/transactions/{$transactionCode}/changecode";
        $guzzleParams = [
            'query' => [],
            'body' => json_encode($model)
        ];
        return $this->restCall($path, 'POST', $guzzleParams);
    }
public function changeTransactionCode ( $ companyCode , $ transactionCode , $ model ) { $ path = " /api/v2/companies/ { $ companyCode } /transactions/ { $ transactionCode } /changecode " ; $ guzzleParams = [ 'query' => [ ] , 'body' => json_encode ( $ model ) ] ; return $ this -> restCall ( $ path , 'POST' , $ guzzleParams ) ; }
Change a transaction's code
 Renames a transaction uniquely identified by this URL by changing its code to a new code.
Change a transaction ' s code Renames a transaction uniquely identified by this URL by changing its code to a new code .