EventActionInput
input
Updates or creates an event action
Send email (action = 0): Provide action Int and fields with recipient and subject strings.
Create document (action = 1): Provide action Int and fields with documentTypeId, documentId, customerId, supplierId, targetDocumentType, shouldClose, and optional recipientName, recipientEmail, message.
Export SAF-T (action = 2): Provide action Int and fields with range (relative date-range preset); optionally recipientEmail (+ recipientName, message) to also send the generated SAF-T by e-mail.
Fields
| Name | Type | Description |
|---|---|---|
action | Int! | |
fields | JSON! |