Import Credit Memo
Create or update creditmemo data in Xorosoft ERP. Send the JSON payload using the field names documented in this operation and in the module export/import format used by Xorosoft ERP.
post
Authorizations
AuthorizationstringRequired
Body
Request body for Import.
Other propertiesanyOptional
Responses
200
Request processed successfully.
application/json
Standard Xorosoft ERP API response envelope used by most endpoints.
ResultbooleanOptional
True when the operation completed successfully.
MessagestringOptional
Human-readable success or error message.
Pageinteger · nullableOptional
Current page number when paging is enabled.
TotalPagesinteger · nullableOptional
Total page count when paging is enabled.
400
Invalid request, failed validation, or business rule error.
text/plain
401
Missing or invalid private app credentials.
403
Private app does not have permission for this request.
post/api/xerp/creditmemo/import
POST /api/xerp/creditmemo/import HTTP/1.1
Host: res.xorosoft.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 115
{
"creditMemoHeader": {
"CustomerName": "Example Customer",
"ThirdPartyRefNo": "CM-EXT-1001"
},
"creditMemoItemLineArr": []
}{
"Result": true,
"Message": "Request processed successfully",
"Data": {}
}Last updated
Was this helpful?