Pular para o conteúdo principal
GET
Get accounting profile

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Parâmetros de caminho

id
string<uuid>
obrigatório

Accounting profile identifier.

Exemplo:

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

Resposta

OK

accountingMode
string
obrigatório

Accounting recognition mode (accrual).

Exemplo:

"accrual"

createdAt
string
obrigatório

Creation timestamp (RFC3339, UTC).

Exemplo:

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

effectiveFrom
string
obrigatório

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.

Exemplo:

"1900-01-01"

id
string
obrigatório

Server-assigned accounting profile identifier (uuid).

Exemplo:

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

loanProductVersionId
string
obrigatório

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

Exemplo:

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

postingRules
object[] | null
obrigatório

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.

Exemplo:

"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.

Exemplo:

"org-abc"