Contracts
Create Contract
Creates a new contract in your COR instance with external ID mapping
POST
Creates a new contract in your COR instance through the integrations service. Validates contract type, status, client association, and validates date fields in
YYYY-MM-DD format before creating.
The currency ISO sent in the request must have a previously configured currency exchange in COR. If no exchange rate exists from the contract currency to the company base currency, contract creation is rejected with status: 400, name: CORCustomError, and code: CTR006.
Request Body Requirements
External contract ID from your source system
Contract name
External client ID. The client must have been previously created through the integrations API.
Contract type (e.g., “retainer”, “project”, “hourly”)
Contract status (e.g., “active”, “pending”, “completed”)
Start date in
YYYY-MM-DD formatEnd date in
YYYY-MM-DD formatContract value/amount
Contract description
Known Errors
ValidationError— Missing required fieldsClientNotFoundError— The specified client does not exist in the integration mappingsDuplicateExternalIdError— A contract with this external ID already existsValidationError—Invalid start date format: <value>whenstart_dateis not a validYYYY-MM-DDdateValidationError—Invalid end date format: <value>whenend_dateis not a validYYYY-MM-DDdateCTR006(CORCustomError,400) —Cannot save contract. Exchange rate not found for ${currency} to ${baseCurrency}. Please sync exchange rates first.

