src/AvaTaxClient.php
/**
     * Correct a previously created transaction
     *
     * Replaces the current transaction uniquely identified by this URL with a new transaction.
     * 
     * 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 adjust a committed transaction, the original transaction will be updated with the status code `Adjusted`, and
     * both revisions will be available for retrieval based on their code and ID numbers.
     * Only transactions in `Committed` status are reported by Avalara Managed Returns.
     * 
     * Transactions that have been previously reported to a tax authority by Avalara Managed Returns are considered `locked` and are 
     * no longer available for adjustments.
     *
     * 
     * @param string $companyCode The company code of the company that recorded this transaction
     * @param string $transactionCode The transaction code to adjust
     * @param AdjustTransactionModel $model The adjustment you wish to make
     * @return TransactionModel
     */
Correct a previously created transaction
Replaces the current transaction uniquely identified by this URL with a new transaction.

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 adjust a committed transaction, the original transaction will be updated with the status code `Adjusted`, and
both revisions will be available for retrieval based on their code and ID numbers.
Only transactions in `Committed` status are reported by Avalara Managed Returns.

Transactions that have been previously reported to a tax authority by Avalara Managed Returns are considered `locked` and are
no longer available for adjustments.

@param string $companyCode The company code of the company that recorded this transaction
@param string $transactionCode The transaction code to adjust
@param AdjustTransactionModel $model The adjustment you wish to make
@return TransactionModel
Correct a previously created transaction Replaces the current transaction uniquely identified by this URL with a new transaction . 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 adjust a committed transaction the original transaction will be updated with the status code ` Adjusted ` and both revisions will be available for retrieval based on their code and ID numbers . Only transactions in ` Committed ` status are reported by Avalara Managed Returns . Transactions that have been previously reported to a tax authority by Avalara Managed Returns are considered ` locked ` and are no longer available for adjustments . @param string $companyCode The company code of the company that recorded this transaction @param string $transactionCode The transaction code to adjust @param AdjustTransactionModel $model The adjustment you wish to make @return TransactionModel
public function adjustTransaction($companyCode, $transactionCode, $model)
    {
        $path = "/api/v2/companies/{$companyCode}/transactions/{$transactionCode}/adjust";
        $guzzleParams = [
            'query' => [],
            'body' => json_encode($model)
        ];
        return $this->restCall($path, 'POST', $guzzleParams);
    }
public function adjustTransaction ( $ companyCode , $ transactionCode , $ model ) { $ path = " /api/v2/companies/ { $ companyCode } /transactions/ { $ transactionCode } /adjust " ; $ guzzleParams = [ 'query' => [ ] , 'body' => json_encode ( $ model ) ] ; return $ this -> restCall ( $ path , 'POST' , $ guzzleParams ) ; }
Correct a previously created transaction
 Replaces the current transaction uniquely identified by this URL with a new transaction.
Correct a previously created transaction Replaces the current transaction uniquely identified by this URL with a new transaction .