What it does
Checks a Gmail inbox every 30 minutes for emails with ZIP attachments of invoices. It unpacks them, keeps the PDF and XML files, and uses GPT-4o-mini to read fields such as invoice number, date, issuer, subtotal, IVA and total. A calculator confirms that the total matches, the PDF is renamed and saved to Google Drive, and the details go to Google Sheets without duplicates.
Use cases
- 01Keep a sheet of received invoices up to date
- 02Check that each total equals subtotal plus IVA
- 03Save invoice PDFs by date and invoice number
Connects
Google Sheets · Google Drive · Compression · Code · AI Agent · OpenAI Chat Model · Structured Output Parser · Calculator