Status codes

Success Codes

Success CodeDescription
600Transaction added successfully
1630Transaction retrospectively marked REGULAR, Transaction added successfully

Error Codes

Error CodeDescription
500Transaction retrieval unsuccessful
601Invalid Bill Amount
602Invalid transaction number
603Invalid transaction id
604Duplicate transaction number
607No transaction id passed
620Invalid Transaction ID
624Invalid return transaction time, Return transaction should happen after add transaction
625Parent Bill Number for the return transaction does not exist.
626Quantity of returned item is more than purchased item for ItemCode
627Quantity cannot be negative
628Invalid return transaction type passed
630Total returned amount is more than purchase amount
631Transaction number to be returned is not set
632Transaction is already returned with return type LINE_ITEM, you cannot return transaction with return type AMOUNT
633Transaction is already fully returned, you cannot return this transaction again
638Transaction is already returned with return type AMOUNT, you cannot return again with return type LINE_ITEM
639Transaction is already returned, you cannot return full transaction again
643Transaction date too ahead in the future
644Transaction date too behind in past
660Invalid line item for return
661Lineitem with negative amount is not allowed
662Lineitem with negative value is not allowed
663Lineitem with negative rate is not allowed
664Lineitem with negative discount is not allowed
665Transaction gross amount cannot be negative
666Transaction discount cannot be negative
667Transaction id not found for this customer
668Transaction number not found for this customer
669Unable to update custom field
670Invalid brand code
671Invalid store/till code passed
672Invalid size code
673Invalid style code
674Invalid color palette
675Inventory duplicate lineItem
676Invalid attribute value
677Base SKU not found
678Invalid item SKU passed
679Invalid combo item details passed
680Invalid add-on item details passed
681Invalid split item details passed
682Return not possible for combo or split item
683Emf new bill event call failed
684Emf new bill dvs event failed
685Field length too long
686Transaction cannot be added
687No line Item found matching for return
688{0} bill number not found
690Invalid transaction type
691Not able to fetch transaction status
710Emf Return bill event failed
9601Adding lineitem failed
9602Adding credit note failed
9603Adding payment mode details failed
9604Adding custom fields failed
9605Base currency not set for this org
9606Transaction currency not passed
9607{0} - Payment tender not found
9608Line item with Item code {0} is marked outlier
9609{0} Payment Attribute value is not valid
9610Emf new bill event failed points not awarded
9611Transaction is marked as outlier
9612Could not save the credit notes
9613{0} Payment Attribute is not valid
9614Multiple loyalty bills found to be returned
9615Return policy days not defined
9616Single loyalty bill found, Allowing regular return
1101invalid programId passed
1102invaid currency ratio
1103invalid shipping store code passed
1104Customer details are missing
1105Returnable Days should be greater than -1
1106Failed to add custom fields
1107Invalid combination of roles & user ids selected in filter
1108Invalid user id passed
1109Maximum 1000 transactions can be fetched
1110Invalid embed params
1111Invalid transaction limit
1112Invalid offset
1113Error fetching customer transaction details
1114Invalid date
1115Start should not be after end date
1116Emf simulate transaction add event call failed
1117Invalid event logs param
1118Transaction could not be updated
1119Invalid line item id passed
1120Invalid line item code passed
1121Outlier Bill Cannot be returned
3045{0} is not allowed for the customer with id {2} as the status is {1}

Warning Codes

Warning CodeDescription
9605Base currency not set for this org
9606Transaction currency not passed
9607{0} - Payment tender not found
9608Line item with Item code {0} is marked outlier
9609{0} Payment Attribute value is not valid
9610Emf new bill event failed points not awarded
9611Transaction is marked as outlier
9612Could not save the credit notes
9613{0} Payment Attribute is not valid
9614Multiple loyalty bills found to be returned
9615Return policy days not defined
9616Single loyalty bill found, Allowing regular return

📘

The error code 625 could also appear in warning if the configuration CONF_ALLOW_NOT_EXISTING_BILL_RETURN is enabled. However, this is a very special case for a code that could appear as a error or warning.