interactions:
- request:
    body: '{"address": {"city": "Rio de Janeiro", "city_code": 3304557, "country":
      "Brasil", "country_abbreviation": "BR", "country_code": "01058", "neighborhood":
      "Centro", "number": 42, "state": "RJ", "street": "dos testes", "street_type":
      "RUA", "zip_code": "20011020"}, "city_inscription": "00000000", "cnpj": "32929662000137",
      "contact": {"email": "financeiro@python-emites.test", "phone": "21000000000"},
      "fancy_name": "Empresa de Testes", "social_reason": "Empresa de Testes Ltda
      ME", "state_inscription": "ISENTO"}'
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Authorization: [Basic Njg1MTY3RDQxOTBEOTRBOTQ2MTk0ODdBMTA2NTYxRTc6]
      Cache-Control: [no-cache]
      Connection: [keep-alive]
      Content-Length: ['511']
      Content-Type: [application/json]
      User-Agent: [python-emites]
    method: POST
    uri: https://sandbox.emites.com.br:443/api/v1/takers
  response:
    body: {string: !!python/unicode '{"_links": [{"href": "https://sandbox.emites.com.br/api/v1/takers/13",
        "method": "GET", "rel": "self"}, {"href": "https://sandbox.emites.com.br/api/v1/takers/13",
        "method": "PUT", "rel": "update"}, {"href": "https://sandbox.emites.com.br/api/v1/takers/13",
        "method": "PATCH", "rel": "partial_update"}, {"href": "https://sandbox.emites.com.br/api/v1/takers/13",
        "mehod": "DELETE", "rel": "destroy"}], "address": {"street": "dos testes",
        "number": "42", "complement": null, "neighborhood": "Centro", "city_code":
        3304557, "state": "RJ", "zip_code": "20011020", "street_type": "RUA", "neighborhood_type":
        "RED", "city": "Rio de Janeiro", "reference_point": null, "country": "Brasil",
        "country_code": "01058", "country_abbreviation": "BR", "city_code_desc": null},
        "contact": {"phone": "21000000000", "email": "financeiro@python-emites.test"},
        "id": 13, "account_id": 56, "cpf": null, "cnpj": "32929662000137", "city_inscription":
        "00000000", "state_inscription": "ISENTO", "social_reason": "Empresa de Testes
        Ltda ME", "fancy_name": "Empresa de Testes", "substitute_state_inscription":
        null, "special_situation": 0, "foreign_taker": false}'}
    headers:
      allow: ['GET, POST, HEAD, OPTIONS']
      connection: [keep-alive]
      content-length: ['1136']
      content-type: [application/json]
      date: ['Mon, 10 Nov 2014 22:42:04 GMT']
      location: ['https://sandbox.emites.com.br/api/v1/takers/13']
      server: [nginx/1.4.7]
      user-agent: [emites-sandbox-v1]
      vary: ['Accept, Cookie']
      x-frame-options: [SAMEORIGIN]
    status: {code: 201, message: CREATED}
version: 1
