{"id":23122654,"url":"https://github.com/folio-org/mod-invoice","last_synced_at":"2026-04-16T10:00:51.896Z","repository":{"id":37546721,"uuid":"170387235","full_name":"folio-org/mod-invoice","owner":"folio-org","description":"Invoice business logic","archived":false,"fork":false,"pushed_at":"2026-03-18T20:50:23.000Z","size":2704,"stargazers_count":2,"open_issues_count":1,"forks_count":5,"subscribers_count":15,"default_branch":"master","last_synced_at":"2026-03-19T06:15:44.524Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":false,"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/folio-org.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-02-12T20:35:05.000Z","updated_at":"2026-03-18T20:47:17.000Z","dependencies_parsed_at":"2023-02-13T21:30:29.368Z","dependency_job_id":"438a08bd-fb50-4a31-8a50-a186770a3640","html_url":"https://github.com/folio-org/mod-invoice","commit_stats":null,"previous_names":[],"tags_count":75,"template":false,"template_full_name":null,"purl":"pkg:github/folio-org/mod-invoice","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/folio-org%2Fmod-invoice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/folio-org%2Fmod-invoice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/folio-org%2Fmod-invoice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/folio-org%2Fmod-invoice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/folio-org","download_url":"https://codeload.github.com/folio-org/mod-invoice/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/folio-org%2Fmod-invoice/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31880882,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T09:23:21.276Z","status":"ssl_error","status_checked_at":"2026-04-16T09:23:15.028Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-12-17T07:29:20.318Z","updated_at":"2026-04-16T10:00:51.890Z","avatar_url":"https://github.com/folio-org.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mod-invoice\n\nCopyright (C) 2019-2023 The Open Library Foundation\n\nThis software is distributed under the terms of the Apache License,\nVersion 2.0. See the file \"[LICENSE](LICENSE)\" for more information.\n\n## Introduction\n\nThis is the Invoice business logic module.\n\n## Additional information\n\nNOTE: Only in case an acquisition unit has to be assigned to the Invoice, it is required that user should have an\nextra permission `invoices.acquisitions-units-assignments.create.execute` to create an invoice.\n\nNOTE: Only in case an acquisition units list has to be changed for the Invoice, it is required that user should have an\nextra permission `invoices.acquisitions-units-assignments.manage.execute` to update an invoice.\n\n### Integration\n\n\n#### Data import Kafka consumer\n\nIn order to fail the module start-up when data import Kafka consumer creation is failed the one should set \n`dataimport.consumer.verticle.mandatory` variable to `true`.\n\n\n## Interaction with Kafka\n\n\nThere are several properties that should be set for modules that interact with Kafka: **KAFKA_HOST, KAFKA_PORT, OKAPI_URL, ENV**(unique env ID).\nAfter setup, it is good to check logs in all related modules for errors. Data import consumers and producers work in separate verticles that are set up in RMB's InitAPI for each module. That would be the first place to check deploy/install logs.\n\n**Environment variables** that can be adjusted for this module and default values:\n* \"_mod.invoice.kafka.DataImportConsumerVerticle.instancesNumber_\": 1\n* \"_mod.invoice.kafka.DataImportConsumer.loadLimit_\": 5\n* \"*mod.invoice.kafka.DataImportConsumerVerticle.maxDistributionNumbe*r\": 100\n* \"_dataimport.consumer.verticle.mandatory_\": false       (should be set to true in order to fail the module at start-up if data import Kafka consumer creation failed)\n\n**These variables are relevant for the **Iris** release. Module version: 5.0.0 (5.0.1, 5.0.2, 5.0.3).**\n\n**Additional environment Variables** for 6.1+ versions:   \n* \"_mod.invoice.kafka.CancelledJobConsumerVerticle.instancesNumber_\": 1\n* \"_mod.invoice.kafka.CancelledJobExecutionConsumer.loadLimit_\": 1000\n\n### Issue tracker\n\nSee project [MODINVOICE](https://issues.folio.org/browse/MODINVOICE)\nat the [FOLIO issue tracker](https://dev.folio.org/guidelines/issue-tracker).\n\n### Other documentation\n\nOther [modules](https://dev.folio.org/source-code/#server-side) are described,\nwith further FOLIO Developer documentation at\n[dev.folio.org](https://dev.folio.org/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffolio-org%2Fmod-invoice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffolio-org%2Fmod-invoice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffolio-org%2Fmod-invoice/lists"}