src/AvaTaxClient.php
/**
     * Commit a transaction for reporting
     *
     * Marks a transaction by changing its status to 'Committed'.
     * Transactions that are committed are available to be reported to a tax authority by Avalara Managed Returns.
     * 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).
     * Any changes made to a committed transaction will generate a transaction history.
     *
     * 
     * @param string $companyCode The company code of the company that recorded this transaction
     * @param string $transactionCode The transaction code to commit
     * @param CommitTransactionModel $model The commit request you wish to execute
     * @return TransactionModel
     */
Commit a transaction for reporting
Marks a transaction by changing its status to 'Committed'.
Transactions that are committed are available to be reported to a tax authority by Avalara Managed Returns.
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).
Any changes made to a committed transaction will generate a transaction history.

@param string $companyCode The company code of the company that recorded this transaction
@param string $transactionCode The transaction code to commit
@param CommitTransactionModel $model The commit request you wish to execute
@return TransactionModel
Commit a transaction for reporting Marks a transaction by changing its status to ' Committed ' . Transactions that are committed are available to be reported to a tax authority by Avalara Managed Returns . 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 ) . Any changes made to a committed transaction will generate a transaction history . @param string $companyCode The company code of the company that recorded this transaction @param string $transactionCode The transaction code to commit @param CommitTransactionModel $model The commit request you wish to execute @return TransactionModel
public function commitTransaction($companyCode, $transactionCode, $model)
    {
        $path = "/api/v2/companies/{$companyCode}/transactions/{$transactionCode}/commit";
        $guzzleParams = [
            'query' => [],
            'body' => json_encode($model)
        ];
        return $this->restCall($path, 'POST', $guzzleParams);
    }
public function commitTransaction ( $ companyCode , $ transactionCode , $ model ) { $ path = " /api/v2/companies/ { $ companyCode } /transactions/ { $ transactionCode } /commit " ; $ guzzleParams = [ 'query' => [ ] , 'body' => json_encode ( $ model ) ] ; return $ this -> restCall ( $ path , 'POST' , $ guzzleParams ) ; }
Commit a transaction for reporting
 Marks a transaction by changing its status to 'Committed'.
Commit a transaction for reporting Marks a transaction by changing its status to ' Committed ' .