Requirements
Select the Siigo credential for both integration requirements and pin the document type and payment type in the instructions; use DebtPayment for debts or AdvancePayment for advances. Posting uses direct API mode (http.request on /vouchers, /payment-receipts, /journals), which needs agent scripts enabled or a pinned script for the siigo_posting requirement. Import the Siigo chart of accounts and add the record type to the skill scope. Run against a Siigo test tenant before using the production credential.
Procedure document
The full SKILL.md your agent reads and follows.
Siigo payment voucher posting
Purpose
Turn a payment described in plain words ("cliente 900123456 pagó la factura FV-1-1234, 1.190.000 por transferencia") into a correctly posted document in Siigo Nube. The skill checks every reference against Siigo and against the imported chart of accounts before it posts, so that the document lands with the right third party, document type, payment method, cost center and account codes on the first attempt.
Scope
The work covers three document families: Recibo de Caja for money received from a customer, Comprobante de Egreso for money paid to a supplier, and Comprobante contable for free journal entries such as adjustments or advance crossings. It handles debt payments against open installments, advances without an invoice, and detailed account lines that must balance.
Excluded: purchase or sales invoices, cancelling or editing a document that already exists in Siigo, and creating third parties with address data that was not provided.
Data basis
- The payment description from the input: who paid or was paid, amount, date, payment method, invoice references, purpose.
- Siigo through the integration: contact lookup, cost centers, the open accounts payable of a supplier, and the document-type and payment-type catalogs read with http.get.
- The
siigo_cuentasrecord type in scope, searched with search_records on codigo and nombre to find the postable eight-digit accounts.
Result
One posted Siigo document with its returned number and name (for example RC-1-1234), and a posting log that lists every resolved value, the request that was sent and the answer from Siigo, or the reason why nothing was posted.
Quality criteria
- The third party exists in Siigo (contacts.list returns the contact) before any document is posted.
- Amounts are exact to the cent; the sum of dues equals the payment value and debits equal credits in detailed lines.
- Only eight-digit account codes from
siigo_cuentasare used; accounts marked "Con vencimiento" always carry a due reference. - A Siigo error is corrected and re-posted at most once; a duplicated_document error is reported, never re-posted.
Instructions
Read the payment description and decide the family: money in from a customer is a Recibo de Caja (POST /vouchers), money out to a supplier is a Comprobante de Egreso (POST /payment-receipts), anything else is a Comprobante contable (POST /journals). Look up the third party with contacts.list using digits only; if it is not found, stop and report. Use the document type and payment type the user pinned; otherwise take active entries with http.get on /document-types (type RC, CP or CC) and /payment-types (document_type RC or CP) and explain the choice. When the document type demands a cost center, choose one from cost_centers.list. For a debt payment on the supplier side, fetch the open installments with reports.accounts_payable and copy prefix, consecutive, quote and date exactly; on the customer side take the invoice reference from the description. For journal entries and detailed receipts, search siigo_cuentas with a codigo or nombre filter and pick eight-digit accounts only; add a due block whenever maneja_vencimientos says "Con vencimiento". Write amounts with two decimals and make dues sum to the value. Post once with http.request; if Siigo rejects the request, read the code and params in the error, fix that field and post again, but never post a third time. If the answer is a timeout, a server error or duplicated_document, report that the outcome in Siigo is unknown and ask for a manual check. Write the posting log with all resolved identifiers.
Adapt before use
- Select the Siigo credential for both integration requirements and pin document type and payment type; use DebtPayment for debts or AdvancePayment when the skill handles advances. Posting uses direct API mode, which needs agent scripts enabled or a pinned script.
- Add the Siigo chart of accounts record type to the skill scope after importing it.
- Test against a Siigo test tenant before pointing the credential at production.
Related procedures
- 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.
Tax & ComplianceUses adlass toolsCOby Felix Crombach1 helpful - 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.
Tax & ComplianceUses adlass toolsCOby Felix Crombach1 helpful - 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.
Closing & ReportingUses adlass toolsby adlass Templates0 helpful - 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.
Closing & ReportingUses adlass toolsby adlass Templates0 helpful