Aulafy
Courses/AI for small businesses and freelancers/Invoices, OCR, and Verifactu with Human Review

Invoices, OCR, and Verifactu with Human Review

AI can read invoices, organize fields, and flag inconsistencies. What it should not do at first is finalize accounting, taxes, or legal submissions without human review and the right software.

  • Design a flow: OCR → JSON → reviewable CSV.
  • Flag alerts for totals, dates, NIF, and duplicates.
  • Separate administrative assistance from tax compliance.
TerminalCode
Pipeline recomendado:
1. Subir factura a carpeta "entrada"
2. OCR local o proveedor con contrato
3. IA extrae JSON con campos obligatorios
4. Reglas validan importes, NIF, fecha y duplicados
5. Persona aprueba o corrige
6. Export CSV / integración con herramienta contable
7. Registro de evidencia y cambios
TerminalCode
alertas:
  - tipo: "total_no_cuadra"
    detalle: "base + iva no coincide con total"
  - tipo: "posible_duplicado"
    detalle: "mismo proveedor, fecha e importe"
  - tipo: "revision_humana"
    detalle: "importe superior a 1000 EUR"

Official Sources

  • Agencia Tributaria
  • Invoicing software systems and Verifactu