Skip to content
MALATZI
Reference sector: SMEs & back office

Document processing with human approval

A workflow that receives supplier invoices, extracts their data, validates it against purchase orders and asks for human approval before recording anything.

Internal demonstration · Not a client project

The problem

The accounts team receives PDF invoices by email, opens them one by one, copies the data into the management system and checks amounts against orders.

It's slow, error-prone work, and discrepancies are discovered late.

Technologies

  • AI-assisted document extraction
  • Validation rules
  • PostgreSQL
  • TypeScript
  • Approval inbox

System architecture

  1. 01 · Input

    • Dedicated invoice mailbox
    • Manual document upload
  2. 02 · Extraction

    • Document reading
    • Supplier, number, date, amounts and VAT extraction
  3. 03 · Validation

    • Purchase order matching
    • Duplicate check
    • Amount rules
  4. 04 · Approval & recording

    • Approval inbox
    • Management database record
    • Team notification

Workflow

  1. 01

    Document received

    The invoice reaches the mailbox and is logged with a unique ID.

  2. 02

    Extraction

    The key fields are read from the document.

  3. 03

    Validation

    They're compared against the purchase order and differences are flagged.

  4. 04

    Human approval

    A person reviews the data and approves or rejects it. Nothing is recorded without this step.

  5. 05

    Database update

    The approved data is saved in the management system.

  6. 06

    Notification

    The team is informed and the document is archived.

Expected operational benefit

  • Less manual typing and fewer transcription errors.
  • Differences against orders are caught before payment.
  • Every record has an approver and a history.

Qualitative benefits expected from the design. These are not measured results.

Live demonstration

Demonstration D

Smart operations

A supplier invoice goes through the full workflow: extraction, validation, human approval, database update and notification. Nothing is recorded until a person approves it.

Internal demonstration with fictional data. It is not connected to any client, CRM, mailbox or real database, and it sends nothing.

Example SuppliesInvoice
Nº
F-2026-0412
Date
14/11/2026
Order
PO-1187
Net amount€1,240.00
VAT 21%€260.40
Total€1,500.40
Simulated · PDF

—

  1. Document receivedPendingArrives in the invoices mailbox.
  2. Information extractedPendingSupplier, number, date and amounts.
  3. ValidationPendingChecked against the purchase order.
  4. Human approvalPendingA person reviews and decides.
  5. Database updatePendingApproved data only.
  6. NotificationPendingTeam informed, document archived.
Press “Run demonstration” to see the journey.
All work

Next step

Let's start with your process, not the technology.

Choose where you'd like to start. Either way, the first conversation carries no commitment, and we'll tell you honestly what's worth doing and what isn't.

The first 30-minute call is free, with no commitment.

In English, Spanish or Catalan · Spain and international