Currency Exchanges
Create Currency Exchanges
Creates currency exchange rates in batch (up to 20 records per request)
POST
Creates currency exchange rates in your COR instance through the integrations service. This endpoint processes multiple exchange rates in a single request and provides detailed feedback about successes, duplicates, and errors.Documentation Index
Fetch the complete documentation index at: https://developers.projectcor.com/llms.txt
Use this file to discover all available pages before exploring further.
Batch Processing: You can submit up to 20 currency exchange records per request. The endpoint will process all records and return detailed statistics about the operation.
Request Body Requirements
Array of currency exchange rates (maximum 20 items)
Response
The endpoint returns statistics about the batch operation:status— Operation status:success(all records processed),failed(all records rejected), orpartial(some succeeded, some failed)company_id— The unique identifier of the company associated with the requestrecords_received— Total number of records in the requestrecords_deduplicated— Number of duplicate records removedrecords_created— Number of successfully created recordsrecords_replaced— Number of records that replaced existing onesrecords_rejected— Number of records that failed validation or processingerrors— Array of error details for rejected records
errors includes:
| Field | Type | Description |
|---|---|---|
from_currency | string | Source/foreign currency ISO code of the rejected record |
to_currency | string | Base/target currency ISO code of the rejected record |
message | string | Validation or business-rule message explaining why the record was rejected |
Known Errors
Validation Errors
ValidationError— Missing required fields or invalid structure- Currency not found — The specified ISO code doesn’t exist in the system
- Base currency mismatch — The base_currency doesn’t match your company’s base currency
Business Logic Errors
- Date mismatch —
effective_dateandlast_updated_datetimemust be on the same day (for GLOBANT source) - Invalid exchange rate — Amount or factor values are invalid

