--- http_interactions: - request: method: post uri: https://development.avalara.net/1.0/tax/get body: encoding: UTF-8 string: '{"DocCode":"R018376371","DocDate":"2017-03-23","Discount":"0.0","Commit":false,"DocType":"SalesOrder","Addresses":[{"AddressCode":"Orig","Line1":"915 S Jackson St","Line2":"","City":"Montgomery","Region":"AL","PostalCode":"36104","Country":"US"},{"AddressCode":"Dest","Line1":"A Different Road","Line2":"","City":"Montgomery","Region":"Alabama","Country":"US","PostalCode":"36104"}],"Lines":[{"LineNo":"1-LI","Description":"Product #2 - 1810","TaxCode":"PC030000","ItemCode":"SKU-2","Qty":1,"Amount":10.0,"OriginCode":"Orig","DestinationCode":"Dest","CustomerUsageType":null,"Discounted":false,"TaxIncluded":false}],"CustomerCode":1,"CompanyCode":"54321","CustomerUsageType":null,"ExemptionNo":null,"Client":"a0o33000004FH8l","ReferenceCode":"R018376371","DetailLevel":"Tax","CurrencyCode":"USD"}' headers: Accept: - "*/*; q=0.5, application/xml" Accept-Encoding: - gzip, deflate Authorization: - Basic MTEwMDExMzA5NjoxRDEzRURBMkRDQ0M3RTRB Content-Type: - application/json Content-Length: - '796' 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, 23 Mar 2017 17:01:59 GMT Content-Length: - '580' Set-Cookie: - TS017f1821=01a8ddc44e235c4ba825b0a501c39cf4874397fc61ea870e5b439c08e645261bb8fc6cef9d6f89542595549251aa589969c5ca2c43; Path=/ body: encoding: ASCII-8BIT string: !binary |- H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3m kuwdaUcjKasqgcplVmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZk AWz2zkrayZ4hgKrIHz9+fB8/In5x8tGrvFmX7Uk1yz96lH70ej2d5k3z0Sj5 6Gk1NZ++2tk9uPfg03sPdvWLp1nLX+zt7D7Y3rm3vXcPX7wpFnnTZotV+NWb 3QePdvYe7eyMd+7t799/8OCnuHHVZuXxolovWzTf3bEfPi2aqfnYfXr6Ll+s 2qJahh+/yd5lk5KR8UDQp/hkZ7zvf3SSldN1SajP/C+zd8+LZd7QR99LiB74 40VFf320u/38TFsYQrw82bm3Q49+nE2Ksmiv8U1br3N8+oQwn2X19fP8Mi/x xU8Vq/v4oo9/f5yA6I/lFeGKv4hy+9Qrf0aN5COD/dConuZtVpR2XCfoqmZc v3qNJq/yC8Xm+Dn+/s66Lpo31yvu8XVLAO2nZvg7PP8E+33RZCgvsgU3O35+ /OT4i2N8Tq3cp+nrN8dvTtM3x7/3R78k+X6C/0uT49msJqZ0c6Qf0J8fHadP i/PzvM6XbfqqymaAql8brJ8SU+LjE52qL6ple1EtciIGPu3S5WVFPFyal+99 urvDQ+iSi/CSj86Y7ns79/cePHyIb3iw5v2d3d2d3fu7oMovSUYh7g9376ev 0+9k07dNtUxfM5L6tXn9y7q4wMc/97ibyYiI/i9J/h/LMRS7SAQAAA== http_version: recorded_at: Thu, 23 Mar 2017 17:02:01 GMT - request: method: post uri: https://development.avalara.net/1.0/tax/get body: encoding: UTF-8 string: '{"DocCode":"R018376371","DocDate":"2017-03-23","Discount":"0.0","Commit":false,"DocType":"SalesOrder","Addresses":[{"AddressCode":"Orig","Line1":"915 S Jackson St","Line2":"","City":"Montgomery","Region":"AL","PostalCode":"36104","Country":"US"},{"AddressCode":"Dest","Line1":"A Different Road","Line2":"","City":"Montgomery","Region":"Alabama","Country":"US","PostalCode":"36104"},{"AddressCode":"2","Line1":"1600 Pennsylvania Ave NW","Line2":null,"City":"Washington","PostalCode":"20500","Country":"US"}],"Lines":[{"LineNo":"1-LI","Description":"Product #2 - 1810","TaxCode":"PC030000","ItemCode":"SKU-2","Qty":1,"Amount":10.0,"OriginCode":"2","DestinationCode":"Dest","CustomerUsageType":null,"Discounted":false,"TaxIncluded":false},{"LineNo":"1-FR","ItemCode":"Avalara Ground","Qty":1,"Amount":5.0,"OriginCode":"2","DestinationCode":"Dest","CustomerUsageType":null,"Description":"Shipping Charge","TaxCode":"FR000000","Discounted":false,"TaxIncluded":false}],"CustomerCode":1,"CompanyCode":"54321","CustomerUsageType":null,"ExemptionNo":null,"Client":"a0o33000004FH8l","ReferenceCode":"R018376371","DetailLevel":"Tax","CurrencyCode":"USD"}' headers: Accept: - "*/*; q=0.5, application/xml" Accept-Encoding: - gzip, deflate Authorization: - Basic MTEwMDExMzA5NjoxRDEzRURBMkRDQ0M3RTRB Content-Type: - application/json Content-Length: - '1143' 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, 23 Mar 2017 17:02:00 GMT Content-Length: - '671' Set-Cookie: - TS017f1821=01a8ddc44e1968eaed5775b971b8b8610152dd6251f7dd2b2da2944af74f366b139899f3f4bf052a8a733034c6d6b8f15e694a43c1; Path=/ body: encoding: ASCII-8BIT string: !binary |- H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3m kuwdaUcjKasqgcplVmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZk AWz2zkrayZ4hgKrIHz9+fB8/In5x8tGrvFmX7Uk1yz96lH70ej2d5k3z0Sj5 6Gk1NZ++2tk9uPfg03sPdvWLp1nLX+zt7D7Y3rm3vXcPX7wpFnnTZotV+NWb 3QePdvYe7eyMP32w83Bv5/5PceOqzcrjRbVetmi+e99++LRopubjHfvp6bt8 sWqLahl+/CZ7l01KRsYDQZ/iE+rR/+gkK6frklCf+V9m754Xy7yhj76XED3w x4uK/vpod/v5mbYwhHh5snNvhx79OJsUZdFe45u2Xuf49AlhPsvq6+f5ZV7i i58qVoxXH//+OAFRx8IfvCJc8dfOeGefeuXPqJF8tK9/dUdlPn+at1lR2nGd oKuacf3qNZq8yi8Um+Pn+Ps767po3lyvuMfXLQG0n5rh7/D8E+z3RZOhvMgW 3Oz4+fGT4y+O8Tm1cp+mr98cvzlN3xz/3h/9kuT7yS9JRoS2Px3PXuk7Bp9n r6g3evTjn73p4Fc2DnNP/+rOhvn8hzEbt8SSgTiy33Iyvp9Ik+PZrCYN4QRG P6A/PzpOnxbn53mdL9v0VZXNAFW/Nkg/JQ2Bj090or6olu1FtciJFvi0S5aX FSmU0rx879PdHeanLrUIL/nojMlOOmbvwcOH+IYHa97f2d3d2b2/C6oIdyly +G73052d9GW+XDbX5WW2LLL0+DJPX3wXQLSZAcNUNAP4btbMi+VFS+jg080D IMSob/pYsMVHT0/wd2cA3CZAnTDXh1A3cxFRw78k+X8A+woe4tQFAAA= http_version: recorded_at: Thu, 23 Mar 2017 17:02:02 GMT - request: method: post uri: https://development.avalara.net/1.0/tax/cancel body: encoding: UTF-8 string: '{"CompanyCode":"54321","DocType":"SalesInvoice","DocCode":"R018376371","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, 23 Mar 2017 17:02:00 GMT Content-Length: - '308' Set-Cookie: - TS017f1821=01a8ddc44ec4d492438346abdae032f0e0321bbc6d52f853b805c9ae53bb0b4135510bde598033e4c9735f8448360b7745bbea7e1d; Path=/ body: encoding: ASCII-8BIT string: !binary |- H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3m kuwdaUcjKasqgcplVmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZk AWz2zkrayZ4hgKrIHz9+fB8/In5x8tFJtpzm5Zvs3au8WZftR49S+vBNnS2b bNoW1fJsRh/d3919eP/T3b3de/sHOw93d0fJR9L8pJrl9P1Hp3Vd1R/Rx1/k TZNd5A19+L2EIL1eLxZZfU1/fvRmnqdt9i6dVdP1Il+26bRal7N0WbXpJE/P q/VyNgaIp3mbFSUgfPRqZ/fg3oNP7z3YxRev88u8LloGZjt8Xa3rKeNwfJmV WZ2N6ScNZ/w6ry+Lad6M6Y+Pfkny/eSXJL8k+X8A1kRpNvEAAAA= http_version: recorded_at: Thu, 23 Mar 2017 17:02:02 GMT recorded_with: VCR 3.0.3