{"id":37026670,"url":"https://github.com/digitalfondue/vatchecker","last_synced_at":"2026-01-14T03:06:33.163Z","repository":{"id":57715554,"uuid":"135203718","full_name":"digitalfondue/vatchecker","owner":"digitalfondue","description":"java library for calling the eu vat checker web service","archived":false,"fork":false,"pushed_at":"2024-06-16T15:32:54.000Z","size":119,"stargazers_count":19,"open_issues_count":2,"forks_count":3,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-06-16T17:40:08.164Z","etag":null,"topics":["eu","eu-vat-validator","java","tin","tin-soap-service","vat-number","vies","vies-soap-service"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/digitalfondue.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2018-05-28T19:58:05.000Z","updated_at":"2024-06-16T15:32:57.000Z","dependencies_parsed_at":"2024-01-29T15:40:52.695Z","dependency_job_id":"2a688c8a-d531-490c-b36e-e3e5fb2a0741","html_url":"https://github.com/digitalfondue/vatchecker","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/digitalfondue/vatchecker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitalfondue%2Fvatchecker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitalfondue%2Fvatchecker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitalfondue%2Fvatchecker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitalfondue%2Fvatchecker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/digitalfondue","download_url":"https://codeload.github.com/digitalfondue/vatchecker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitalfondue%2Fvatchecker/sbom","scorecard":{"id":342493,"data":{"date":"2025-08-11","repo":{"name":"github.com/digitalfondue/vatchecker","commit":"8ef4df593e5774f83a853fa37a3b9e87855414d5"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: .mvn/wrapper/maven-wrapper.jar:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/28 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/maven.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/maven.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/digitalfondue/vatchecker/maven.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/maven.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/digitalfondue/vatchecker/maven.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/maven.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/digitalfondue/vatchecker/maven.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/digitalfondue/vatchecker/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/digitalfondue/vatchecker/release.yml/master?enable=pin","Info:   0 out of   5 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T06:12:51.694Z","repository_id":57715554,"created_at":"2025-08-18T06:12:51.694Z","updated_at":"2025-08-18T06:12:51.694Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408800,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["eu","eu-vat-validator","java","tin","tin-soap-service","vat-number","vies","vies-soap-service"],"created_at":"2026-01-14T03:06:31.064Z","updated_at":"2026-01-14T03:06:32.549Z","avatar_url":"https://github.com/digitalfondue.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vatchecker: a java library for fetching information from the VIES and TIN webservice\n\n[![Maven Central](https://img.shields.io/maven-central/v/ch.digitalfondue.vatchecker/vatchecker.svg)](http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22vatchecker%22)\n[![Build Status](https://img.shields.io/github/actions/workflow/status/digitalfondue/vatchecker/.github/workflows/maven.yml)](https://github.com/digitalfondue/vatchecker/actions?query=workflow%3A%22Java+CI+with+Maven%22)\n \nA small java client with 0 dependencies for calling:\n - the European \"VAT Information Exchange System\" (VIES) webservice for validating the VAT numbers. See http://ec.europa.eu/taxation_customs/vies/ .\n - the European \"TIN\" webservice. See https://ec.europa.eu/taxation_customs/tin/ .\n\n## License\n\nvatchecker is licensed under the Apache License Version 2.0.\n\n## Download\n\nmaven:\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ech.digitalfondue.vatchecker\u003c/groupId\u003e\n    \u003cartifactId\u003evatchecker\u003c/artifactId\u003e\n    \u003cversion\u003e1.6.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\ngradle:\n\n```\ncompile 'ch.digitalfondue.vatchecker:vatchecker:1.6.0'\n```\n\n## Use\n\nIf you use it as a module, remember to add `requires ch.digitalfondue.vatchecker;` in your module-info.\n\n\n### VIES\nAs a static method:\n\n```java\nEUVatCheckResponse resp = EUVatChecker.doCheck(\"IT\", \"00950501007\");\nAssert.assertEquals(true, resp.isValid());\nAssert.assertEquals(\"BANCA D'ITALIA\", resp.getName());\nAssert.assertEquals(\"VIA NAZIONALE 91 \\n00184 ROMA RM\\n\", resp.getAddress());\n```\n\nYou can create an instance if you prefer:\n\n```java\nEUVatChecker euVatChecker = new EUVatChecker();\nEUVatCheckResponse resp = euVatChecker.check(\"IT\", \"00950501007\");\nAssert.assertEquals(true, resp.isValid());\nAssert.assertEquals(\"BANCA D'ITALIA\", resp.getName());\nAssert.assertEquals(\"VIA NAZIONALE 91 \\n00184 ROMA RM\\n\", resp.getAddress());\n```\n\nFor error handling, see the tests, you may distinguish \"invalid\" and \"error\" which can have a Fault object:\n\n - https://github.com/digitalfondue/vatchecker/blob/master/src/test/java/ch/digitalfondue/vatchecker/EUVatCheckerTest.java\n\nYou can use your own data fetcher if customization is needed, see:\n\n - https://github.com/digitalfondue/vatchecker/blob/master/src/main/java/ch/digitalfondue/vatchecker/EUVatChecker.java#L183\n - https://github.com/digitalfondue/vatchecker/blob/master/src/main/java/ch/digitalfondue/vatchecker/EUVatChecker.java#L67\n\n### TIN\n\nAs a static method:\n\n```java\nEUTinCheckResponse resp = EUTinChecker.doCheck(\"BE\", \"00012511119\");\nAssert.assertEquals(true, resp.isValidStructure());\nAssert.assertEquals(true, resp.isValidSyntax());\n```\n\nLike the VIES counterpart, you can see the tests for all the possibile outputs:\n\n - https://github.com/digitalfondue/vatchecker/blob/master/src/test/java/ch/digitalfondue/vatchecker/EUTinCheckerTest.java\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigitalfondue%2Fvatchecker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdigitalfondue%2Fvatchecker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigitalfondue%2Fvatchecker/lists"}