Saltar al contenido principal
GET
Get accounting profile

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Parámetros de ruta

id
string<uuid>
requerido

Accounting profile identifier.

Ejemplo:

"550e8400-e29b-41d4-a716-446655440004"

Respuesta

OK

accountingMode
string
requerido

Accounting recognition mode (accrual).

Ejemplo:

"accrual"

createdAt
string
requerido

Creation timestamp (RFC3339, UTC).

Ejemplo:

"2026-06-14T12:00:00Z"

effectiveFrom
string
requerido

First civil day (YYYY-MM-DD) this chart of accounts governs, always a month start. A posting books on the chart that holds the contract's balance: the one in force on the day the contract opened, until a chart change's transfer moves the contract onto the new chart. A version configured before dated configuration reads 1900-01-01, because it was the only chart that version ever had.

Ejemplo:

"1900-01-01"

id
string
requerido

Server-assigned accounting profile identifier (uuid).

Ejemplo:

"550e8400-e29b-41d4-a716-446655440003"

loanProductVersionId
string
requerido

Loan product version this profile is configured for (uuid).

Ejemplo:

"550e8400-e29b-41d4-a716-446655440001"

postingRules
object[] | null
requerido

Persisted GL account mappings, one per accounting event.

midazLedgerId
string

Midaz ledger this chart's postings book into: the one the request named, or the one Lender chose when the request named only the organization. Absent when midazOrganizationId is absent.

Ejemplo:

"ledger-def"

midazOrganizationId
string

Midaz organization this chart's postings book into. Absent on a single-tenant chart that falls back to the env default.

Ejemplo:

"org-abc"