Skip to main content
POST
/
api
/
v1
/
accounting
/
inflation-adjustments
Crear ajuste por inflación
curl --request POST \
  --url https://api.lapyme.com.ar/api/v1/accounting/inflation-adjustments \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'Idempotency-Key: <idempotency-key>' \
  --data '
{
  "occurred_at": "2023-12-25",
  "lines": [
    {
      "account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "adjustment_amount": 123
    }
  ],
  "description": "<string>"
}
'
{
  "request_id": "<string>",
  "data": {
    "journal_entry": {
      "object": "<string>",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    },
    "idempotent_replay": true
  },
  "warnings": [
    "<unknown>"
  ]
}

Authorizations

Authorization
string
header
required

Incluí tu API key en el header Authorization con el prefijo Bearer.

Headers

Idempotency-Key
string
required

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

Body

application/json
occurred_at
string<date>
required
lines
object[]
required
description
string | null

Response

Ajuste por inflación creado

request_id
string
required
data
object
required
warnings
any[]
required