{"action":"closed","issue":{"url":"https://api.github.com/repos/openfisca/openfisca-france/issues/139","labels_url":"https://api.github.com/repos/openfisca/openfisca-france/issues/139/labels{/name}","comments_url":"https://api.github.com/repos/openfisca/openfisca-france/issues/139/comments","events_url":"https://api.github.com/repos/openfisca/openfisca-france/issues/139/events","html_url":"https://github.com/openfisca/openfisca-france/issues/139","id":49418601,"number":139,"title":"salbrut to salnet always gives 0","user":{"login":"MattiSG","id":222463,"avatar_url":"https://avatars.githubusercontent.com/u/222463?v=3","gravatar_id":"","url":"https://api.github.com/users/MattiSG","html_url":"https://github.com/MattiSG","followers_url":"https://api.github.com/users/MattiSG/followers","following_url":"https://api.github.com/users/MattiSG/following{/other_user}","gists_url":"https://api.github.com/users/MattiSG/gists{/gist_id}","starred_url":"https://api.github.com/users/MattiSG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MattiSG/subscriptions","organizations_url":"https://api.github.com/users/MattiSG/orgs","repos_url":"https://api.github.com/users/MattiSG/repos","events_url":"https://api.github.com/users/MattiSG/events{/privacy}","received_events_url":"https://api.github.com/users/MattiSG/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-11-19T16:38:14Z","updated_at":"2015-01-09T14:37:16Z","closed_at":"2015-01-09T14:37:16Z","body":"For example, with the Paie API: http://paie.sgmap.fr/api/net?brut=1290\r\n\r\nThe translated OpenFisca call is:\r\n\r\n    {\"scenarios\":[{\"test_case\":{\"familles\":[{\"parents\":[\"ind0\"]}],\"foyers_fiscaux\":[{\"declarants\":[\"ind0\"]}],\"individus\":[{\"activite\":\"Actif occupé\",\"type_sal\":\"prive_cadre\",\"salbrut\":{\"2014-11\":1290},\"id\":\"ind0\"}],\"menages\":[{\"personne_de_reference\":\"ind0\"}]},\"legislation_url\":\"http://api.openfisca.fr/api/1/default-legislation\",\"period\":\"month:2014-11\"}],\"variables\":[\"salbrut\",\"sali\",\"salnet\",\"sal_h_b\"]}\r\n\r\nAnd the output is:\r\n\r\n    {\"apiVersion\":\"1.0\",\"method\":\"/api/1/calculate\",\"params\":{\"scenarios\":[{\"test_case\":{\"familles\":[{\"parents\":[\"ind0\"]}],\"foyers_fiscaux\":[{\"declarants\":[\"ind0\"]}],\"individus\":[{\"activite\":\"Actif occupé\",\"type_sal\":\"prive_cadre\",\"salbrut\":{\"2014-11\":1290}}],\"menages\":[{\"personne_de_reference\":\"ind0\"}]},\"legislation_url\":\"http://api.openfisca.fr/api/1/default-legislation\",\"period\":\"month:2014-11\"}],\"variables\":[\"salbrut\",\"sali\",\"salnet\",\"sal_h_b\"]},\"suggestions\":{\"scenarios\":{\"0\":{\"test_case\":{\"individus\":{\"ind0\":{\"birth\":\"1974-01-01\"}}}}}},\"url\":\"http://api.openfisca.fr/api/1/calculate\",\"value\":[{\"familles\":{\"0\":{\"parents\":[\"ind0\"]}},\"foyers_fiscaux\":{\"0\":{\"declarants\":[\"ind0\"]}},\"individus\":{\"ind0\":{\"activite\":0,\"salbrut\":{\"2014-11\":1290,\"year:2014-11\":0},\"type_sal\":1,\"birth\":\"1974-01-01\",\"sali\":{\"2014-11\":0,\"year:2014-11\":0},\"salnet\":{\"2014-11\":0,\"year:2014-11\":0},\"sal_h_b\":{\"2014-11\":0,\"year:2014-11\":0}}},\"menages\":{\"0\":{\"personne_de_reference\":\"ind0\"}}}]}\r\n\r\nI'd expect all the values other than `salbrut` to also be non-zero."}}