API

Reemplazar asiento manual

Changed on

Reemplaza un asiento manual editable y conserva las líneas identificadas por id. Si una línea imputada cambia financieramente, la primera solicitud devuelve allocations_require_unapply; repetí con un nuevo Idempotency-Key y unapply_allocated_lines=true para desimputar y editar en una sola transacción. Los asientos generados devuelven conflicto.

put/api/v1/accounting/journal-entries/{journal_entry_id}

Request

  • Base URL
    https://api.lapyme.com.ar
  • URL
    https://api.lapyme.com.ar/api/v1/accounting/journal-entries/{journal_entry_id}
  • Auth
    HTTP bearer

Path parameters

journal_entry_idstring uuid required

Headers

Idempotency-Keystring required

Clave estable para deduplicar reintentos de la misma operación.

Request body

occurred_atstring date required
descriptionstring required
referencestring nullable
exchange_ratenumber nullable
expected_updated_atstring date-time
unapply_allocated_linesboolean

Response

Asiento manual actualizado

request_idstring required

Changes

    • breaking

      removed the enum value DOL of the request property //

    • breaking

      removed the enum value PES of the request property //

    • breaking

      request property list-of-types was narrowed by removing types null from media type application/json

    • breaking

      request property // list-of-types was narrowed by removing types null from media type application/json

    • breaking

      request property list-of-types was narrowed by removing types null from media type application/json

    • info

      added the new optional request property //

    • info

      added the new optional request property

    • info

      the request property became nullable

    • info

      the request property // became nullable

    • info

      the request property became nullable

    • info

      added the new ARS enum value to the request property //

    • info

      added the new USD enum value to the request property //

    • info

      added the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status