Send sales invoice to its client by email as pdf

POST /api-v1/sales-invoice/{invoiceId}/send-by-email

Headers

Path parameters

Responses

POST /api-v1/sales-invoice/{invoiceId}/send-by-email
curl \
 -X POST http://10.10.10.132/api-v1/sales-invoice/{invoiceId}/send-by-email \
 -H "TARGET-ORGANIZATION-ID: 42" \
 -H "WEAL-TOKEN: string"
Response examples (200)
{
  "email": "string",
  "id": 42,
  "status": "OPEN",
  "workflowPermissions": "string"
}