src/AvaTaxClient.php
/**
     * Void a transaction
     *
     * Voids the current transaction uniquely identified by this URL.
     * 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).
     * When you void a transaction, that transaction's status is recorded as 'DocVoided'.
     * Transactions that have been previously reported to a tax authority by Avalara Managed Returns are no longer available to be voided.
     *
     * 
     * @param string $companyCode The company code of the company that recorded this transaction
     * @param string $transactionCode The transaction code to void
     * @param VoidTransactionModel $model The void request you wish to execute
     * @return TransactionModel
     */
Void a transaction
Voids the current transaction uniquely identified by this URL.
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).
When you void a transaction, that transaction's status is recorded as 'DocVoided'.
Transactions that have been previously reported to a tax authority by Avalara Managed Returns are no longer available to be voided.

@param string $companyCode The company code of the company that recorded this transaction
@param string $transactionCode The transaction code to void
@param VoidTransactionModel $model The void request you wish to execute
@return TransactionModel
Void a transaction Voids the current transaction uniquely identified by this URL . 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 ) . When you void a transaction that transaction ' s status is recorded as ' DocVoided ' . Transactions that have been previously reported to a tax authority by Avalara Managed Returns are no longer available to be voided . @param string $companyCode The company code of the company that recorded this transaction @param string $transactionCode The transaction code to void @param VoidTransactionModel $model The void request you wish to execute @return TransactionModel
public function voidTransaction($companyCode, $transactionCode, $model)
    {
        $path = "/api/v2/companies/{$companyCode}/transactions/{$transactionCode}/void";
        $guzzleParams = [
            'query' => [],
            'body' => json_encode($model)
        ];
        return $this->restCall($path, 'POST', $guzzleParams);
    }
public function voidTransaction ( $ companyCode , $ transactionCode , $ model ) { $ path = " /api/v2/companies/ { $ companyCode } /transactions/ { $ transactionCode } /void " ; $ guzzleParams = [ 'query' => [ ] , 'body' => json_encode ( $ model ) ] ; return $ this -> restCall ( $ path , 'POST' , $ guzzleParams ) ; }
Void a transaction
 Voids the current transaction uniquely identified by this URL.
Void a transaction Voids the current transaction uniquely identified by this URL .