Contracts - Protected

Link Invoice

Link an invoice to a contract.

Sets Contratos.FaturaID, creates Documentos record (tipodoc=62), and closes the contract (IDestado=2).

Body: invoice_id: int — Faturas.ID to link

post/api/contracts/{contract_id}/link-invoice

Request

  • Base URL
    https://api.multigest.pt (the document declares no server; this is the origin it was published from)
  • URL
    https://api.multigest.pt/api/contracts/{contract_id}/link-invoice
  • Auth
    API key in header x-api-token and API key in header x-origin-verify

Path parameters

contract_idinteger required

Headers

x-api-tokenstring nullable

Request body

object required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 21 revisions of this API.