ErrorCode
Error code for authorization denied errors Used to indicate that a user lacks the necessary features to perform an operation.
enum ErrorCode {
AUTHORIZATION_DENIED_MISSING_FEATURES
CONCURRENT_MODIFICATION
DUPLICATE_POSITION_ID
INELIGIBLE_INVOICE
NEGATIVE_QUANTITY
POSITION_NOT_ASSIGNABLE
SPLIT_TOTAL_MISMATCH
SUM_MISMATCH
UNAUTHORIZED
}
Values
ErrorCode.AUTHORIZATION_DENIED_MISSING_FEATURES
User is missing required features to perform the requested operation
ErrorCode.CONCURRENT_MODIFICATION
Invoice was modified concurrently during correction attempt
ErrorCode.DUPLICATE_POSITION_ID
Position ID appears more than once in the invoice
ErrorCode.INELIGIBLE_INVOICE
Invoice is not eligible for correction (wrong status or recipient type)
ErrorCode.NEGATIVE_QUANTITY
A quantity value is negative
ErrorCode.POSITION_NOT_ASSIGNABLE
A position assignment was supplied for a position that is derived from the billed benefits (training levy, cost pass-through). Those positions are distributed by the split itself and must not be assigned by the caller.
ErrorCode.SPLIT_TOTAL_MISMATCH
The split products do not sum back up to the original invoice's total
ErrorCode.SUM_MISMATCH
Sum of assigned quantities does not match original invoice quantities
ErrorCode.UNAUTHORIZED
User is not authorized to perform the requested operation
Member Of
APIError interface ● AuthorizationDeniedMissingFeatures object ● ValidationError object