Volver a la biblioteca

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.

por adlass TemplatesVersión 1Usa herramientas de adlassUniversal

Publicado 26 de ago de 2026

Útil · 0Ver SKILL.md sin formato

Requisitos

Create the Siigo chart of accounts table from the Siigo credential card and add it to the skill scope. Upload the current Siigo export as the spreadsheet input on every run. Keep mode sync unless partial exports are uploaded on purpose.

Documento de la habilidad

El SKILL.md completo que tu agente lee y sigue.

Siigo chart of accounts import

Purpose

Siigo Nube does not expose the chart of accounts through its API, but posting a receipt or a journal entry needs the exact eight-digit account codes. This skill takes the Excel export from Siigo (Contabilidad → Cuentas contables → Exportar) and loads every account into the siigo_cuentas record type, so that a posting agent can search the codes instead of guessing them.

Scope

The export contains one row per account from the one-digit class down to the eight-digit transactional accounts, with the columns Código, Nombre, Categoría, Clase, Relación con, Maneja vencimientos, Diferencia fiscal, Activo and Nivel agrupación. All levels are loaded, because the hierarchy explains what a code means; only eight-digit codes are postable and the posting skill filters on that.

Excluded: editing accounts in Siigo, creating accounts that are missing from the export, and interpreting tax settings.

Data basis

  • The Siigo Excel export uploaded as a document; the parser skips the three title rows and uses the header row.
  • The siigo_cuentas record type created from the Siigo integration page, with fields codigo, nombre, categoria, clase, relacion_con, maneja_vencimientos, diferencia_fiscal, activo and nivel_agrupacion.

Result

A complete siigo_cuentas table that mirrors the export, and a memo with the counters (created, updated, deleted, unchanged), the number of eight-digit accounts and any rows that failed.

Quality criteria

  • The number of loaded records equals the number of account rows in the export.
  • Every codigo is unique and stored as text so leading zeros survive.
  • Accounts removed in Siigo disappear from the records because the run uses mode sync.
  • The value of maneja_vencimientos is kept verbatim; posting skills rely on it to know when an invoice reference (due) is mandatory.

Instructions

Use list_tables and describe_table to confirm that the export was parsed with the expected columns; the column names are the normalized headers of the sheet. Check the siigo_cuentas fields with describe_record_type. Then run a query of the form SELECT codigo, nombre, categoria, clase, relacion_con, maneja_vencimientos, diferencia_fiscal, activo, nivel_agrupacion FROM <table> with the real table key, adjusting aliases if the parser named a column differently, and filter out rows whose codigo is empty. Cast codigo to text if the parser detected it as a number. Call sync_records_from_query with keyField codigo, mode sync and dryRun true; compare the created and deleted counters against the row count of the sheet. When the preview looks right, run it for real. Finally count the eight-digit codes with a query and mention in the memo how many accounts carry "Con vencimiento" in maneja_vencimientos (cartera or proveedores accounts), since those need a due reference when posted.

Adapt before use

  • Create the Siigo chart of accounts table from the Siigo credential card and add it to the skill scope.
  • Upload the current export from Siigo Nube as the spreadsheet input on every run.
  • Keep mode sync unless partial exports are uploaded on purpose.

Habilidades relacionadas

  • 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 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.

  • Accounting client advisory report

    Turns management accounts, budget, prior periods, and operating data into a concise client advisory report with reconciled KPIs, explained variances, and prioritized actions. Use for monthly management accounts, client review meetings, and outsourced finance advisory.