Financeiro (Protected)

Atualizar divisão por centro de custo

Update cost center split values. Only origin PV user can do this.

put/api/financeiro/movements/{movement_id}/cost-center-splits

Path parameters

movement_idinteger required

Headers

x-api-tokenstring nullable

Request body

new_totalnumber nullable

New parent movement total, sent as a positive magnitude. The backend re-applies the group's stored direction — the parent's side (receita/despesa) can never change here.

include_own_splitboolean

Keep/create the origin PV's own share child movement.

Response

Successful Response

idinteger required
pv_idinteger required
pv_namestring nullable
valuenumber required
child_movimento_idinteger nullable
pagoboolean
restitution_movimento_idinteger nullable
restitution_datestring date-time nullable
is_own_shareboolean
directioninteger

Changes

No recorded changes to this endpoint across all 3 revisions of this API.