--- http_interactions: - request: method: get uri: https://development.avalara.net/1.0/address/validate?City=Montgomery&Country=US&Line1=915%20S%20Jackson%20St&Line2=&PostalCode=36104&Region=AL body: encoding: US-ASCII string: '' headers: Authorization: - Basic MTEwMDExMzA5NjoxRDEzRURBMkRDQ0M3RTRB Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby response: status: code: 200 message: OK headers: Cache-Control: - private Content-Type: - text/json; charset=utf-8 Vary: - Accept-Encoding X-Aspnet-Version: - 4.0.30319 X-Powered-By: - ASP.NET Date: - Thu, 23 Mar 2017 19:40:51 GMT Content-Length: - '313' Set-Cookie: - TS017f1821=01a8ddc44e3da45199cfc0380054a8eeb582533320f2e14f783b8cd92335a45c943fc7be9cfe9128a480f936519a87d42ffb21c99c; Path=/ body: encoding: ASCII-8BIT string: | { "ResultCode": "Success", "Address": { "Line1": "915 S Jackson St", "City": "Montgomery", "Region": "AL", "PostalCode": "36104-5716", "Country": "US", "County": "MONTGOMERY", "FipsCode": "0110151000", "CarrierRoute": "C037", "PostNet": "361045716999", "AddressType": "H"} } http_version: recorded_at: Thu, 23 Mar 2017 19:40:53 GMT - request: method: post uri: https://development.avalara.net/1.0/tax/get body: encoding: UTF-8 string: '{"DocCode":"R697941853","DocDate":"2017-03-23","Discount":"0.0","Commit":false,"DocType":"SalesOrder","Addresses":[{"AddressCode":"Orig","Line1":null,"Line2":null,"City":"Florence","Region":"","PostalCode":null,"Country":"IT"},{"AddressCode":"Dest","Line1":"915 S Jackson St","Line2":"","City":"Montgomery","Region":"Alabama","Country":"US","PostalCode":"36104"},{"AddressCode":"1","Line1":"150 Piccadilly","Line2":null,"City":"Florence","PostalCode":"20500","Country":"IT"}],"Lines":[{"LineNo":"1-LI","Description":"Product #14 - 759","TaxCode":"PC030000","ItemCode":"SKU-14","Qty":1,"Amount":10.0,"OriginCode":"1","DestinationCode":"Dest","CustomerUsageType":null,"Discounted":false,"TaxIncluded":true},{"LineNo":"2-FR","ItemCode":"Avalara Ground","Qty":1,"Amount":10.0,"OriginCode":"1","DestinationCode":"Dest","CustomerUsageType":null,"Description":"Shipping Charge","TaxCode":"FR000000","Discounted":false,"TaxIncluded":true}],"CustomerCode":1,"CompanyCode":"54321","CustomerUsageType":null,"ExemptionNo":null,"Client":"a0o33000004FH8l","ReferenceCode":"R697941853","DetailLevel":"Tax","CurrencyCode":"USD"}' headers: Accept: - "*/*; q=0.5, application/xml" Accept-Encoding: - gzip, deflate Authorization: - Basic MTEwMDExMzA5NjoxRDEzRURBMkRDQ0M3RTRB Content-Type: - application/json Content-Length: - '1112' 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 19:40:51 GMT Content-Length: - '648' Set-Cookie: - TS017f1821=01a8ddc44e7d95fd7f7d172d0073d05d766a4f3f616e39ca6a438e68cad95e612311985d9fd379ec5429277568b3edb8c6f22c5b5c; Path=/ body: encoding: ASCII-8BIT string: !binary |- H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3m kuwdaUcjKasqgcplVmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZk AWz2zkrayZ4hgKrIHz9+fB8/In5x8tGrvFmX7Uk1yz96lH70ej2d5k3z0Sj5 6Gk1NZ+++vThg4f7uwf37+kXT7OWv9jb2X2wvXNve4+/eFMs8qbNFqvwqze7 Dx/t7zy6vzfeeUBAdnZ/ihtXbVYeL6r1skXz3YfjvX37+dOimZpvduynp+/y xaotqmX48ZvsXTYpGZ8QCn2BD3fGDz71PzvJyum6pBHMgm+zd8+LZd7QZ99L iC7440VFf320u/38TFsYgrw82bm3Q49+nE2Ksmiv8U1br3N8+oTQn2X19fP8 Mi/xxfFsVitl++PojxdAZUwPx5/u4aNXhDH+3hnv7FPXppl8dO9A/+wOzn7x NG+zorTDO0F3NaP81Ws0eZVfKEbHz/H3d9Z10by5XnGfr1uCaD81VNjZxUcE +2ugyoBeZAtud/z8+MnxF8f4nJq5T9PXb47fnKZvjn/vj35J8v3klyQjwtxN zN72s1f6jkHp2Svqjh79+EcT896oMiA3BbecmO8n0kSJ6cRIP6A/P3q4ez99 nX4nm75tqmX6ugVU/dog/pT0Bz4+0Un7olq2F9UiJ3rg0y5pXlakbkrz8r1P d3dY+LsUI7zkozOm/d7O/b0HDx/iGx6seX9nd3dn9/4uyCKcpsjhu937O+nL YjrNZkVZMjL6pXmZKW7QflZWdb6c8sR4SJ+9wQch0oQM9Ucf95HcechfBDgS CEfsiBb+Jcn/Aw2vI8HTBQAA http_version: recorded_at: Thu, 23 Mar 2017 19:40:53 GMT - request: method: post uri: https://development.avalara.net/1.0/tax/get body: encoding: UTF-8 string: '{"DocCode":"R697941853","DocDate":"2017-03-23","Discount":"0.0","Commit":false,"DocType":"SalesOrder","Addresses":[{"AddressCode":"Orig","Line1":null,"Line2":null,"City":"Florence","Region":"","PostalCode":null,"Country":"IT"},{"AddressCode":"Dest","Line1":"915 S Jackson St","Line2":"","City":"Montgomery","Region":"Alabama","Country":"US","PostalCode":"36104"},{"AddressCode":"1","Line1":"150 Piccadilly","Line2":null,"City":"Florence","PostalCode":"20500","Country":"IT"}],"Lines":[{"LineNo":"1-LI","Description":"Product #14 - 759","TaxCode":"PC030000","ItemCode":"SKU-14","Qty":1,"Amount":10.0,"OriginCode":"1","DestinationCode":"Dest","CustomerUsageType":null,"Discounted":false,"TaxIncluded":true},{"LineNo":"2-FR","ItemCode":"Avalara Ground","Qty":1,"Amount":10.0,"OriginCode":"1","DestinationCode":"Dest","CustomerUsageType":null,"Description":"Shipping Charge","TaxCode":"FR000000","Discounted":false,"TaxIncluded":true}],"CustomerCode":1,"CompanyCode":"54321","CustomerUsageType":null,"ExemptionNo":null,"Client":"a0o33000004FH8l","ReferenceCode":"R697941853","DetailLevel":"Tax","CurrencyCode":"USD"}' headers: Accept: - "*/*; q=0.5, application/xml" Accept-Encoding: - gzip, deflate Authorization: - Basic MTEwMDExMzA5NjoxRDEzRURBMkRDQ0M3RTRB Content-Type: - application/json Content-Length: - '1112' 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 19:40:52 GMT Content-Length: - '650' Set-Cookie: - TS017f1821=01a8ddc44ebc5804147cc28e8bc8d40af3f5f9291c8b712f73196be81ff810927714e803ac0d569056583d1b90700262a40fc2cbc9; Path=/ body: encoding: ASCII-8BIT string: !binary |- H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3m kuwdaUcjKasqgcplVmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZk AWz2zkrayZ4hgKrIHz9+fB8/In5x8tGrvFmX7Uk1yz96lH70ej2d5k3z0Sj5 6Gk1NZ+++vThg4f7uwf37+kXT7OWv9jb2X2wvXNve4+/eFMs8qbNFqvwqze7 Dx/t7zy6vzf+9N7+we6Dg5/ixlWblceLar1s0Xz34Xhv337+tGim5psd++np u3yxaotqGX78JnuXTUrGJ4RCX+DDnfGDT/3PTrJyui5pBLPg2+zd82KZN/TZ 9xKiC/54UdFfH+1uPz/TFoYgL0927u3Qox9nk6Is2mt809brHJ8+IfRnWX39 PL/MS3xxPJvVStn+OPrjBVAZ08Pxp3v46BVhjL93xjv71LVpJh/dO9A/u4Oz XzzN26wo7fBO0F3NKH/1Gk1e5ReK0fFz/P2ddV00b65X3OfrliDaTw0Vdnbx EcH+GqgyoBfZgtsdPz9+cvzFMT6nZu7T9PWb4zen6Zvj3/ujX5J8P/klyYgw dxOzt/3slb5jUHr2irqjRz/+0cS8N6oMyE3BLSfm+4k0UWI6MdIP6M+PHu7e T1+n38mmb5tqmb5uAVW/Nog/Jf2Bj0900r6olu1FtciJHvi0S5qXFamb0rx8 79PdHRb+LsUIL/nojGm/t3N/78HDh/iGB2ve39nd3dm9vwuyCKcpcvhu9/5O +rKYTrNZUZaMjH5pXmaKG7SflVWdL6c8MR7SZ2/wQYg0IUP90cd9JHce8hcB jgTCETuihX9J8v8AgnSEOtMFAAA= http_version: recorded_at: Thu, 23 Mar 2017 19:40:54 GMT recorded_with: VCR 3.0.3