/GetNFePDF4Gmail

This Google Apps Script automates the extraction, processing, and organization of PDF files containing electronic invoices (DANFE or NF-e) from Gmail. It scans emails for attachments, identifies the sender (supplier) and recipient (client) based on predefined lists, and renames the PDF files using a structured format: SUPPLIER-NF-DANFE.pdf.

Primary LanguageJavaScriptCreative Commons Zero v1.0 UniversalCC0-1.0

Watchers