What problem does it solve?
This Skill helps you catch mis-linking between a PDF and the correct XML so invoices and accounting classifications are not corrupted by missing or incorrect associations.
Core Features & Use Cases
- Links integrity audit: Checks the PDF→XML linking strategy implemented across the project (including filename key matching, PDF text key extraction, raw PDF bytes key matching, consecutive-based fallback, and the final decision to mark as
sin_xml).
- Multiple-key handling verification: Confirms that PDFs containing multiple keys (notas de crédito) follow the intended rule for selecting which key to use (specifically verifying the “always last key” behavior).
- Omission reason audit: Verifies how omission reasons are assigned (e.g.,
non_invoice, timeout, extract_failed) to ensure the system records failures accurately and consistently.
Quick Start
Ask the AI to run an audit of the current linking logic in gestor_contable/core/factura_index.py for all five strategies and produce a verdict with any real findings, otherwise report “SIN PROBLEMAS”.