Commit Graph

14 Commits

Author SHA1 Message Date
b9324ff45e
feat: implement bearer token validation and add functionality to retrieve specific invoice details 2025-01-12 12:04:21 +11:00
ac53c3c6cf
feat: implement bearer token validation for payer and invoice routes 2025-01-12 11:33:20 +11:00
1db3122579
feat: add COS integration for uploading generated invoices to cloud storage 2025-01-12 11:27:43 +11:00
64578233f0
feat: add email functionality for invoices using Nodemailer and Markdown template 2025-01-12 11:01:54 +11:00
feee4184a4
feat: format ABN for consistency, enhance invoice data structure, and add contact email to invoice 2025-01-12 10:45:54 +11:00
daab8ec07d
feat: integrate PDF generation for invoices using Handlebars and Puppeteer, and add invoice template 2025-01-12 10:39:40 +11:00
9e0a71866a
refactor: simplify invoice creation by extracting payer information into a separate object 2025-01-12 10:02:08 +11:00
647e1e097a
feat: refactor invoice creation logic to improve validation and streamline item processing 2025-01-12 09:56:02 +11:00
cd1766db0f
feat: enhance /invoice route with comprehensive validation for required fields and item formats, and implement invoice creation logic 2025-01-12 09:31:03 +11:00
3cfcdd701a
feat: add Invoice and InvoiceItem classes, integrate decimal.js for precise calculations, and update error handling in HttpError class 2025-01-12 09:07:41 +11:00
361bfc6d75
feat: integrate Prisma into createPayer function and enhance error handling for existing ABN 2025-01-12 08:10:21 +11:00
ed85337715
feat: integrate Prisma for database management, add Payer and Invoice models, and enhance error handling in /payer route 2025-01-12 07:13:02 +11:00
6c6936097e
feat: refactor routing in app.ts and update createPayer function to accept address as an array 2025-01-11 22:01:51 +11:00
d183b82a7c
feat: implement createPayer function and enhance /payer route with error handling 2025-01-11 21:57:51 +11:00