{"id":23012703,"url":"https://github.com/velddev/google-appscripts-invoice-processor","last_synced_at":"2025-10-18T22:59:11.781Z","repository":{"id":221881270,"uuid":"755621050","full_name":"velddev/google-appscripts-invoice-processor","owner":"velddev","description":"Automatically pull invoices from an email address and save them to a google drive folder.","archived":false,"fork":false,"pushed_at":"2024-09-25T21:32:36.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T17:13:52.036Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/velddev.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}},"created_at":"2024-02-10T18:54:05.000Z","updated_at":"2024-09-25T21:32:40.000Z","dependencies_parsed_at":"2024-02-10T19:52:09.180Z","dependency_job_id":null,"html_url":"https://github.com/velddev/google-appscripts-invoice-processor","commit_stats":null,"previous_names":["velddev/google-appscripts-invoice-processor"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/velddev/google-appscripts-invoice-processor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/velddev%2Fgoogle-appscripts-invoice-processor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/velddev%2Fgoogle-appscripts-invoice-processor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/velddev%2Fgoogle-appscripts-invoice-processor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/velddev%2Fgoogle-appscripts-invoice-processor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/velddev","download_url":"https://codeload.github.com/velddev/google-appscripts-invoice-processor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/velddev%2Fgoogle-appscripts-invoice-processor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279636347,"owners_count":26203058,"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-10-18T02:00:06.492Z","response_time":62,"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":[],"created_at":"2024-12-15T10:18:52.968Z","updated_at":"2025-10-18T22:59:11.714Z","avatar_url":"https://github.com/velddev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google AppScripts Invoice Processor\n\nStreamline your invoicing process with our Google AppScripts Invoice Processor. This tool automatically retrieves invoices from a specified email address and stores them in a designated Google Drive folder.\n\n## Quick Start\n\nGet started in no time! Simply clone the [script](https://github.com/velddev/google-appscripts-invoice-processor/blob/main/index.gs) into your Google AppScripts project and proceed to setup.\n\n### Setup Instructions\n\nConfigure the script using the following properties:\n\nProperty | Required | Description | Additional Info\n--- | --- | --- | ---\n`drive-folder-id` | Yes | The Google Drive folder ID where invoices will be saved. Find this ID in your browser's address bar. | Ensure you have write access to the folder.\n`email` | Yes | The email address to monitor for incoming invoices. | Ensure consistency across your inbox.\n`file-pattern` | No | Defines the naming convention for saved files. Refer to [File Pattern Variables](#file-pattern-variables) for options.\n`folder-pattern` | No | Specifies the subfolder structure within the Drive folder. Subfolders are pre-created as needed.\n\n## Customization with Patterns\n\nUtilize patterns to tailor file and folder naming. Wrap variables in `{}` to integrate them into your naming scheme. For example, `{year}.{fileType}` could result in `2024.pdf`.\n\n### Folder Pattern Variables\n\nVariable | Description\n--- | ---\n`month` | Month of the received email.\n`quarter` | Quarter of the received email's month.\n`sender` | Sender's full email address.\n`senderDomain` | Root domain of the sender's email address, e.g., 'cloudflare' from 'notify.cloudflare.com'.\n`uniqueId` | A UUID for unique identification (though not [guaranteed to be globally unique](https://jhall.io/archive/2021/05/19/what-are-the-odds/)).\n`year` | Year of the received email.\n\n### File Pattern Variables\n\nVariable | Description\n--- | ---\n`fileName` | Original name of the file.\n`fileType` | File extension.\n`month` | Month of the received email.\n`quarter` | Quarter of the received email's month.\n`sender` | Sender's full email address.\n`senderDomain` | Root domain of the sender's email address.\n`uniqueId` | A UUID for unique identification.\n`year` | Year of the received email.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvelddev%2Fgoogle-appscripts-invoice-processor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvelddev%2Fgoogle-appscripts-invoice-processor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvelddev%2Fgoogle-appscripts-invoice-processor/lists"}