--- http_interactions: - request: method: post uri: https://sandbox.emites.com.br/api/v1/nfse body: encoding: UTF-8 string: '{"emitter_id":4,"rps_type":1,"serie":"a","emission_date":"2015-03-23T13:34:24Z","operation_nature":1,"rps_situation":1,"service_values":{"service_amount":1000.0,"deduction_amount":0,"retained_iss":false,"calculation_base":1000.0,"iss_percentage":5.0,"iss_amount":50.0,"pis_amount":0,"cofins_amount":0,"inss_amount":0,"ir_amount":0,"csll_amount":0,"service_item_code":"0105","city_tax_code":"010501","description":"RSPEC Servicos de informatica","city_code":3304557,"nfse_liquid_amount":1000.0,"discount_conditioning_amount":0},"taker":{"cpf":"83051507121","city_inscription":"92708711","social_reason":"Tomador RSPEC","address":{"street":"Feijó Júnior","number":"535","neighborhood":"São Pelegrino","neighborhood_type":"COM","city_code":4305108,"state":"RS","zip_code":95110550,"city":"Caxias do Sul"},"contact":{"phone":"32272144","ddd":54}}}' headers: User-Agent: - Emites Ruby Client v0.0.2 Accept: - application/json Content-Type: - application/json response: status: code: 202 message: ACCEPTED headers: Allow: - GET, POST, HEAD, OPTIONS Content-Type: - application/json Date: - Mon, 23 Mar 2015 13:34:27 GMT Location: - https://sandbox.emites.com.br/api/v1/nfse/561 Server: - nginx/1.6.2 User-Agent: - emites-sandbox-v1 Vary: - Cookie X-Frame-Options: - SAMEORIGIN Content-Length: - '2668' Connection: - keep-alive body: encoding: ASCII-8BIT string: !binary |- eyJfbGlua3MiOiBbeyJocmVmIjogImh0dHBzOi8vc2FuZGJveC5lbWl0ZXMu Y29tLmJyL2FwaS92MS9uZnNlLzU2MSIsICJtZXRob2QiOiAiR0VUIiwgInJl bCI6ICJzZWxmIn0sIHsiaHJlZiI6ICJodHRwczovL3NhbmRib3guZW1pdGVz LmNvbS5ici9hcGkvdjEvbmZzZS81NjEiLCAibWV0aG9kIjogIkRFTEVURSIs ICJyZWwiOiAiZGVzdHJveSJ9LCB7ImhyZWYiOiAiaHR0cHM6Ly9zYW5kYm94 LmVtaXRlcy5jb20uYnIvYX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MDgsICJ6aXBf Y29kZSI6ICI5NTExMDU1MCJ9LCAic3RhdGVfaW5zY3JpcHRpb24iOiBudWxs LCAic29jaWFsX3JlYXNvbiI6ICJUb21hZG9yIFJTUEVDIiwgImNwZiI6ICI4 MzA1MTUwNzEyMSIsICJjb250YWN0IjogeyJwaG9uZSI6ICIzMjI3MjE0NCIs ICJlbWFpbCI6IG51bGx9LCAic3BlY2lhbF9zaXR1YXRpb24iOiBudWxsLCAi Zm9yZWlnbl90YWtlciI6IGZhbHNlfSwgImVtaXR0ZXJfaWQiOiA0LCAiYmF0 Y2hfaWQiOiBudWxsLCAieG1sX3VybCI6IG51bGwsICJwZGZfdXJsIjogbnVs bCwgImlkIjogNTYxLCAiaXNfY29tcGxldGUiOiB0cnVlLCAic3RhdHVzIjog InNjaGVkdWxlZCIsICJkZXNjcmlwdGlvbiI6ICJBZ2VuZGFkbyBvIHByb2Nl c3NhbWVudG8gZGEgTkZTZSIsICJuZnNlX2tleSI6IG51bGwsICJuZnNlX251 bWJlciI6IG51bGwsICJwcm90b2NvbCI6IG51bGwsICJzZW5kX25mc2VfdGFr ZXIiOiBmYWxzZSwgImlzX2FwaSI6IHRydWUsICJ1c2VyX2lkIjogbnVsbCwg Im51bWJlciI6IDIxMDM0NzM0NjgsICJzZXJpZSI6ICJhIiwgInJwc190eXBl IjogMSwgImVtaXNzaW9uX2RhdGUiOiAiMjAxNS0wMy0yM1QxMzozNDoyNFoi LCAib3BlcmF0aW9uX25hdHVyZSI6IDEsICJycHNfc2l0dWF0aW9uIjogMSwg Im90aGVyX2luZm9ybWF0aW9ucyI6IG51bGwsICJjb21wZXRlbmNlIjogbnVs bCwgInNwZWNpYWxfcmVnaW1lIjogbnVsbCwgImVtaXR0ZXJfbmF0aW9uYWxf c2ltcGxlX29wdGFudCI6IGZhbHNlLCAiZW1pdHRlcl9jdWx0dXJhbF9wcm9t b3RlciI6IGZhbHNlfQ== http_version: '1.1' adapter_metadata: effective_url: https://sandbox.emites.com.br/api/v1/nfse recorded_at: Mon, 23 Mar 2015 13:34:27 GMT recorded_with: VCR 2.9.3