curl --location --request POST 'http://api.alephcrm.com/v2/orders/ZZZZ/documents? API_KEY=AAAAAAAA-XXX-XXX-XXX-XXXXXXXXXXXX ' \
--header 'Content-Type: multipart/form-data; ' \
--form 'file=@/C:/document.pdf' \
--form 'documentType=0'
--form 'documentNumber=1234'
--form 'documentDate=yyyy-MM-dd'
--form 'messageText=We attached the invoice. Thanks for your purchase.'
{â Successfully attached â}