API

Crear ajuste por inflación

Changed on

Recalcula y crea de forma idempotente el asiento mensual para el período solicitado. Los importes se calculan en el servidor y no se aceptan líneas calculadas por el cliente.

post/api/v1/accounting/inflation-adjustments

Request

  • Base URL
    https://api.lapyme.com.ar
  • URL
    https://api.lapyme.com.ar/api/v1/accounting/inflation-adjustments
  • Auth
    HTTP bearer

Headers

Idempotency-Keystring required

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

Request body

period_startstring date required
closing_datestring date required
treatments_confirmedboolean
circuit_idstring

Circuito contable que cubre el ajuste y donde se registra: general o el id de un circuito de la organización (ver accounting_circuits en GET /api/v1/organization). Omitilo para cubrir todos los circuitos y registrar el ajuste en General.

descriptionstring nullable

Response

Repetición idempotente del ajuste existente

request_idstring required

Changes

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

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

    • warning

      removed the request property

    • warning

      removed the request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      the request property became nullable

    • info

      added 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

    • info

      added the success response with the status