---
title: "Unlink Invoice"
method: POST
path: "/api/contracts/{contract_id}/unlink-invoice"
tags: ["Contracts - Protected"]
---

# Unlink Invoice

`POST /api/contracts/{contract_id}/unlink-invoice`

Remove invoice link from a contract.

Sets Contratos.FaturaID = NULL.
Blocked if the vehicle is closed (Viatura.Fechado = True).

## Path parameters

- `contract_id` integer, required

## 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/8492136eefc5/schema)
