--- http_interactions: - request: method: post uri: https://development.avalara.net/1.0/tax/get body: encoding: UTF-8 string: '{"DocCode":"R903852449","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 #2 - 3722","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":"R903852449","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:27 GMT Content-Length: - '552' Set-Cookie: - TS017f1821=01a8ddc44ecd11c63512c5253f6b79bbb99765d2ec7f8406fde6ffde475173465fe605e3ea70287341cc3cc613b116428028642059; Path=/ body: encoding: ASCII-8BIT string: !binary |- H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3m kuwdaUcjKasqgcplVmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZk AWz2zkrayZ4hgKrIHz9+fB8/In5x8tGrvFmX7Uk1yz96lH70ej2d5k3z0Sj5 6Gk1NZ++erhz7+D+3v7+Q/3iadbyF3s7uw+2d/a3d/fxxZtikTdttliFX73Z 23m0//DR3sF4d/fe/sH9Bz/Fjas2K48X1XrZovnujv3wadFMzcfu09N3+WLV FtUy/PhN9i6blIyMB4I+xSc7Y8FLPzrJyum6JNRn/pfZu+fFMm/oo+8lRA/8 8aKivz7a3X5+pi0MIV6e7NzboUc/ziZFWbTX+Kat1zk+fUKYz7L6+nl+mZf4 4ng2q5Wi/SH0hwqg/nBeEbr4a2e8s08d82fUSD4yAxga2NO8zYrSDu0EXdWM 7lev0eRVfqHYHD/H399Z10Xz5nrFPb5uCaD91FBgZxcfEez3RZOhvMgW3Oz4 +fGT4y+O8Tm1cp+mr98cvzlN3xz/3h/9kuT7Cf4vTZSKbpr0A4PWU2I8QLtx iARLPjpjWu3t3N978JDZmhE08HZ2d3d27+/qSF5WxNal+e7ep7s7PCTFAZ89 3L2fvk6/k03fNtUyfS24KGt8US3bi2qRE1q/JBn1cf+yLi64/f/bcTeTEZH+ X5L8PxrqS65LBAAA http_version: recorded_at: Fri, 14 Apr 2017 20:49:28 GMT - request: method: post uri: https://development.avalara.net/1.0/tax/get body: encoding: UTF-8 string: '{"DocCode":"R903852449","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 #2 - 3722","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":"R903852449","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:28 GMT Content-Length: - '660' Set-Cookie: - TS017f1821=01a8ddc44e4f77e35e21b867bff45bf25181982d6e35f349f233087f00a0c8f6c38f930d062b6fd6454a31e58404ed25fb32b9b8f0; Path=/ body: encoding: ASCII-8BIT string: !binary |- H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3m kuwdaUcjKasqgcplVmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZk AWz2zkrayZ4hgKrIHz9+fB8/In5x8tGrvFmX7Uk1yz96lH70ej2d5k3z0Sj5 6Gk1NZ++erhz7+D+3v7+Q/3iadbyF3s7uw+2d/a3d/fxxZtikTdttliFX73Z 23m0//DR3sH404OdnU8/vf9T3Lhqs/J4Ua2XLZrv3rcfPi2aqfl4x356+i5f rNqiWoYfv8neZZOSkfFA0Kf4ZGf8qf/RSVZO1yWhPvO/zN49L5Z5Qx99LyF6 4I8XFf310e728zNtYQjx8mTn3g49+nE2KcqivcY3bb3O8ekTwnyW1dfP88u8 xBfHs1mtFO0PoT9UANXh8AevCF38tTPe2aeO+TNqJB8J1Qm9zsDM50/zNitK O7QTdFUzul+9RpNX+YVic/wcf39nXRfNm+sV9/i6JYD2U0OBnV18RLDfF02G 8iJbcLPj58dPjr84xufUyn2avn5z/OY0fXP8e3/0S5LvJ78kGRHa/ow8e6Xv GHyevaLe6NGPf1ZnhPlr40j39K/uhJjPfxgTckssGYij/C3n4/uJNFEaOrHR DwxWT0kRANqNIyRY8tEZk2pv5/7eg4esZhhBA29nd3dn9/6ujuRlRWqmNN/d +3R3h1lMccBnD3fvp6/T72TTt021TF8LLsoYX1TL9qJa5ISWMJi+Z+AxeTYg /vQEf3cQZ7wClAljffBViDINUz7WrvHZ7qc7O+nLfLlsrsvLbFlk6fFlnr74 LpoZ1L+bNfNiedESIm4uIsr4lyT/DyxPEyLaBQAA http_version: recorded_at: Fri, 14 Apr 2017 20:49:28 GMT - request: method: post uri: https://development.avalara.net/1.0/tax/cancel body: encoding: UTF-8 string: '{"CompanyCode":"54321","DocType":"SalesInvoice","DocCode":"R903852449","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:28 GMT Content-Length: - '308' Set-Cookie: - TS017f1821=01a8ddc44ec1567e66df96a47c5410ab44732cc5d7c18c0ead70bf82f058d42ae3cbb82bdadb65550b99a28b620b2a378e15dbcb86; Path=/ body: encoding: ASCII-8BIT string: !binary |- H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3m kuwdaUcjKasqgcplVmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZk AWz2zkrayZ4hgKrIHz9+fB8/In5x8tFJtpzm5Zvs3au8WZftR49S+vBNnS2b bNoW1fJsRh/d37138GDn/qcP9x482D94+HCUfCTNT6pZTt9/dFrXVf0RffxF 3jTZRd7Qh99LCNLr9WKR1df050dv5nnaZu/SWTVdL/Jlm06rdTlLl1WbTvL0 vFovZ2OAeJq3WVECwkevHu7cO7i/t7//EF+8zi/zumgZmO3wdbWup4zD8WVW ZnU2pp80nPHrvL4spnkzpj8++iXJ95NfkvyS5P8BUDEmTvEAAAA= http_version: recorded_at: Fri, 14 Apr 2017 20:49:29 GMT recorded_with: VCR 3.0.3