Zum Inhalt springen
NEUMarktplatz und dein Team: Verkaufe, was du baust, und bekomm Pläne und Änderungen, die getestet sind, bevor du sie siehst. Neuigkeiten ansehen

Bibliothek / Finanzen, Rechnungen & Buchhaltung

Finanzen, Rechnungen & Buchhaltung

Gmail-Beleg-PDFs mit Claude auslesen und Kartenabrechnungen in Google Sheets abgleichen

Wenn eine markierte Gmail-E-Mail mit PDF eingeht, liest Claude den Beleg, Code prüft Summen und Steuern, die Ergebnisse werden in Google Sheets gespeichert und Zeilen der Kartenabrechnung werden zugeordnet.

Was sie bewirkt

## Receipts in, card statement matched PDF receipts and invoices that arrive in Gmail are read by Claude. Code checks every number (the total is printed in the document, lines and tax add up, the tax rate fits), saves the result to Google Sheets, and then matches your card statement against the receipts — with no AI in the matching. ### How it works 1. Gmail Trigger picks up mails with the label receipts and a PDF. The PDF text is extracted, and Claude reads the PDF into JSON. 2. Code checks it: the amounts must be written in the PDF text, quantity × price must equal each line, lines + tax must equal the total. A failed check is saved as Needs review with the reason. A scan with no text is flagged, not trusted. 3. Paste your card statement into the Card tab, run Reconcile now. Code matches by amount and date window and writes the Matches tab: Matched, Ambiguous, No receipt, Possible double charge, Near match, Receipt only, Duplicate receipt. 4. A Slack message lists what needs a human. ### Setup 1. Blank Google Sheet: paste its ID in Spreadsheet ID, run Run once (adds the Receipts, Card and Matches tabs), then select the sheet in the Google Sheets nodes. 2. Credentials: Gmail, Google Sheets, Anthropic, Slack (pick a channel the app is in). Create the Gmail label receipts. 3. In Config, set the card column names and the date window. ### Customization Change the currency, the date window and the amount tolerance in Config.

Die Schritte

  1. Gmail Trigger
  2. Reconcile now
  3. Config
  4. Is it a new email?
  5. Split attachments
  6. Extract text from PDF
  7. AI: Read receipt
  8. Check receipt
  9. Add to Receipts tab
  10. Read Receipts tab
  11. Read Card tab
  12. Match statement
  13. Clear Matches tab
  14. Matches rows

Insgesamt 21 Schritte.

Ähnliche Automatisierungen