Customer invoice data validation
Validates customer invoice records against orders, contracts, tax fields, and payment terms, flagging duplicates, arithmetic errors, missing identifiers, and inconsistent customer or currency data. Use for billing QA, invoice audits, accounts-receivable cleanup, pre-send checks, and master-data validation.
Veröffentlicht 21. Aug. 2026 · Aktualisiert 26. Aug. 2026
Voraussetzungen
Map invoice, line, customer, order, tax, and currency columns. Add approved validation rules and duplicate tolerance. Define treatment of credit notes, voids, and manual invoices. Add the payment-term reference table.
Skill-Dokument
Das vollständige SKILL.md, das dein Agent liest und befolgt.
Customer invoice data validation
Purpose
Check whether customer invoices are complete, internally consistent, and supported by the order or contract that generated them. Produce row-level exceptions that billing staff can reproduce without changing the source ledger.
Scope
Review invoice headers and lines, customer master, sales orders, contracts, tax-code table, currency table, and payment terms. Excluded: issuing invoices, changing customer master data, jurisdiction-specific tax advice, and collecting overdue balances.
Data basis
- Invoice table with invoice_id, customer_id, invoice_date, due_date, currency, subtotal, tax, total, and status.
- Line table with quantity, unit_price, line_amount, tax_code, and order_id.
- Customer, order, contract, tax-code, currency, and payment-term tables.
Result
Create an invoice validation sheet with one row per invoice or defect, check name, expected value, observed value, severity, and citations, plus a summary of pass and exception counts.
The result must distinguish a failed business rule from a missing source field and an arithmetic mismatch from a duplicate candidate. Keep the invoice identifier on every exception so a billing operator can trace it back to the exact header or line.
Quality criteria
- Recompute every invoice total from line amounts and tax fields.
- Flag duplicate IDs and same-customer/date/total candidates separately.
- Reconcile customer, order, currency, and payment-term keys.
- Preserve zero, negative, credit-note, void, and missing values.
- Cite invoice, line, order, contract, or master-data rows for each exception.
Instructions
Treat credit notes and negative lines according to document type. Compare due dates with the supplied payment-term rule. Use exact currency codes and source decimal precision. A missing order is an exception, not proof that an invoice is invalid. Keep void invoices in the population with their status. Report manual overrides when no approval citation exists.
Adapt before use
- Map invoice, line, customer, order, tax, and currency columns.
- Add approved validation rules and duplicate tolerance.
- Define treatment of credit notes, voids, and manual invoices.
- Add the payment-term reference table.
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.