--- 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:27Z","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_id":6}' 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:29 GMT Location: - https://sandbox.emites.com.br/api/v1/nfse/562 Server: - nginx/1.6.2 User-Agent: - emites-sandbox-v1 Vary: - Cookie X-Frame-Options: - SAMEORIGIN Content-Length: - '2699' Connection: - keep-alive body: encoding: ASCII-8BIT string: !binary |- eyJfbGlua3MiOiBbeyJocmVmIjogImh0dHBzOi8vc2FuZGJveC5lbWl0ZXMu Y29tLmJyL2FwaS92MS9uZnNlLzU2MiIsICJtZXRob2QiOiAiR0VUIiwgInJl bCI6ICJzZWxmIn0sIHsiaHJlZiI6ICJodHRwczovL3NhbmRib3guZW1pdGVz LmNvbS5ici9hcGkvdjEvbmZzZS81NjIiLCAibWV0aG9kIjogIkRFTEVURSIs ICJyZWwiOiAiZGVzdHJveSJ9LCB7ImhyZWYiOiAiaHR0cHM6Ly9zYW5kYm94 LmVtaXRlcy5jb20uYnIvYXBpL3YxL25mc2UvNTYyL3N0YXR1cyIsICJtZXRo b2QiOiAiR0VUIiwgInJlbCI6ICJzdGF0dXMifSwgeyJocmVmIjogImh0dHBz Oi8vc2FuZGJveC5lbWl0ZXMuY29tLmJyL2FwaS92MS9uZnNlLzU2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sIiwgImNwZiI6ICI2MzI0MTcxMzEwNSIsICJjb250YWN0IjogeyJwaG9u ZSI6ICIyMTk5OTk5ODg4OCIsICJlbWFpbCI6ICJmdWxhbm9AZXhlbXBsby5j b20ifSwgInNwZWNpYWxfc2l0dWF0aW9uIjogMCwgImZvcmVpZ25fdGFrZXIi OiBmYWxzZX0sICJlbWl0dGVyX2lkIjogNCwgImJhdGNoX2lkIjogbnVsbCwg InhtbF91cmwiOiBudWxsLCAicGRmX3VybCI6IG51bGwsICJpZCI6IDU2Miwg ImlzX2NvbXBsZXRlIjogdHJ1ZSwgInN0YXR1cyI6ICJzY2hlZHVsZWQiLCAi ZGVzY3JpcHRpb24iOiAiQWdlbmRhZG8gbyBwcm9jZXNzYW1lbnRvIGRhIE5G U2UiLCAibmZzZV9rZXkiOiBudWxsLCAibmZzZV9udW1iZXIiOiBudWxsLCAi cHJvdG9jb2wiOiBudWxsLCAic2VuZF9uZnNlX3Rha2VyIjogZmFsc2UsICJp c19hcGkiOiB0cnVlLCAidXNlcl9pZCI6IG51bGwsICJudW1iZXIiOiAyMTAz NDczNDY5LCAic2VyaWUiOiAiYSIsICJycHNfdHlwZSI6IDEsICJlbWlzc2lv bl9kYXRlIjogIjIwMTUtMDMtMjNUMTM6MzQ6MjdaIiwgIm9wZXJhdGlvbl9u YXR1cmUiOiAxLCAicnBzX3NpdHVhdGlvbiI6IDEsICJvdGhlcl9pbmZvcm1h dGlvbnMiOiBudWxsLCAiY29tcGV0ZW5jZSI6IG51bGwsICJzcGVjaWFsX3Jl Z2ltZSI6IG51bGwsICJlbWl0dGVyX25hdGlvbmFsX3NpbXBsZV9vcHRhbnQi OiBmYWxzZSwgImVtaXR0ZXJfY3VsdHVyYWxfcHJvbW90ZXIiOiBmYWxzZX0= http_version: '1.1' adapter_metadata: effective_url: https://sandbox.emites.com.br/api/v1/nfse recorded_at: Mon, 23 Mar 2015 13:34:29 GMT recorded_with: VCR 2.9.3