OnePica_AvaTax - Version 3.5.0

Version Notes

Implemented effective tax rate feature

Download this release

Release Info

Developer Astound Commerce
Extension OnePica_AvaTax
Version 3.5.0
Comparing to
See all releases


Code changes from version 3.4.1 to 3.5.0

app/code/community/OnePica/AvaTax/Helper/Config.php CHANGED
@@ -109,6 +109,11 @@ class OnePica_AvaTax_Helper_Config extends Mage_Core_Helper_Abstract
109
  */
110
  const XML_PATH_TO_TAX_AVATAX_COMPANY_CODE = 'tax/avatax/company_code';
111
 
 
 
 
 
 
112
  /**
113
  * Path to attribute code for the reference code 1 to send to Avalara
114
  */
@@ -189,32 +194,6 @@ class OnePica_AvaTax_Helper_Config extends Mage_Core_Helper_Abstract
189
  */
190
  const XML_PATH_TO_SHIPPING_ORIGIN_COUNTRY_ID = 'shipping/origin/country_id';
191
 
192
- /**
193
- * Path to default avalara goods and services type
194
- */
195
- const XML_PATH_TO_DEFAULT_AVALARA_GOODS_AND_SERVICES_TYPE = 'tax/avatax/default_avalara_goods_and_services_type';
196
-
197
- /**
198
- * Path to default avalara goods and services modifier type
199
- */
200
- const XML_PATH_TO_DEFAULT_AVALARA_GOODS_AND_SERVICES_MODIFIER_TYPE =
201
- 'tax/avatax/default_avalara_goods_and_services_modifier_type';
202
-
203
- /**
204
- * Path to default tax payer code
205
- */
206
- const XML_PATH_TO_DEFAULT_TAX_PAYER_CODE = 'tax/avatax/default_tax_payer_code';
207
-
208
- /**
209
- * Path to default use type
210
- */
211
- const XML_PATH_TO_DEFAULT_USE_TYPE = 'tax/avatax/default_use_type';
212
-
213
- /**
214
- * Path to default buyer type
215
- */
216
- const XML_PATH_TO_DEFAULT_BUYER_TYPE = 'tax/avatax/default_buyer_type';
217
-
218
  /**
219
  * Path to upc status
220
  */
@@ -309,6 +288,18 @@ class OnePica_AvaTax_Helper_Config extends Mage_Core_Helper_Abstract
309
  return Mage::getStoreConfig(self::XML_PATH_TO_TAX_AVATAX_COMPANY_CODE, $store);
310
  }
311
 
 
 
 
 
 
 
 
 
 
 
 
 
312
  /**
313
  * Returns giftwraporder line item faked sku
314
  *
@@ -632,66 +623,6 @@ class OnePica_AvaTax_Helper_Config extends Mage_Core_Helper_Abstract
632
  return Mage::getStoreConfig(self::XML_PATH_TO_SHIPPING_ORIGIN_COUNTRY_ID, $store);
633
  }
634
 
635
- /**
636
- * Get Default Avalara Goods And Services Type
637
- *
638
- * @param null|bool|int|Mage_Core_Model_Store $store
639
- *
640
- * @return int
641
- */
642
- public function getDefaultAvalaraGoodsAndServicesType ($store = null)
643
- {
644
- return Mage::getStoreConfig(self::XML_PATH_TO_DEFAULT_AVALARA_GOODS_AND_SERVICES_TYPE, $store);
645
- }
646
-
647
- /**
648
- * Get dDfault Avalara Goods And Services Modifier Type
649
- *
650
- * @param null|bool|int|Mage_Core_Model_Store $store
651
- *
652
- * @return string
653
- */
654
- public function getDefaultAvalaraGoodsAndServicesModifierType($store = null)
655
- {
656
- return Mage::getStoreConfig(self::XML_PATH_TO_DEFAULT_AVALARA_GOODS_AND_SERVICES_MODIFIER_TYPE, $store);
657
- }
658
-
659
- /**
660
- * Get Default Tax Payer Code
661
- *
662
- * @param null|bool|int|Mage_Core_Model_Store $store
663
- *
664
- * @return string
665
- */
666
- public function getDefaultTaxPayerCode($store = null)
667
- {
668
- return Mage::getStoreConfig(self::XML_PATH_TO_DEFAULT_TAX_PAYER_CODE, $store);
669
- }
670
-
671
- /**
672
- * Get Default Use Type
673
- *
674
- * @param null|bool|int|Mage_Core_Model_Store $store
675
- *
676
- * @return string
677
- */
678
- public function getDefaultUseType($store = null)
679
- {
680
- return Mage::getStoreConfig(self::XML_PATH_TO_DEFAULT_USE_TYPE, $store);
681
- }
682
-
683
- /**
684
- * Get Default Buyer Type
685
- *
686
- * @param null|bool|int|Mage_Core_Model_Store $store
687
- *
688
- * @return string
689
- */
690
- public function getDefaultBuyerType($store = null)
691
- {
692
- return Mage::getStoreConfig(self::XML_PATH_TO_DEFAULT_BUYER_TYPE, $store);
693
- }
694
-
695
  /**
696
  * Get onepage normalize message
697
  *
109
  */
110
  const XML_PATH_TO_TAX_AVATAX_COMPANY_CODE = 'tax/avatax/company_code';
111
 
112
+ /**
113
+ * Path to tax detail level
114
+ */
115
+ const XML_PATH_TO_TAX_AVATAX_DETAIL_LEVEL = 'tax/avatax/detail_level';
116
+
117
  /**
118
  * Path to attribute code for the reference code 1 to send to Avalara
119
  */
194
  */
195
  const XML_PATH_TO_SHIPPING_ORIGIN_COUNTRY_ID = 'shipping/origin/country_id';
196
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
197
  /**
198
  * Path to upc status
199
  */
288
  return Mage::getStoreConfig(self::XML_PATH_TO_TAX_AVATAX_COMPANY_CODE, $store);
289
  }
290
 
291
+ /**
292
+ * Returns service account id
293
+ *
294
+ * @param null|bool|int|Mage_Core_Model_Store $store
295
+ *
296
+ * @return string
297
+ */
298
+ public function getDetailLevel($store = null)
299
+ {
300
+ return Mage::getStoreConfig(self::XML_PATH_TO_TAX_AVATAX_DETAIL_LEVEL, $store);
301
+ }
302
+
303
  /**
304
  * Returns giftwraporder line item faked sku
305
  *
623
  return Mage::getStoreConfig(self::XML_PATH_TO_SHIPPING_ORIGIN_COUNTRY_ID, $store);
624
  }
625
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
626
  /**
627
  * Get onepage normalize message
628
  *
app/code/community/OnePica/AvaTax/Model/Service/Abstract/Config.php CHANGED
@@ -16,7 +16,7 @@
16
  */
17
 
18
  /**
19
- * @class OnePica_AvaTax_Model_Service_Abstract_Tools
20
  *
21
  * @category OnePica
22
  * @package OnePica_AvaTax
@@ -76,6 +76,7 @@ abstract class OnePica_AvaTax_Model_Service_Abstract_Config extends Varien_Objec
76
 
77
  /**
78
  * Resource connection
 
79
  * @var
80
  */
81
  protected $_connection = null;
@@ -89,12 +90,14 @@ abstract class OnePica_AvaTax_Model_Service_Abstract_Config extends Varien_Objec
89
 
90
  /**
91
  * Get resource connection
 
92
  * @return mixed
93
  */
94
  abstract public function getTaxConnection();
95
 
96
  /**
97
  * Init config
 
98
  * @param $storeId
99
  * @return mixed
100
  */
@@ -148,4 +151,4 @@ abstract class OnePica_AvaTax_Model_Service_Abstract_Config extends Varien_Objec
148
  {
149
  return Mage::helper('avatax/errors');
150
  }
151
- }
16
  */
17
 
18
  /**
19
+ * @class OnePica_AvaTax_Model_Service_Abstract_Tools
20
  *
21
  * @category OnePica
22
  * @package OnePica_AvaTax
76
 
77
  /**
78
  * Resource connection
79
+ *
80
  * @var
81
  */
82
  protected $_connection = null;
90
 
91
  /**
92
  * Get resource connection
93
+ *
94
  * @return mixed
95
  */
96
  abstract public function getTaxConnection();
97
 
98
  /**
99
  * Init config
100
+ *
101
  * @param $storeId
102
  * @return mixed
103
  */
151
  {
152
  return Mage::helper('avatax/errors');
153
  }
154
+ }
app/code/community/OnePica/AvaTax/Model/Service/Avatax/Config.php CHANGED
@@ -54,7 +54,7 @@ class OnePica_AvaTax_Model_Service_Avatax_Config extends OnePica_AvaTax_Model_Se
54
  'account' => Mage::helper('avatax/config')->getServiceAccountId($storeId),
55
  'license' => Mage::helper('avatax/config')->getServiceKey($storeId),
56
  'trace' => (Mage::helper('avatax')
57
- ->getLogMode($storeId) == OnePica_AvaTax_Model_Source_Logmode::DEBUG) ? true : false,
58
  'client' => $this->getClientName()
59
  )
60
  );
@@ -84,6 +84,7 @@ class OnePica_AvaTax_Model_Service_Avatax_Config extends OnePica_AvaTax_Model_Se
84
  if (null === $this->_addressConnection) {
85
  $this->_addressConnection = new AddressServiceSoap(self::CONFIG_KEY);
86
  }
 
87
  return $this->_addressConnection;
88
  }
89
 
@@ -97,6 +98,7 @@ class OnePica_AvaTax_Model_Service_Avatax_Config extends OnePica_AvaTax_Model_Se
97
  if (null === $this->_taxConnection) {
98
  $this->_taxConnection = new TaxServiceSoap(self::CONFIG_KEY);
99
  }
 
100
  return $this->_taxConnection;
101
  }
102
 
@@ -120,4 +122,15 @@ class OnePica_AvaTax_Model_Service_Avatax_Config extends OnePica_AvaTax_Model_Se
120
  {
121
  return Mage::helper('avatax/config')->getCompanyCode($store);
122
  }
 
 
 
 
 
 
 
 
 
 
 
123
  }
54
  'account' => Mage::helper('avatax/config')->getServiceAccountId($storeId),
55
  'license' => Mage::helper('avatax/config')->getServiceKey($storeId),
56
  'trace' => (Mage::helper('avatax')
57
+ ->getLogMode($storeId) == OnePica_AvaTax_Model_Source_Logmode::DEBUG) ? true : false,
58
  'client' => $this->getClientName()
59
  )
60
  );
84
  if (null === $this->_addressConnection) {
85
  $this->_addressConnection = new AddressServiceSoap(self::CONFIG_KEY);
86
  }
87
+
88
  return $this->_addressConnection;
89
  }
90
 
98
  if (null === $this->_taxConnection) {
99
  $this->_taxConnection = new TaxServiceSoap(self::CONFIG_KEY);
100
  }
101
+
102
  return $this->_taxConnection;
103
  }
104
 
122
  {
123
  return Mage::helper('avatax/config')->getCompanyCode($store);
124
  }
125
+
126
+ /**
127
+ * Returns the detail level config
128
+ *
129
+ * @param null|bool|int|Mage_Core_Model_Store $store
130
+ * @return string
131
+ */
132
+ public function getDetailLevel($store = null)
133
+ {
134
+ return Mage::helper('avatax/config')->getDetailLevel($store);
135
+ }
136
  }
app/code/community/OnePica/AvaTax/Model/Service/Avatax/Estimate.php CHANGED
@@ -93,6 +93,7 @@ class OnePica_AvaTax_Model_Service_Avatax_Estimate
93
  }
94
  $this->_rates = $rates;
95
  }
 
96
  return parent::_construct();
97
  }
98
 
@@ -121,7 +122,7 @@ class OnePica_AvaTax_Model_Service_Avatax_Estimate
121
  $this->_addGeneralInfo($address);
122
  $this->_setOriginAddress($quote->getStoreId());
123
  $this->_setDestinationAddress($address);
