{"id":23390524,"url":"https://github.com/tty47/salary-calculator","last_synced_at":"2025-04-08T14:21:00.230Z","repository":{"id":107119396,"uuid":"386800385","full_name":"tty47/salary-calculator","owner":"tty47","description":null,"archived":false,"fork":false,"pushed_at":"2021-08-13T06:39:41.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T10:43:45.815Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tty47.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-17T00:48:53.000Z","updated_at":"2021-08-13T06:39:43.000Z","dependencies_parsed_at":"2023-03-22T18:04:20.122Z","dependency_job_id":null,"html_url":"https://github.com/tty47/salary-calculator","commit_stats":null,"previous_names":["tty47/salary-calculator"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tty47%2Fsalary-calculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tty47%2Fsalary-calculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tty47%2Fsalary-calculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tty47%2Fsalary-calculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tty47","download_url":"https://codeload.github.com/tty47/salary-calculator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247856552,"owners_count":21007622,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-22T03:31:59.114Z","updated_at":"2025-04-08T14:21:00.203Z","avatar_url":"https://github.com/tty47.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Go Report Card](https://goreportcard.com/badge/github.com/jrmanes/salary-calculator)](https://goreportcard.com/report/github.com/jrmanes/salary-calculator)\n\n# Salary Calculator\n\nIs an API which calculates the net salary in Spain.\n\n## Post Request\nExample:\n\n```json\n{\n  \"yearly_gross_salary\": 50000,\n  \"payments_per_year\": 12,\n  \"age\": \"28\",\n  \"professional_category\": \"A\",\n  \"contract_type\": \"A\",\n  \"family_situation\": \"\",\n  \"children_exclusive\": false,\n  \"children_younger_than_25\": 0,\n  \"children_younger_than_3\": 0\n}\n```\n\nPOST request to: http://localhost:8080/api/v1/\n\n\nThe response will be something like:\n\n```json\n{\n  \"gross_salary_per_year\": 50000,\n  \"gross_salary_per_month\": 4166,\n  \"net_salary_per_year\": 31500,\n  \"net_salary_per_month\": 2649,\n  \"irpf_applied\": 37,\n  \"irpf_retention_applied_per_year\": 18500,\n  \"irpf_retention_applied_per_month\": 1517,\n  \"retention_ss\": 3200\n}\n```\n\n----\nJose Ramón Mañes\n----\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftty47%2Fsalary-calculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftty47%2Fsalary-calculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftty47%2Fsalary-calculator/lists"}