Gmail revolutionizes invoice management: It's never been this easy!
Gmail improves invoice management: Users can view, pay and automatically manage invoices – efficiently and clearly.

Gmail revolutionizes invoice management: It's never been this easy!
On February 16, 2025, the Gmail app for Android and iOS will present an important update in the area of invoice management. How City of Bremerhaven reports, users now have the ability to view and pay bills directly in the Gmail app. The system is able to automatically recognize incoming invoices and display important information clearly.
The new functionality of the summary cards allows the user to easily read data such as the amount, the due date and the payee. In addition, the integration with Google Tasks enables reminders for later payment.
Technical implementation and further developments
The technical implementation is based on the recognition of billing information in emails. This also affects an invoice processing application developed using Google Apps Script, like medium explained. This application uses the large Gemini language model to automatically analyze invoices that arrive as email attachments.
Timed triggers provide automation that required manual reviews before Gemini was introduced. The model makes it possible to automatically analyze invoices and return the relevant data in JSON format. Invoice emails are fetched in the “INBOX” label by default, with the application using the Gemini API for analysis.
Ease of use is highlighted by Google Apps Script's low-code platform, which enables seamless integration with Gmail and Google services. In the configuration sheet, the application can be initiated by clicking on the “START” button. There is also the option to set specific labels for invoice research.
An example of a successful invoice analysis returns JSON data showing the status of the invoice. Validated invoices appear green while invalid invoices appear red on the log sheet. If invoices are invalid, you also have the option of automatically sending an email response with the necessary corrections.
Current challenges include using the Gemini 1.5 API, which cannot directly use PDF data. Instead, a workaround is to convert them to PNG images. An update to the script to use PDF data directly was announced on July 23, 2024, and the final script is viewable in the repository.