{"id":23057428,"url":"https://github.com/concaption/invoice-processing","last_synced_at":"2025-07-25T05:10:14.565Z","repository":{"id":214662180,"uuid":"737059188","full_name":"concaption/invoice-processing","owner":"concaption","description":"PDF Invoice processing and Inventory mangement in google sheets","archived":false,"fork":false,"pushed_at":"2023-12-29T17:46:15.000Z","size":557,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-08T19:45:05.734Z","etag":null,"topics":["fastapi","google-sheets","invoice","invoice-management","invoice-pdf","pypdf2"],"latest_commit_sha":null,"homepage":"","language":"Python","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/concaption.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}},"created_at":"2023-12-29T17:26:42.000Z","updated_at":"2023-12-29T17:29:06.000Z","dependencies_parsed_at":"2023-12-29T18:41:16.004Z","dependency_job_id":null,"html_url":"https://github.com/concaption/invoice-processing","commit_stats":null,"previous_names":["concaption/invoice-processing"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/concaption%2Finvoice-processing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/concaption%2Finvoice-processing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/concaption%2Finvoice-processing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/concaption%2Finvoice-processing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/concaption","download_url":"https://codeload.github.com/concaption/invoice-processing/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246944389,"owners_count":20858773,"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":["fastapi","google-sheets","invoice","invoice-management","invoice-pdf","pypdf2"],"created_at":"2024-12-16T02:12:17.052Z","updated_at":"2025-04-03T06:12:54.525Z","avatar_url":"https://github.com/concaption.png","language":"Python","readme":"\u003cdiv align=\"center\"\u003e\n\u003ch1\u003ePDF Invoice processing and Inventory mangement in google sheets\u003c/h1\u003e\n  \n![GitHub contributors](https://img.shields.io/github/contributors/concaption/invoice-processing?color=%2333d679\u0026style=flat-square)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n[![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)](https://github.com/ellerbrock/open-source-badges/)\n[![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://lbesson.mit-license.org/)\n\u003c/div\u003e\n\n![Job Board in django](/screenshot.png)\n\nA FastAPI web application for an Ecommarce that automates the process of invoice data extraction and Google Sheet updating. The web application serves as a central hub for collecting and managing invoice data, providing both automated and manual options for PDF uploads. Created using FastAPI, OAuth2, and a variety of other technologies, the application is robust, secure, and highly automated. It features scheduled email fetching to automate the collection of invoices and offers data validation checks to ensure the consistency and accuracy of the populated data.\n\n### Features\n\n1. **User Authentication**: Secure login mechanism to authenticate users.\n2. **PDF Upload**: Interface to upload PDF files manually.\n3. **Data Extraction**: Extract specific fields like order code, shipping address, product details, etc., from the uploaded PDF.\n4. **Google Sheets Integration**: Populate the extracted data into a Google Sheet.\n5. **Scheduled Email Fetching**: Automated function to fetch PDF attachments from a user’s email at scheduled intervals.\n6. **Data Validation**: Validation checks to ensure data consistency and accuracy.\n\n### Technology\n\n- Backend: FastAPI\n- User Authentication: OAuth2 (admin account only)\n- PDF Parsing: PyPDF2 or pdfplumber\n- Data Population: Google Sheets API\n- Front-end: HTML, CSS, and JavaScript\n\n\n## Installation steps\n\nClone the Repo and install the requirements\n\n```\ngit clone https://github.com/concaption/invoice-processing.git\ncd invoice-processing\npip install -r requirements.txt\npython main.py\n```\n\n## Author\nYou can get in touch with me on my LinkedIn Profile:\n\n#### Usama Navid\n[![LinkedIn Link](https://img.shields.io/badge/Connect-concaption-blue.svg?logo=linkedin\u0026longCache=true\u0026style=social\u0026label=Connect\n)](https://www.linkedin.com/in/concaption)\n\nYou can also follow my GitHub Profile to stay updated about my latest projects: [![GitHub Follow](https://img.shields.io/badge/Connect-concaption-blue.svg?logo=Github\u0026longCache=true\u0026style=social\u0026label=Follow)](https://github.com/concaption)\n\nIf you liked the repo then kindly support it by giving it a star ⭐!\n\n## Contributions Welcome\n[![forthebadge](https://forthebadge.com/images/badges/built-with-love.svg)](#)[![forthebadge made-with-python](http://ForTheBadge.com/images/badges/made-with-python.svg)](https://www.python.org/)\n\nIf you find any bug in the code or have any improvements in mind then feel free to generate a pull request.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconcaption%2Finvoice-processing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconcaption%2Finvoice-processing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconcaption%2Finvoice-processing/lists"}