124
- $this->_request->setDetailLevel(DetailLevel::$Line);
125
  $this->_addItemsInCart($address);
126
  $this->_addShipping($address);
127
  //Added code for calculating tax for giftwrap items
@@ -156,11 +157,12 @@ class OnePica_AvaTax_Model_Service_Avatax_Estimate
156
  /** @var TaxLine $ctl */
157
  $id = $this->_getItemIdByLine($ctl);
158
  $code = $this->_getTaxArrayCodeByLine($ctl);
 
159
  $this->_rates[$requestKey][$code][$id] = array(
160
- 'rate' => ($ctl->getTax() ? $ctl->getRate() : 0) * 100,
161
  'amt' => $ctl->getTax(),
162
  'taxable' => $ctl->getTaxable(),
163
- 'tax_included' => $ctl->getTaxIncluded(),
164
  );
165
  }
166
  $this->_rates[$requestKey]['summary'] = $this->_getSummaryFromResponse($result);
@@ -226,9 +228,11 @@ class OnePica_AvaTax_Model_Service_Avatax_Estimate
226
  $goodSeverity = in_array($message->getSeverity(), array('Warning', 'Error'));
227
  $goodSource = in_array(
228
  $message->getSource(),
229
- array('Avalara.AvaTax.Services.Address',
230
- 'Avalara.AvaTax.Services.Tax',
231
- 'Avalara.AvaTax.Services.Tax.Steps')
 
 
232
  );
233
 
234
  return !$goodSeverity || !$goodSource;
@@ -236,26 +240,78 @@ class OnePica_AvaTax_Model_Service_Avatax_Estimate
236
 
237
  /**
238
  * Get line rate
 
239
  *
240
- * @param OnePica_AvaTax_Document_Response $response
241
  * @return array
242
  */
243
  protected function _getSummaryFromResponse($response)
244
  {
245
  $unique = array();
246
- foreach ($response->getTaxSummary() as $row) {
247
- $name = $row->getTaxName();
 
 
 
 
248
  $unique[$name] = (isset($unique[$name])) ? $unique[$name] + 1 : 1;
249
  }
250
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
251
  $result = array();
252
- foreach ($response->getTaxSummary() as $row) {
253
- $name = $row->getTaxName();
254
- $name = ($unique[$name] > 1) ? $name . " " . $row->getJurisCode() : $name;
255
- $result[] = array(
256
- 'name' => $name,
257
- 'rate' => $row->getRate() * 100,
258
- 'amt' => $row->getTax()
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
259
  );
260
  }
261
 
@@ -271,6 +327,7 @@ class OnePica_AvaTax_Model_Service_Avatax_Estimate
271
  {
272
  $hash = sprintf("%u", crc32(serialize($this->_request)));
273
  $this->_setLastRequestKey($hash);
 
274
  return $hash;
275
  }
276
 
@@ -370,6 +427,7 @@ class OnePica_AvaTax_Model_Service_Avatax_Estimate
370
  $this->_lines[$lineNumber] = $line;
371
  $this->_request->setLines($this->_lines);
372
  $this->_lineToLineId[$lineNumber] = $this->_getConfigHelper()->getGwOrderSku($storeId);
 
373
  return $lineNumber;
374
  }
375
 
@@ -444,6 +502,7 @@ class OnePica_AvaTax_Model_Service_Avatax_Estimate
444
  $this->_lines[$lineNumber] = $line;
445
  $this->_request->setLines($this->_lines);
446
  $this->_lineToLineId[$lineNumber] = $this->_getConfigHelper()->getGwPrintedCardSku($storeId);
 
447
  return $lineNumber;
448
  }
449
 
@@ -598,7 +657,7 @@ class OnePica_AvaTax_Model_Service_Avatax_Estimate
598
 
599
  if (isset($lastRequestKey)) {
600
  $result = isset($this->_rates[$lastRequestKey]['summary'])
601
- ? $this->_rates[$lastRequestKey]['summary'] : array();
602
  } else {
603
  $rates = $this->getRates($address);
604
  $result = (isset($rates)) ? $rates['summary'] : null;
@@ -616,4 +675,44 @@ class OnePica_AvaTax_Model_Service_Avatax_Estimate
616
  {
617
  return Mage::helper('tax');
618
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
619
  }
93
  }
94
  $this->_rates = $rates;
95
  }
96
+
97
  return parent::_construct();
98
  }
99
 
122
  $this->_addGeneralInfo($address);
123
  $this->_setOriginAddress($quote->getStoreId());
124
  $this->_setDestinationAddress($address);
125
+ $this->_setDetailLevel();
126
  $this->_addItemsInCart($address);
127
  $this->_addShipping($address);
128
  //Added code for calculating tax for giftwrap items
157
  /** @var TaxLine $ctl */
158
  $id = $this->_getItemIdByLine($ctl);
159
  $code = $this->_getTaxArrayCodeByLine($ctl);
160
+
161
  $this->_rates[$requestKey][$code][$id] = array(
162
+ 'rate' => $this->_getTaxRateFromTaxLineItem($ctl),
163
  'amt' => $ctl->getTax(),
164
  'taxable' => $ctl->getTaxable(),
165
+ 'tax_included' => $ctl->getTaxIncluded()
166
  );
167
  }
168
  $this->_rates[$requestKey]['summary'] = $this->_getSummaryFromResponse($result);
228
  $goodSeverity = in_array($message->getSeverity(), array('Warning', 'Error'));
229
  $goodSource = in_array(
230
  $message->getSource(),
231
+ array(
232
+ 'Avalara.AvaTax.Services.Address',
233
+ 'Avalara.AvaTax.Services.Tax',
234
+ 'Avalara.AvaTax.Services.Tax.Steps'
235
+ )
236
  );
237
 
238
  return !$goodSeverity || !$goodSource;
240
 
241
  /**
242
  * Get line rate
243
+ * Prepares array of tax lines with unique names for correct displaying in Full Tax Summary
244
  *
245
+ * @param GetTaxResult $response
246
  * @return array
247
  */
248
  protected function _getSummaryFromResponse($response)
249
  {
250
  $unique = array();
251
+ $result = array();
252
+ $taxSummaryItems = $this->_getTaxSummaryItemsFromResponse($response);
253
+
254
+ /** @var array $row */
255
+ foreach ($taxSummaryItems as $row) {
256
+ $name = $row['name'];
257
  $unique[$name] = (isset($unique[$name])) ? $unique[$name] + 1 : 1;
258
  }
259
 
260
+ foreach ($taxSummaryItems as $key => $row) {
261
+ $name = $row['name'];
262
+ $row['name'] = ($unique[$name] > 1) ? $key : $name;
263
+
264
+ $result[] = $row;
265
+ }
266
+
267
+ return $result;
268
+ }
269
+
270
+ /**
271
+ * Prepares array of arrays with data from TaxDetail for different detail levels
272
+ *
273
+ * @param GetTaxResult $response
274
+ *
275
+ * @return array
276
+ */
277
+ protected function _getTaxSummaryItemsFromResponse($response)
278
+ {
279
+ /**
280
+ * Variables
281
+ *
282
+ * @var TaxDetail $taxDetail
283
+ * @var string $resultKey used to collect tax amount for separate jurisdiction
284
+ */
285
+
286
  $result = array();
287
+ $taxDetailItems = array();
288
+ switch ($this->_request->getDetailLevel()) {
289
+ case DetailLevel::$Tax:
290
+ // Response Detail Level = Tax
291
+ /** @var TaxLine $taxLine */
292
+ foreach ($response->getTaxLines() as $taxLine) {
293
+ foreach ($taxLine->getTaxDetails() as $taxDetail) {
294
+ $taxDetailItems[] = $taxDetail;
295
+ }
296
+ }
297
+ break;
298
+ default:
299
+ // Response Detail Level = Line
300
+ $taxDetailItems = $response->getTaxSummary();
301
+ break;
302
+ }
303
+
304
+ foreach ($taxDetailItems as $taxDetail) {
305
+ $resultKey = $taxDetail->getTaxName() . " " . $taxDetail->getJurisCode();
306
+ if (array_key_exists($resultKey, $result)) {
307
+ $amt = $result[$resultKey]['amt'] + $taxDetail->getTax();
308
+ } else {
309
+ $amt = $taxDetail->getTax();
310
+ }
311
+ $result[$resultKey] = array(
312
+ 'name' => $taxDetail->getTaxName(),
313
+ 'rate' => $taxDetail->getRate() * 100,
314
+ 'amt' => $amt
315
  );
316
  }
317
 
327
  {
328
  $hash = sprintf("%u", crc32(serialize($this->_request)));
329
  $this->_setLastRequestKey($hash);
330
+
331
  return $hash;
332
  }
333
 
427
  $this->_lines[$lineNumber] = $line;
428
  $this->_request->setLines($this->_lines);
429
  $this->_lineToLineId[$lineNumber] = $this->_getConfigHelper()->getGwOrderSku($storeId);
430
+
431
  return $lineNumber;
432
  }
433
 
502
  $this->_lines[$lineNumber] = $line;
503
  $this->_request->setLines($this->_lines);
504
  $this->_lineToLineId[$lineNumber] = $this->_getConfigHelper()->getGwPrintedCardSku($storeId);
505
+
506
  return $lineNumber;
507
  }
508
 
657
 
658
  if (isset($lastRequestKey)) {
659
  $result = isset($this->_rates[$lastRequestKey]['summary'])
660
+ ? $this->_rates[$lastRequestKey]['summary'] : array();
661
  } else {
662
  $rates = $this->getRates($address);
663
  $result = (isset($rates)) ? $rates['summary'] : null;
675
  {
676
  return Mage::helper('tax');
677
  }
678
+
679
+ /**
680
+ * Sets detail level for request based on config data
681
+ *
682
+ * @return $this
683
+ */
684
+ protected function _setDetailLevel()
685
+ {
686
+ /** @var OnePica_AvaTax_Model_Service_Avatax_Config $config */
687
+ $config = Mage::getSingleton('avatax/service_avatax_config');
688
+ $this->_request->setDetailLevel($config->getDetailLevel());
689
+
690
+ return $this;
691
+ }
692
+
693
+ /**
694
+ * Calculates rate of tax line
695
+ *
696
+ * @param TaxLine $line
697
+ * @return int
698
+ */
699
+ protected function _getTaxRateFromTaxLineItem(TaxLine $line)
700
+ {
701
+ switch ($this->_request->getDetailLevel()) {
702
+ case DetailLevel::$Tax:
703
+ $lineRate = 0;
704
+ foreach ($line->getTaxDetails() as $taxDetail) {
705
+ if ($taxDetail->getTax() != 0) {
706
+ $lineRate = $lineRate + $taxDetail->getRate();
707
+ }
708
+ }
709
+ $lineRate = $lineRate * 100;
710
+ break;
711
+ default:
712
+ $lineRate = ($line->getTax() ? $line->getRate() : 0) * 100;
713
+ break;
714
+ }
715
+
716
+ return $lineRate;
717
+ }
718
  }
app/code/community/OnePica/AvaTax/Model/Service/Avatax16/Tax.php CHANGED
@@ -356,19 +356,8 @@ class OnePica_AvaTax_Model_Service_Avatax16_Tax extends OnePica_AvaTax_Model_Ser
356
  $header->setDefaultTaxPayerCode($this->_getVatId($object));
357
  $metadata = array('salesPersonCode' => $this->_getConfigHelper()->getSalesPersonCode($storeId));
358
  $header->setMetadata($metadata);
359
- /** @todo: Remove this code if this field is not required by extesion and Avalara
360
- $header->setVendorCode(self::DEFAULT_VENDOR_CODE); */
361
  $header->setCurrency(Mage::app()->getStore($storeId)->getBaseCurrencyCode());
362
  $header->setDefaultBuyerType($this->_getCalculationHelper()->getCustomerOpAvataxCode($object));
363
- /** @todo: Remove this code if we will not use those properties
364
- $header->setDefaultAvalaraGoodsAndServicesType($this->_getConfigHelper()
365
- ->getDefaultAvalaraGoodsAndServicesType($storeId));
366
- $header->setDefaultAvalaraGoodsAndServicesModifierType($this->_getConfigHelper()
367
- ->getDefaultAvalaraGoodsAndServicesModifierType($storeId));
368
- $header->setDefaultTaxPayerCode($this->_getConfigHelper()->getDefaultTaxPayerCode($storeId));
369
- $header->setDefaultUseType($this->_getConfigHelper()->getDefaultUseType($storeId));
370
- $header->setDefaultBuyerType($this->_getConfigHelper()->getDefaultBuyerType($storeId));
371
- */
372
 
373
  return $header;
374
  }
356
  $header->setDefaultTaxPayerCode($this->_getVatId($object));
357
  $metadata = array('salesPersonCode' => $this->_getConfigHelper()->getSalesPersonCode($storeId));
358
  $header->setMetadata($metadata);
 
 
359
  $header->setCurrency(Mage::app()->getStore($storeId)->getBaseCurrencyCode());
360
  $header->setDefaultBuyerType($this->_getCalculationHelper()->getCustomerOpAvataxCode($object));
 
 
 
 
 
 
 
 
 
361
 
362
  return $header;
363
  }
app/code/community/OnePica/AvaTax/Model/Source/Avatax/DetailLevels.php ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * OnePica_AvaTax
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0), a
8
+ * copy of which is available through the world-wide-web at this URL:
9
+ * http://opensource.org/licenses/osl-3.0.php
10
+ *
11
+ * @category OnePica
12
+ * @package OnePica_AvaTax
13
+ * @author OnePica Codemaster <codemaster@onepica.com>
14
+ * @copyright Copyright (c) 2009 One Pica, Inc.
15
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
16
+ */
17
+
18
+ /**
19
+ * @class OnePica_AvaTax_Model_Source_Avatax_DetailLevels
20
+ * DetailLevels source model
21
+ *
22
+ * @category OnePica
23
+ * @package OnePica_AvaTax
24
+ * @author OnePica Codemaster <codemaster@onepica.com>
25
+ */
26
+ class OnePica_AvaTax_Model_Source_Avatax_DetailLevels
27
+ {
28
+ /**
29
+ * Gets the list of detail levels for the admin config dropdown
30
+ *
31
+ * @return array
32
+ */
33
+ public function toArray()
34
+ {
35
+ return array(
36
+ array(
37
+ 'value' => DetailLevel::$Line,
38
+ 'label' => Mage::helper('avatax')->__('Line')
39
+ ),
40
+ array(
41
+ 'value' => DetailLevel::$Tax,
42
+ 'label' => Mage::helper('avatax')->__('Tax')
43
+ )
44
+ );
45
+ }
46
+ }
app/code/community/OnePica/AvaTax/Model/Source/DetailLevels.php ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * OnePica_AvaTax
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0), a
8
+ * copy of which is available through the world-wide-web at this URL:
9
+ * http://opensource.org/licenses/osl-3.0.php
10
+ *
11
+ * @category OnePica
12
+ * @package OnePica_AvaTax
13
+ * @author OnePica Codemaster <codemaster@onepica.com>
14
+ * @copyright Copyright (c) 2009 One Pica, Inc.
15
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
16
+ */
17
+
18
+ /**
19
+ * DetailLevels source model
20
+ *
21
+ * @category OnePica
22
+ * @package OnePica_AvaTax
23
+ * @author OnePica Codemaster <codemaster@onepica.com>
24
+ */
25
+ class OnePica_AvaTax_Model_Source_DetailLevels
26
+ {
27
+ /**
28
+ * Gets the list of detail levels for the admin config dropdown
29
+ * @return array
30
+ * @throws OnePica_AvaTax_Exception
31
+ */
32
+ public function toOptionArray()
33
+ {
34
+ $activeService = Mage::helper('avatax/config')->getActiveService(Mage::app()->getStore());
35
+ if (!$activeService) {
36
+ throw new OnePica_AvaTax_Exception('Service source model is not defined.');
37
+ }
38
+ $model = Mage::getModel('avatax/source_' . $activeService . '_detailLevels');
39
+ if (!$model) {
40
+ throw new OnePica_AvaTax_Exception('Could not found source model ' . $activeService);
41
+ }
42
+ return $model->toArray();
43
+ }
44
+ }
app/code/community/OnePica/AvaTax/etc/config.xml CHANGED
@@ -19,7 +19,7 @@
19
  <config>
20
  <modules>
21
  <OnePica_AvaTax>
22
- <version>3.4.1.0</version>
23
  </OnePica_AvaTax>
24
  </modules>
25
  <global>
@@ -404,6 +404,7 @@
404
  <region_filter_mode>0</region_filter_mode>
405
  <taxable_country>CA,US</taxable_country>
406
  <address_validation_countries>CA,US</address_validation_countries>
 
407
  <log_status>1</log_status>
408
  <log_lifetime>3</log_lifetime>
409
  <queue_success_lifetime>7</queue_success_lifetime>
19
  <config>
20
  <modules>
21
  <OnePica_AvaTax>
22
+ <version>3.5.0.0</version>
23
  </OnePica_AvaTax>
24
  </modules>
25
  <global>
404
  <region_filter_mode>0</region_filter_mode>
405
  <taxable_country>CA,US</taxable_country>
406
  <address_validation_countries>CA,US</address_validation_countries>
407
+ <detail_level>Line</detail_level>
408
  <log_status>1</log_status>
409
  <log_lifetime>3</log_lifetime>
410
  <queue_success_lifetime>7</queue_success_lifetime>
app/code/community/OnePica/AvaTax/etc/system.xml CHANGED
@@ -122,6 +122,16 @@
122
  </region_filter_mode>
123
  </depends>
124
  </region_filter_list>
 
 
 
 
 
 
 
 
 
 
125
  <title_debug_settings translate="label">
126
  <label><![CDATA[<strong>Log &amp; Queue Settings</strong>]]></label>
127
  <frontend_type>label</frontend_type>
@@ -336,57 +346,10 @@
336
  <show_in_default>1</show_in_default>
337
  <show_in_website>1</show_in_website>
338
  <show_in_store>1</show_in_store>
339
- <depends><upc_check_status>1</upc_check_status></depends>
 
 
340
  </upc_attribute_code>
341
- <!-- TODO: Remove this code if we will not use those properties
342
- <default_avalara_goods_and_services_type translate="label comment">
343
- <label>Default Avalara Goods And Services Type</label>
344
- <comment>Optional.</comment>
345
- <frontend_type>text</frontend_type>
346
- <sort_order>271</sort_order>
347
- <show_in_default>1</show_in_default>
348
- <show_in_website>1</show_in_website>
349
- <show_in_store>1</show_in_store>
350
- </default_avalara_goods_and_services_type>
351
- <default_avalara_goods_and_services_modifier_type translate="label comment">
352
- <label>Default Avalara Goods And Services Modifier Type</label>
353
- <comment>Optional.</comment>
354
- <frontend_type>text</frontend_type>
355
- <sort_order>272</sort_order>
356
- <show_in_default>1</show_in_default>
357
- <show_in_website>1</show_in_website>
358
- <show_in_store>1</show_in_store>
359
- </default_avalara_goods_and_services_modifier_type>
360
- <default_tax_payer_code translate="label comment">
361
- <label>Default Tax Payer Code</label>
362
- <comment>Optional.</comment>
363
- <frontend_type>text</frontend_type>
364
- <sort_order>273</sort_order>
365
- <show_in_default>1</show_in_default>
366
- <show_in_website>1</show_in_website>
367
- <show_in_store>1</show_in_store>
368
- </default_tax_payer_code>
369
- <default_use_type translate="label comment">
370
- <label>Default Use Type</label>
371
- <comment>Optional.</comment>
372
- <frontend_type>select</frontend_type>
373
- <source_model>avatax/source_avatax16_usetype</source_model>
374
- <sort_order>274</sort_order>
375
- <show_in_default>1</show_in_default>
376
- <show_in_website>1</show_in_website>
377
- <show_in_store>1</show_in_store>
378
- </default_use_type>
379
- <default_buyer_type translate="label comment">
380
- <label>Default Buyer Type</label>
381
- <comment>Optional.</comment>
382
- <frontend_type>select</frontend_type>
383
- <source_model>avatax/source_avatax16_buyertype</source_model>
384
- <sort_order>275</sort_order>
385
- <show_in_default>1</show_in_default>
386
- <show_in_website>1</show_in_website>
387
- <show_in_store>1</show_in_store>
388
- </default_buyer_type> -->
389
-
390
  <title_address_validation translate="label">
391
  <label><![CDATA[<strong>Shipping Address Options</strong>]]></label>
392
  <frontend_type>label</frontend_type>
@@ -460,7 +423,7 @@
460
  <show_in_website>1</show_in_website>
461
  <show_in_store>1</show_in_store>
462
  <can_be_empty>1</can_be_empty>
463
- </field_required_list>
464
  <field_rule>
465
  <label>Field Rule</label>
466
  <comment>Example: ' ,-,_'</comment>
122
  </region_filter_mode>
123
  </depends>
124
  </region_filter_list>
125
+ <detail_level translate="label comment">
126
+ <label>Detail level</label>
127
+ <comment><![CDATA[<strong>Line</strong>: product rate will be used from Tax Line<br/><strong>Tax</strong>: product rate will be effective rate and is collected by jurisdiction]]></comment>
128
+ <frontend_type>select</frontend_type>
129
+ <source_model>avatax/source_detailLevels</source_model>
130
+ <sort_order>90</sort_order>
131
+ <show_in_default>1</show_in_default>
132
+ <show_in_website>1</show_in_website>
133
+ <show_in_store>1</show_in_store>
134
+ </detail_level>
135
  <title_debug_settings translate="label">
136
  <label><![CDATA[<strong>Log &amp; Queue Settings</strong>]]></label>
137
  <frontend_type>label</frontend_type>
346
  <show_in_default>1</show_in_default>
347
  <show_in_website>1</show_in_website>
348
  <show_in_store>1</show_in_store>
349
+ <depends>
350
+ <upc_check_status>1</upc_check_status>
351
+ </depends>
352
  </upc_attribute_code>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
353
  <title_address_validation translate="label">
354
  <label><![CDATA[<strong>Shipping Address Options</strong>]]></label>
355
  <frontend_type>label</frontend_type>
423
  <show_in_website>1</show_in_website>
424
  <show_in_store>1</show_in_store>
425
  <can_be_empty>1</can_be_empty>
426
+ </field_required_list>
427
  <field_rule>
428
  <label>Field Rule</label>
429
  <comment>Example: ' ,-,_'</comment>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>OnePica_AvaTax</name>
4
- <version>3.4.1</version>
5
  <stability>stable</stability>
6
  <license>Open Software License (OSL 3.0)</license>
7
  <channel>community</channel>
@@ -18,11 +18,11 @@ Released as a commercial extension, this software will not work unless you have
18
  &#xD;
19
  &#xD;
20
  At One Pica (www.onepica.com), we strive to build increasingly scalable and flexible enterprise systems for all of our clients, large and small. We want to give back to this community both to promote its success and as a sign of our gratitude. Please feel free to contact us on ways we can improve this extension or extend on this framework.</description>
21
- <notes>Implemented tax calculation compatibility with One Step Checkout</notes>
22
- <authors><author><name>Rostyslav Redko</name><user>marketing</user><email>avalara@onepica.com</email></author></authors>
23
- <date>2016-10-27</date>
24
- <time>12:03:43</time>
25
- <contents><target name="magecommunity"><dir name="OnePica"><dir name="AvaTax"><dir name="Block"><dir name="Adminhtml"><dir name="Export"><dir name="Abstract"><file name="Grid.php" hash="5f96ca490c5f7bd3fac23e30b00336e5"/></dir><dir name="Log"><file name="Grid.php" hash="3a87a71f7f51b3247a0717f0b3f8abf0"/><file name="View.php" hash="097d82a3e2b1a8820d335a63f212451b"/></dir><dir name="Queue"><file name="Grid.php" hash="de0f2c029cdc363fb0fe8200505e1824"/></dir></dir><dir name="Notification"><file name="Toolbar.php" hash="26f7e382432289c3ff07647141cf9324"/></dir><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Export.php" hash="3e019b9551b95c71f4cfd67a14d62a27"/></dir></dir></dir></dir><dir name="Tax"><dir name="Class"><dir name="Edit"><file name="Form.php" hash="0e78c592366ee2746f3891cf91a388d3"/></dir><file name="Grid.php" hash="d731eb160457b8a22cfcd28682a1c485"/></dir></dir></dir><dir name="Checkout"><dir name="Onepage"><dir name="Shipping"><dir name="Method"><file name="Available.php" hash="a0bdc5f63955148cf7e755c8803e01de"/></dir></dir></dir></dir><dir name="Widget"><dir name="Grid"><dir name="Column"><dir name="Renderer"><file name="QueueAction.php" hash="69b1820f086c567512a5882ebc8e561d"/></dir></dir></dir></dir></dir><file name="Exception.php" hash="fc752f8da808a402baae2425c4072d22"/><dir name="Helper"><file name="Address.php" hash="1ec273c34d78731b51e7097dfe20ccfb"/><file name="Calculation.php" hash="17b4a371ee3a8c86cf5479f2ce8a485c"/><file name="Config.php" hash="1eab288b2ea30d1b06c7f1ec561493b0"/><file name="Data.php" hash="447fc46dcdc7ff5b97ed69125845f8a3"/><file name="Errors.php" hash="4ec80cc6a1b415585f1f23c5a4cddd22"/><file name="Lib.php" hash="ce05e31b4aba7ba84bfc016df8c2a559"/><file name="RequestFilter.php" hash="6806cce9e1ff8ed7b821c4501ee15499"/><dir name="Tax"><file name="Data.php" hash="ce4688b06cabe61ac43993fc77a175ca"/></dir></dir><dir name="Model"><dir name="Action"><file name="Abstract.php" hash="de2bc126be0cfe69ffe6af60a8307d16"/><file name="Calculator.php" hash="12e4d84914c3635ac5b57612be3d78a0"/><file name="Creditmemo.php" hash="23639271a8fad749a3ee3a13fc8b0b27"/><file name="Invoice.php" hash="20458660bda4a277c0677b1406feb481"/><file name="Ping.php" hash="7e08308fff72493e0cb75b9244551de6"/><file name="Validator.php" hash="f31065c2e6c9c339c538c3326bbef776"/></dir><dir name="Admin"><file name="Session.php" hash="e3dc3353c7eebf4e17c22ea4039585c5"/></dir><dir name="Adminhtml"><file name="Config.php" hash="d1db594cea4853cafc049f324da7457b"/><dir name="Sales"><dir name="Order"><file name="Create.php" hash="2a1b42b629b8da1373e11860c4a2c8c0"/></dir></dir></dir><dir name="Config"><dir name="Backend"><file name="CustomerCodeFormatAttribute.php" hash="db5dd9825eb114f84c0c1a1f7609f8fb"/></dir></dir><dir name="Export"><dir name="Adapter"><file name="Abstract.php" hash="840c8b87acd97646572bba9bb3b8f5ea"/><file name="Sql.php" hash="0e9bedb400f411785311f78ebbf676da"/></dir><dir name="Entity"><file name="Abstract.php" hash="d38a2293452c31e92f81bf5be59c3e1c"/><file name="Log.php" hash="7788a9f5bfa13e39d98c9a9ac72508e2"/><file name="Queue.php" hash="14a97c283aa74f97982ab71160017aa3"/></dir></dir><file name="Export.php" hash="b94613b678b413d6268b07d314ba122e"/><file name="Factory.php" hash="3635cd0ec1ee7ca3844095d228bbf68a"/><dir name="Observer"><file name="Abstract.php" hash="3934e8694b2675e75fdc6b7f3b25d222"/><file name="AdminSystemConfigChangedSectionTax.php" hash="d2d68bef7a9ef50be4c58b4498f81cb1"/><file name="CheckoutSubmitAllAfter.php" hash="4ee09c54a9098b568dac726964d782c0"/><file name="CheckoutTypeMultishippingCreateOrdersSingle.php" hash="eeaffffddd4e2ce387325dfb58381a77"/><file name="CleanLog.php" hash="4043bb0a3df982b756bfb1dfab5d56de"/><file name="ControllerActionLayoutGenerateXmlBefore.php" hash="d533cdc23c1749c87bccdb1e8fd7f947"/><file name="ControllerActionLayoutLoadBefore.php" hash="d2308911f499841ba9c449045b3e4220"/><file name="ControllerActionPostdispatchCheckoutOnepageSaveShippingMethod.php" hash="0b600e585f4b008e457995676019c2b4"/><file name="ControllerActionPredispatchAdminhtmlSalesOrderCreateLoadBlock.php" hash="07ef318adffde6bba762da8300e17324"/><file name="ControllerActionPredispatchCheckoutCartEstimatePost.php" hash="2b2cce8f619488fd795a027b80d20d2a"/><file name="ControllerActionPredispatchCheckoutMultishippingIndex.php" hash="d6d7a1d0272c51f3ec4cacbce8574da3"/><file name="ControllerActionPredispatchCheckoutOnepageIndex.php" hash="01c4280273e34a2f82ed6764792f3568"/><file name="ControllerActionPredispatchCustomerAddressFormPost.php" hash="2fbb23b935a8ebd6c8db63d8f56768ea"/><file name="LoadAvaTaxExternalLib.php" hash="0b10ed2f15ef8202362f4828fad15262"/><file name="MultishippingSetShippingItems.php" hash="b39fa0fb0579f5143d34f159048f39c3"/><file name="ProcessQueue.php" hash="35375793d039f6848e7b2af05e0eef41"/><file name="SalesModelServiceQuoteSubmitAfter.php" hash="6499cfe8e1c9176b12af58c0bce331eb"/><file name="SalesModelServiceQuoteSubmitBefore.php" hash="4e67278a1c20a969f8709237f817b6e0"/><file name="SalesOrderCreditmemoRefund.php" hash="3e9049e39b53ec06b8aa1ab274d1e00d"/><file name="SalesOrderCreditmemoSaveAfter.php" hash="a01af2f4a66912383b772be42fddbdea"/><file name="SalesOrderInvoicePay.php" hash="ac7884c312f986d123912f01346b031a"/><file name="SalesOrderInvoiceSaveAfter.php" hash="00279b77e0a3bbac120b9248d6f9223d"/><file name="SalesQuoteCollectTotalsBefore.php" hash="cb1f85eb3c9564682fcd7fd526c5fd3c"/></dir><dir name="Records"><file name="Log.php" hash="58e639c307610488a609c3aa39c38514"/><dir name="Mysql4"><dir name="Log"><file name="Collection.php" hash="29db8163f4dda862ff822ddffd04554d"/></dir><file name="Log.php" hash="d6fb7997768b7e0f1b39363fd4de5917"/><dir name="Queue"><file name="Collection.php" hash="11bba1561c81f39695f091b94bd81560"/></dir><file name="Queue.php" hash="12ba62949dab080c6dc6ae7fcbbf4838"/></dir><dir name="Queue"><file name="Process.php" hash="2183d01eeaf07f14da0f319c1bbe5e5f"/></dir><file name="Queue.php" hash="2906b0c99e686f2e85169cbd49c8af2e"/></dir><dir name="Sales"><dir name="Quote"><dir name="Address"><dir name="Total"><file name="Tax.php" hash="680493de15a25919bf5ddff14b8a01fb"/></dir></dir><file name="Address.php" hash="45606af7dfaf42cd887ed8cf8a58ab7d"/></dir></dir><dir name="Service"><dir name="Abstract"><file name="Config.php" hash="2b5ebe4312f82b0c13b03db2c261964f"/><file name="Tools.php" hash="0cb22ec9975f1a0a5b7b0eddf2d5111a"/></dir><file name="Abstract.php" hash="29cee53a912adeb0f682bc931972823d"/><dir name="Avatax"><file name="Abstract.php" hash="629fc49a518505a87f1548c3b29ef666"/><file name="Address.php" hash="5f6d2257e4132a436dff7cc0cc08eb67"/><file name="Config.php" hash="25198070b781c8ce632b4f3d3c3b21e0"/><file name="Estimate.php" hash="c6a6dd1fa9a95d61a5af5af13d573a2f"/><file name="Invoice.php" hash="9a20d14ea740751e09e2caa43dc1e22a"/><file name="Ping.php" hash="8dd09babe7e8b206564544b2ace9a661"/><file name="Tax.php" hash="3002e239f7f5a84f3377d288861cf4d2"/></dir><file name="Avatax.php" hash="b6fa49f95a3ab05546bd597689a14ed7"/><dir name="Avatax16"><file name="Abstract.php" hash="36c45dd983b7663019e7c928a7171b93"/><file name="Address.php" hash="8c09fc2da465ad3f0ac4d843ff61a793"/><file name="Config.php" hash="c38ca34431669793d6ee2a9e88d98b19"/><file name="Estimate.php" hash="7926340261d560429ff2dd42ce7c2c83"/><file name="Invoice.php" hash="a2ad0470dbae31d0d93af803dcb23524"/><file name="Ping.php" hash="8278e36dc22b1712b9d1c090ca6fead6"/><file name="Tax.php" hash="84e70803c77a23baaed89de4f2d4ea35"/></dir><file name="Avatax16.php" hash="cd3743c413edb08904781900c0064eaf"/><dir name="Exception"><file name="Address.php" hash="2519f1a2b302db97337c933d99a6d116"/><file name="Commitfailure.php" hash="7f0c5a5bf9242651d2542336d0b4cb96"/><file name="Unbalanced.php" hash="43595e010b314e8a91dd0fef4fad96c2"/></dir><dir name="Result"><file name="Address.php" hash="7a711e27f7f5e478a8a290a1880586f6"/><file name="AddressValidate.php" hash="62d14d7f4147b83001ef7f64726276c1"/><file name="Creditmemo.php" hash="8b1ac1eda1a522c70bca574b938c6359"/><file name="Invoice.php" hash="83f157b7fd24e5e6c0b51f6a162ee316"/></dir></dir><file name="Service.php" hash="40e23f7630a59a0a29dcbb7dec8a1b34"/><file name="Session.php" hash="429142089e75418a702e70edc56374cf"/><dir name="Source"><file name="Actions.php" hash="b5392f0820f15c3159e76ea67148992a"/><file name="Addressvalidation.php" hash="c8430082f4ae4c22c533e586e5652506"/><dir name="Avatax"><file name="Actions.php" hash="c72aa0df9013c6d5c5fddc0c4b4027b0"/><file name="Logtype.php" hash="0bdc9563eeaa30b7c4ae301a79613375"/><file name="Url.php" hash="cff45c6a590360711867112533b068d8"/></dir><dir name="Avatax16"><file name="Actions.php" hash="86b7d4067faad9478f9b61101d0fd6ae"/><file name="Buyertype.php" hash="6b029a7bbacc0eda36ed4fbb6f6e467b"/><file name="Logtype.php" hash="4e3447c8b79faf0ca20e66d9a66d29df"/><file name="Url.php" hash="ef6524ae8f04b9cc63f0f6e8ba4e63ea"/><file name="Usetype.php" hash="107c03d384fb6a8b990e4c16f49fab87"/></dir><file name="Customercodeformat.php" hash="887c5653afc300c6a3b41b5c8462f84b"/><file name="Error.php" hash="7f5495a2f295ded2d0a30f2f7108d009"/><file name="Fieldlist.php" hash="18987603d4d58130959a8ac76716ed08"/><file name="Logmode.php" hash="24d61da578a3b4adb896fea7d4d4d8ec"/><file name="Logtype.php" hash="4ec82151f66b1e265b803aca998bafb5"/><file name="Onerrorfrontend.php" hash="ef4154ae563d8157c1083f20e0adf563"/><dir name="Regionfilter"><file name="List.php" hash="d73ebe7197a2c6cfa45d52775d6f0977"/><file name="Mode.php" hash="2216d28bf9adba614025538cc62a49b6"/></dir><file name="Url.php" hash="794ec57a2b350931f70e95eb6677c253"/></dir><dir name="Tax"><file name="AvaTaxEnabler.php" hash="56f97c681c3d53618ac28b8eba19c7db"/><file name="Calculation.php" hash="8b3ad0ace3967a13364d1475e286b70c"/><file name="Config.php" hash="f30f3801f7d94760121042a6dd85e383"/></dir><dir name="Total"><dir name="Quote"><dir name="Tax"><file name="Giftwrapping.php" hash="7b264455ac9084a751468ef6dbc36fe5"/></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><dir name="AvaTax"><file name="ExportController.php" hash="ead5ebea03db8f885d0ec6114dcb185c"/><file name="GridController.php" hash="f8787bfc9d82c55e0a416643c3dc378b"/></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="aca07ae89478c72fd1d2d41228c28b8e"/><file name="config.xml" hash="c720c94fc9db26eb420b7770819510a5"/><file name="system-avatax16-disabled.xml" hash="b24027def3daab9000047bf7fee41c4f"/><file name="system-avatax16.xml" hash="b5a9543409521633ceec2af4d9c5d1b7"/><file name="system-disabled.xml" hash="bf89784beaef115a1408bd6fa9547b6a"/><file name="system.xml" hash="7d392023488703b72455d8d3b3fdd894"/></dir><dir name="sql"><dir name="avatax_records_setup"><file name="mysql4-data-upgrade-2.2.0-2.2.1.php" hash="260d1c57754ebadba00d8ccdbb0ec996"/><file name="mysql4-install-0.1.0.php" hash="3d16899179b36bfde69609a99a2faae6"/><file name="mysql4-upgrade-0.1.4-0.1.5.php" hash="94d0cf2fc0e9bbe2de2829198ce3026f"/><file name="mysql4-upgrade-1.0.1-2.0.0.php" hash="905d7519328cdb1c46bba4221288c41c"/><file name="mysql4-upgrade-2.5.0.0-2.5.0.1.php" hash="4b439957397049bbe01d458fd7cfe0a2"/><file name="mysql4-upgrade-3.0.0.1-3.0.0.2.php" hash="46caa743f17221575b4a639b262a9275"/><file name="mysql4-upgrade-3.3.0.0-3.3.0.1.php" hash="78e7be6553ac2471ba9279066a431855"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="OnePica_AvaTax.xml" hash="07fd9423811b4dc084060d6131b889d7"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="onepica"><file name="avatax.xml" hash="de338ca651fcce096d089b2bbbcc1374"/></dir></dir><dir name="template"><dir name="onepica"><dir name="avatax"><dir name="log"><file name="view.phtml" hash="df14eee805bbedd484cf500dbf2335ed"/></dir><dir name="notification"><file name="toolbar.phtml" hash="fd368e043843df76ec3a74290b87dc3e"/></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="onepica"><file name="avatax.xml" hash="38c6ce2165f6ccfd6641eb1487faad39"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="de_DE"><file name="OnePica_AvaTax.csv" hash="43d2dee74aee6f15abd471a65b4f407c"/></dir><dir name="en_US"><file name="OnePica_AvaTax.csv" hash="43d2dee74aee6f15abd471a65b4f407c"/></dir><dir name="es_ES"><file name="OnePica_AvaTax.csv" hash="43d2dee74aee6f15abd471a65b4f407c"/></dir><dir name="fr_FR"><file name="OnePica_AvaTax.csv" hash="43d2dee74aee6f15abd471a65b4f407c"/></dir><dir name="nl_NL"><file name="OnePica_AvaTax.csv" hash="43d2dee74aee6f15abd471a65b4f407c"/></dir><dir name="pt_BR"><file name="OnePica_AvaTax.csv" hash="43d2dee74aee6f15abd471a65b4f407c"/></dir><dir name="zh_CN"><file name="OnePica_AvaTax.csv" hash="43d2dee74aee6f15abd471a65b4f407c"/></dir></target><target name="magelib"><dir name="AvaTax"><file name="AvaTax.php" hash="4d841acee4dab29ff39317cea6858e0d"/><dir name="classes"><file name="ATConfig.class.php" hash="4bc7673d3d65e38a2d80b1884e27f301"/><file name="ATObject.class.php" hash="83359fd7639c98449836dc11d08c899d"/><file name="AccountServiceSoap.class.php" hash="7049f00dfb40529e2cf7447f0cd5461e"/><file name="Address.class.php" hash="68bf4fe1306a60e672b7345a0dc7fcc6"/><file name="AddressServiceSoap.class.php" hash="c59bf4a586da207611f7bace4f08c880"/><file name="AddressType.class.php" hash="62c9ff3c533aaf5ad1fd4de95702be40"/><file name="AdjustTaxRequest.class.php" hash="47dbfa8044ca893bf214d8e71ab4864e"/><file name="AdjustTaxResult.class.php" hash="cf63aa5b7c3b52b3ec86695c4cdf0fcc"/><file name="ApplyPaymentRequest.class.php" hash="69d69dff63cbd284d8aea62247142692"/><file name="ApplyPaymentResult.class.php" hash="0e37bda0f1221c2ed2432717a2d8cc08"/><dir name="AvaCert2Svc"><file name="AvaCert2Soap.class.php" hash="0567793d9e4e496b45c3e8a0459f944a"/><file name="Certificate.class.php" hash="dd3f0dd2a2b03c97552f9dbd5c6463ba"/><file name="CertificateGetRequest.class.php" hash="4c11fd111cab99fa4dbc2c2250e0f3ad"/><file name="CertificateGetResult.class.php" hash="6a95a06e71bd13839c6142bba08bfba5"/><file name="CertificateImageGetRequest.class.php" hash="32f61011abe3d1c74ea7fc209e3e4224"/><file name="CertificateImageGetResult.class.php" hash="beda0f1fd54951b84b7dd77ead92bda3"/><file name="CertificateJurisdiction.class.php" hash="e666d572fb34d17fcd91127a50616195"/><file name="CertificateRequest.class.php" hash="7b76dc3675e507975ae6cf01abfa6059"/><file name="CertificateRequestGetRequest.class.php" hash="0cf2fafae88f795a754d75291947cb56"/><file name="CertificateRequestGetResult.class.php" hash="eceffe3acec787506649669b1b5edcf7"/><file name="CertificateRequestInitiateRequest.class.php" hash="148a5c4c881c885be863f403582b4974"/><file name="CertificateRequestInitiateResult.class.php" hash="a7a55cb398cd2fb9f0e11b8c6b09498d"/><file name="CertificateRequestStage.class.php" hash="92dec7da28f83f1a419d9573e6cec1fa"/><file name="CertificateRequestStatus.class.php" hash="a5d5c1629ce4f5ee0c18a8924204ca22"/><file name="CertificateStatus.class.php" hash="6ae43ab57ae9df37d07ac4203270c25e"/><file name="CertificateUsage.class.php" hash="bad34570daa7679b267f1288bf0a371f"/><file name="CommunicationMode.class.php" hash="71d2743c1d2afffe11d2903e89ff9c0e"/><file name="Customer.class.php" hash="e9f13f38f75cb4e1b845c55e6f26a5ab"/><file name="CustomerSaveRequest.class.php" hash="58ff71b04bb3a308b7f0199c6fae1e56"/><file name="CustomerSaveResult.class.php" hash="98cf79bdb7c0558963670b21e66b7d85"/><file name="FormatType.class.php" hash="714d183d3d365a07ef606d1211c732b0"/><file name="RequestType.class.php" hash="6144c2731baaf67400ea34e50440c1df"/><file name="ReviewStatus.class.php" hash="0dd208ecbf6b45196f51f304b1d48b03"/></dir><file name="AvalaraSoapClient.class.php" hash="dd605cefabb4396ef1b46b6d23b439b5"/><file name="BaseResult.class.php" hash="b672ec2ce2c6b5cf5cce7ce733aff482"/><dir name="BatchSvc"><file name="AuditMessage.class.php" hash="798d8169506357af02e6912b4bca9148"/><file name="AvaTaxBatchSvc.php" hash="8d65fd4a02cd4fc1104aa9c24b35e4fb"/><file name="BaseResult.class.php" hash="727ef623b821e95a73cf6d1eda891379"/><file name="Batch.class.php" hash="c028822bcf2a4f1fae6fc7dca76f247a"/><file name="BatchDelete.class.php" hash="0bcff09309ccad969d65c2d27fa63dda"/><file name="BatchDeleteResponse.class.php" hash="46afd464673459efb54ccaf509d37eef"/><file name="BatchFetch.class.php" hash="74f96ecc3c2df87271d60c4c969e43f8"/><file name="BatchFetchResponse.class.php" hash="b2acf63deea2c0fd374f80745b60fef5"/><file name="BatchFetchResult.class.php" hash="83d8de067f4bd59acafe4cd065f90163"/><file name="BatchFile.class.php" hash="65cee20383c8040fac1d4c45bbe757dd"/><file name="BatchFileDelete.class.php" hash="01d0bc10cb0ada43a9a00ca0efffef17"/><file name="BatchFileDeleteResponse.class.php" hash="b4e7881d26b7071303650973144f418b"/><file name="BatchFileFetch.class.php" hash="c5e91b8073fb756545d0f74803fdf3d6"/><file name="BatchFileFetchResponse.class.php" hash="c37ce819a975cdae5e7a82432b4b2334"/><file name="BatchFileFetchResult.class.php" hash="6bc54523d34356a83cdc4ecd2f696ea5"/><file name="BatchFileSave.class.php" hash="8434b0ffdd1fba4991535248ee3d618e"/><file name="BatchFileSaveResponse.class.php" hash="d52f79b42467b59f2177359f8a73cd3a"/><file name="BatchFileSaveResult.class.php" hash="19d3a2f20ccc42e80759b280842cf03c"/><file name="BatchProcess.class.php" hash="44d9efe13d01fce15bd444e5729b320c"/><file name="BatchProcessRequest.class.php" hash="04684b987c6d77319cc6881941091de9"/><file name="BatchProcessResponse.class.php" hash="c22b08c125eefc4006495c55984ed91e"/><file name="BatchProcessResult.class.php" hash="f9cac2270aafae49fc0892ea729c3713"/><file name="BatchSave.class.php" hash="d3a397348b905d49a0c91be780f3ec04"/><file name="BatchSaveResponse.class.php" hash="4c3088b85590fd697b5686aa1dddd89e"/><file name="BatchSaveResult.class.php" hash="7ea7fe3dc7d580711f6b52d991c43dce"/><file name="BatchSvc.class.php" hash="fa903f70b06d1e3b86384f2b6fb60616"/><file name="DeleteRequest.class.php" hash="43f945ef1e59ef02494df6df6ec3d1b6"/><file name="DeleteResult.class.php" hash="f7d64582f1182ae0337d6d84a5f60e8d"/><file name="FetchRequest.class.php" hash="7271317a8909672261ea0e00867e810b"/><file name="FilterRequest.class.php" hash="3c1eaec68f84531931a3cd6143533576"/><file name="FilterResult.class.php" hash="f4c0eeac0153b735ec589fcff7accd86"/><file name="IsAuthorized.class.php" hash="8339a2b249d954efaaf64f10665976fc"/><file name="IsAuthorizedResponse.class.php" hash="613c91f36370dc38ca07b83a29f2a45f"/><file name="IsAuthorizedResult.class.php" hash="65f9665508a5e7f33e4aee2835a9806e"/><file name="Message.class.php" hash="576327c8d9cd74bd96d9ccd62a2daa5b"/><file name="Ping.class.php" hash="3a2246f5557a5279fa260c65b36a9b44"/><file name="PingResponse.class.php" hash="b9f5e8b43382ee605d93768db8af1805"/><file name="PingResult.class.php" hash="2e05acfe74aad28003ad7d8ed102c3c6"/><file name="Profile.class.php" hash="a16a4819018dd8510ddab8feb9ee0f7e"/><file name="SeverityLevel.class.php" hash="5736530f3b5fd0cd932c783418563647"/></dir><file name="BoundaryLevel.class.php" hash="e9c2f2e3173e44fa8351f2a6dbb578fe"/><file name="CancelCode.class.php" hash="fd0b8ad2865e8fcf622b1faafc677527"/><file name="CancelTaxRequest.class.php" hash="08a114e32ec9eda9268ec337f79cb86f"/><file name="CancelTaxResult.class.php" hash="687be65bab85e6c6e8f99764c0475d9b"/><file name="CommitTaxRequest.class.php" hash="66ef55bc094d233b75e36b029995aed7"/><file name="CommitTaxResult.class.php" hash="ef90276817207e63e4e96ea518618f50"/><file name="DetailLevel.class.php" hash="2439f7137a4f9f52e28a6b321c4bcf16"/><file name="DocStatus.class.php" hash="9e3384a0f2ace05fa67fe05eba295fcd"/><file name="DocumentType.class.php" hash="0578e29121cb747e1e80a269eedd4b5a"/><file name="DynamicSoapClient.class.php" hash="5bb36f2d4db3955ae059488eb9511ca9"/><file name="Enum.class.php" hash="d3ff4c898aff49f3c425042433826257"/><file name="GetTaxHistoryRequest.class.php" hash="3ed4c54de1e015f476ce7aa58c802468"/><file name="GetTaxHistoryResult.class.php" hash="7e8209e1f64df52b538927312b1bd934"/><file name="GetTaxRequest.class.php" hash="7267cb5676ecbcbbb0b73c587b082b57"/><file name="GetTaxResult.class.php" hash="7e2b7415a018fd76b62ab49637833533"/><file name="IsAuthorizedResult.class.php" hash="58164457677a61e93309f788fe61dc0c"/><file name="JurisdictionType.class.php" hash="a345fe5db379af87a6f7ec833ff86586"/><file name="Line.class.php" hash="7fefbd0230ee2fe8a8e6468abf338b80"/><file name="Message.class.php" hash="073be6cbcccacf2d1d55a04c045eab63"/><file name="PingResult.class.php" hash="18f88589588f08b619488c926cf5547c"/><file name="PostTaxRequest.class.php" hash="be8ea4ee2fddb10b62cb1be7e38179e3"/><file name="PostTaxResult.class.php" hash="bf2ee0b1293301ee00ac9b8b8390e780"/><file name="ReconcileTaxHistoryRequest.class.php" hash="41f2cfe04495612a9c293b1bc19220ce"/><file name="ReconcileTaxHistoryResult.class.php" hash="dd20684e0e017f56c98e29297180a0d7"/><file name="SearchTaxHistoryResult.class.php" hash="e3171e00482f7c2c0ed9753ffd05cd14"/><file name="ServiceMode.class.php" hash="0c66b3e25f4466461cebf32735e207e0"/><file name="SeverityLevel.class.php" hash="68fc81e651fe7f01c81b43b0d28ff0dc"/><file name="TaxDetail.class.php" hash="56065f8ea68505152b23e41238b80dfb"/><file name="TaxLine.class.php" hash="05376f01ad9a14f438ad0f1d5d423b61"/><file name="TaxOverride.class.php" hash="94d28efa3cdf58a87ba45a313ce93fc7"/><file name="TaxOverrideType.class.php" hash="d23f90c9ac639954c8fcee57ba763b21"/><file name="TaxRequest.class.php" hash="7339016da0c3cbe51843767987e7fbed"/><file name="TaxServiceSoap.class.php" hash="bc7e4eb0e66dd1bd956e19e0da337171"/><file name="TaxType.class.php" hash="ee87ecc8721076f0cda67fe1cc5b0db7"/><file name="TextCase.class.php" hash="8fb2eccc49eacdc1a4f5624c0716a750"/><file name="ValidAddress.class.php" hash="2f8eebcd379208198cd38632f1e34b0a"/><file name="ValidateRequest.class.php" hash="98faedd50b2f4ea7ffb9d53ab1ca116c"/><file name="ValidateResult.class.php" hash="23de6a26defed9324ddcdcedfd2228bf"/><dir name="wsdl"><file name="Account.wsdl" hash="1635751a852ff5c036e4522381101680"/><file name="Address.wsdl" hash="0650cb8f516bec67e57eb7fa05ee6433"/><file name="AvaCert2Svc.wsdl" hash="9ca666be9851884f3e7fc9e28dc08f4a"/><file name="AvaCertSvc.wsdl" hash="7fb2b12cfe320462cf094225454f0d6c"/><file name="BatchSvc.wsdl" hash="639d2913500639145d95ee8e1166e08f"/><file name="Tax.wsdl" hash="76e1ff6c041d12da77a4632f376422ed"/></dir></dir><file name="functions.php" hash="57734d162b59cbc65933d25bf3950270"/></dir></target></contents>
26
  <compatible/>
27
  <dependencies><required><php><min>5.2.3</min><max>6.0.0</max></php><extension><name>Core</name><min/><max/></extension><extension><name>curl</name><min/><max/></extension><extension><name>soap</name><min/><max/></extension></required></dependencies>
28
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>OnePica_AvaTax</name>
4
+ <version>3.5.0</version>
5
  <stability>stable</stability>
6
  <license>Open Software License (OSL 3.0)</license>
7
  <channel>community</channel>
18
  &#xD;
19
  &#xD;
20
  At One Pica (www.onepica.com), we strive to build increasingly scalable and flexible enterprise systems for all of our clients, large and small. We want to give back to this community both to promote its success and as a sign of our gratitude. Please feel free to contact us on ways we can improve this extension or extend on this framework.</description>
21
+ <notes>Implemented effective tax rate feature</notes>
22
+ <authors><author><name>Astound Commerce</name><user>marketing</user><email>avalara-support@astoundcommerce.com</email></author></authors>
23
+ <date>2017-02-01</date>
24
+ <time>14:43:02</time>
25
+ <contents><target name="magecommunity"><dir name="OnePica"><dir name="AvaTax"><dir name="Block"><dir name="Adminhtml"><dir name="Export"><dir name="Abstract"><file name="Grid.php" hash="5f96ca490c5f7bd3fac23e30b00336e5"/></dir><dir name="Log"><file name="Grid.php" hash="3a87a71f7f51b3247a0717f0b3f8abf0"/><file name="View.php" hash="097d82a3e2b1a8820d335a63f212451b"/></dir><dir name="Queue"><file name="Grid.php" hash="de0f2c029cdc363fb0fe8200505e1824"/></dir></dir><dir name="Notification"><file name="Toolbar.php" hash="26f7e382432289c3ff07647141cf9324"/></dir><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Export.php" hash="3e019b9551b95c71f4cfd67a14d62a27"/></dir></dir></dir></dir><dir name="Tax"><dir name="Class"><dir name="Edit"><file name="Form.php" hash="0e78c592366ee2746f3891cf91a388d3"/></dir><file name="Grid.php" hash="d731eb160457b8a22cfcd28682a1c485"/></dir></dir></dir><dir name="Checkout"><dir name="Onepage"><dir name="Shipping"><dir name="Method"><file name="Available.php" hash="a0bdc5f63955148cf7e755c8803e01de"/></dir></dir></dir></dir><dir name="Widget"><dir name="Grid"><dir name="Column"><dir name="Renderer"><file name="QueueAction.php" hash="69b1820f086c567512a5882ebc8e561d"/></dir></dir></dir></dir></dir><file name="Exception.php" hash="fc752f8da808a402baae2425c4072d22"/><dir name="Helper"><file name="Address.php" hash="1ec273c34d78731b51e7097dfe20ccfb"/><file name="Calculation.php" hash="17b4a371ee3a8c86cf5479f2ce8a485c"/><file name="Config.php" hash="d8d8cad53d5d5e558c19645b53886bdf"/><file name="Data.php" hash="447fc46dcdc7ff5b97ed69125845f8a3"/><file name="Errors.php" hash="4ec80cc6a1b415585f1f23c5a4cddd22"/><file name="Lib.php" hash="ce05e31b4aba7ba84bfc016df8c2a559"/><file name="RequestFilter.php" hash="6806cce9e1ff8ed7b821c4501ee15499"/><dir name="Tax"><file name="Data.php" hash="ce4688b06cabe61ac43993fc77a175ca"/></dir></dir><dir name="Model"><dir name="Action"><file name="Abstract.php" hash="de2bc126be0cfe69ffe6af60a8307d16"/><file name="Calculator.php" hash="12e4d84914c3635ac5b57612be3d78a0"/><file name="Creditmemo.php" hash="23639271a8fad749a3ee3a13fc8b0b27"/><file name="Invoice.php" hash="20458660bda4a277c0677b1406feb481"/><file name="Ping.php" hash="7e08308fff72493e0cb75b9244551de6"/><file name="Validator.php" hash="f31065c2e6c9c339c538c3326bbef776"/></dir><dir name="Admin"><file name="Session.php" hash="e3dc3353c7eebf4e17c22ea4039585c5"/></dir><dir name="Adminhtml"><file name="Config.php" hash="d1db594cea4853cafc049f324da7457b"/><dir name="Sales"><dir name="Order"><file name="Create.php" hash="2a1b42b629b8da1373e11860c4a2c8c0"/></dir></dir></dir><dir name="Config"><dir name="Backend"><file name="CustomerCodeFormatAttribute.php" hash="db5dd9825eb114f84c0c1a1f7609f8fb"/></dir></dir><dir name="Export"><dir name="Adapter"><file name="Abstract.php" hash="840c8b87acd97646572bba9bb3b8f5ea"/><file name="Sql.php" hash="0e9bedb400f411785311f78ebbf676da"/></dir><dir name="Entity"><file name="Abstract.php" hash="d38a2293452c31e92f81bf5be59c3e1c"/><file name="Log.php" hash="7788a9f5bfa13e39d98c9a9ac72508e2"/><file name="Queue.php" hash="14a97c283aa74f97982ab71160017aa3"/></dir></dir><file name="Export.php" hash="b94613b678b413d6268b07d314ba122e"/><file name="Factory.php" hash="3635cd0ec1ee7ca3844095d228bbf68a"/><dir name="Observer"><file name="Abstract.php" hash="3934e8694b2675e75fdc6b7f3b25d222"/><file name="AdminSystemConfigChangedSectionTax.php" hash="d2d68bef7a9ef50be4c58b4498f81cb1"/><file name="CheckoutSubmitAllAfter.php" hash="4ee09c54a9098b568dac726964d782c0"/><file name="CheckoutTypeMultishippingCreateOrdersSingle.php" hash="eeaffffddd4e2ce387325dfb58381a77"/><file name="CleanLog.php" hash="4043bb0a3df982b756bfb1dfab5d56de"/><file name="ControllerActionLayoutGenerateXmlBefore.php" hash="d533cdc23c1749c87bccdb1e8fd7f947"/><file name="ControllerActionLayoutLoadBefore.php" hash="d2308911f499841ba9c449045b3e4220"/><file name="ControllerActionPostdispatchCheckoutOnepageSaveShippingMethod.php" hash="0b600e585f4b008e457995676019c2b4"/><file name="ControllerActionPredispatchAdminhtmlSalesOrderCreateLoadBlock.php" hash="07ef318adffde6bba762da8300e17324"/><file name="ControllerActionPredispatchCheckoutCartEstimatePost.php" hash="2b2cce8f619488fd795a027b80d20d2a"/><file name="ControllerActionPredispatchCheckoutMultishippingIndex.php" hash="d6d7a1d0272c51f3ec4cacbce8574da3"/><file name="ControllerActionPredispatchCheckoutOnepageIndex.php" hash="01c4280273e34a2f82ed6764792f3568"/><file name="ControllerActionPredispatchCustomerAddressFormPost.php" hash="2fbb23b935a8ebd6c8db63d8f56768ea"/><file name="LoadAvaTaxExternalLib.php" hash="0b10ed2f15ef8202362f4828fad15262"/><file name="MultishippingSetShippingItems.php" hash="b39fa0fb0579f5143d34f159048f39c3"/><file name="ProcessQueue.php" hash="35375793d039f6848e7b2af05e0eef41"/><file name="SalesModelServiceQuoteSubmitAfter.php" hash="6499cfe8e1c9176b12af58c0bce331eb"/><file name="SalesModelServiceQuoteSubmitBefore.php" hash="4e67278a1c20a969f8709237f817b6e0"/><file name="SalesOrderCreditmemoRefund.php" hash="3e9049e39b53ec06b8aa1ab274d1e00d"/><file name="SalesOrderCreditmemoSaveAfter.php" hash="a01af2f4a66912383b772be42fddbdea"/><file name="SalesOrderInvoicePay.php" hash="ac7884c312f986d123912f01346b031a"/><file name="SalesOrderInvoiceSaveAfter.php" hash="00279b77e0a3bbac120b9248d6f9223d"/><file name="SalesQuoteCollectTotalsBefore.php" hash="cb1f85eb3c9564682fcd7fd526c5fd3c"/></dir><dir name="Records"><file name="Log.php" hash="58e639c307610488a609c3aa39c38514"/><dir name="Mysql4"><dir name="Log"><file name="Collection.php" hash="29db8163f4dda862ff822ddffd04554d"/></dir><file name="Log.php" hash="d6fb7997768b7e0f1b39363fd4de5917"/><dir name="Queue"><file name="Collection.php" hash="11bba1561c81f39695f091b94bd81560"/></dir><file name="Queue.php" hash="12ba62949dab080c6dc6ae7fcbbf4838"/></dir><dir name="Queue"><file name="Process.php" hash="2183d01eeaf07f14da0f319c1bbe5e5f"/></dir><file name="Queue.php" hash="2906b0c99e686f2e85169cbd49c8af2e"/></dir><dir name="Sales"><dir name="Quote"><dir name="Address"><dir name="Total"><file name="Tax.php" hash="680493de15a25919bf5ddff14b8a01fb"/></dir></dir><file name="Address.php" hash="45606af7dfaf42cd887ed8cf8a58ab7d"/></dir></dir><dir name="Service"><dir name="Abstract"><file name="Config.php" hash="33b87c9f6c2d6f7060318d2d625f4167"/><file name="Tools.php" hash="0cb22ec9975f1a0a5b7b0eddf2d5111a"/></dir><file name="Abstract.php" hash="29cee53a912adeb0f682bc931972823d"/><dir name="Avatax"><file name="Abstract.php" hash="629fc49a518505a87f1548c3b29ef666"/><file name="Address.php" hash="5f6d2257e4132a436dff7cc0cc08eb67"/><file name="Config.php" hash="8cd5c6c03bb74569d0b66ff797870140"/><file name="Estimate.php" hash="d9ed155737e93fafe6024e38b52decad"/><file name="Invoice.php" hash="9a20d14ea740751e09e2caa43dc1e22a"/><file name="Ping.php" hash="8dd09babe7e8b206564544b2ace9a661"/><file name="Tax.php" hash="3002e239f7f5a84f3377d288861cf4d2"/></dir><file name="Avatax.php" hash="b6fa49f95a3ab05546bd597689a14ed7"/><dir name="Avatax16"><file name="Abstract.php" hash="36c45dd983b7663019e7c928a7171b93"/><file name="Address.php" hash="8c09fc2da465ad3f0ac4d843ff61a793"/><file name="Config.php" hash="c38ca34431669793d6ee2a9e88d98b19"/><file name="Estimate.php" hash="7926340261d560429ff2dd42ce7c2c83"/><file name="Invoice.php" hash="a2ad0470dbae31d0d93af803dcb23524"/><file name="Ping.php" hash="8278e36dc22b1712b9d1c090ca6fead6"/><file name="Tax.php" hash="4b7ece3dd0cec1f1ac23617180205b30"/></dir><file name="Avatax16.php" hash="cd3743c413edb08904781900c0064eaf"/><dir name="Exception"><file name="Address.php" hash="2519f1a2b302db97337c933d99a6d116"/><file name="Commitfailure.php" hash="7f0c5a5bf9242651d2542336d0b4cb96"/><file name="Unbalanced.php" hash="43595e010b314e8a91dd0fef4fad96c2"/></dir><dir name="Result"><file name="Address.php" hash="7a711e27f7f5e478a8a290a1880586f6"/><file name="AddressValidate.php" hash="62d14d7f4147b83001ef7f64726276c1"/><file name="Creditmemo.php" hash="8b1ac1eda1a522c70bca574b938c6359"/><file name="Invoice.php" hash="83f157b7fd24e5e6c0b51f6a162ee316"/></dir></dir><file name="Service.php" hash="40e23f7630a59a0a29dcbb7dec8a1b34"/><file name="Session.php" hash="429142089e75418a702e70edc56374cf"/><dir name="Source"><file name="Actions.php" hash="b5392f0820f15c3159e76ea67148992a"/><file name="Addressvalidation.php" hash="c8430082f4ae4c22c533e586e5652506"/><dir name="Avatax"><file name="Actions.php" hash="c72aa0df9013c6d5c5fddc0c4b4027b0"/><file name="DetailLevels.php" hash="1799c7b212c4036093e99e72f9c483a7"/><file name="Logtype.php" hash="0bdc9563eeaa30b7c4ae301a79613375"/><file name="Url.php" hash="cff45c6a590360711867112533b068d8"/></dir><dir name="Avatax16"><file name="Actions.php" hash="86b7d4067faad9478f9b61101d0fd6ae"/><file name="Buyertype.php" hash="6b029a7bbacc0eda36ed4fbb6f6e467b"/><file name="Logtype.php" hash="4e3447c8b79faf0ca20e66d9a66d29df"/><file name="Url.php" hash="ef6524ae8f04b9cc63f0f6e8ba4e63ea"/><file name="Usetype.php" hash="107c03d384fb6a8b990e4c16f49fab87"/></dir><file name="Customercodeformat.php" hash="887c5653afc300c6a3b41b5c8462f84b"/><file name="DetailLevels.php" hash="32acdb925938d31e535c1d9658a4382d"/><file name="Error.php" hash="7f5495a2f295ded2d0a30f2f7108d009"/><file name="Fieldlist.php" hash="18987603d4d58130959a8ac76716ed08"/><file name="Logmode.php" hash="24d61da578a3b4adb896fea7d4d4d8ec"/><file name="Logtype.php" hash="4ec82151f66b1e265b803aca998bafb5"/><file name="Onerrorfrontend.php" hash="ef4154ae563d8157c1083f20e0adf563"/><dir name="Regionfilter"><file name="List.php" hash="d73ebe7197a2c6cfa45d52775d6f0977"/><file name="Mode.php" hash="2216d28bf9adba614025538cc62a49b6"/></dir><file name="Url.php" hash="794ec57a2b350931f70e95eb6677c253"/></dir><dir name="Tax"><file name="AvaTaxEnabler.php" hash="56f97c681c3d53618ac28b8eba19c7db"/><file name="Calculation.php" hash="8b3ad0ace3967a13364d1475e286b70c"/><file name="Config.php" hash="f30f3801f7d94760121042a6dd85e383"/></dir><dir name="Total"><dir name="Quote"><dir name="Tax"><file name="Giftwrapping.php" hash="7b264455ac9084a751468ef6dbc36fe5"/></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><dir name="AvaTax"><file name="ExportController.php" hash="ead5ebea03db8f885d0ec6114dcb185c"/><file name="GridController.php" hash="f8787bfc9d82c55e0a416643c3dc378b"/></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="aca07ae89478c72fd1d2d41228c28b8e"/><file name="config.xml" hash="2dd50fc85e121ea36add05d0c36690a8"/><file name="system-avatax16-disabled.xml" hash="b24027def3daab9000047bf7fee41c4f"/><file name="system-avatax16.xml" hash="b5a9543409521633ceec2af4d9c5d1b7"/><file name="system-disabled.xml" hash="bf89784beaef115a1408bd6fa9547b6a"/><file name="system.xml" hash="314b9bad8988d42188aafb186066a8f2"/></dir><dir name="sql"><dir name="avatax_records_setup"><file name="mysql4-data-upgrade-2.2.0-2.2.1.php" hash="260d1c57754ebadba00d8ccdbb0ec996"/><file name="mysql4-install-0.1.0.php" hash="3d16899179b36bfde69609a99a2faae6"/><file name="mysql4-upgrade-0.1.4-0.1.5.php" hash="94d0cf2fc0e9bbe2de2829198ce3026f"/><file name="mysql4-upgrade-1.0.1-2.0.0.php" hash="905d7519328cdb1c46bba4221288c41c"/><file name="mysql4-upgrade-2.5.0.0-2.5.0.1.php" hash="4b439957397049bbe01d458fd7cfe0a2"/><file name="mysql4-upgrade-3.0.0.1-3.0.0.2.php" hash="46caa743f17221575b4a639b262a9275"/><file name="mysql4-upgrade-3.3.0.0-3.3.0.1.php" hash="78e7be6553ac2471ba9279066a431855"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="OnePica_AvaTax.xml" hash="07fd9423811b4dc084060d6131b889d7"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="onepica"><file name="avatax.xml" hash="de338ca651fcce096d089b2bbbcc1374"/></dir></dir><dir name="template"><dir name="onepica"><dir name="avatax"><dir name="log"><file name="view.phtml" hash="df14eee805bbedd484cf500dbf2335ed"/></dir><dir name="notification"><file name="toolbar.phtml" hash="fd368e043843df76ec3a74290b87dc3e"/></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="onepica"><file name="avatax.xml" hash="38c6ce2165f6ccfd6641eb1487faad39"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="de_DE"><file name="OnePica_AvaTax.csv" hash="43d2dee74aee6f15abd471a65b4f407c"/></dir><dir name="en_US"><file name="OnePica_AvaTax.csv" hash="43d2dee74aee6f15abd471a65b4f407c"/></dir><dir name="es_ES"><file name="OnePica_AvaTax.csv" hash="43d2dee74aee6f15abd471a65b4f407c"/></dir><dir name="fr_FR"><file name="OnePica_AvaTax.csv" hash="43d2dee74aee6f15abd471a65b4f407c"/></dir><dir name="nl_NL"><file name="OnePica_AvaTax.csv" hash="43d2dee74aee6f15abd471a65b4f407c"/></dir><dir name="pt_BR"><file name="OnePica_AvaTax.csv" hash="43d2dee74aee6f15abd471a65b4f407c"/></dir><dir name="zh_CN"><file name="OnePica_AvaTax.csv" hash="43d2dee74aee6f15abd471a65b4f407c"/></dir></target><target name="magelib"><dir name="AvaTax"><file name="AvaTax.php" hash="4d841acee4dab29ff39317cea6858e0d"/><dir name="classes"><file name="ATConfig.class.php" hash="4bc7673d3d65e38a2d80b1884e27f301"/><file name="ATObject.class.php" hash="83359fd7639c98449836dc11d08c899d"/><file name="AccountServiceSoap.class.php" hash="7049f00dfb40529e2cf7447f0cd5461e"/><file name="Address.class.php" hash="68bf4fe1306a60e672b7345a0dc7fcc6"/><file name="AddressServiceSoap.class.php" hash="c59bf4a586da207611f7bace4f08c880"/><file name="AddressType.class.php" hash="62c9ff3c533aaf5ad1fd4de95702be40"/><file name="AdjustTaxRequest.class.php" hash="47dbfa8044ca893bf214d8e71ab4864e"/><file name="AdjustTaxResult.class.php" hash="cf63aa5b7c3b52b3ec86695c4cdf0fcc"/><file name="ApplyPaymentRequest.class.php" hash="69d69dff63cbd284d8aea62247142692"/><file name="ApplyPaymentResult.class.php" hash="0e37bda0f1221c2ed2432717a2d8cc08"/><dir name="AvaCert2Svc"><file name="AvaCert2Soap.class.php" hash="0567793d9e4e496b45c3e8a0459f944a"/><file name="Certificate.class.php" hash="dd3f0dd2a2b03c97552f9dbd5c6463ba"/><file name="CertificateGetRequest.class.php" hash="4c11fd111cab99fa4dbc2c2250e0f3ad"/><file name="CertificateGetResult.class.php" hash="6a95a06e71bd13839c6142bba08bfba5"/><file name="CertificateImageGetRequest.class.php" hash="32f61011abe3d1c74ea7fc209e3e4224"/><file name="CertificateImageGetResult.class.php" hash="beda0f1fd54951b84b7dd77ead92bda3"/><file name="CertificateJurisdiction.class.php" hash="e666d572fb34d17fcd91127a50616195"/><file name="CertificateRequest.class.php" hash="7b76dc3675e507975ae6cf01abfa6059"/><file name="CertificateRequestGetRequest.class.php" hash="0cf2fafae88f795a754d75291947cb56"/><file name="CertificateRequestGetResult.class.php" hash="eceffe3acec787506649669b1b5edcf7"/><file name="CertificateRequestInitiateRequest.class.php" hash="148a5c4c881c885be863f403582b4974"/><file name="CertificateRequestInitiateResult.class.php" hash="a7a55cb398cd2fb9f0e11b8c6b09498d"/><file name="CertificateRequestStage.class.php" hash="92dec7da28f83f1a419d9573e6cec1fa"/><file name="CertificateRequestStatus.class.php" hash="a5d5c1629ce4f5ee0c18a8924204ca22"/><file name="CertificateStatus.class.php" hash="6ae43ab57ae9df37d07ac4203270c25e"/><file name="CertificateUsage.class.php" hash="bad34570daa7679b267f1288bf0a371f"/><file name="CommunicationMode.class.php" hash="71d2743c1d2afffe11d2903e89ff9c0e"/><file name="Customer.class.php" hash="e9f13f38f75cb4e1b845c55e6f26a5ab"/><file name="CustomerSaveRequest.class.php" hash="58ff71b04bb3a308b7f0199c6fae1e56"/><file name="CustomerSaveResult.class.php" hash="98cf79bdb7c0558963670b21e66b7d85"/><file name="FormatType.class.php" hash="714d183d3d365a07ef606d1211c732b0"/><file name="RequestType.class.php" hash="6144c2731baaf67400ea34e50440c1df"/><file name="ReviewStatus.class.php" hash="0dd208ecbf6b45196f51f304b1d48b03"/></dir><file name="AvalaraSoapClient.class.php" hash="dd605cefabb4396ef1b46b6d23b439b5"/><file name="BaseResult.class.php" hash="b672ec2ce2c6b5cf5cce7ce733aff482"/><dir name="BatchSvc"><file name="AuditMessage.class.php" hash="798d8169506357af02e6912b4bca9148"/><file name="AvaTaxBatchSvc.php" hash="8d65fd4a02cd4fc1104aa9c24b35e4fb"/><file name="BaseResult.class.php" hash="727ef623b821e95a73cf6d1eda891379"/><file name="Batch.class.php" hash="c028822bcf2a4f1fae6fc7dca76f247a"/><file name="BatchDelete.class.php" hash="0bcff09309ccad969d65c2d27fa63dda"/><file name="BatchDeleteResponse.class.php" hash="46afd464673459efb54ccaf509d37eef"/><file name="BatchFetch.class.php" hash="74f96ecc3c2df87271d60c4c969e43f8"/><file name="BatchFetchResponse.class.php" hash="b2acf63deea2c0fd374f80745b60fef5"/><file name="BatchFetchResult.class.php" hash="83d8de067f4bd59acafe4cd065f90163"/><file name="BatchFile.class.php" hash="65cee20383c8040fac1d4c45bbe757dd"/><file name="BatchFileDelete.class.php" hash="01d0bc10cb0ada43a9a00ca0efffef17"/><file name="BatchFileDeleteResponse.class.php" hash="b4e7881d26b7071303650973144f418b"/><file name="BatchFileFetch.class.php" hash="c5e91b8073fb756545d0f74803fdf3d6"/><file name="BatchFileFetchResponse.class.php" hash="c37ce819a975cdae5e7a82432b4b2334"/><file name="BatchFileFetchResult.class.php" hash="6bc54523d34356a83cdc4ecd2f696ea5"/><file name="BatchFileSave.class.php" hash="8434b0ffdd1fba4991535248ee3d618e"/><file name="BatchFileSaveResponse.class.php" hash="d52f79b42467b59f2177359f8a73cd3a"/><file name="BatchFileSaveResult.class.php" hash="19d3a2f20ccc42e80759b280842cf03c"/><file name="BatchProcess.class.php" hash="44d9efe13d01fce15bd444e5729b320c"/><file name="BatchProcessRequest.class.php" hash="04684b987c6d77319cc6881941091de9"/><file name="BatchProcessResponse.class.php" hash="c22b08c125eefc4006495c55984ed91e"/><file name="BatchProcessResult.class.php" hash="f9cac2270aafae49fc0892ea729c3713"/><file name="BatchSave.class.php" hash="d3a397348b905d49a0c91be780f3ec04"/><file name="BatchSaveResponse.class.php" hash="4c3088b85590fd697b5686aa1dddd89e"/><file name="BatchSaveResult.class.php" hash="7ea7fe3dc7d580711f6b52d991c43dce"/><file name="BatchSvc.class.php" hash="fa903f70b06d1e3b86384f2b6fb60616"/><file name="DeleteRequest.class.php" hash="43f945ef1e59ef02494df6df6ec3d1b6"/><file name="DeleteResult.class.php" hash="f7d64582f1182ae0337d6d84a5f60e8d"/><file name="FetchRequest.class.php" hash="7271317a8909672261ea0e00867e810b"/><file name="FilterRequest.class.php" hash="3c1eaec68f84531931a3cd6143533576"/><file name="FilterResult.class.php" hash="f4c0eeac0153b735ec589fcff7accd86"/><file name="IsAuthorized.class.php" hash="8339a2b249d954efaaf64f10665976fc"/><file name="IsAuthorizedResponse.class.php" hash="613c91f36370dc38ca07b83a29f2a45f"/><file name="IsAuthorizedResult.class.php" hash="65f9665508a5e7f33e4aee2835a9806e"/><file name="Message.class.php" hash="576327c8d9cd74bd96d9ccd62a2daa5b"/><file name="Ping.class.php" hash="3a2246f5557a5279fa260c65b36a9b44"/><file name="PingResponse.class.php" hash="b9f5e8b43382ee605d93768db8af1805"/><file name="PingResult.class.php" hash="2e05acfe74aad28003ad7d8ed102c3c6"/><file name="Profile.class.php" hash="a16a4819018dd8510ddab8feb9ee0f7e"/><file name="SeverityLevel.class.php" hash="5736530f3b5fd0cd932c783418563647"/></dir><file name="BoundaryLevel.class.php" hash="e9c2f2e3173e44fa8351f2a6dbb578fe"/><file name="CancelCode.class.php" hash="fd0b8ad2865e8fcf622b1faafc677527"/><file name="CancelTaxRequest.class.php" hash="08a114e32ec9eda9268ec337f79cb86f"/><file name="CancelTaxResult.class.php" hash="687be65bab85e6c6e8f99764c0475d9b"/><file name="CommitTaxRequest.class.php" hash="66ef55bc094d233b75e36b029995aed7"/><file name="CommitTaxResult.class.php" hash="ef90276817207e63e4e96ea518618f50"/><file name="DetailLevel.class.php" hash="2439f7137a4f9f52e28a6b321c4bcf16"/><file name="DocStatus.class.php" hash="9e3384a0f2ace05fa67fe05eba295fcd"/><file name="DocumentType.class.php" hash="0578e29121cb747e1e80a269eedd4b5a"/><file name="DynamicSoapClient.class.php" hash="5bb36f2d4db3955ae059488eb9511ca9"/><file name="Enum.class.php" hash="d3ff4c898aff49f3c425042433826257"/><file name="GetTaxHistoryRequest.class.php" hash="3ed4c54de1e015f476ce7aa58c802468"/><file name="GetTaxHistoryResult.class.php" hash="7e8209e1f64df52b538927312b1bd934"/><file name="GetTaxRequest.class.php" hash="7267cb5676ecbcbbb0b73c587b082b57"/><file name="GetTaxResult.class.php" hash="7e2b7415a018fd76b62ab49637833533"/><file name="IsAuthorizedResult.class.php" hash="58164457677a61e93309f788fe61dc0c"/><file name="JurisdictionType.class.php" hash="a345fe5db379af87a6f7ec833ff86586"/><file name="Line.class.php" hash="7fefbd0230ee2fe8a8e6468abf338b80"/><file name="Message.class.php" hash="073be6cbcccacf2d1d55a04c045eab63"/><file name="PingResult.class.php" hash="18f88589588f08b619488c926cf5547c"/><file name="PostTaxRequest.class.php" hash="be8ea4ee2fddb10b62cb1be7e38179e3"/><file name="PostTaxResult.class.php" hash="bf2ee0b1293301ee00ac9b8b8390e780"/><file name="ReconcileTaxHistoryRequest.class.php" hash="41f2cfe04495612a9c293b1bc19220ce"/><file name="ReconcileTaxHistoryResult.class.php" hash="dd20684e0e017f56c98e29297180a0d7"/><file name="SearchTaxHistoryResult.class.php" hash="e3171e00482f7c2c0ed9753ffd05cd14"/><file name="ServiceMode.class.php" hash="0c66b3e25f4466461cebf32735e207e0"/><file name="SeverityLevel.class.php" hash="68fc81e651fe7f01c81b43b0d28ff0dc"/><file name="TaxDetail.class.php" hash="56065f8ea68505152b23e41238b80dfb"/><file name="TaxLine.class.php" hash="05376f01ad9a14f438ad0f1d5d423b61"/><file name="TaxOverride.class.php" hash="94d28efa3cdf58a87ba45a313ce93fc7"/><file name="TaxOverrideType.class.php" hash="d23f90c9ac639954c8fcee57ba763b21"/><file name="TaxRequest.class.php" hash="7339016da0c3cbe51843767987e7fbed"/><file name="TaxServiceSoap.class.php" hash="bc7e4eb0e66dd1bd956e19e0da337171"/><file name="TaxType.class.php" hash="ee87ecc8721076f0cda67fe1cc5b0db7"/><file name="TextCase.class.php" hash="8fb2eccc49eacdc1a4f5624c0716a750"/><file name="ValidAddress.class.php" hash="2f8eebcd379208198cd38632f1e34b0a"/><file name="ValidateRequest.class.php" hash="98faedd50b2f4ea7ffb9d53ab1ca116c"/><file name="ValidateResult.class.php" hash="23de6a26defed9324ddcdcedfd2228bf"/><dir name="wsdl"><file name="Account.wsdl" hash="1635751a852ff5c036e4522381101680"/><file name="Address.wsdl" hash="0650cb8f516bec67e57eb7fa05ee6433"/><file name="AvaCert2Svc.wsdl" hash="9ca666be9851884f3e7fc9e28dc08f4a"/><file name="AvaCertSvc.wsdl" hash="7fb2b12cfe320462cf094225454f0d6c"/><file name="BatchSvc.wsdl" hash="639d2913500639145d95ee8e1166e08f"/><file name="Tax.wsdl" hash="76e1ff6c041d12da77a4632f376422ed"/></dir></dir><file name="functions.php" hash="57734d162b59cbc65933d25bf3950270"/></dir></target></contents>
26
  <compatible/>
27
  <dependencies><required><php><min>5.2.3</min><max>6.0.0</max></php><extension><name>Core</name><min/><max/></extension><extension><name>curl</name><min/><max/></extension><extension><name>soap</name><min/><max/></extension></required></dependencies>
28
  </package>