---
title: "Dividir a fatura do movimento de acordo com o centro de custo"
method: POST
path: "/api/financeiro/movements/{movement_id}/sync-invoice-split"
tags: ["Financeiro (Protected)"]
---

# Dividir a fatura do movimento de acordo com o centro de custo

`POST /api/financeiro/movements/{movement_id}/sync-invoice-split`

Mirror this cost-center movement's split onto its attached invoice
(Z_InvoicesCostCenter) so the dashboard 'IVA Deduzido' divides the IVA.

Only the origin PV of the parent movement may trigger it — the same rule as
editing the movement split itself. Idempotent: recomputing produces the same
rows.

`?force=true` makes it an explicit recompute request: it lifts a suppression
(a split the user previously removed on the fatura) and replaces a
pre-migration split. It still refuses to overwrite one entered by hand in
the invoice UI — that one is only editable where it was made.

## Path parameters

- `movement_id` integer, required

## Query parameters

- `force` boolean

## Headers

- `x-api-token` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/multigest/apis/multigest-protected-api.md) · [All operations](https://skmtc.dev/multigest/apis/multigest-protected-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/multigest/multigest-protected-api/revisions/4b44eb76b3ee/schema)
