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
Path parameters
contract_idinteger required
Headers
x-api-tokenstring nullable
Request body
object required
Response
Successful Response
{"stackTrail":"paths:/api/contracts/{contract_id}/link-invoice:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}
Changes
No recorded changes to this endpoint across all 1 revision of this API.