--- http_interactions: - request: method: post uri: https://development.avalara.net/1.0/tax/get body: encoding: UTF-8 string: '{"Commit":false,"CustomerCode":"1","DocDate":"2014-11-03","CompanyCode":"54321","CustomerUsageType":"","ExemptionNo":null,"Client":"a0o33000004FH8l","DocCode":"R731071205","ReferenceCode":"R731071205","DetailLevel":"Tax","DocType":"SalesOrder","Discount":"0.00","Addresses":[{"AddressCode":"9","Line1":"31 South St","City":"Morristown","PostalCode":"07960","Country":"US"},{"AddressCode":"Dest","Line1":"73 Glenmere Drive","Line2":"","City":"Chatham","Region":"NJ","Country":"US","PostalCode":"07928"},{"AddressCode":"Orig","Line1":"73 Glenmere Drive","City":"Chatham","PostalCode":"07928","Country":"United States"}],"Lines":[{"LineNo":"1-LI","ItemCode":"ROR-00013","Qty":3,"Amount":62.97,"OriginCode":"9","DestinationCode":"Dest","Description":"Ruby on Rails Jr. Spaghetti","TaxCode":"P0000000","Discounted":false}]}' headers: Accept: - "*/*; q=0.5, application/xml" Accept-Encoding: - gzip, deflate Authorization: - Basic MTEwMDExMzA5NjoxRDEzRURBMkRDQ0M3RTRB Content-Type: - application/json Content-Length: - '818' User-Agent: - Ruby response: status: code: 200 message: OK headers: Cache-Control: - private Content-Type: - text/json; charset=utf-8 Content-Encoding: - gzip Vary: - Accept-Encoding X-Aspnet-Version: - 4.0.30319 X-Powered-By: - ASP.NET Date: - Thu, 13 Apr 2017 01:43:31 GMT Content-Length: - '584' Set-Cookie: - TS017f1821=01a8ddc44e15e27ec194c2693a23bc8081a959081d3bfacfe3afa73064ee32e644b816031a37a9986c471f7d2146119e3e4a3a18db; Path=/ body: encoding: ASCII-8BIT string: !binary |- H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3m kuwdaUcjKasqgcplVmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZk AWz2zkrayZ4hgKrIHz9+fB8/In5x8tGrvFmX7Uk1yz96lH70ej2d5k3z0Sj5 6Gk1NZ++enBvd+fB7t7Off3iadbyF3s7u/vbu7vbO/fwxZtikTdttljpVw+2 d+jbe292dh/t33t0b2+8t7fzcP/g3k9x46rNyuNFtV62aP7p3vjhA/v506KZ mm927Ken7/LFqi2qJT4OX3iTvcsmJePk2tOHvQ9OsnK6Lgn9mfsqe/e8WOYN ffC9hCiCP15U9NdHu9vPz7SFIcXLHXn042xSlEV7jW/aep3j0yeE+Cyrr5/n l3mJL45ns1ppGh9Bf7QA7I3mFeFr/6Av/d/jA3qat1lR2iGdAHzNaH71Gk1e 5ReKxYvv4O/vrOuieXO94m5etwTOfmpGfm8fHxHs26HG777IFvzti9Pvpt85 ffX69PfBV9TMfvGd9PWb4zen6Zvj3/ujX5J8P8H/pYmSzc2LfkB/fvTgXvp5 mS8XeZ2nT+vikrHV7w2+T4kX8fGJzs/JPGvn2YI/6pLjZUV8W5o3dx483DvA x10qEVby0RkTe2939+Depw/xDY/WvH9vnxiEHxrSKMT83m76ulq38/Q1I6ff mDcZlkH4i6omoG11teRPb8T5U6a7IIiPvj7OZgoiYv5Lkv8HUFFwCjQEAAA= http_version: recorded_at: Thu, 13 Apr 2017 01:43:32 GMT - request: method: post uri: https://development.avalara.net/1.0/tax/cancel body: encoding: UTF-8 string: '{"CompanyCode":"54321","DocType":"SalesInvoice","DocCode":"R731071205","CancelCode":"DocVoided"}' headers: Accept: - "*/*; q=0.5, application/xml" Accept-Encoding: - gzip, deflate Authorization: - Basic MTEwMDExMzA5NjoxRDEzRURBMkRDQ0M3RTRB Content-Type: - application/json Content-Length: - '96' User-Agent: - Ruby response: status: code: 200 message: OK headers: Cache-Control: - private Content-Type: - text/json; charset=utf-8 Content-Encoding: - gzip Vary: - Accept-Encoding X-Aspnet-Version: - 4.0.30319 X-Powered-By: - ASP.NET Date: - Thu, 13 Apr 2017 01:43:32 GMT Content-Length: - '211' Set-Cookie: - TS017f1821=01a8ddc44eea31decb1fc8caec14f69f713d8a5ce645e03a0aa8b46ab1a3f8b2661699a35da2355ff9495b9e9f752728df962c04ad; Path=/ body: encoding: ASCII-8BIT string: !binary |- H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3m kuwdaUcjKasqgcplVmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZk AWz2zkrayZ4hgKrIHz9+fB8/In5x8tFJtpzm5Zvs3au8WZftR49S+vBpNT2b 0a8ffXpvZ//hwcNPPxolH72ps2WTTduiWvKX93fvPdi9v7+79+mnB7sP7x9Q E4FxUs1y+v6j1+vpNG+aj35J8kuS/wd6jEoqagAAAA== http_version: recorded_at: Thu, 13 Apr 2017 01:43:32 GMT recorded_with: VCR 3.0.3