Automate your work with AI, from the first rule to the complete workflow
Your progress
0 lesson completed out of 50

A lesson is completed when you tick it, when you watch its video to the end or when you score 80% on its quiz. The certificate is issued online after the final assessment, from a score of 32 out of 40.

Your progress is saved in this browser. Log in to your client area to pick it up on your other devices.

Video transcript

Lesson 33, module 9: Everyday flows Extracting data from invoices and incoming documents Eighty invoices a month, three minutes each: four hours of re-keying. Since September 2026, some already arrive as structured data. [Diagram: E-invoicing in France] 1 Sept 2026: Receiving, for all 1 Sept 2026: Issuing, large and mid-sized firms 1 Sept 2027: Issuing, SMEs and micro-businesses Timetable published by the authorities. Between the two dates, PDFs will keep arriving from your SME suppliers. The flow reads the PDF, the AI fills in the fields, the code checks. [Diagram: From attachment to approved line] 1. Document received 2. Document text 3. Fields as JSON 4. Checks 5. Approval The AI reads, the code checks, a person approves. Payment stays outside the flow. The AI copies; it doesn't calculate or guess. Prompt: Extract from this invoice: supplier, SIREN, number, date, excl. VAT, VAT, incl. VAT. Amounts as numbers, dates YYYY-MM-DD, null if missing. Response: { "fournisseur": "Négoce Atlantique", "siren": "812345676", "numero": "FA-26-1187", "date_facture": "2026-11-03", "montant_ht": 1250, "total_tva": 250, "montant_ttc": 1500 } The code recalculates what the AI read. Excl. VAT + VAT = incl. VAT, to the cent SIREN with its check digit Same number, same supplier: duplicate Paying, changing bank details, deleting: never through the flow. [Diagram: What the flow is allowed to do] Green: On its own Orange: Proposed, then approved Red: Never through the flow Our rule: in the first month, every line goes to "to approve". After three weeks with no errors, lines with no alert go through on their own. With Microsoft 365, AI Builder reads invoices too, for credits. "Extract information from invoices" action A confidence score per field No credits, and the action fails In the exercise, you build the parts-invoice flow for a garage.

Your turn: A car garage's parts invoices The written lesson, the worked exercise and the quiz are below the video.

Lesson 33 of 50 · module 9, everyday workflows

Extract data from the invoices and documents you receive

An invoice received as a PDF becomes a spreadsheet line in three steps: extract the text, have the AI fill in a strict JSON schema, then let code recalculate the totals, check the SIREN and look for duplicates. The accountant approves. E-invoices from approved platforms, on the other hand, arrive already structured.

  • 29 min of reading
  • 1 min 55 of video
  • 7 diagrams
  • 1 demande to copy
  • 3 exemples pratiques
  • 4 exercices answerss
  • 5 questions
  • 1 ressource

By the end of this lesson, you will know how to

  • Understand what the e-invoicing reform changes for the documents you receive
  • Write the JSON schema and instruction that extract an invoice without inventing any value
  • Set up automatic checks that stop a doubtful document before it is entered

What’s covered

  1. What the reform changed on 1 September 2026
  2. First look at what you already pay for
  3. The supplier invoice workflow sheet
  4. Extract the text, then the fields
  5. Checks that code does better than AI
  6. The same with Power Automate and AI Builder
  7. 3 worked examples, followed from start to finish
  8. Exercise with answers · Parts invoices for a car garage
  9. 3 practice exercises, from guided to demanding cases
  10. The quiz

Key points

  • Since 1 September 2026, every business receives e-invoices through an approved platform; SMEs start issuing them from 1 September 2027.
  • An e-invoice already arrives as structured data: AI extraction is for PDFs, expense claims and documents.
  • The AI copies into a strict JSON schema: amounts as numbers, dates as YYYY-MM-DD, null if missing, an “uncertain” boolean.
  • The code recalculates the totals, checks the SIREN and looks for duplicates; a single alert is enough to set “to check”.
  • Paying, changing an IBAN and deleting a document stay outside the workflow, in red.