--- http_interactions: - request: method: post uri: https://development.avalara.net/1.0/tax/get body: encoding: UTF-8 string: '{"DocCode":"R335537888","DocDate":"2017-04-14","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":"915 S Jackson St","Line2":"","City":"Montgomery","Region":"Alabama","Country":"US","PostalCode":"36104"}],"Lines":[{"LineNo":"1-LI","Description":"Product #1 - 3144","TaxCode":"PC030000","ItemCode":"SKU-1","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":"R335537888","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: - Fri, 14 Apr 2017 20:49:25 GMT Content-Length: - '561' Set-Cookie: - TS017f1821=01a8ddc44e6ab91c6d100b0597751481364b1e7aeb9cd37ddee7813d42e93a8a5d0ab068f38223e7dd9dd4b23280dea871a13cd026; Path=/ body: encoding: ASCII-8BIT string: !binary |- H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3m kuwdaUcjKasqgcplVmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZk AWz2zkrayZ4hgKrIHz9+fB8/In5x8tGrvFmX7Uk1yz96lH70ej2d5k3z0Sj5 6Gk1NZ++unfv/v17Dw4ODvSLp1nLX+zt7D7Y3tnf3t3HF2+KRd602WIVfvVm b+fR/sNHe5+Od/buPzx4+PCnuHHVZuXxolovWzTf3bEfPi2aqfnYfXr6Ll+s 2qJahh+/yd5lk5KR8UDQp/hkZyx46UcnWTldl4T6zP8ye/e8WOYNffS9hOiB P15U9NdHu9vPz7SFIcTLk517O/Tox9mkKIv2Gt+09TrHp08I81lWXz/PL/MS XxzPZrVStD+E/lAB1B/OK0IXf+2Md/apY/6MGslHZgBDA3uat1lR2qGdoKua 0f3qNZq8yi8Um+Pn+Ps767po3lyvuMfXLQG0nxoK7OziI4L9vmgylBfZgpsd Pz9+cvzFMT6nVu7T9PWb4zen6Zvj3/ujX5J8P8H/pYlS0U2TfkB/fvRw9376 Ov1ONn3bVMv0dQuo+rXB+inxJT4+0dn6olq2F9UiJ2Lg0y5dXlbExqV5+d6n uzs8hC65CC/56Izpvrdzf+/Bw4f4hgdr3t/Z3d3Zvb8LqvySZPTeuH9ZFxf4 +OcedzMZEen/Jcn/A+mRXN1LBAAA http_version: recorded_at: Fri, 14 Apr 2017 20:49:26 GMT - request: method: post uri: https://development.avalara.net/1.0/tax/get body: encoding: UTF-8 string: '{"DocCode":"R335537888","DocDate":"2017-04-14","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":"915 S Jackson St","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 #1 - 3144","TaxCode":"PC030000","ItemCode":"SKU-1","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":"R335537888","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: - Fri, 14 Apr 2017 20:49:26 GMT Content-Length: - '661' Set-Cookie: - TS017f1821=01a8ddc44e87590c0a6fcf73dc30672773ce61a2f7798ba92d21e397c093aa73153619dc6cc9574c8034ca0095bf1b5019251422db; Path=/ body: encoding: ASCII-8BIT string: !binary |- H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3m kuwdaUcjKasqgcplVmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZk AWz2zkrayZ4hgKrIHz9+fB8/In5x8tGrvFmX7Uk1yz96lH70ej2d5k3z0Sj5 6Gk1NZ++unfv/v17Dw4ODvSLp1nLX+zt7D7Y3tnf3t3HF2+KRd602WIVfvVm b+fR/sNHe5+OD+7vP7x38OlPceOqzcrjRbVetmi+e99++LRopubjHfvp6bt8 sWqLahl+/CZ7l01KRsYDQZ/ik53xp/5HJ1k5XZeE+sz/Mnv3vFjmDX30vYTo gT9eVPTXR7vbz8+0hSHEy5Odezv06MfZpCiL9hrftPU6x6dPCPNZVl8/zy/z El8cz2a1UrQ/hP5QAVSHwx+8InTx1854Z5865s+okXwkVCf0OgMznz/N26wo 7dBO0FXN6H71Gk1e5ReKzfFz/P2ddV00b65X3OPrlgDaTw0FdnbxEcF+XzQZ yotswc2Onx8/Of7iGJ9TK/dp+vrN8ZvT9M3x7/3RL0m+n/ySZERo+zPy7JW+ Y/B59op6o0c//lmdEeavjSPd07+6E2I+/2FMyC2xZCCO8recj+8n0kRp6MRG PzBYPSVFAGg3jpBgyUdnTKq9nft7Dx4+xDeMoIG3s7u7s3t/V0fysiI1U5rv 7n26u8Mspjjgs4e799PX6Xey6dumWqavBRdljC+qZXtRLXJCSxhM3zPwmDwb EH96gr87iDNeAcqEsT74KkSZhikfa9f4bPfTnZ30Zb5cNtflZbYssvT4Mk9f fBfNDOrfzZp5sbxoCRE3FxFl/EuS/weGvbwR2gUAAA== http_version: recorded_at: Fri, 14 Apr 2017 20:49:26 GMT - request: method: post uri: https://development.avalara.net/1.0/tax/cancel body: encoding: UTF-8 string: '{"CompanyCode":"54321","DocType":"SalesInvoice","DocCode":"R335537888","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: - Fri, 14 Apr 2017 20:49:27 GMT Content-Length: - '308' Set-Cookie: - TS017f1821=01a8ddc44e82514f122baac32eb61484ea7a06035079c83a58298de7ed71df0b307649e542537b90929ac633cd8feb646c834640ad; Path=/ body: encoding: ASCII-8BIT string: !binary |- H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3m kuwdaUcjKasqgcplVmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZk AWz2zkrayZ4hgKrIHz9+fB8/In5x8tFJtpzm5Zvs3au8WZftR49S+vBNnS2b bNoW1fJsRh/d37138GDn/qcP9j/dv/fpvXuj5CNpflLNcvr+o9O6ruqP6OMv 8qbJLvKGPvxeQpBerxeLrL6mPz96M8/TNnuXzqrpepEv23RarctZuqzadJKn 59V6ORsDxNO8zYoSED56de/e/fv3HhwcHOCL1/llXhctA7Mdvq7W9ZRxOL7M yqzOxvSThjN+ndeXxTRvxvTHR78k+X7yS5Jfkvw/lc+l6/EAAAA= http_version: recorded_at: Fri, 14 Apr 2017 20:49:27 GMT recorded_with: VCR 3.0.3