{"id":22348003,"url":"https://github.com/slashgordon/buchhaltung","last_synced_at":"2025-10-15T16:21:37.024Z","repository":{"id":103786321,"uuid":"263061093","full_name":"SlashGordon/buchhaltung","owner":"SlashGordon","description":"Renames invoices in pdf format based on the content of pdf and rules.","archived":false,"fork":false,"pushed_at":"2020-06-13T20:47:55.000Z","size":83,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T10:48:39.655Z","etag":null,"topics":["cli","pdf","rename-files"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SlashGordon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-05-11T14:09:14.000Z","updated_at":"2023-02-14T03:26:13.000Z","dependencies_parsed_at":"2023-03-13T15:05:57.822Z","dependency_job_id":null,"html_url":"https://github.com/SlashGordon/buchhaltung","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/SlashGordon/buchhaltung","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SlashGordon%2Fbuchhaltung","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SlashGordon%2Fbuchhaltung/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SlashGordon%2Fbuchhaltung/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SlashGordon%2Fbuchhaltung/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SlashGordon","download_url":"https://codeload.github.com/SlashGordon/buchhaltung/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SlashGordon%2Fbuchhaltung/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267687760,"owners_count":24128005,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"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":["cli","pdf","rename-files"],"created_at":"2024-12-04T10:12:10.293Z","updated_at":"2025-10-15T16:21:31.986Z","avatar_url":"https://github.com/SlashGordon.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/SlashGordon/buchhaltung.svg?branch=master)](https://travis-ci.org/SlashGordon/buchhaltung)\n[![Coverage Status](https://coveralls.io/repos/github/SlashGordon/buchhaltung/badge.svg?branch=master)](https://coveralls.io/github/SlashGordon/buchhaltung?branch=master)\n# buchhaltung\n\n## rename invoice\n\nThe renaming function reads the PDF and extracts variables for the renaming.\n\nbuild binary with:\n\n```shell\ngo get -d -v ./... \u0026\u0026 go build buchhaltung.go\n```\n\nMove all PDF invoices to a directory. At the moment we only support pure PDFs and not scans.\n\nCreate a json config file like:\n\n```json\n[\n    {\n        \"outputname\": \"{number}_{company}.pdf\",\n        \"identifyers\":     {\n            \"number\":  \"Belegnummer\\\\s+(WF\\\\d{11})\",\n            \"company\": \"(weinfreunde)\"\n        }\n    },\n    {\n        \"outputname\": \"{number}_{company}.pdf\",\n        \"identifyers\":     {\n            \"number\":  \"Rechnungsnr.:\\\\s+(F\\\\d{11})\",\n            \"company\": \"(klarmobil)\"\n        }\n    }\n]\n```\n\nAnd run buchhaltung:\n```shell\nbuchhaltung invoice -i /Users/test/bills -o /Users/test/bills/output -c /Users/test/\nconfig_example.json\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslashgordon%2Fbuchhaltung","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslashgordon%2Fbuchhaltung","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslashgordon%2Fbuchhaltung/lists"}