The EDI-Error Sent notification informs you about the success or failure of a request made to Accounting as a Service. It is primarily used to notify clients whether an action (such as creating an order, invoice, or return) was successfully processed or if errors occurred during validation. These notifications ensure that you are immediately aware of any issues, allowing you to address them before the request is finalized.
This notification helps you:
To register to this notification, please look in the general notifications-page using accounting/EDIErrorSent
You need to have a system in place to monitor these notifications. When an error is detected:
Purpose:
The EDI-Error Sent notification is triggered when a request (e.g., create order, create invoice) fails validation or cannot be processed by Accounting as a Service. It provides detailed information about the error, allowing you to identify and correct issues quickly.
Trigger Events:
The notification can be triggered by any of the following:
Example:
The notification provides details about the error in a structured JSON format. Below is a typical payload:
{
"parameters": {
"requestType": "GET_ORDER",
"transactionId": "0a6b660174a3306898a924639688dffb",
"details": {
"orderNo": "ORDPL8100235158",
"result": "ERROR_IN_FILE",
"errorDetails": [
{
"fieldName": "LINEITEMSTATUS",
"ErrorDescription": "Field LINEITEMSTATUS must not be empty."
},
{
"fieldName": "BILLTOLANGUAGECODE",
"providedValue": "PL",
"ErrorDescription": "The content of field BILLTOLANGUAGECODE may only consist of lower case letters."
}
]
}
},
"type": "accounting/EDIErrorSent"
}
Field Descriptions
Please look here for the details of the EDI-Error Sent Notification.
Steps for Technical Users:
Retry Logic: