{"action":"opened","issue":{"url":"https://api.github.com/repos/classyllama/ClassyLlama_AvaTax/issues/38","repository_url":"https://api.github.com/repos/classyllama/ClassyLlama_AvaTax","labels_url":"https://api.github.com/repos/classyllama/ClassyLlama_AvaTax/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/classyllama/ClassyLlama_AvaTax/issues/38/comments","events_url":"https://api.github.com/repos/classyllama/ClassyLlama_AvaTax/issues/38/events","html_url":"https://github.com/classyllama/ClassyLlama_AvaTax/issues/38","id":186899700,"number":38,"title":"Missing Order Number in Avatax","user":{"login":"expandlab","id":2072439,"avatar_url":"https://avatars.githubusercontent.com/u/2072439?v=3","gravatar_id":"","url":"https://api.github.com/users/expandlab","html_url":"https://github.com/expandlab","followers_url":"https://api.github.com/users/expandlab/followers","following_url":"https://api.github.com/users/expandlab/following{/other_user}","gists_url":"https://api.github.com/users/expandlab/gists{/gist_id}","starred_url":"https://api.github.com/users/expandlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/expandlab/subscriptions","organizations_url":"https://api.github.com/users/expandlab/orgs","repos_url":"https://api.github.com/users/expandlab/repos","events_url":"https://api.github.com/users/expandlab/events{/privacy}","received_events_url":"https://api.github.com/users/expandlab/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-02T19:37:37Z","updated_at":"2016-11-02T19:37:37Z","closed_at":null,"body":"Hello,\r\n\r\nAvatax was not reporting the order number for transactions.   We've corrected in our code, but also providing you with the our changes:\r\n\r\n`diff --git a/Framework/Interaction/Tax.php b/Framework/Interaction/Tax.php\r\nindex 0fdc851..08fdaf4 100644\r\n--- a/Framework/Interaction/Tax.php\r\n+++ b/Framework/Interaction/Tax.php\r\n@@ -180,7 +180,7 @@ class Tax\r\n         'LocationCode' => ['type' => 'string', 'length' => 50],\r\n         'OriginAddress' => ['type' => 'object', 'class' => '\\AvaTax\\Address'],\r\n         'PaymentDate' => ['type' => 'string', 'format' => '/\\d\\d\\d\\d-\\d\\d-\\d\\d/'],\r\n-        'PurchaseOrderNumber' => ['type' => 'string', 'length' => 50],\r\n+        'PurchaseOrderNo' => ['type' => 'string', 'length' => 50],\r\n         'ReferenceCode' => ['type' => 'string', 'length' => 50],\r\n         'SalespersonCode' => ['type' => 'string', 'length' => 25],\r\n         'TaxOverride' => ['type' => 'object', 'class' => '\\AvaTax\\TaxOverride'],\r\n@@ -633,6 +633,7 @@ class Tax\r\n             // Only need document-level detail as we don't need lines in our response\r\n             'DetailLevel' => DetailLevel::$Document,\r\n             'PaymentDate' => $currentDate,\r\n+            'PurchaseOrderNo' => $order->getIncrementId(),\r\n             'PurchaseOrderNumber' => $object->getIncrementId(),\r\n         ];\r\n`\r\n\r\n![image](https://cloud.githubusercontent.com/assets/2072439/19944401/2e109590-a112-11e6-9512-e9a9910e5786.png)\r\n"}}
{"actor":{"display_login":"expandlab"}}