Send CMR document by email.
POST/company/cmr/send
Send the CMR document associated with a transport service to one or more recipients by email. The system will generate an email with the attached PDF and send it to the provided addresses.
Requirements:
- The service must be active and have a generated CMR
- The company must have permissions for the service
- Payment status validation via middleware
Request
Responses
- 200
- 400
- 401
- 404
The CMR has been successfully sent to all recipients. The 'success' field will be true if all deliveries were successful.
Invalid request. Possible causes:
- Incorrect email format
- Empty or malformed service_code
- Empty email list
Unauthorized. The JWT token is invalid, has expired, or lacks permissions for this operation. It may also be due to unmet payment restrictions.
No CMR was found associated with the provided service_code. Please verify that the code is correct and that the CMR has been generated.