Financial document classification
Classifies finance documents into controlled AP categories, extracts routing metadata, and flags ambiguous or duplicate evidence for review. Use for invoice intake, credit-note handling, receipt coding, statement registers, payment evidence, and accounts-payable triage.
Veröffentlicht 21. Aug. 2026 · Aktualisiert 26. Aug. 2026
Voraussetzungen
Add the AP class dictionary, routing matrix, supplier fields, and duplicate-key rule. Define required metadata, route vocabulary, confidence labels, and ambiguity handling.
Skill-Dokument
Das vollständige SKILL.md, das dein Agent liest und befolgt.
Financial document classification
Purpose
Assign each finance document one controlled class and capture the metadata needed for accounts-payable routing. Distinguish invoice, credit note, receipt, supplier statement, payment evidence, purchase-order support, and other finance document types while keeping uncertain classifications and duplicate candidates visible.
Scope
Use the document text, layouts, titles, totals, tax labels, supplier identifiers, invoice numbers, purchase-order references, payment references, and dates. Validate that the selected class is supported by the document, but do not approve an invoice, post a journal, calculate tax liability, or infer a supplier from an unrelated file name.
Excluded: payment execution, accounting entry creation, tax advice, supplier communication, and changing the AP system.
Data basis
- Finance document corpus and file or document identifiers.
- Classification dictionary with allowed classes, cues, exclusions, and tie-break rules.
- Supplier master, purchase-order register, invoice register, and AP routing policy when in scope.
Result
Create a classification register with document_id, class, supplier, document_number, issue_date, due_date, total, currency, purchase_order, payment_reference, duplicate_key, route, confidence note, and evidence citation. Include an exceptions section for unknown class, conflicting totals, duplicate candidates, and missing routing fields.
Quality criteria
- Each file receives exactly one primary class or the status ambiguous.
- A class is backed by at least one cited title, label, field, or structural cue.
- Credit notes are not treated as invoices merely because they contain a payable total.
- Duplicate candidates compare supplier, document number, date, total, and currency without deleting either source.
- Missing PO, supplier, due date, or currency is reported rather than invented.
Instructions
Apply the classification dictionary in its stated precedence order. Use invoice-number and credit-note markers before generic words such as “bill” or “statement.” A supplier statement remains a statement even when it lists unpaid invoices; a receipt remains a receipt when it shows a tax amount. Do not use file naming conventions as the sole basis for a class. Match records only when the relevant identity fields agree, and label near matches for review. Keep source wording and citations beside every routing decision.
Adapt before use
- Add the AP class dictionary, routing matrix, supplier fields, and duplicate-key rule.
- Define required metadata and permitted route values for each class.
- Map purchase-order and invoice-register columns to the source tables.
- State the confidence and ambiguity labels used by the finance team.
Verwandte Skills
- Preparar información exógena para la DIAN
Guía a un agente para preparar la información exógena DIAN de un contribuyente colombiano: diagnóstico de obligación, búsqueda de datos en Atlas o archivos del usuario, limpieza de terceros, matriz de formatos, live documents de revisión, tablas listas para prevalidador y paquete final.
- Registrar una factura de compra en Siigo
Guía a un agente para construir el payload completo y registrar una factura de compra (FC) en Siigo a partir de una factura electrónica, resolviendo impuestos, retenciones, pagos, centro de costo y terceros.
- Siigo chart of accounts import
Imports the chart of accounts exported from Siigo Nube into the Siigo chart of accounts record type so posting skills can look up account codes. Use after creating the table from the Siigo integration or whenever accounts change.
- Siigo payment voucher posting
Posts a Recibo de Caja, Comprobante de Egreso or Comprobante contable in Siigo Nube from a described payment, resolving the third party, open invoices, document type and account codes before writing. Use when a payment must be recorded in Siigo with the correct accounts.