# Invoice workflows Run counts cover 2026-11-16 → 2026-11-30 (n8n keeps 14 days). ```mermaid flowchart TD CR[Check Facture, 18:00
Cloud Run: new invoices,
credit notes, invoice status] --> F[(Facture)] F --> CC[Check Facturé Commandé, 08:20
sale status] CC --> OV[(Opération vente)] OV --> CD[Check Date de paiement, 08:30
payment status and date] CD --> OV ``` ## Check Date de paiement `PYXidVtTw6MUY3U2ARSXP` · active · every day at 08:30 · 14 runs For every `Opération vente` invoiced (*Statut Solde = Facturé*) and not paid: reads its `Facture` records and writes the payment status and date: *Payée* when the cashed amount reaches the amount due, *Impayée* past the due date, otherwise *En attente*. | | | |---|---| | Airtable | `Opération vente` (search, update), `Facture` (read) | | Errors go to | Error workflow | *Generate date paiement* does the same for one sale: the two copies of the rule must stay the same. ### Failures None recorded. ## Check Facture `AW3taSkgl00LThjmh4_Zd` · active · every day at 18:00 · 14 runs Runs three Google Cloud Run jobs one after the other: new invoices, new credit notes, invoice status. The logic is in Cloud Run (GoogleCloudRunFunctionProject), not in n8n. ### Failures None recorded. ## Check Facturé Commandé `NFqE1Har1ZvaDU5cKRyCO` · active · every day at 08:20 · 14 runs Recomputes each `Opération vente` status: *Facturé* when a final invoice exists, *Annulée* when the payment is cancelled, otherwise *Commandé*. | | | |---|---| | Airtable | `Opération vente` (search, update) | | Errors go to | Error workflow | ### Failures None recorded. ## Facture Transport Gmail `tH7Lt9PmVmAISUMHxWs2l` · active · every 3 hours · 113 runs Turns carrier invoices received by e-mail into `Facture transport` records. ```mermaid flowchart TD G[Labelled e-mails
in a Gmail inbox] --> P[PDF attachments] P --> AI[Gemini reads the invoice:
carrier, number, tracking numbers] AI --> M[Match Transporteurs,
Suivi Transporteur] M --> R[Create Facture transport
with the PDF; replace a duplicate] R --> L[Change the Gmail label] ``` | | | |---|---| | Airtable | `Transporteurs`, `Suivi Transporteur` (search); `Facture transport` (create, delete, search) | | Services | Gmail, Gemini 2.5 Flash | | Errors go to | Error workflow 2 (tech and the finance contact) | Runs on a staff member's personal Gmail and Gemini accounts: it stops if that person leaves. Move it to company accounts. ### Failures None recorded. ## Generate date paiement `ho_oMu0Vf-uKiqtPHTDuW` · active, dormant (no run in 14 days) · webhook *Check Date de paiement* for one `Opération vente`, on demand. ### Failures None recorded.