# Register an event for a transaction Endpoint: POST /transactions/{transactionId}/events Version: 1.0.0 Security: M2X_auth_application ## Path parameters: - `transactionId` (string, required) The transaction id ## Request fields (application/json): - `type` (string, required) The type of the event to register Enum: "INVOICE_ISSUED", "INVOICE_SETTLED", "CREDIT_NOTE_ISSUED", "CREDIT_NOTE_SETTLED" - `timestamp` (string, required) The timestamp of the event to register Example: "2020-01-01T00:00:00Z" - `reference` (any) The reference value for the event (if any) Example: "INV-1234" ## Response 400 fields (application/json): - `message` (string) Example: "missing data" ## Response 404 fields (application/json): - `message` (string) Example: "not found" ## Response 204 fields