You are here

public function Avatax::transactionsCreate in Drupal Commerce Connector for AvaTax 7.5

Create a new transaction.

Parameters

string[] $parameters: An associative array of POST body parameters to be sent that should at least contain the companycode, the code, the date, and the customerCode.

File

lib/Avatax.php, line 149
Defines a class for consuming the Avatax API.

Class

Avatax
Defines the Avatax class.

Code

public function transactionsCreate($parameters) {
  return $this
    ->doRequest('POST', "transactions/create", $parameters);
}