{"id":23661324,"url":"https://github.com/prashant-malviya/invoice-generation-aurika","last_synced_at":"2026-04-29T23:31:43.100Z","repository":{"id":256271394,"uuid":"854789564","full_name":"Prashant-Malviya/Invoice-Generation-Aurika","owner":"Prashant-Malviya","description":"Developed a programmatic way of generating invoices for orders placed on an e-commerce platform. The invoice should match the provided format as closely as possible, including placeholders for company logos, signature images, and detailed order information.","archived":false,"fork":false,"pushed_at":"2024-09-09T19:57:49.000Z","size":55,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-20T18:17:05.508Z","etag":null,"topics":["api","libraries","ractjs","tailwindcss","vite"],"latest_commit_sha":null,"homepage":"https://invoice-generation-aurika-by-prashant.netlify.app/","language":"JavaScript","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/Prashant-Malviya.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-09T19:27:06.000Z","updated_at":"2024-09-09T20:05:20.000Z","dependencies_parsed_at":"2024-09-10T00:00:31.258Z","dependency_job_id":"3613fbb4-1276-42ea-9170-1f49e6fb7b3c","html_url":"https://github.com/Prashant-Malviya/Invoice-Generation-Aurika","commit_stats":null,"previous_names":["prashant-malviya/invoice-generation-aurika"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Prashant-Malviya/Invoice-Generation-Aurika","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prashant-Malviya%2FInvoice-Generation-Aurika","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prashant-Malviya%2FInvoice-Generation-Aurika/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prashant-Malviya%2FInvoice-Generation-Aurika/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prashant-Malviya%2FInvoice-Generation-Aurika/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Prashant-Malviya","download_url":"https://codeload.github.com/Prashant-Malviya/Invoice-Generation-Aurika/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prashant-Malviya%2FInvoice-Generation-Aurika/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32448369,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"ssl_error","status_checked_at":"2026-04-29T22:10:49.234Z","response_time":110,"last_error":"SSL_read: 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":["api","libraries","ractjs","tailwindcss","vite"],"created_at":"2024-12-29T04:57:12.334Z","updated_at":"2026-04-29T23:31:43.084Z","avatar_url":"https://github.com/Prashant-Malviya.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Invoice Generation Program\n\n## Objective\n\nDeveloped a programmatic way of generating invoices for orders placed on an e-commerce platform. The invoice should match the provided format as closely as possible, including placeholders for company logos, signature images, and detailed order information.\n\n## Features\n\n- Generate invoices in PDF format.\n- Include placeholders for company logos and signatures.\n- Compute and display item details, taxes, and total amounts.\n- Handle different tax types based on place of supply and delivery.\n- Convert total amounts to words.\n- Validate input parameters and handle potential errors.\n\n## Requirements\n\n- **Seller Details**: Name, Address, (City, State, Pincode), PAN No., GST Registration No.\n- **Place of Supply**\n- **Billing Details**: Name, Address, (City, State, Pincode), State/UT Code\n- **Shipping Details**: Name, Address, (City, State, Pincode), State/UT Code\n- **Place of Delivery**\n- **Order Details**: Order No., Order Date\n- **Invoice Details**: Invoice No., Invoice Details, Invoice Date\n- **Reverse Charge**: Yes/No\n- **Item Details**: Description, Unit Price, Quantity, Discount, Net Amount, Tax Rate\n- **Signature Image**\n\n## Computed Parameters\n\n- **Net Amount**: Unit Price * Quantity - Discount\n- **Tax Type**: CGST \u0026 SGST (9% each) if Place of Supply = Place of Delivery; IGST (18%) otherwise.\n- **Tax Amount**: Net Amount * Tax Rate\n- **Total Amount**: Net Amount + Tax Amount\n- **Amount in Words**\n\n## Implementation Approaches\n\n- **Custom HTML Approach**: Build an HTML file to match the invoice format and convert it to PDF.\n\n## Installation\n\nTo set up the project, follow these steps:\n\n1. **Clone the Repository**\n   ```bash\n   git clone https://github.com/your-username/invoice-generator.git\n   cd invoice-generator\n\n2. **Installation**\n   ```bash\n   npm i\n\n3. **Running the project**\n   ```bash\n   npm run dev\n\n## Explaination\n\n- This implementation utilizes a mock API that provides dummy data for generating the invoice. You can replace this mock API with a real API to fetch live data.\n- The fields in the invoice components are configurable and can be modified to suit specific requirements or changes in the invoice format.\n- The system supports uploading both a company logo and a signature image, which are included in the generated invoice.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprashant-malviya%2Finvoice-generation-aurika","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprashant-malviya%2Finvoice-generation-aurika","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprashant-malviya%2Finvoice-generation-aurika/lists"}