---
title: "Get Contract Complete"
method: GET
path: "/api/contracts/{contract_id}/complete"
tags: ["Contracts - Protected"]
---

# Get Contract Complete

`GET /api/contracts/{contract_id}/complete`

Get complete contract with all blocks.

Returns:
- Contract
- Client block (with addresses)
- Vehicle block
- Financial block
- POS block
- Retomas (trade-ins)

## Path parameters

- `contract_id` integer, required

## Headers

- `x-api-token` string, nullable

## Response `200`

Successful Response

- ContractDetailResponse — Complete contract with all blocks.
  - `contract` ContractResponse, required — Contract response with enriched data.
    - `ID` integer, required
    - `Cliente` integer, nullable, required
    - `ClienteNome` string, nullable, required
    - `Viatura` integer, nullable, required
    - `ViaturaMatricula` string, nullable, required
    - `Data` string, date-time, nullable, required
    - `ValorReserva` string, nullable, required
    - `ValorVenda` number, nullable, required
    - `Fechado` boolean, nullable, required
    - `Datafecho` string, date-time, nullable, required
    - `IDestado` integer, required
    - `IDempresa` integer, required
    - `IDpontodevenda` integer, nullable, required
    - `Comercial` integer, nullable, required
    - `idresponsavel` integer, nullable
    - `ResponsavelNome` string, nullable
    - `Oferta1` string, nullable
    - `Oferta2` string, nullable
    - `Oferta3` string, nullable
    - `Oferta4` string, nullable
    - `Oferta5` string, nullable
    - `Oferta6` string, nullable
    - `garantia` integer, nullable — Warranty ID (Z_Warranties)
    - `meses_garantia` integer, nullable — Warranty duration in months
    - `contratoproposta` integer, nullable — Financing proposal ID
    - `Dataentrega` string, date-time, nullable — Delivery date
    - `Reservaate` string, date, nullable — Reservation until date
    - `Iva` number, nullable — VAT value
    - `FaturaID` integer, nullable — Linked invoice ID
    - `comissao_calculada` string, nullable — Calculated commission
    - `business_sale` boolean, nullable — Is a business sale
  - `client` ClientBlockResponse, required — Client data for contract block.
    - `ID` integer, required
    - `Nome` string, required
    - `contacto` string, nullable, required
    - `CC` string, nullable — ID card number
    - `ValidadeCC` string, nullable — ID card validity
    - `email` string, nullable, required
    - `EntidadeEmissoraCC` string, nullable — ID card issuer
    - `CartaConducao` string, nullable — Driver's license
    - `DataCartaConducao` string, date-time, nullable — Driver's license date
    - `NIF` string, nullable — Tax ID
    - `addresses` object[] — Client addresses
  - `vehicle` VehicleBlockResponse, required — Vehicle data for contract block.
    - `ID` integer, required
    - `Matricula` string, nullable, required
    - `MatriculaSecundaria` string, nullable, required
    - `Marca` string, nullable, required
    - `Modelo` string, nullable, required
    - `Segmento` string, nullable, required
    - `Quadro` string, nullable — Chassis number
    - `Km` integer, nullable, required
    - `Caixa` string, nullable — Gearbox
    - `Combust` string, nullable — Fuel type
    - `Cor` string, nullable — Color
    - `Preco` number, nullable — Price
    - `Datamat` string, date-time, nullable — Registration date
    - `Motor` string, nullable, required
    - `RegimeIVA` integer, nullable — VAT regime
    - `Cilindrada` string, nullable — Engine displacement
    - `Lugares` integer, nullable — Number of seats
    - `Potencia` string, nullable — Power
    - `Peso` string, nullable — Weight
    - `Portas` integer, nullable — Number of doors
    - `Versao` string, nullable — Version
    - `Fornece` string, nullable — Supplier name
    - `bucketurl` string, nullable — Vehicle photo URL
  - `financial` FinancialBlockResponse, required — Financial/invoice data for contract.
    - `fatid` string, nullable — Invoice ID or 'Em falta'
    - `FaturaID` integer, nullable, required
  - `pos` POSBlockResponse, required — Point of sale data for contract.
    - `Desigancao` string, nullable, required
    - `NomeComercial` string, nullable, required
    - `NIPC` string, nullable
    - `email` string, nullable, required
    - `NOMESOC` string, nullable, required
    - `NIF` string, nullable
    - `SWIFT` string, nullable, required
    - `MoradaSede` string, nullable, required
    - `CodPostSede` string, nullable, required
    - `IBANprincipal` string, nullable, required
    - `LocalidadeSede` string, nullable, required
    - `CC` string, nullable, required
    - `Banco` string, nullable, required
    - `ValidadeCC` string, nullable, required
    - `PontosdeVendamorada` string, nullable, required
    - `PontosdeVendaLocalidade` string, nullable, required
    - `PontosdeVendaCodPost` string, nullable, required
  - `retomas` RetomaResponse[]
    - `idretoma` integer, required
    - `id_contrato` integer, required
    - `id_viatura` integer, required
    - `Preco` string, nullable, required
    - `matricula` string, nullable, required
  - `commissions` CommissionDistributionResponse[]
    - `ID` integer, required
    - `contract_id` integer, required
    - `user_id` integer, required
    - `user_name` string, nullable — Salesperson full name
    - `valor_absoluto` string, required
    - `valor_percentual` string, required
    - `calculated_value` string, nullable — Calculated commission amount

## 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)
