improved
v.2.1.106
29 days ago by Anees Syed
Updated: POST EOR Contract Creation
Following fields were made optional in compensation_details.fixed_adjustments
object in request body: "description", "value", "is_recurring"
- Fixed adjustment fields are no longer required when the fixed adjustment is country specific.
- In those cases, only the
rule_cost_id
is required - The
opt_out
flag should also be included when applicable (depending on whether the fixed adjustment is optional)
- In those cases, only the
- It's no longer necessary to include these fields in the request payload at all.
- If not provided, the fixed adjustments will still be created based on the allowances configured for the country
- If values are provided, they will be overwritten with the data associated with the
rule_cost_id
Endpoint: POST /rest/v2/eor
API Reference: Crete EOR Contract